ppc: Use the indirect_pci.c from arch/powerpc/sysdev

This defines a CONFIG_INDIRECT_PCI symbol to control whether it
gets used or not, and fixes the Kconfig to select that symbol for
platforms that need it.

Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Paul Mackerras
2005-10-26 16:36:55 +10:00
parent d9953105ce
commit 25635c71e4
7 changed files with 58 additions and 156 deletions

View File

@@ -1,3 +1,2 @@
obj-$(CONFIG_MPIC) += mpic.o
indirectpci-$(CONFIG_PPC_PMAC) = indirect_pci.o
obj-$(CONFIG_PPC32) += $(indirectpci-y)
obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o