|
@@ -695,11 +695,16 @@ static void __pci_setup_bridge(struct pci_bus *bus, unsigned long type)
|
|
pci_write_config_word(bridge, PCI_BRIDGE_CONTROL, bus->bridge_ctl);
|
|
pci_write_config_word(bridge, PCI_BRIDGE_CONTROL, bus->bridge_ctl);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+void __weak pcibios_setup_bridge(struct pci_bus *bus, unsigned long type)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+
|
|
void pci_setup_bridge(struct pci_bus *bus)
|
|
void pci_setup_bridge(struct pci_bus *bus)
|
|
{
|
|
{
|
|
unsigned long type = IORESOURCE_IO | IORESOURCE_MEM |
|
|
unsigned long type = IORESOURCE_IO | IORESOURCE_MEM |
|
|
IORESOURCE_PREFETCH;
|
|
IORESOURCE_PREFETCH;
|
|
|
|
|
|
|
|
+ pcibios_setup_bridge(bus, type);
|
|
__pci_setup_bridge(bus, type);
|
|
__pci_setup_bridge(bus, type);
|
|
}
|
|
}
|
|
|
|
|