diff options
Diffstat (limited to 'arch/powerpc/kernel/pci_64.c')
-rw-r--r-- | arch/powerpc/kernel/pci_64.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c index 80ae9ea15cdc..9a6bb80a8cd4 100644 --- a/arch/powerpc/kernel/pci_64.c +++ b/arch/powerpc/kernel/pci_64.c | |||
@@ -1215,8 +1215,12 @@ static void __devinit do_bus_setup(struct pci_bus *bus) | |||
1215 | list_for_each_entry(dev, &bus->devices, bus_list) | 1215 | list_for_each_entry(dev, &bus->devices, bus_list) |
1216 | ppc_md.iommu_dev_setup(dev); | 1216 | ppc_md.iommu_dev_setup(dev); |
1217 | 1217 | ||
1218 | if (ppc_md.irq_bus_setup) | 1218 | /* Read default IRQs and fixup if necessary */ |
1219 | ppc_md.irq_bus_setup(bus); | 1219 | list_for_each_entry(dev, &bus->devices, bus_list) { |
1220 | pci_read_irq_line(dev); | ||
1221 | if (ppc_md.pci_irq_fixup) | ||
1222 | ppc_md.pci_irq_fixup(dev); | ||
1223 | } | ||
1220 | } | 1224 | } |
1221 | 1225 | ||
1222 | void __devinit pcibios_fixup_bus(struct pci_bus *bus) | 1226 | void __devinit pcibios_fixup_bus(struct pci_bus *bus) |