diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-26 02:36:55 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-26 02:36:55 -0400 |
commit | 25635c71e44111a6bd48f342e144e2fc02d0a314 (patch) | |
tree | 794b0428a72fefa53a0d9d709247a60a5b4527da /arch/ppc/Kconfig | |
parent | d9953105ce000abcfa988d0c160b2662186f5879 (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/ppc/Kconfig')
-rw-r--r-- | arch/ppc/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig index ed9c9727d75f..e3efaf47d083 100644 --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig | |||
@@ -568,6 +568,7 @@ config CHESTNUT | |||
568 | 568 | ||
569 | config SPRUCE | 569 | config SPRUCE |
570 | bool "IBM-Spruce" | 570 | bool "IBM-Spruce" |
571 | select PPC_INDIRECT_PCI | ||
571 | 572 | ||
572 | config HDPU | 573 | config HDPU |
573 | bool "Sky-HDPU" | 574 | bool "Sky-HDPU" |
@@ -591,15 +592,19 @@ config LOPEC | |||
591 | 592 | ||
592 | config MVME5100 | 593 | config MVME5100 |
593 | bool "Motorola-MVME5100" | 594 | bool "Motorola-MVME5100" |
595 | select PPC_INDIRECT_PCI | ||
594 | 596 | ||
595 | config PPLUS | 597 | config PPLUS |
596 | bool "Motorola-PowerPlus" | 598 | bool "Motorola-PowerPlus" |
599 | select PPC_INDIRECT_PCI | ||
597 | 600 | ||
598 | config PRPMC750 | 601 | config PRPMC750 |
599 | bool "Motorola-PrPMC750" | 602 | bool "Motorola-PrPMC750" |
603 | select PPC_INDIRECT_PCI | ||
600 | 604 | ||
601 | config PRPMC800 | 605 | config PRPMC800 |
602 | bool "Motorola-PrPMC800" | 606 | bool "Motorola-PrPMC800" |
607 | select PPC_INDIRECT_PCI | ||
603 | 608 | ||
604 | config SANDPOINT | 609 | config SANDPOINT |
605 | bool "Motorola-Sandpoint" | 610 | bool "Motorola-Sandpoint" |
@@ -616,6 +621,7 @@ config PAL4 | |||
616 | config GEMINI | 621 | config GEMINI |
617 | bool "Synergy-Gemini" | 622 | bool "Synergy-Gemini" |
618 | depends on BROKEN | 623 | depends on BROKEN |
624 | select PPC_INDIRECT_PCI | ||
619 | help | 625 | help |
620 | Select Gemini if configuring for a Synergy Microsystems' Gemini | 626 | Select Gemini if configuring for a Synergy Microsystems' Gemini |
621 | series Single Board Computer. More information is available at: | 627 | series Single Board Computer. More information is available at: |
@@ -749,11 +755,13 @@ config CPM2 | |||
749 | config PPC_CHRP | 755 | config PPC_CHRP |
750 | bool " Common Hardware Reference Platform (CHRP) based machines" | 756 | bool " Common Hardware Reference Platform (CHRP) based machines" |
751 | depends on PPC_MULTIPLATFORM | 757 | depends on PPC_MULTIPLATFORM |
758 | select PPC_INDIRECT_PCI | ||
752 | default y | 759 | default y |
753 | 760 | ||
754 | config PPC_PMAC | 761 | config PPC_PMAC |
755 | bool " Apple PowerMac based machines" | 762 | bool " Apple PowerMac based machines" |
756 | depends on PPC_MULTIPLATFORM | 763 | depends on PPC_MULTIPLATFORM |
764 | select PPC_INDIRECT_PCI | ||
757 | default y | 765 | default y |
758 | 766 | ||
759 | config PPC_PMAC64 | 767 | config PPC_PMAC64 |
@@ -764,6 +772,7 @@ config PPC_PMAC64 | |||
764 | config PPC_PREP | 772 | config PPC_PREP |
765 | bool " PowerPC Reference Platform (PReP) based machines" | 773 | bool " PowerPC Reference Platform (PReP) based machines" |
766 | depends on PPC_MULTIPLATFORM | 774 | depends on PPC_MULTIPLATFORM |
775 | select PPC_INDIRECT_PCI | ||
767 | default y | 776 | default y |
768 | 777 | ||
769 | config PPC_OF | 778 | config PPC_OF |
@@ -797,6 +806,7 @@ config MV64360 # Really MV64360 & MV64460 | |||
797 | config MV64X60 | 806 | config MV64X60 |
798 | bool | 807 | bool |
799 | depends on (GT64260 || MV64360) | 808 | depends on (GT64260 || MV64360) |
809 | select PPC_INDIRECT_PCI | ||
800 | default y | 810 | default y |
801 | 811 | ||
802 | menu "Set bridge options" | 812 | menu "Set bridge options" |
@@ -845,6 +855,7 @@ config EPIC_SERIAL_MODE | |||
845 | config MPC10X_BRIDGE | 855 | config MPC10X_BRIDGE |
846 | bool | 856 | bool |
847 | depends on POWERPMC250 || LOPEC || SANDPOINT | 857 | depends on POWERPMC250 || LOPEC || SANDPOINT |
858 | select PPC_INDIRECT_PCI | ||
848 | default y | 859 | default y |
849 | 860 | ||
850 | config MPC10X_OPENPIC | 861 | config MPC10X_OPENPIC |
@@ -1139,6 +1150,12 @@ config GENERIC_ISA_DMA | |||
1139 | depends on POWER3 || POWER4 || 6xx && !CPM2 | 1150 | depends on POWER3 || POWER4 || 6xx && !CPM2 |
1140 | default y | 1151 | default y |
1141 | 1152 | ||
1153 | config PPC_INDIRECT_PCI | ||
1154 | bool | ||
1155 | depends on PCI | ||
1156 | default y if 40x || 44x || 85xx || 83xx | ||
1157 | default n | ||
1158 | |||
1142 | config EISA | 1159 | config EISA |
1143 | bool | 1160 | bool |
1144 | help | 1161 | help |
@@ -1182,6 +1199,7 @@ config PCI_QSPAN | |||
1182 | config PCI_8260 | 1199 | config PCI_8260 |
1183 | bool | 1200 | bool |
1184 | depends on PCI && 8260 | 1201 | depends on PCI && 8260 |
1202 | select PPC_INDIRECT_PCI | ||
1185 | default y | 1203 | default y |
1186 | 1204 | ||
1187 | config 8260_PCI9 | 1205 | config 8260_PCI9 |