diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-09 04:46:40 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-02-09 04:46:40 -0500 |
commit | ec7748b59e214e2c6b7d21ca5f26a760fd6e142b (patch) | |
tree | 155d6d9f418b4baac9bee0cc4f6a70ab080ba183 /drivers | |
parent | d75f4c683f817ef61c9ae634886e7ebc3133c002 (diff) |
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: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Russell King - ARM Linux <linux@arm.linux.org.uk>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/Kconfig | 6 | ||||
-rw-r--r-- | drivers/pcmcia/Kconfig | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index ab8fb257528e..043c34ad0a05 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -4,10 +4,14 @@ | |||
4 | # Andre Hedrick <andre@linux-ide.org> | 4 | # Andre Hedrick <andre@linux-ide.org> |
5 | # | 5 | # |
6 | 6 | ||
7 | # Select HAVE_IDE if IDE is supported | ||
8 | config HAVE_IDE | ||
9 | def_bool n | ||
10 | |||
7 | menuconfig IDE | 11 | menuconfig IDE |
8 | tristate "ATA/ATAPI/MFM/RLL support" | 12 | tristate "ATA/ATAPI/MFM/RLL support" |
13 | depends on HAVE_IDE | ||
9 | depends on BLOCK | 14 | depends on BLOCK |
10 | depends on HAS_IOMEM | ||
11 | ---help--- | 15 | ---help--- |
12 | If you say Y here, your kernel will be able to manage low cost mass | 16 | If you say Y here, your kernel will be able to manage low cost mass |
13 | storage units such as ATA/(E)IDE and ATAPI units. The most common | 17 | storage units such as ATA/(E)IDE and ATAPI units. The most common |
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index 519b4ff79f7f..8b22281b087f 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig | |||
@@ -38,6 +38,7 @@ config PCMCIA_DEBUG | |||
38 | config PCMCIA | 38 | config PCMCIA |
39 | tristate "16-bit PCMCIA support" | 39 | tristate "16-bit PCMCIA support" |
40 | select CRC32 | 40 | select CRC32 |
41 | select HAVE_IDE | ||
41 | default y | 42 | default y |
42 | ---help--- | 43 | ---help--- |
43 | This option enables support for 16-bit PCMCIA cards. Most older | 44 | This option enables support for 16-bit PCMCIA cards. Most older |