|
@@ -98,8 +98,7 @@ void pcibios_add_pci_devices(struct pci_bus * bus)
|
|
|
max = bus->busn_res.start;
|
|
|
for (pass = 0; pass < 2; pass++) {
|
|
|
list_for_each_entry(dev, &bus->devices, bus_list) {
|
|
|
- if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE ||
|
|
|
- dev->hdr_type == PCI_HEADER_TYPE_CARDBUS)
|
|
|
+ if (pci_is_bridge(dev))
|
|
|
max = pci_scan_bridge(bus, dev,
|
|
|
max, pass);
|
|
|
}
|