diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-15 14:05:35 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-11-22 21:46:00 -0500 |
commit | 8fb71ef9b91d6c89b22ea9430c231e988d88f688 (patch) | |
tree | e59f257069e3c075c754e41e53b91174f45bee24 | |
parent | 20f1b79d33590dfe8dfdac52a683c7d96e3d101f (diff) |
pcmcia: allow PCMCIA support independent of the architecture
There is nothing architecture specific in the PCMCIA core, so allow
building it everywhere. The actual host controllers will depend on ISA,
PCI or a specific SOC.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r-- | arch/alpha/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/Kconfig | 2 | ||||
-rw-r--r-- | arch/ia64/Kconfig | 10 | ||||
-rw-r--r-- | arch/m68k/Kconfig.bus | 2 | ||||
-rw-r--r-- | arch/mips/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/Kconfig | 2 | ||||
-rw-r--r-- | arch/sh/Kconfig | 2 | ||||
-rw-r--r-- | arch/sparc/Kconfig | 2 | ||||
-rw-r--r-- | arch/unicore32/Kconfig | 6 | ||||
-rw-r--r-- | arch/x86/Kconfig | 2 | ||||
-rw-r--r-- | arch/xtensa/Kconfig | 2 | ||||
-rw-r--r-- | drivers/Kconfig | 1 | ||||
-rw-r--r-- | drivers/parisc/Kconfig | 2 | ||||
-rw-r--r-- | drivers/pcmcia/Kconfig | 1 |
14 files changed, 2 insertions, 36 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index 1f679508bc34..0ff180ab2a42 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig | |||
@@ -669,8 +669,6 @@ config HZ | |||
669 | 669 | ||
670 | source "drivers/eisa/Kconfig" | 670 | source "drivers/eisa/Kconfig" |
671 | 671 | ||
672 | source "drivers/pcmcia/Kconfig" | ||
673 | |||
674 | config SRM_ENV | 672 | config SRM_ENV |
675 | tristate "SRM environment through procfs" | 673 | tristate "SRM environment through procfs" |
676 | depends on PROC_FS | 674 | depends on PROC_FS |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2b45ed887edd..b8a10105463e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -1240,8 +1240,6 @@ config PCI_HOST_ITE8152 | |||
1240 | default y | 1240 | default y |
1241 | select DMABOUNCE | 1241 | select DMABOUNCE |
1242 | 1242 | ||
1243 | source "drivers/pcmcia/Kconfig" | ||
1244 | |||
1245 | endmenu | 1243 | endmenu |
1246 | 1244 | ||
1247 | menu "Kernel Features" | 1245 | menu "Kernel Features" |
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 8f18d90c933d..887e7bfd7055 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -542,16 +542,6 @@ endif | |||
542 | 542 | ||
543 | endmenu | 543 | endmenu |
544 | 544 | ||
545 | if !IA64_HP_SIM | ||
546 | |||
547 | menu "Bus options (PCI, PCMCIA)" | ||
548 | |||
549 | source "drivers/pcmcia/Kconfig" | ||
550 | |||
551 | endmenu | ||
552 | |||
553 | endif | ||
554 | |||
555 | source "arch/ia64/hp/sim/Kconfig" | 545 | source "arch/ia64/hp/sim/Kconfig" |
556 | 546 | ||
557 | config MSPEC | 547 | config MSPEC |
diff --git a/arch/m68k/Kconfig.bus b/arch/m68k/Kconfig.bus index 8cb0604b195b..9d0a3a23d50e 100644 --- a/arch/m68k/Kconfig.bus +++ b/arch/m68k/Kconfig.bus | |||
@@ -68,6 +68,4 @@ if !MMU | |||
68 | config ISA_DMA_API | 68 | config ISA_DMA_API |
69 | def_bool !M5272 | 69 | def_bool !M5272 |
70 | 70 | ||
71 | source "drivers/pcmcia/Kconfig" | ||
72 | |||
73 | endif | 71 | endif |
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 151a4aaf0610..3912250ff813 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -3107,8 +3107,6 @@ config ZONE_DMA | |||
3107 | config ZONE_DMA32 | 3107 | config ZONE_DMA32 |
3108 | bool | 3108 | bool |
3109 | 3109 | ||
3110 | source "drivers/pcmcia/Kconfig" | ||
3111 | |||
3112 | config HAS_RAPIDIO | 3110 | config HAS_RAPIDIO |
3113 | bool | 3111 | bool |
3114 | default n | 3112 | default n |
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index cbdcd1c0b1e0..cc8435d87949 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -939,8 +939,6 @@ config PCI_8260 | |||
939 | select PPC_INDIRECT_PCI | 939 | select PPC_INDIRECT_PCI |
940 | default y | 940 | default y |
941 | 941 | ||
942 | source "drivers/pcmcia/Kconfig" | ||
943 | |||
944 | config HAS_RAPIDIO | 942 | config HAS_RAPIDIO |
945 | bool | 943 | bool |
946 | 944 | ||
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 8a3c292ae906..44a45a37a3c4 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -855,8 +855,6 @@ config MAPLE | |||
855 | Dreamcast with a serial line terminal or a remote network | 855 | Dreamcast with a serial line terminal or a remote network |
856 | connection. | 856 | connection. |
857 | 857 | ||
858 | source "drivers/pcmcia/Kconfig" | ||
859 | |||
860 | endmenu | 858 | endmenu |
861 | 859 | ||
862 | menu "Power management options (EXPERIMENTAL)" | 860 | menu "Power management options (EXPERIMENTAL)" |
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 20417b8b12a5..daee2c73b6c5 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -503,8 +503,6 @@ config SPARC_GRPCI2 | |||
503 | help | 503 | help |
504 | Say Y here to include the GRPCI2 Host Bridge Driver. | 504 | Say Y here to include the GRPCI2 Host Bridge Driver. |
505 | 505 | ||
506 | source "drivers/pcmcia/Kconfig" | ||
507 | |||
508 | config SUN_OPENPROMFS | 506 | config SUN_OPENPROMFS |
509 | tristate "Openprom tree appears in /proc/openprom" | 507 | tristate "Openprom tree appears in /proc/openprom" |
510 | help | 508 | help |
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig index 4658859c6aee..96ac6cc6ab2a 100644 --- a/arch/unicore32/Kconfig +++ b/arch/unicore32/Kconfig | |||
@@ -117,12 +117,6 @@ config UNICORE_FPU_F64 | |||
117 | 117 | ||
118 | endmenu | 118 | endmenu |
119 | 119 | ||
120 | menu "Bus support" | ||
121 | |||
122 | source "drivers/pcmcia/Kconfig" | ||
123 | |||
124 | endmenu | ||
125 | |||
126 | menu "Kernel Features" | 120 | menu "Kernel Features" |
127 | 121 | ||
128 | source "kernel/Kconfig.hz" | 122 | source "kernel/Kconfig.hz" |
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 953db09165c2..659d59d7f033 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -2811,8 +2811,6 @@ config AMD_NB | |||
2811 | def_bool y | 2811 | def_bool y |
2812 | depends on CPU_SUP_AMD && PCI | 2812 | depends on CPU_SUP_AMD && PCI |
2813 | 2813 | ||
2814 | source "drivers/pcmcia/Kconfig" | ||
2815 | |||
2816 | config RAPIDIO | 2814 | config RAPIDIO |
2817 | tristate "RapidIO support" | 2815 | tristate "RapidIO support" |
2818 | depends on PCI | 2816 | depends on PCI |
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig index 2865a556163a..322b7391de89 100644 --- a/arch/xtensa/Kconfig +++ b/arch/xtensa/Kconfig | |||
@@ -512,8 +512,6 @@ config FORCE_MAX_ZONEORDER | |||
512 | This config option is actually maximum order plus one. For example, | 512 | This config option is actually maximum order plus one. For example, |
513 | a value of 11 means that the largest free memory block is 2^10 pages. | 513 | a value of 11 means that the largest free memory block is 2^10 pages. |
514 | 514 | ||
515 | source "drivers/pcmcia/Kconfig" | ||
516 | |||
517 | config PLATFORM_WANT_DEFAULT_MEM | 515 | config PLATFORM_WANT_DEFAULT_MEM |
518 | def_bool n | 516 | def_bool n |
519 | 517 | ||
diff --git a/drivers/Kconfig b/drivers/Kconfig index 059573823387..58ee88c36cf5 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig | |||
@@ -5,6 +5,7 @@ menu "Device Drivers" | |||
5 | 5 | ||
6 | source "drivers/amba/Kconfig" | 6 | source "drivers/amba/Kconfig" |
7 | source "drivers/pci/Kconfig" | 7 | source "drivers/pci/Kconfig" |
8 | source "drivers/pcmcia/Kconfig" | ||
8 | 9 | ||
9 | 10 | ||
10 | source "drivers/base/Kconfig" | 11 | source "drivers/base/Kconfig" |
diff --git a/drivers/parisc/Kconfig b/drivers/parisc/Kconfig index 5bbfea1a019c..1a55763d1245 100644 --- a/drivers/parisc/Kconfig +++ b/drivers/parisc/Kconfig | |||
@@ -92,8 +92,6 @@ config IOMMU_SBA | |||
92 | depends on PCI_LBA | 92 | depends on PCI_LBA |
93 | default PCI_LBA | 93 | default PCI_LBA |
94 | 94 | ||
95 | source "drivers/pcmcia/Kconfig" | ||
96 | |||
97 | endmenu | 95 | endmenu |
98 | 96 | ||
99 | menu "PA-RISC specific drivers" | 97 | menu "PA-RISC specific drivers" |
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index cbbe4a285b48..c9bdbb463a7e 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig | |||
@@ -4,6 +4,7 @@ | |||
4 | 4 | ||
5 | menuconfig PCCARD | 5 | menuconfig PCCARD |
6 | tristate "PCCard (PCMCIA/CardBus) support" | 6 | tristate "PCCard (PCMCIA/CardBus) support" |
7 | depends on !UML | ||
7 | ---help--- | 8 | ---help--- |
8 | Say Y here if you want to attach PCMCIA- or PC-cards to your Linux | 9 | Say Y here if you want to attach PCMCIA- or PC-cards to your Linux |
9 | computer. These are credit-card size devices such as network cards, | 10 | computer. These are credit-card size devices such as network cards, |