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>
This commit is contained in:
Christoph Hellwig 2018-11-15 20:05:35 +01:00 committed by Masahiro Yamada
parent 20f1b79d33
commit 8fb71ef9b9
14 changed files with 2 additions and 36 deletions

View file

@ -669,8 +669,6 @@ config HZ
source "drivers/eisa/Kconfig" source "drivers/eisa/Kconfig"
source "drivers/pcmcia/Kconfig"
config SRM_ENV config SRM_ENV
tristate "SRM environment through procfs" tristate "SRM environment through procfs"
depends on PROC_FS depends on PROC_FS

View file

@ -1240,8 +1240,6 @@ config PCI_HOST_ITE8152
default y default y
select DMABOUNCE select DMABOUNCE
source "drivers/pcmcia/Kconfig"
endmenu endmenu
menu "Kernel Features" menu "Kernel Features"

View file

@ -542,16 +542,6 @@ endif
endmenu endmenu
if !IA64_HP_SIM
menu "Bus options (PCI, PCMCIA)"
source "drivers/pcmcia/Kconfig"
endmenu
endif
source "arch/ia64/hp/sim/Kconfig" source "arch/ia64/hp/sim/Kconfig"
config MSPEC config MSPEC

View file

@ -68,6 +68,4 @@ if !MMU
config ISA_DMA_API config ISA_DMA_API
def_bool !M5272 def_bool !M5272
source "drivers/pcmcia/Kconfig"
endif endif

View file

@ -3107,8 +3107,6 @@ config ZONE_DMA
config ZONE_DMA32 config ZONE_DMA32
bool bool
source "drivers/pcmcia/Kconfig"
config HAS_RAPIDIO config HAS_RAPIDIO
bool bool
default n default n

View file

@ -939,8 +939,6 @@ config PCI_8260
select PPC_INDIRECT_PCI select PPC_INDIRECT_PCI
default y default y
source "drivers/pcmcia/Kconfig"
config HAS_RAPIDIO config HAS_RAPIDIO
bool bool

View file

@ -855,8 +855,6 @@ config MAPLE
Dreamcast with a serial line terminal or a remote network Dreamcast with a serial line terminal or a remote network
connection. connection.
source "drivers/pcmcia/Kconfig"
endmenu endmenu
menu "Power management options (EXPERIMENTAL)" menu "Power management options (EXPERIMENTAL)"

View file

@ -503,8 +503,6 @@ config SPARC_GRPCI2
help help
Say Y here to include the GRPCI2 Host Bridge Driver. Say Y here to include the GRPCI2 Host Bridge Driver.
source "drivers/pcmcia/Kconfig"
config SUN_OPENPROMFS config SUN_OPENPROMFS
tristate "Openprom tree appears in /proc/openprom" tristate "Openprom tree appears in /proc/openprom"
help help

View file

@ -117,12 +117,6 @@ config UNICORE_FPU_F64
endmenu endmenu
menu "Bus support"
source "drivers/pcmcia/Kconfig"
endmenu
menu "Kernel Features" menu "Kernel Features"
source "kernel/Kconfig.hz" source "kernel/Kconfig.hz"

View file

@ -2811,8 +2811,6 @@ config AMD_NB
def_bool y def_bool y
depends on CPU_SUP_AMD && PCI depends on CPU_SUP_AMD && PCI
source "drivers/pcmcia/Kconfig"
config RAPIDIO config RAPIDIO
tristate "RapidIO support" tristate "RapidIO support"
depends on PCI depends on PCI

View file

@ -512,8 +512,6 @@ config FORCE_MAX_ZONEORDER
This config option is actually maximum order plus one. For example, This config option is actually maximum order plus one. For example,
a value of 11 means that the largest free memory block is 2^10 pages. a value of 11 means that the largest free memory block is 2^10 pages.
source "drivers/pcmcia/Kconfig"
config PLATFORM_WANT_DEFAULT_MEM config PLATFORM_WANT_DEFAULT_MEM
def_bool n def_bool n

View file

@ -5,6 +5,7 @@ menu "Device Drivers"
source "drivers/amba/Kconfig" source "drivers/amba/Kconfig"
source "drivers/pci/Kconfig" source "drivers/pci/Kconfig"
source "drivers/pcmcia/Kconfig"
source "drivers/base/Kconfig" source "drivers/base/Kconfig"

View file

@ -92,8 +92,6 @@ config IOMMU_SBA
depends on PCI_LBA depends on PCI_LBA
default PCI_LBA default PCI_LBA
source "drivers/pcmcia/Kconfig"
endmenu endmenu
menu "PA-RISC specific drivers" menu "PA-RISC specific drivers"

View file

@ -4,6 +4,7 @@
menuconfig PCCARD menuconfig PCCARD
tristate "PCCard (PCMCIA/CardBus) support" tristate "PCCard (PCMCIA/CardBus) support"
depends on !UML
---help--- ---help---
Say Y here if you want to attach PCMCIA- or PC-cards to your Linux Say Y here if you want to attach PCMCIA- or PC-cards to your Linux
computer. These are credit-card size devices such as network cards, computer. These are credit-card size devices such as network cards,