diff options
-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 bafb3c3d4a8..5b3771a7a41 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -657,6 +657,11 @@ int __devinit pci_scan_bridge(struct pci_bus *bus, struct pci_dev *dev, int max, | |||
657 | dev_dbg(&dev->dev, "scanning [bus %02x-%02x] behind bridge, pass %d\n", | 657 | dev_dbg(&dev->dev, "scanning [bus %02x-%02x] behind bridge, pass %d\n", |
658 | secondary, subordinate, pass); | 658 | secondary, subordinate, pass); |
659 | 659 | ||
660 | if (!primary && (primary != bus->number) && secondary && subordinate) { | ||
661 | dev_warn(&dev->dev, "Primary bus is hard wired to 0\n"); | ||
662 | primary = bus->number; | ||
663 | } | ||
664 | |||
660 | /* Check if setup is sensible at all */ | 665 | /* Check if setup is sensible at all */ |
661 | if (!pass && | 666 | if (!pass && |
662 | (primary != bus->number || secondary <= bus->number)) { | 667 | (primary != bus->number || secondary <= bus->number)) { |