Commit 87601962 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] ide: clean BLK_DEV_IDE dependencies in Kconfig

parent 14564069
...@@ -95,11 +95,13 @@ config BLK_DEV_IDE ...@@ -95,11 +95,13 @@ config BLK_DEV_IDE
could say N here, and select the "Old hard disk driver" below could say N here, and select the "Old hard disk driver" below
instead to save about 13 KB of memory in the kernel. instead to save about 13 KB of memory in the kernel.
if BLK_DEV_IDE
comment "Please see Documentation/ide.txt for help/info on IDE drives" comment "Please see Documentation/ide.txt for help/info on IDE drives"
config BLK_DEV_HD_IDE config BLK_DEV_HD_IDE
bool "Use old disk-only driver on primary interface" bool "Use old disk-only driver on primary interface"
depends on BLK_DEV_IDE && X86 && X86_PC9800!=y depends on X86 && X86_PC9800!=y
---help--- ---help---
There are two drivers for MFM/RLL/IDE disks. Most people use just There are two drivers for MFM/RLL/IDE disks. Most people use just
the new enhanced driver by itself. This option however installs the the new enhanced driver by itself. This option however installs the
...@@ -117,7 +119,7 @@ config BLK_DEV_HD_IDE ...@@ -117,7 +119,7 @@ config BLK_DEV_HD_IDE
config BLK_DEV_HD_IDE98 config BLK_DEV_HD_IDE98
bool "Use old disk-only driver on primary interface" bool "Use old disk-only driver on primary interface"
depends on BLK_DEV_IDE && X86 && X86_PC9800 depends on X86 && X86_PC9800
---help--- ---help---
There are two drivers for MFM/RLL/IDE disks. Most people use just There are two drivers for MFM/RLL/IDE disks. Most people use just
the new enhanced driver by itself. This option however installs the the new enhanced driver by itself. This option however installs the
...@@ -135,7 +137,6 @@ config BLK_DEV_HD_IDE98 ...@@ -135,7 +137,6 @@ config BLK_DEV_HD_IDE98
config BLK_DEV_IDEDISK config BLK_DEV_IDEDISK
tristate "Include IDE/ATA-2 DISK support" tristate "Include IDE/ATA-2 DISK support"
depends on BLK_DEV_IDE
---help--- ---help---
This will include enhanced support for MFM/RLL/IDE hard disks. If This will include enhanced support for MFM/RLL/IDE hard disks. If
you have a MFM/RLL/IDE disk, and there is no special reason to use you have a MFM/RLL/IDE disk, and there is no special reason to use
...@@ -176,14 +177,13 @@ config IDEDISK_STROKE ...@@ -176,14 +177,13 @@ config IDEDISK_STROKE
config BLK_DEV_IDECS config BLK_DEV_IDECS
tristate "PCMCIA IDE support" tristate "PCMCIA IDE support"
depends on BLK_DEV_IDE && PCMCIA depends on PCMCIA
help help
Support for outboard IDE disks, tape drives, and CD-ROM drives Support for outboard IDE disks, tape drives, and CD-ROM drives
connected through a PCMCIA card. connected through a PCMCIA card.
config BLK_DEV_IDECD config BLK_DEV_IDECD
tristate "Include IDE/ATAPI CDROM support" tristate "Include IDE/ATAPI CDROM support"
depends on BLK_DEV_IDE
---help--- ---help---
If you have a CD-ROM drive using the ATAPI protocol, say Y. ATAPI is If you have a CD-ROM drive using the ATAPI protocol, say Y. ATAPI is
a newer protocol used by IDE CD-ROM and TAPE drives, similar to the a newer protocol used by IDE CD-ROM and TAPE drives, similar to the
...@@ -209,7 +209,6 @@ config BLK_DEV_IDECD ...@@ -209,7 +209,6 @@ config BLK_DEV_IDECD
#dep_tristate ' Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE $CONFIG_BLK_DEV_IDE #dep_tristate ' Include IDE/ATAPI TAPE support' CONFIG_BLK_DEV_IDETAPE $CONFIG_BLK_DEV_IDE
config BLK_DEV_IDEFLOPPY config BLK_DEV_IDEFLOPPY
tristate "Include IDE/ATAPI FLOPPY support" tristate "Include IDE/ATAPI FLOPPY support"
depends on BLK_DEV_IDE
---help--- ---help---
If you have an IDE floppy drive which uses the ATAPI protocol, If you have an IDE floppy drive which uses the ATAPI protocol,
answer Y. ATAPI is a newer protocol used by IDE CD-ROM/tape/floppy answer Y. ATAPI is a newer protocol used by IDE CD-ROM/tape/floppy
...@@ -234,7 +233,7 @@ config BLK_DEV_IDEFLOPPY ...@@ -234,7 +233,7 @@ config BLK_DEV_IDEFLOPPY
config BLK_DEV_IDESCSI config BLK_DEV_IDESCSI
tristate "SCSI emulation support" tristate "SCSI emulation support"
depends on BLK_DEV_IDE && SCSI depends on SCSI
---help--- ---help---
This will provide SCSI host adapter emulation for IDE ATAPI devices, This will provide SCSI host adapter emulation for IDE ATAPI devices,
and will allow you to use a SCSI device driver instead of a native and will allow you to use a SCSI device driver instead of a native
...@@ -260,7 +259,6 @@ config BLK_DEV_IDESCSI ...@@ -260,7 +259,6 @@ config BLK_DEV_IDESCSI
config IDE_TASK_IOCTL config IDE_TASK_IOCTL
bool "IDE Taskfile Access" bool "IDE Taskfile Access"
depends on BLK_DEV_IDE
help help
This is a direct raw access to the media. It is a complex but This is a direct raw access to the media. It is a complex but
elegant solution to test and validate the domain of the hardware and elegant solution to test and validate the domain of the hardware and
...@@ -271,7 +269,7 @@ config IDE_TASK_IOCTL ...@@ -271,7 +269,7 @@ config IDE_TASK_IOCTL
config IDE_TASKFILE_IO config IDE_TASKFILE_IO
bool 'IDE Taskfile IO (EXPERIMENTAL)' bool 'IDE Taskfile IO (EXPERIMENTAL)'
depends on BLK_DEV_IDE && EXPERIMENTAL depends on EXPERIMENTAL
default n default n
---help--- ---help---
Use new taskfile IO code. Use new taskfile IO code.
...@@ -279,11 +277,10 @@ config IDE_TASKFILE_IO ...@@ -279,11 +277,10 @@ config IDE_TASKFILE_IO
It is safe to say Y to this question, in most cases. It is safe to say Y to this question, in most cases.
comment "IDE chipset support/bugfixes" comment "IDE chipset support/bugfixes"
depends on BLK_DEV_IDE
config BLK_DEV_CMD640 config BLK_DEV_CMD640
bool "CMD640 chipset bugfix/support" bool "CMD640 chipset bugfix/support"
depends on BLK_DEV_IDE && X86 depends on X86
---help--- ---help---
The CMD-Technologies CMD640 IDE chip is used on many common 486 and The CMD-Technologies CMD640 IDE chip is used on many common 486 and
Pentium motherboards, usually in combination with a "Neptune" or Pentium motherboards, usually in combination with a "Neptune" or
...@@ -317,7 +314,7 @@ config BLK_DEV_CMD640_ENHANCED ...@@ -317,7 +314,7 @@ config BLK_DEV_CMD640_ENHANCED
config BLK_DEV_IDEPNP config BLK_DEV_IDEPNP
bool "PNP EIDE support" bool "PNP EIDE support"
depends on BLK_DEV_IDE && PNP depends on PNP
help help
If you have a PnP (Plug and Play) compatible EIDE card and If you have a PnP (Plug and Play) compatible EIDE card and
would like the kernel to automatically detect and activate would like the kernel to automatically detect and activate
...@@ -325,7 +322,6 @@ config BLK_DEV_IDEPNP ...@@ -325,7 +322,6 @@ config BLK_DEV_IDEPNP
config BLK_DEV_IDEPCI config BLK_DEV_IDEPCI
bool "PCI IDE chipset support" if PCI bool "PCI IDE chipset support" if PCI
depends on BLK_DEV_IDE
default BLK_DEV_IDEDMA_PMAC if PPC_PMAC && BLK_DEV_IDEDMA_PMAC default BLK_DEV_IDEDMA_PMAC if PPC_PMAC && BLK_DEV_IDEDMA_PMAC
help help
Say Y here for PCI systems which use IDE drive(s). Say Y here for PCI systems which use IDE drive(s).
...@@ -806,7 +802,7 @@ config BLK_DEV_VIA82CXXX ...@@ -806,7 +802,7 @@ config BLK_DEV_VIA82CXXX
config BLK_DEV_IDE_PMAC config BLK_DEV_IDE_PMAC
bool "Builtin PowerMac IDE support" bool "Builtin PowerMac IDE support"
depends on BLK_DEV_IDE && PPC_PMAC depends on PPC_PMAC
help help
This driver provides support for the built-in IDE controller on This driver provides support for the built-in IDE controller on
most of the recent Apple Power Macintoshes and PowerBooks. most of the recent Apple Power Macintoshes and PowerBooks.
...@@ -834,11 +830,11 @@ config BLK_DEV_IDEDMA_PMAC_AUTO ...@@ -834,11 +830,11 @@ config BLK_DEV_IDEDMA_PMAC_AUTO
config BLK_DEV_IDE_SWARM config BLK_DEV_IDE_SWARM
bool "SWARM onboard IDE support" bool "SWARM onboard IDE support"
depends on BLK_DEV_IDE && SIBYTE_SWARM depends on SIBYTE_SWARM
config BLK_DEV_IDE_ICSIDE config BLK_DEV_IDE_ICSIDE
tristate "ICS IDE interface support" tristate "ICS IDE interface support"
depends on BLK_DEV_IDE!=n && ARM && ARCH_ACORN depends on ARM && ARCH_ACORN
help help
On Acorn systems, say Y here if you wish to use the ICS IDE On Acorn systems, say Y here if you wish to use the ICS IDE
interface card. This is not required for ICS partition support. interface card. This is not required for ICS partition support.
...@@ -866,14 +862,14 @@ config IDEDMA_ICS_AUTO ...@@ -866,14 +862,14 @@ config IDEDMA_ICS_AUTO
config BLK_DEV_IDE_RAPIDE config BLK_DEV_IDE_RAPIDE
tristate "RapIDE interface support" tristate "RapIDE interface support"
depends on BLK_DEV_IDE!=n && ARM && ARCH_ACORN depends on ARM && ARCH_ACORN
help help
Say Y here if you want to support the Yellowstone RapIDE controller Say Y here if you want to support the Yellowstone RapIDE controller
manufactured for use with Acorn computers. manufactured for use with Acorn computers.
config BLK_DEV_GAYLE config BLK_DEV_GAYLE
bool "Amiga Gayle IDE interface support" bool "Amiga Gayle IDE interface support"
depends on BLK_DEV_IDE && AMIGA depends on AMIGA
help help
This is the IDE driver for the builtin IDE interface on some Amiga This is the IDE driver for the builtin IDE interface on some Amiga
models. It supports both the `A1200 style' (used in A600 and A1200) models. It supports both the `A1200 style' (used in A600 and A1200)
...@@ -900,7 +896,7 @@ config BLK_DEV_IDEDOUBLER ...@@ -900,7 +896,7 @@ config BLK_DEV_IDEDOUBLER
config BLK_DEV_BUDDHA config BLK_DEV_BUDDHA
bool "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)" bool "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)"
depends on BLK_DEV_IDE && ZORRO && EXPERIMENTAL depends on ZORRO && EXPERIMENTAL
help help
This is the IDE driver for the IDE interfaces on the Buddha, This is the IDE driver for the IDE interfaces on the Buddha,
Catweasel and X-Surf expansion boards. It supports up to two interfaces Catweasel and X-Surf expansion boards. It supports up to two interfaces
...@@ -912,7 +908,7 @@ config BLK_DEV_BUDDHA ...@@ -912,7 +908,7 @@ config BLK_DEV_BUDDHA
config BLK_DEV_FALCON_IDE config BLK_DEV_FALCON_IDE
bool "Falcon IDE interface support" bool "Falcon IDE interface support"
depends on BLK_DEV_IDE && ATARI depends on ATARI
help help
This is the IDE driver for the builtin IDE interface on the Atari This is the IDE driver for the builtin IDE interface on the Atari
Falcon. Say Y if you have a Falcon and want to use IDE devices (hard Falcon. Say Y if you have a Falcon and want to use IDE devices (hard
...@@ -921,7 +917,7 @@ config BLK_DEV_FALCON_IDE ...@@ -921,7 +917,7 @@ config BLK_DEV_FALCON_IDE
config BLK_DEV_MAC_IDE config BLK_DEV_MAC_IDE
bool "Macintosh Quadra/Powerbook IDE interface support" bool "Macintosh Quadra/Powerbook IDE interface support"
depends on BLK_DEV_IDE && MAC depends on MAC
help help
This is the IDE driver for the builtin IDE interface on some m68k This is the IDE driver for the builtin IDE interface on some m68k
Macintosh models. It supports both the `Quadra style' (used in Macintosh models. It supports both the `Quadra style' (used in
...@@ -934,7 +930,7 @@ config BLK_DEV_MAC_IDE ...@@ -934,7 +930,7 @@ config BLK_DEV_MAC_IDE
config BLK_DEV_Q40IDE config BLK_DEV_Q40IDE
bool "Q40/Q60 IDE interface support" bool "Q40/Q60 IDE interface support"
depends on BLK_DEV_IDE && Q40 depends on Q40
help help
Enable the on-board IDE controller in the Q40/Q60. This should Enable the on-board IDE controller in the Q40/Q60. This should
normally be on; disable it only if you are running a custom hard normally be on; disable it only if you are running a custom hard
...@@ -942,7 +938,7 @@ config BLK_DEV_Q40IDE ...@@ -942,7 +938,7 @@ config BLK_DEV_Q40IDE
config BLK_DEV_MPC8xx_IDE config BLK_DEV_MPC8xx_IDE
bool "MPC8xx IDE support" bool "MPC8xx IDE support"
depends on BLK_DEV_IDE && 8xx depends on 8xx
help help
This option provides support for IDE on Motorola MPC8xx Systems. This option provides support for IDE on Motorola MPC8xx Systems.
Please see 'Type of MPC8xx IDE interface' for details. Please see 'Type of MPC8xx IDE interface' for details.
...@@ -982,7 +978,7 @@ endchoice ...@@ -982,7 +978,7 @@ endchoice
# no isa -> no vlb # no isa -> no vlb
config IDE_CHIPSETS config IDE_CHIPSETS
bool "Other IDE chipset support" bool "Other IDE chipset support"
depends on BLK_DEV_IDE && ISA depends on ISA
---help--- ---help---
Say Y here if you want to include enhanced support for various IDE Say Y here if you want to include enhanced support for various IDE
interface chipsets used on motherboards and add-on cards. You can interface chipsets used on motherboards and add-on cards. You can
...@@ -997,7 +993,7 @@ config IDE_CHIPSETS ...@@ -997,7 +993,7 @@ config IDE_CHIPSETS
People with SCSI-only systems can say N here. People with SCSI-only systems can say N here.
comment "Note: most of these also require special kernel boot parameters" comment "Note: most of these also require special kernel boot parameters"
depends on BLK_DEV_IDE && IDE_CHIPSETS depends on IDE_CHIPSETS
config BLK_DEV_4DRIVES config BLK_DEV_4DRIVES
bool "Generic 4 drives/port support" bool "Generic 4 drives/port support"
...@@ -1011,7 +1007,7 @@ config BLK_DEV_4DRIVES ...@@ -1011,7 +1007,7 @@ config BLK_DEV_4DRIVES
config BLK_DEV_ALI14XX config BLK_DEV_ALI14XX
tristate "ALI M14xx support" tristate "ALI M14xx support"
depends on IDE_CHIPSETS && BLK_DEV_IDE depends on IDE_CHIPSETS
help help
This driver is enabled at runtime using the "ide0=ali14xx" kernel This driver is enabled at runtime using the "ide0=ali14xx" kernel
boot parameter. It enables support for the secondary IDE interface boot parameter. It enables support for the secondary IDE interface
...@@ -1022,7 +1018,7 @@ config BLK_DEV_ALI14XX ...@@ -1022,7 +1018,7 @@ config BLK_DEV_ALI14XX
config BLK_DEV_DTC2278 config BLK_DEV_DTC2278
tristate "DTC-2278 support" tristate "DTC-2278 support"
depends on IDE_CHIPSETS && BLK_DEV_IDE depends on IDE_CHIPSETS
help help
This driver is enabled at runtime using the "ide0=dtc2278" kernel This driver is enabled at runtime using the "ide0=dtc2278" kernel
boot parameter. It enables support for the secondary IDE interface boot parameter. It enables support for the secondary IDE interface
...@@ -1032,7 +1028,7 @@ config BLK_DEV_DTC2278 ...@@ -1032,7 +1028,7 @@ config BLK_DEV_DTC2278
config BLK_DEV_HT6560B config BLK_DEV_HT6560B
tristate "Holtek HT6560B support" tristate "Holtek HT6560B support"
depends on IDE_CHIPSETS && BLK_DEV_IDE depends on IDE_CHIPSETS
help help
This driver is enabled at runtime using the "ide0=ht6560b" kernel This driver is enabled at runtime using the "ide0=ht6560b" kernel
boot parameter. It enables support for the secondary IDE interface boot parameter. It enables support for the secondary IDE interface
...@@ -1055,7 +1051,7 @@ config BLK_DEV_PDC4030 ...@@ -1055,7 +1051,7 @@ config BLK_DEV_PDC4030
config BLK_DEV_QD65XX config BLK_DEV_QD65XX
tristate "QDI QD65xx support" tristate "QDI QD65xx support"
depends on IDE_CHIPSETS && BLK_DEV_IDE depends on IDE_CHIPSETS
help help
This driver is enabled at runtime using the "ide0=qd65xx" kernel This driver is enabled at runtime using the "ide0=qd65xx" kernel
boot parameter. It permits faster I/O speeds to be set. See the boot parameter. It permits faster I/O speeds to be set. See the
...@@ -1064,7 +1060,7 @@ config BLK_DEV_QD65XX ...@@ -1064,7 +1060,7 @@ config BLK_DEV_QD65XX
config BLK_DEV_UMC8672 config BLK_DEV_UMC8672
tristate "UMC-8672 support" tristate "UMC-8672 support"
depends on IDE_CHIPSETS && BLK_DEV_IDE depends on IDE_CHIPSETS
help help
This driver is enabled at runtime using the "ide0=umc8672" kernel This driver is enabled at runtime using the "ide0=umc8672" kernel
boot parameter. It enables support for the secondary IDE interface boot parameter. It enables support for the secondary IDE interface
...@@ -1074,7 +1070,6 @@ config BLK_DEV_UMC8672 ...@@ -1074,7 +1070,6 @@ config BLK_DEV_UMC8672
config BLK_DEV_IDEDMA config BLK_DEV_IDEDMA
bool bool
depends on BLK_DEV_IDE
default BLK_DEV_IDEDMA_ICS if ARCH_ACORN default BLK_DEV_IDEDMA_ICS if ARCH_ACORN
default BLK_DEV_IDEDMA_PMAC if PPC_PMAC && BLK_DEV_IDE_PMAC default BLK_DEV_IDEDMA_PMAC if PPC_PMAC && BLK_DEV_IDE_PMAC
default BLK_DEV_IDEDMA_PCI if PCI && BLK_DEV_IDEPCI default BLK_DEV_IDEDMA_PCI if PCI && BLK_DEV_IDEPCI
...@@ -1105,6 +1100,8 @@ config DMA_NONPCI ...@@ -1105,6 +1100,8 @@ config DMA_NONPCI
depends on BLK_DEV_TIVO depends on BLK_DEV_TIVO
default y default y
endif
config BLK_DEV_HD_ONLY config BLK_DEV_HD_ONLY
bool "Old hard disk (MFM/RLL/IDE) driver" bool "Old hard disk (MFM/RLL/IDE) driver"
depends on BLK_DEV_IDE=n depends on BLK_DEV_IDE=n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment