* Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > > Impact: cleanup > > it will be assigned late pci_scan_child_bus/pcibios_fixup_bus > > Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx> > > --- > drivers/pci/probe.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > Index: linux-2.6/drivers/pci/probe.c > =================================================================== > --- linux-2.6.orig/drivers/pci/probe.c > +++ linux-2.6/drivers/pci/probe.c > @@ -1177,8 +1177,12 @@ struct pci_bus * pci_create_bus(struct d > pci_create_legacy_files(b); > > b->number = b->secondary = bus; > - b->resource[0] = &ioport_resource; > - b->resource[1] = &iomem_resource; > + > + /* don't need assign those for non root buses */ > + if (!parent) { > + b->resource[0] = &ioport_resource; > + b->resource[1] = &iomem_resource; > + } whitespace damage? Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html