Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec7748b5 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

ide: introduce HAVE_IDE



To allow flexible configuration of IDE introduce HAVE_IDE.
All archs except arm, um and s390 unconditionally select it.
For arm the actual configuration determine if IDE is supported.

This is a step towards introducing drivers/Kconfig for arm.

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarRussell King - ARM Linux <linux@arm.linux.org.uk>
Acked-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent d75f4c68
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -5,6 +5,7 @@
config ALPHA
config ALPHA
	bool
	bool
	default y
	default y
	select HAVE_IDE
	select HAVE_OPROFILE
	select HAVE_OPROFILE
	help
	help
	  The Alpha is a 64-bit general-purpose processor designed and
	  The Alpha is a 64-bit general-purpose processor designed and
+14 −5
Original line number Original line Diff line number Diff line
@@ -222,6 +222,7 @@ config ARCH_CLPS7500
	select TIMER_ACORN
	select TIMER_ACORN
	select ISA
	select ISA
	select NO_IOPORT
	select NO_IOPORT
	select HAVE_IDE
	help
	help
	  Support for the Cirrus Logic PS7500FE system-on-a-chip.
	  Support for the Cirrus Logic PS7500FE system-on-a-chip.


@@ -234,6 +235,7 @@ config ARCH_CO285
	bool "Co-EBSA285"
	bool "Co-EBSA285"
	select FOOTBRIDGE
	select FOOTBRIDGE
	select FOOTBRIDGE_ADDIN
	select FOOTBRIDGE_ADDIN
	select HAVE_IDE
	help
	help
	  Support for Intel's EBSA285 companion chip.
	  Support for Intel's EBSA285 companion chip.


@@ -258,6 +260,7 @@ config ARCH_EP93XX
config ARCH_FOOTBRIDGE
config ARCH_FOOTBRIDGE
	bool "FootBridge"
	bool "FootBridge"
	select FOOTBRIDGE
	select FOOTBRIDGE
	select HAVE_IDE
	help
	help
	  Support for systems based on the DC21285 companion chip
	  Support for systems based on the DC21285 companion chip
	  ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
	  ("FootBridge"), such as the Simtec CATS and the Rebel NetWinder.
@@ -296,6 +299,7 @@ config ARCH_IOP32X
	depends on MMU
	depends on MMU
	select PLAT_IOP
	select PLAT_IOP
	select PCI
	select PCI
	select HAVE_IDE
	help
	help
	  Support for Intel's 80219 and IOP32X (XScale) family of
	  Support for Intel's 80219 and IOP32X (XScale) family of
	  processors.
	  processors.
@@ -305,12 +309,14 @@ config ARCH_IOP33X
	depends on MMU
	depends on MMU
	select PLAT_IOP
	select PLAT_IOP
	select PCI
	select PCI
	select HAVE_IDE
	help
	help
	  Support for Intel's IOP33X (XScale) family of processors.
	  Support for Intel's IOP33X (XScale) family of processors.


config ARCH_IXP23XX
config ARCH_IXP23XX
 	bool "IXP23XX-based"
 	bool "IXP23XX-based"
	depends on MMU
	depends on MMU
	select HAVE_IDE
 	select PCI
 	select PCI
	help
	help
	  Support for Intel's IXP23xx (XScale) family of processors.
	  Support for Intel's IXP23xx (XScale) family of processors.
@@ -328,12 +334,14 @@ config ARCH_IXP4XX
	select GENERIC_GPIO
	select GENERIC_GPIO
	select GENERIC_TIME
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
	select GENERIC_CLOCKEVENTS
	select HAVE_IDE
	help
	help
	  Support for Intel's IXP4XX (XScale) family of processors.
	  Support for Intel's IXP4XX (XScale) family of processors.


config ARCH_L7200
config ARCH_L7200
	bool "LinkUp-L7200"
	bool "LinkUp-L7200"
	select FIQ
	select FIQ
	select HAVE_IDE
	help
	help
	  Say Y here if you intend to run this kernel on a LinkUp Systems
	  Say Y here if you intend to run this kernel on a LinkUp Systems
	  L7200 Software Development Board which uses an ARM720T processor.
	  L7200 Software Development Board which uses an ARM720T processor.
@@ -388,6 +396,7 @@ config ARCH_PXA
	depends on MMU
	depends on MMU
	select ARCH_MTD_XIP
	select ARCH_MTD_XIP
	select GENERIC_GPIO
	select GENERIC_GPIO
	select HAVE_IDE
	select HAVE_GPIO_LIB
	select HAVE_GPIO_LIB
	select GENERIC_TIME
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
	select GENERIC_CLOCKEVENTS
@@ -403,6 +412,7 @@ config ARCH_RPC
	select ARCH_MAY_HAVE_PC_FDC
	select ARCH_MAY_HAVE_PC_FDC
	select ISA_DMA_API
	select ISA_DMA_API
	select NO_IOPORT
	select NO_IOPORT
	select HAVE_IDE
	help
	help
	  On the Acorn Risc-PC, Linux can support the internal IDE disk and
	  On the Acorn Risc-PC, Linux can support the internal IDE disk and
	  CD-ROM interface, serial and parallel port, and the floppy drive.
	  CD-ROM interface, serial and parallel port, and the floppy drive.
@@ -414,12 +424,14 @@ config ARCH_SA1100
	select ARCH_MTD_XIP
	select ARCH_MTD_XIP
	select GENERIC_GPIO
	select GENERIC_GPIO
	select GENERIC_TIME
	select GENERIC_TIME
	select HAVE_IDE
	help
	help
	  Support for StrongARM 11x0 based boards.
	  Support for StrongARM 11x0 based boards.


config ARCH_S3C2410
config ARCH_S3C2410
	bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442, S3C2443"
	bool "Samsung S3C2410, S3C2412, S3C2413, S3C2440, S3C2442, S3C2443"
	select GENERIC_GPIO
	select GENERIC_GPIO
	select HAVE_IDE
	help
	help
	  Samsung S3C2410X CPU based systems, such as the Simtec Electronics
	  Samsung S3C2410X CPU based systems, such as the Simtec Electronics
	  BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
	  BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
@@ -427,6 +439,7 @@ config ARCH_S3C2410


config ARCH_SHARK
config ARCH_SHARK
	bool "Shark"
	bool "Shark"
	select HAVE_IDE
	select ISA
	select ISA
	select ISA_DMA
	select ISA_DMA
	select PCI
	select PCI
@@ -436,6 +449,7 @@ config ARCH_SHARK


config ARCH_LH7A40X
config ARCH_LH7A40X
	bool "Sharp LH7A40X"
	bool "Sharp LH7A40X"
	select HAVE_IDE
	help
	help
	  Say Y here for systems based on one of the Sharp LH7A40X
	  Say Y here for systems based on one of the Sharp LH7A40X
	  System on a Chip processors.  These CPUs include an ARM922T
	  System on a Chip processors.  These CPUs include an ARM922T
@@ -1093,12 +1107,7 @@ source "drivers/block/Kconfig"


source "drivers/misc/Kconfig"
source "drivers/misc/Kconfig"


if PCMCIA || ARCH_CLPS7500 || ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX \
	|| ARCH_L7200 || ARCH_LH7A40X || ARCH_PXA || ARCH_RPC \
	|| ARCH_S3C2410 || ARCH_SA1100 || ARCH_SHARK || FOOTBRIDGE \
	|| ARCH_IXP23XX
source "drivers/ide/Kconfig"
source "drivers/ide/Kconfig"
endif


source "drivers/scsi/Kconfig"
source "drivers/scsi/Kconfig"


+1 −0
Original line number Original line Diff line number Diff line
@@ -10,6 +10,7 @@ config AVR32
	# With EMBEDDED=n, we get lots of stuff automatically selected
	# With EMBEDDED=n, we get lots of stuff automatically selected
	# that we usually don't need on AVR32.
	# that we usually don't need on AVR32.
	select EMBEDDED
	select EMBEDDED
	select HAVE_IDE
	select HAVE_OPROFILE
	select HAVE_OPROFILE
	select HAVE_KPROBES
	select HAVE_KPROBES
	help
	help
+1 −0
Original line number Original line Diff line number Diff line
@@ -24,6 +24,7 @@ config RWSEM_XCHGADD_ALGORITHM
config BLACKFIN
config BLACKFIN
	bool
	bool
	default y
	default y
	select HAVE_IDE
	select HAVE_OPROFILE
	select HAVE_OPROFILE


config ZONE_DMA
config ZONE_DMA
+1 −0
Original line number Original line Diff line number Diff line
@@ -54,6 +54,7 @@ config FORCE_MAX_ZONEORDER
config CRIS
config CRIS
	bool
	bool
	default y
	default y
	select HAVE_IDE


config HZ
config HZ
	int
	int
Loading