aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r--drivers/ide/Kconfig97
1 files changed, 18 insertions, 79 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig
index a34758d29516..74a369a6116f 100644
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -4,7 +4,7 @@
4 4
5# Select HAVE_IDE if IDE is supported 5# Select HAVE_IDE if IDE is supported
6config HAVE_IDE 6config HAVE_IDE
7 def_bool n 7 bool
8 8
9menuconfig IDE 9menuconfig IDE
10 tristate "ATA/ATAPI/MFM/RLL support" 10 tristate "ATA/ATAPI/MFM/RLL support"
@@ -54,38 +54,6 @@ menuconfig IDE
54 54
55if IDE 55if IDE
56 56
57config BLK_DEV_IDE
58 tristate "Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support"
59 ---help---
60 If you say Y here, you will use the full-featured IDE driver to
61 control up to ten ATA/IDE interfaces, each being able to serve a
62 "master" and a "slave" device, for a total of up to twenty ATA/IDE
63 disk/cdrom/tape/floppy drives.
64
65 Useful information about large (>540 MB) IDE disks, multiple
66 interfaces, what to do if ATA/IDE devices are not automatically
67 detected, sound card ATA/IDE ports, module support, and other
68 topics, is contained in <file:Documentation/ide/ide.txt>. For detailed
69 information about hard drives, consult the Disk-HOWTO and the
70 Multi-Disk-HOWTO, available from
71 <http://www.tldp.org/docs.html#howto>.
72
73 To fine-tune ATA/IDE drive/interface parameters for improved
74 performance, look for the hdparm package at
75 <ftp://ibiblio.org/pub/Linux/system/hardware/>.
76
77 To compile this driver as a module, choose M here and read
78 <file:Documentation/ide/ide.txt>. The module will be called ide-mod.
79 Do not compile this driver as a module if your root file system (the
80 one containing the directory /) is located on an IDE device.
81
82 If you have one or more IDE drives, say Y or M here. If your system
83 has no IDE drives, or if memory requirements are really tight, you
84 could say N here, and select the "Old hard disk driver" below
85 instead to save about 13 KB of memory in the kernel.
86
87if BLK_DEV_IDE
88
89comment "Please see Documentation/ide/ide.txt for help/info on IDE drives" 57comment "Please see Documentation/ide/ide.txt for help/info on IDE drives"
90 58
91config IDE_TIMINGS 59config IDE_TIMINGS
@@ -131,29 +99,6 @@ config BLK_DEV_IDEDISK
131 99
132 If unsure, say Y. 100 If unsure, say Y.
133 101
134config IDEDISK_MULTI_MODE
135 bool "Use multiple sector mode for Programmed Input/Output by default"
136 help
137 This setting is irrelevant for most IDE disks, with direct memory
138 access, to which multiple sector mode does not apply. Multiple sector
139 mode is a feature of most modern IDE hard drives, permitting the
140 transfer of multiple sectors per Programmed Input/Output interrupt,
141 rather than the usual one sector per interrupt. When this feature is
142 enabled, it can reduce operating system overhead for disk Programmed
143 Input/Output. On some systems, it also can increase the data
144 throughput of Programmed Input/Output. Some drives, however, seemed
145 to run slower with multiple sector mode enabled. Some drives claimed
146 to support multiple sector mode, but lost data at some settings.
147 Under rare circumstances, such failures could result in massive
148 filesystem corruption.
149
150 If you get the following error, try to say Y here:
151
152 hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
153 hda: set_multmode: error=0x04 { DriveStatusError }
154
155 If in doubt, say N.
156
157config BLK_DEV_IDECS 102config BLK_DEV_IDECS
158 tristate "PCMCIA IDE support" 103 tristate "PCMCIA IDE support"
159 depends on PCMCIA 104 depends on PCMCIA
@@ -242,7 +187,7 @@ config BLK_DEV_IDEFLOPPY
242 module will be called ide-floppy. 187 module will be called ide-floppy.
243 188
244config BLK_DEV_IDESCSI 189config BLK_DEV_IDESCSI
245 tristate "SCSI emulation support" 190 tristate "SCSI emulation support (DEPRECATED)"
246 depends on SCSI 191 depends on SCSI
247 select IDE_ATAPI 192 select IDE_ATAPI
248 ---help--- 193 ---help---
@@ -255,20 +200,6 @@ config BLK_DEV_IDESCSI
255 and will allow you to use a SCSI device driver instead of a native 200 and will allow you to use a SCSI device driver instead of a native
256 ATAPI driver. 201 ATAPI driver.
257 202
258 This is useful if you have an ATAPI device for which no native
259 driver has been written (for example, an ATAPI PD-CD drive);
260 you can then use this emulation together with an appropriate SCSI
261 device driver. In order to do this, say Y here and to "SCSI support"
262 and "SCSI generic support", below. You must then provide the kernel
263 command line "hdx=ide-scsi" (try "man bootparam" or see the
264 documentation of your boot loader (lilo or loadlin) about how to
265 pass options to the kernel at boot time) for devices if you want the
266 native EIDE sub-drivers to skip over the native support, so that
267 this SCSI emulation can be used instead.
268
269 Note that this option does NOT allow you to attach SCSI devices to a
270 box that doesn't have a SCSI host adapter installed.
271
272 If both this SCSI emulation and native ATAPI support are compiled 203 If both this SCSI emulation and native ATAPI support are compiled
273 into the kernel, the native support will be used. 204 into the kernel, the native support will be used.
274 205
@@ -306,6 +237,20 @@ config IDE_GENERIC
306 tristate "generic/default IDE chipset support" 237 tristate "generic/default IDE chipset support"
307 depends on ALPHA || X86 || IA64 || M32R || MIPS 238 depends on ALPHA || X86 || IA64 || M32R || MIPS
308 help 239 help
240 This is the generic IDE driver. This driver attaches to the
241 fixed legacy ports (e.g. on PCs 0x1f0/0x170, 0x1e8/0x168 and
242 so on). Please note that if this driver is built into the
243 kernel or loaded before other ATA (IDE or libata) drivers
244 and the controller is located at legacy ports, this driver
245 may grab those ports and thus can prevent the controller
246 specific driver from attaching.
247
248 Also, currently, IDE generic doesn't allow IRQ sharing
249 meaning that the IRQs it grabs won't be available to other
250 controllers sharing those IRQs which usually makes drivers
251 for those controllers fail. Generally, it's not a good idea
252 to load IDE generic driver on modern systems.
253
309 If unsure, say N. 254 If unsure, say N.
310 255
311config BLK_DEV_PLATFORM 256config BLK_DEV_PLATFORM
@@ -371,7 +316,7 @@ config BLK_DEV_IDEPCI
371 316
372config IDEPCI_PCIBUS_ORDER 317config IDEPCI_PCIBUS_ORDER
373 bool "Probe IDE PCI devices in the PCI bus order (DEPRECATED)" 318 bool "Probe IDE PCI devices in the PCI bus order (DEPRECATED)"
374 depends on BLK_DEV_IDE=y && BLK_DEV_IDEPCI 319 depends on IDE=y && BLK_DEV_IDEPCI
375 default y 320 default y
376 help 321 help
377 Probe IDE PCI devices in the order in which they appear on the 322 Probe IDE PCI devices in the order in which they appear on the
@@ -752,7 +697,7 @@ endif
752 697
753config BLK_DEV_IDE_PMAC 698config BLK_DEV_IDE_PMAC
754 tristate "PowerMac on-board IDE support" 699 tristate "PowerMac on-board IDE support"
755 depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y 700 depends on PPC_PMAC && IDE=y
756 select IDE_TIMINGS 701 select IDE_TIMINGS
757 help 702 help
758 This driver provides support for the on-board IDE controller on 703 This driver provides support for the on-board IDE controller on
@@ -780,10 +725,6 @@ config BLK_DEV_IDEDMA_PMAC
780 to transfer data to and from memory. Saying Y is safe and improves 725 to transfer data to and from memory. Saying Y is safe and improves
781 performance. 726 performance.
782 727
783config BLK_DEV_IDE_SWARM
784 tristate "IDE for Sibyte evaluation boards"
785 depends on SIBYTE_SB1xxx_SOC
786
787config BLK_DEV_IDE_AU1XXX 728config BLK_DEV_IDE_AU1XXX
788 bool "IDE for AMD Alchemy Au1200" 729 bool "IDE for AMD Alchemy Au1200"
789 depends on SOC_AU1200 730 depends on SOC_AU1200
@@ -990,6 +931,4 @@ config BLK_DEV_IDEDMA
990 def_bool BLK_DEV_IDEDMA_SFF || BLK_DEV_IDEDMA_PMAC || \ 931 def_bool BLK_DEV_IDEDMA_SFF || BLK_DEV_IDEDMA_PMAC || \
991 BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA 932 BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
992 933
993endif
994
995endif # IDE 934endif # IDE