eisa: consolidate EISA Kconfig entry in drivers/eisa
Let architectures opt into EISA support by selecting HAVE_EISA and handle everything else in drivers/eisa. Signed-off-by: Christoph Hellwig <hch@lst.de> 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:

committed by
Masahiro Yamada

parent
1753d50c9f
commit
6630a8e501
@@ -24,6 +24,7 @@ config MIPS
|
||||
select GENERIC_IOMAP
|
||||
select GENERIC_IRQ_PROBE
|
||||
select GENERIC_IRQ_SHOW
|
||||
select GENERIC_ISA_DMA if EISA
|
||||
select GENERIC_LIB_ASHLDI3
|
||||
select GENERIC_LIB_ASHRDI3
|
||||
select GENERIC_LIB_CMPDI2
|
||||
@@ -71,6 +72,7 @@ config MIPS
|
||||
select HAVE_SYSCALL_TRACEPOINTS
|
||||
select HAVE_VIRT_CPU_ACCOUNTING_GEN if 64BIT || !SMP
|
||||
select IRQ_FORCED_THREADING
|
||||
select ISA if EISA
|
||||
select MODULES_USE_ELF_RELA if MODULES && 64BIT
|
||||
select MODULES_USE_ELF_REL if MODULES
|
||||
select PERF_USE_VMALLOC
|
||||
@@ -632,7 +634,7 @@ config SGI_IP22
|
||||
select CSRC_R4K
|
||||
select DEFAULT_SGI_PARTITION
|
||||
select DMA_NONCOHERENT
|
||||
select HW_HAS_EISA
|
||||
select HAVE_EISA
|
||||
select I8253
|
||||
select I8259
|
||||
select IP22_CPU_SCACHE
|
||||
@@ -697,7 +699,7 @@ config SGI_IP28
|
||||
select DMA_NONCOHERENT
|
||||
select GENERIC_ISA_DMA_SUPPORT_BROKEN
|
||||
select IRQ_MIPS_CPU
|
||||
select HW_HAS_EISA
|
||||
select HAVE_EISA
|
||||
select I8253
|
||||
select I8259
|
||||
select SGI_HAS_I8042
|
||||
@@ -840,8 +842,8 @@ config SNI_RM
|
||||
select DEFAULT_SGI_PARTITION if CPU_BIG_ENDIAN
|
||||
select DMA_NONCOHERENT
|
||||
select GENERIC_ISA_DMA
|
||||
select HAVE_EISA
|
||||
select HAVE_PCSPKR_PLATFORM
|
||||
select HW_HAS_EISA
|
||||
select HAVE_PCI
|
||||
select IRQ_MIPS_CPU
|
||||
select I8253
|
||||
@@ -3024,9 +3026,6 @@ config MIPS_AUTO_PFN_OFFSET
|
||||
|
||||
menu "Bus options (PCI, PCMCIA, EISA, ISA, TC)"
|
||||
|
||||
config HW_HAS_EISA
|
||||
bool
|
||||
|
||||
config PCI_DRIVERS_GENERIC
|
||||
select PCI_DOMAINS_GENERIC if PCI
|
||||
bool
|
||||
@@ -3044,26 +3043,6 @@ config PCI_DRIVERS_LEGACY
|
||||
config ISA
|
||||
bool
|
||||
|
||||
config EISA
|
||||
bool "EISA support"
|
||||
depends on HW_HAS_EISA
|
||||
select ISA
|
||||
select GENERIC_ISA_DMA
|
||||
---help---
|
||||
The Extended Industry Standard Architecture (EISA) bus was
|
||||
developed as an open alternative to the IBM MicroChannel bus.
|
||||
|
||||
The EISA bus provided some of the features of the IBM MicroChannel
|
||||
bus while maintaining backward compatibility with cards made for
|
||||
the older ISA bus. The EISA bus saw limited use between 1988 and
|
||||
1995 when it was made obsolete by the PCI bus.
|
||||
|
||||
Say Y here if you are building a kernel for an EISA-based machine.
|
||||
|
||||
Otherwise, say N.
|
||||
|
||||
source "drivers/eisa/Kconfig"
|
||||
|
||||
config TC
|
||||
bool "TURBOchannel support"
|
||||
depends on MACH_DECSTATION
|
||||
|
Reference in New Issue
Block a user