aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-26 02:36:55 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-26 02:36:55 -0400
commit25635c71e44111a6bd48f342e144e2fc02d0a314 (patch)
tree794b0428a72fefa53a0d9d709247a60a5b4527da /arch/powerpc/Kconfig
parentd9953105ce000abcfa988d0c160b2662186f5879 (diff)
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>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 27f122e1f849..a3451d5bb788 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -280,11 +280,13 @@ config PPC_PSERIES
280config PPC_CHRP 280config PPC_CHRP
281 bool " Common Hardware Reference Platform (CHRP) based machines" 281 bool " Common Hardware Reference Platform (CHRP) based machines"
282 depends on PPC_MULTIPLATFORM && PPC32 282 depends on PPC_MULTIPLATFORM && PPC32
283 select PPC_INDIRECT_PCI
283 default y 284 default y
284 285
285config PPC_PMAC 286config PPC_PMAC
286 bool " Apple PowerMac based machines" 287 bool " Apple PowerMac based machines"
287 depends on PPC_MULTIPLATFORM 288 depends on PPC_MULTIPLATFORM
289 select PPC_INDIRECT_PCI if PPC32
288 default y 290 default y
289 291
290config PPC_PMAC64 292config PPC_PMAC64
@@ -296,6 +298,7 @@ config PPC_PMAC64
296config PPC_PREP 298config PPC_PREP
297 bool " PowerPC Reference Platform (PReP) based machines" 299 bool " PowerPC Reference Platform (PReP) based machines"
298 depends on PPC_MULTIPLATFORM && PPC32 300 depends on PPC_MULTIPLATFORM && PPC32
301 select PPC_INDIRECT_PCI
299 default y 302 default y
300 303
301config PPC_MAPLE 304config PPC_MAPLE
@@ -637,6 +640,12 @@ config GENERIC_ISA_DMA
637 depends on PPC64 || POWER4 || 6xx && !CPM2 640 depends on PPC64 || POWER4 || 6xx && !CPM2
638 default y 641 default y
639 642
643config PPC_INDIRECT_PCI
644 bool
645 depends on PCI
646 default y if 40x || 44x || 85xx || 83xx
647 default n
648
640config EISA 649config EISA
641 bool 650 bool
642 651
@@ -677,6 +686,7 @@ config PCI_QSPAN
677config PCI_8260 686config PCI_8260
678 bool 687 bool
679 depends on PCI && 8260 688 depends on PCI && 8260
689 select PPC_INDIRECT_PCI
680 default y 690 default y
681 691
682config 8260_PCI9 692config 8260_PCI9