diff options
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index adfad4fd6a13..63751a283817 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -537,6 +537,11 @@ int __devinit pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max | |||
537 | pci_fixup_parent_subordinate_busnr(child, max); | 537 | pci_fixup_parent_subordinate_busnr(child, max); |
538 | /* Now we can scan all subordinate buses... */ | 538 | /* Now we can scan all subordinate buses... */ |
539 | max = pci_scan_child_bus(child); | 539 | max = pci_scan_child_bus(child); |
540 | /* | ||
541 | * now fix it up again since we have found | ||
542 | * the real value of max. | ||
543 | */ | ||
544 | pci_fixup_parent_subordinate_busnr(child, max); | ||
540 | } else { | 545 | } else { |
541 | /* | 546 | /* |
542 | * For CardBus bridges, we leave 4 bus numbers | 547 | * For CardBus bridges, we leave 4 bus numbers |