diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2006-08-25 11:59:22 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-30 10:34:33 +1000 |
commit | f1f17716d13bfb709809a3f5c84bda105b646b9e (patch) | |
tree | 1d8c9f4905ccb21b4cc91386fd3dca3e9697e25d /arch/powerpc/platforms/83xx/pci.c | |
parent | b9f0f1bb2bcaae96dd3267f6bd3ad1ca44a1f5ad (diff) | |
download | kernel_goldelico_gta04-f1f17716d13bfb709809a3f5c84bda105b646b9e.zip kernel_goldelico_gta04-f1f17716d13bfb709809a3f5c84bda105b646b9e.tar.gz kernel_goldelico_gta04-f1f17716d13bfb709809a3f5c84bda105b646b9e.tar.bz2 |
[POWERPC] modify mpc83xx platforms to use new IRQ layer
This fixes MPC834x MDS (formerly SYS) and ITX platform code to get IRQ data (including PCI) from the device tree, and to use the new IPIC code.
renamed defconfig (sys -> mds), left one redundant NULL assignment in mpc83xx_pcibios_fixup to keep the compiler happy.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/83xx/pci.c')
-rw-r--r-- | arch/powerpc/platforms/83xx/pci.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/83xx/pci.c b/arch/powerpc/platforms/83xx/pci.c index 3b5e563..5d84a9c 100644 --- a/arch/powerpc/platforms/83xx/pci.c +++ b/arch/powerpc/platforms/83xx/pci.c @@ -45,6 +45,15 @@ int mpc83xx_exclude_device(u_char bus, u_char devfn) return PCIBIOS_SUCCESSFUL; } +void __init mpc83xx_pcibios_fixup(void) +{ + struct pci_dev *dev = NULL; + + /* map all the PCI irqs */ + for_each_pci_dev(dev) + pci_read_irq_line(dev); +} + int __init add_bridge(struct device_node *dev) { int len; |