|
@@ -285,8 +285,12 @@ pcibios_claim_one_bus(struct pci_bus *b)
|
|
|
if (r->parent || !r->start || !r->flags)
|
|
|
continue;
|
|
|
if (pci_has_flag(PCI_PROBE_ONLY) ||
|
|
|
- (r->flags & IORESOURCE_PCI_FIXED))
|
|
|
- pci_claim_resource(dev, i);
|
|
|
+ (r->flags & IORESOURCE_PCI_FIXED)) {
|
|
|
+ if (pci_claim_resource(dev, i) == 0)
|
|
|
+ continue;
|
|
|
+
|
|
|
+ pci_claim_bridge_resource(dev, i);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|