aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/pci/common.c')
-rw-r--r--arch/x86/pci/common.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/pci/common.c b/arch/x86/pci/common.c
index 8c362b96b644..f80ece51305d 100644
--- a/arch/x86/pci/common.c
+++ b/arch/x86/pci/common.c
@@ -142,15 +142,20 @@ static void __devinit pcibios_fixup_device_resources(struct pci_dev *dev)
142 } 142 }
143} 143}
144 144
145void __attribute__((weak)) set_pci_bus_resources_arch_default(struct pci_bus *b)
146{
147}
148
145/* 149/*
146 * Called after each bus is probed, but before its children 150 * Called after each bus is probed, but before its children
147 * are examined. 151 * are examined.
148 */ 152 */
149 153
150void __devinit pcibios_fixup_bus(struct pci_bus *b) 154void __devinit pcibios_fixup_bus(struct pci_bus *b)
151{ 155{
152 struct pci_dev *dev; 156 struct pci_dev *dev;
153 157
158 set_pci_bus_resources_arch_default(b);
154 pci_read_bridge_bases(b); 159 pci_read_bridge_bases(b);
155 list_for_each_entry(dev, &b->devices, bus_list) 160 list_for_each_entry(dev, &b->devices, bus_list)
156 pcibios_fixup_device_resources(dev); 161 pcibios_fixup_device_resources(dev);