|
@@ -142,10 +142,6 @@ static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void __attribute__((weak)) set_pci_bus_resources_arch_default(struct pci_bus *b)
|
|
|
-{
|
|
|
-}
|
|
|
-
|
|
|
/*
|
|
|
* Called after each bus is probed, but before its children
|
|
|
* are examined.
|
|
@@ -155,7 +151,9 @@ void __devinit pcibios_fixup_bus(struct pci_bus *b)
|
|
|
{
|
|
|
struct pci_dev *dev;
|
|
|
|
|
|
- set_pci_bus_resources_arch_default(b);
|
|
|
+ /* root bus? */
|
|
|
+ if (!b->parent)
|
|
|
+ x86_pci_root_bus_res_quirks(b);
|
|
|
pci_read_bridge_bases(b);
|
|
|
list_for_each_entry(dev, &b->devices, bus_list)
|
|
|
pcibios_fixup_device_resources(dev);
|