Merge branches 'release', 'asus', 'sony-laptop' and 'thinkpad' into release
[pandora-kernel.git] / drivers / ide / Kconfig
1 #
2 # IDE ATA ATAPI Block device driver configuration
3 #
4 # Andre Hedrick <andre@linux-ide.org>
5 #
6
7 menuconfig IDE
8         tristate "ATA/ATAPI/MFM/RLL support"
9         depends on BLOCK
10         depends on HAS_IOMEM
11         ---help---
12           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
14           cases are IDE hard drives and ATAPI CD-ROM drives.
15
16           If your system is pure SCSI and doesn't use these interfaces, you
17           can say N here.
18
19           Integrated Disk Electronics (IDE aka ATA-1) is a connecting standard
20           for mass storage units such as hard disks. It was designed by
21           Western Digital and Compaq Computer in 1984. It was then named
22           ST506. Quite a number of disks use the IDE interface.
23
24           AT Attachment (ATA) is the superset of the IDE specifications.
25           ST506 was also called ATA-1.
26
27           Fast-IDE is ATA-2 (also named Fast ATA), Enhanced IDE (EIDE) is
28           ATA-3. It provides support for larger disks (up to 8.4GB by means of
29           the LBA standard), more disks (4 instead of 2) and for other mass
30           storage units such as tapes and cdrom. UDMA/33 (aka UltraDMA/33) is
31           ATA-4 and provides faster (and more CPU friendly) transfer modes
32           than previous PIO (Programmed processor Input/Output) from previous
33           ATA/IDE standards by means of fast DMA controllers.
34
35           ATA Packet Interface (ATAPI) is a protocol used by EIDE tape and
36           CD-ROM drives, similar in many respects to the SCSI protocol.
37
38           SMART IDE (Self Monitoring, Analysis and Reporting Technology) was
39           designed in order to prevent data corruption and disk crash by
40           detecting pre hardware failure conditions (heat, access time, and
41           the like...). Disks built since June 1995 may follow this standard.
42           The kernel itself doesn't manage this; however there are quite a
43           number of user programs such as smart that can query the status of
44           SMART parameters from disk drives.
45
46           To compile this driver as a module, choose M here: the
47           module will be called ide.
48
49           For further information, please read <file:Documentation/ide.txt>.
50
51           If unsure, say Y.
52
53 if IDE
54
55 config IDE_MAX_HWIFS
56         int "Max IDE interfaces"
57         depends on ALPHA || SUPERH || IA64 || EMBEDDED
58         range 1 10
59         default 4
60         help
61           This is the maximum number of IDE hardware interfaces that will
62           be supported by the driver. Make sure it is at least as high as
63           the number of IDE interfaces in your system.
64
65 config BLK_DEV_IDE
66         tristate "Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support"
67         ---help---
68           If you say Y here, you will use the full-featured IDE driver to
69           control up to ten ATA/IDE interfaces, each being able to serve a
70           "master" and a "slave" device, for a total of up to twenty ATA/IDE
71           disk/cdrom/tape/floppy drives.
72
73           Useful information about large (>540 MB) IDE disks, multiple
74           interfaces, what to do if ATA/IDE devices are not automatically
75           detected, sound card ATA/IDE ports, module support, and other
76           topics, is contained in <file:Documentation/ide.txt>. For detailed
77           information about hard drives, consult the Disk-HOWTO and the
78           Multi-Disk-HOWTO, available from
79           <http://www.tldp.org/docs.html#howto>.
80
81           To fine-tune ATA/IDE drive/interface parameters for improved
82           performance, look for the hdparm package at
83           <ftp://ibiblio.org/pub/Linux/system/hardware/>.
84
85           To compile this driver as a module, choose M here and read
86           <file:Documentation/ide.txt>. The module will be called ide-mod.
87           Do not compile this driver as a module if your root file system (the
88           one containing the directory /) is located on an IDE device.
89
90           If you have one or more IDE drives, say Y or M here. If your system
91           has no IDE drives, or if memory requirements are really tight, you
92           could say N here, and select the "Old hard disk driver" below
93           instead to save about 13 KB of memory in the kernel.
94
95 if BLK_DEV_IDE
96
97 comment "Please see Documentation/ide.txt for help/info on IDE drives"
98
99 config BLK_DEV_IDE_SATA
100         bool "Support for SATA (deprecated; conflicts with libata SATA driver)"
101         default n
102         ---help---
103           There are two drivers for Serial ATA controllers.
104
105           The main driver, "libata", uses the SCSI subsystem
106           and supports most modern SATA controllers. In order to use it
107           you may take a look at "Serial ATA (prod) and Parallel ATA
108           (experimental) drivers".
109
110           The IDE driver (which you are currently configuring) supports
111           a few first-generation SATA controllers.
112
113           In order to eliminate conflicts between the two subsystems,
114           this config option enables the IDE driver's SATA support.
115           Normally this is disabled, as it is preferred that libata
116           supports SATA controllers, and this (IDE) driver supports
117           PATA controllers.
118
119           If unsure, say N.
120
121 config BLK_DEV_HD_IDE
122         bool "Use old disk-only driver on primary interface"
123         depends on (X86 || SH_MPC1211)
124         ---help---
125           There are two drivers for MFM/RLL/IDE disks.  Most people use just
126           the new enhanced driver by itself.  This option however installs the
127           old hard disk driver to control the primary IDE/disk interface in
128           the system, leaving the new enhanced IDE driver to take care of only
129           the 2nd/3rd/4th IDE interfaces.  Doing this will prevent you from
130           having an IDE/ATAPI CD-ROM or tape drive connected to the primary
131           IDE interface.  Choosing this option may be useful for older systems
132           which have MFM/RLL/ESDI controller+drives at the primary port
133           address (0x1f0), along with IDE drives at the secondary/3rd/4th port
134           addresses.
135
136           Normally, just say N here; you will then use the new driver for all
137           4 interfaces.
138
139 config BLK_DEV_IDEDISK
140         tristate "Include IDE/ATA-2 DISK support"
141         ---help---
142           This will include enhanced support for MFM/RLL/IDE hard disks.  If
143           you have a MFM/RLL/IDE disk, and there is no special reason to use
144           the old hard disk driver instead, say Y.  If you have an SCSI-only
145           system, you can say N here.
146
147           To compile this driver as a module, choose M here: the
148           module will be called ide-disk.
149           Do not compile this driver as a module if your root file system
150           (the one containing the directory /) is located on the IDE disk.
151
152           If unsure, say Y.
153
154 config IDEDISK_MULTI_MODE
155         bool "Use multiple sector mode for Programmed Input/Output by default"
156         help
157           This setting is irrelevant for most IDE disks, with direct memory
158           access, to which multiple sector mode does not apply. Multiple sector
159           mode is a feature of most modern IDE hard drives, permitting the
160           transfer of multiple sectors per Programmed Input/Output interrupt,
161           rather than the usual one sector per interrupt. When this feature is
162           enabled, it can reduce operating system overhead for disk Programmed
163           Input/Output. On some systems, it also can increase the data
164           throughput of Programmed Input/Output. Some drives, however, seemed
165           to run slower with multiple sector mode enabled. Some drives claimed
166           to support multiple sector mode, but lost data at some settings.
167           Under rare circumstances, such failures could result in massive
168           filesystem corruption.
169
170           If you get the following error, try to say Y here:
171
172           hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
173           hda: set_multmode: error=0x04 { DriveStatusError }
174
175           If in doubt, say N.
176
177 config BLK_DEV_IDECS
178         tristate "PCMCIA IDE support"
179         depends on PCMCIA
180         help
181           Support for Compact Flash cards, outboard IDE disks, tape drives,
182           and CD-ROM drives connected through a PCMCIA card.
183
184 config BLK_DEV_DELKIN
185         tristate "Cardbus IDE support (Delkin/ASKA/Workbit)"
186         depends on CARDBUS && PCI
187         help
188           Support for Delkin, ASKA, and Workbit Cardbus CompactFlash
189           Adapters.  This may also work for similar SD and XD adapters.
190
191 config BLK_DEV_IDECD
192         tristate "Include IDE/ATAPI CDROM support"
193         ---help---
194           If you have a CD-ROM drive using the ATAPI protocol, say Y. ATAPI is
195           a newer protocol used by IDE CD-ROM and TAPE drives, similar to the
196           SCSI protocol. Most new CD-ROM drives use ATAPI, including the
197           NEC-260, Mitsumi FX400, Sony 55E, and just about all non-SCSI
198           double(2X) or better speed drives.
199
200           If you say Y here, the CD-ROM drive will be identified at boot time
201           along with other IDE devices, as "hdb" or "hdc", or something
202           similar (check the boot messages with dmesg). If this is your only
203           CD-ROM drive, you can say N to all other CD-ROM options, but be sure
204           to say Y or M to "ISO 9660 CD-ROM file system support".
205
206           To compile this driver as a module, choose M here: the
207           module will be called ide-cd.
208
209 config BLK_DEV_IDECD_VERBOSE_ERRORS
210         bool "Verbose error logging for IDE/ATAPI CDROM driver" if EMBEDDED
211         depends on BLK_DEV_IDECD
212         default y
213         help
214           Turn this on to have the driver print out the meanings of the
215           ATAPI error codes.  This will use up additional 8kB of kernel-space
216           memory, though.
217
218 config BLK_DEV_IDETAPE
219         tristate "Include IDE/ATAPI TAPE support"
220         help
221           If you have an IDE tape drive using the ATAPI protocol, say Y.
222           ATAPI is a newer protocol used by IDE tape and CD-ROM drives,
223           similar to the SCSI protocol.  If you have an SCSI tape drive
224           however, you can say N here.
225
226           You should also say Y if you have an OnStream DI-30 tape drive; this
227           will not work with the SCSI protocol, until there is support for the
228           SC-30 and SC-50 versions.
229
230           If you say Y here, the tape drive will be identified at boot time
231           along with other IDE devices, as "hdb" or "hdc", or something
232           similar, and will be mapped to a character device such as "ht0"
233           (check the boot messages with dmesg).  Be sure to consult the
234           <file:drivers/ide/ide-tape.c> and <file:Documentation/ide.txt> files
235           for usage information.
236
237           To compile this driver as a module, choose M here: the
238           module will be called ide-tape.
239
240 config BLK_DEV_IDEFLOPPY
241         tristate "Include IDE/ATAPI FLOPPY support"
242         ---help---
243           If you have an IDE floppy drive which uses the ATAPI protocol,
244           answer Y.  ATAPI is a newer protocol used by IDE CD-ROM/tape/floppy
245           drives, similar to the SCSI protocol.
246
247           The LS-120 and the IDE/ATAPI Iomega ZIP drive are also supported by
248           this driver. For information about jumper settings and the question
249           of when a ZIP drive uses a partition table, see
250           <http://www.win.tue.nl/~aeb/linux/zip/zip-1.html>.
251           (ATAPI PD-CD/CDR drives are not supported by this driver; support
252           for PD-CD/CDR drives is available if you answer Y to
253           "SCSI emulation support", below).
254
255           If you say Y here, the FLOPPY drive will be identified along with
256           other IDE devices, as "hdb" or "hdc", or something similar (check
257           the boot messages with dmesg).
258
259           To compile this driver as a module, choose M here: the
260           module will be called ide-floppy.
261
262 config BLK_DEV_IDESCSI
263         tristate "SCSI emulation support"
264         depends on SCSI
265         ---help---
266           WARNING: ide-scsi is no longer needed for cd writing applications!
267           The 2.6 kernel supports direct writing to ide-cd, which eliminates
268           the need for ide-scsi + the entire scsi stack just for writing a
269           cd. The new method is more efficient in every way.
270
271           This will provide SCSI host adapter emulation for IDE ATAPI devices,
272           and will allow you to use a SCSI device driver instead of a native
273           ATAPI driver.
274
275           This is useful if you have an ATAPI device for which no native
276           driver has been written (for example, an ATAPI PD-CD drive);
277           you can then use this emulation together with an appropriate SCSI
278           device driver. In order to do this, say Y here and to "SCSI support"
279           and "SCSI generic support", below. You must then provide the kernel
280           command line "hdx=ide-scsi" (try "man bootparam" or see the
281           documentation of your boot loader (lilo or loadlin) about how to
282           pass options to the kernel at boot time) for devices if you want the
283           native EIDE sub-drivers to skip over the native support, so that
284           this SCSI emulation can be used instead.
285
286           Note that this option does NOT allow you to attach SCSI devices to a
287           box that doesn't have a SCSI host adapter installed.
288
289           If both this SCSI emulation and native ATAPI support are compiled
290           into the kernel, the native support will be used.
291
292 config BLK_DEV_IDEACPI
293         bool "IDE ACPI support"
294         depends on ACPI
295         ---help---
296           Implement ACPI support for generic IDE devices. On modern
297           machines ACPI support is required to properly handle ACPI S3 states.
298
299 config IDE_TASK_IOCTL
300         bool "IDE Taskfile Access"
301         help
302           This is a direct raw access to the media.  It is a complex but
303           elegant solution to test and validate the domain of the hardware and
304           perform below the driver data recovery if needed.  This is the most
305           basic form of media-forensics.
306
307           If you are unsure, say N here.
308
309 config IDE_PROC_FS
310         bool "legacy /proc/ide/ support"
311         depends on IDE && PROC_FS
312         default y
313         help
314           This option enables support for the various files in
315           /proc/ide.  In Linux 2.6 this has been superseded by
316           files in sysfs but many legacy applications rely on this.
317
318           If unsure say Y.
319
320 comment "IDE chipset support/bugfixes"
321
322 config IDE_GENERIC
323         tristate "generic/default IDE chipset support"
324         help
325           If unsure, say N.
326
327 config BLK_DEV_PLATFORM
328         tristate "Platform driver for IDE interfaces"
329         help
330           This is the platform IDE driver, used mostly for Memory Mapped
331           IDE devices, like Compact Flashes running in True IDE mode.
332
333           If unsure, say N.
334
335 config BLK_DEV_CMD640
336         tristate "CMD640 chipset bugfix/support"
337         depends on X86
338         ---help---
339           The CMD-Technologies CMD640 IDE chip is used on many common 486 and
340           Pentium motherboards, usually in combination with a "Neptune" or
341           "SiS" chipset. Unfortunately, it has a number of rather nasty
342           design flaws that can cause severe data corruption under many common
343           conditions. Say Y here to include code which tries to automatically
344           detect and correct the problems under Linux. This option also
345           enables access to the secondary IDE ports in some CMD640 based
346           systems.
347
348           This driver will work automatically in PCI based systems (most new
349           systems have PCI slots). But if your system uses VESA local bus
350           (VLB) instead of PCI, you must also supply a kernel boot parameter
351           to enable the CMD640 bugfix/support: "ide0=cmd640_vlb". (Try "man
352           bootparam" or see the documentation of your boot loader about how to
353           pass options to the kernel.)
354
355           The CMD640 chip is also used on add-in cards by Acculogic, and on
356           the "CSA-6400E PCI to IDE controller" that some people have. For
357           details, read <file:Documentation/ide.txt>.
358
359 config BLK_DEV_CMD640_ENHANCED
360         bool "CMD640 enhanced support"
361         depends on BLK_DEV_CMD640
362         help
363           This option includes support for setting/autotuning PIO modes and
364           prefetch on CMD640 IDE interfaces.  For details, read
365           <file:Documentation/ide.txt>. If you have a CMD640 IDE interface
366           and your BIOS does not already do this for you, then say Y here.
367           Otherwise say N.
368
369 config BLK_DEV_IDEPNP
370         tristate "PNP EIDE support"
371         depends on PNP
372         help
373           If you have a PnP (Plug and Play) compatible EIDE card and
374           would like the kernel to automatically detect and activate
375           it, say Y here.
376
377 if PCI
378
379 comment "PCI IDE chipsets support"
380
381 config BLK_DEV_IDEPCI
382         bool
383
384 config IDEPCI_PCIBUS_ORDER
385         bool "Probe IDE PCI devices in the PCI bus order (DEPRECATED)"
386         depends on BLK_DEV_IDE=y && BLK_DEV_IDEPCI
387         default y
388         help
389           Probe IDE PCI devices in the order in which they appear on the
390           PCI bus (i.e. 00:1f.1 PCI device before 02:01.0 PCI device)
391           instead of the order in which IDE PCI host drivers are loaded.
392
393           Please note that this method of assuring stable naming of
394           IDE devices is unreliable and use other means for achieving
395           it (i.e. udev).
396
397           If in doubt, say N.
398
399 # TODO: split it on per host driver config options (or module parameters)
400 config BLK_DEV_OFFBOARD
401         bool "Boot off-board chipsets first support (DEPRECATED)"
402         depends on BLK_DEV_IDEPCI && (BLK_DEV_AEC62XX || BLK_DEV_GENERIC || BLK_DEV_HPT34X || BLK_DEV_HPT366 || BLK_DEV_PDC202XX_NEW || BLK_DEV_PDC202XX_OLD || BLK_DEV_TC86C001)
403         help
404           Normally, IDE controllers built into the motherboard (on-board
405           controllers) are assigned to ide0 and ide1 while those on add-in PCI
406           cards (off-board controllers) are relegated to ide2 and ide3.
407           Answering Y here will allow you to reverse the situation, with
408           off-board controllers on ide0/1 and on-board controllers on ide2/3.
409           This can improve the usability of some boot managers such as lilo
410           when booting from a drive on an off-board controller.
411
412           If you say Y here, and you actually want to reverse the device scan
413           order as explained above, you also need to issue the kernel command
414           line option "ide=reverse". (Try "man bootparam" or see the
415           documentation of your boot loader (lilo or loadlin) about how to
416           pass options to the kernel at boot time.)
417
418           Note that, if you do this, the order of the hd* devices will be
419           rearranged which may require modification of fstab and other files.
420
421           Please also note that this method of assuring stable naming of
422           IDE devices is unreliable and use other means for achieving it
423           (i.e. udev).
424
425           If in doubt, say N.
426
427 config BLK_DEV_GENERIC
428         tristate "Generic PCI IDE Chipset Support"
429         select BLK_DEV_IDEPCI
430         help
431           This option provides generic support for various PCI IDE Chipsets
432           which otherwise might not be supported.
433
434 config BLK_DEV_OPTI621
435         tristate "OPTi 82C621 chipset enhanced support (EXPERIMENTAL)"
436         depends on EXPERIMENTAL
437         select BLK_DEV_IDEPCI
438         help
439           This is a driver for the OPTi 82C621 EIDE controller.
440           Please read the comments at the top of <file:drivers/ide/pci/opti621.c>.
441
442 config BLK_DEV_RZ1000
443         tristate "RZ1000 chipset bugfix/support"
444         depends on X86
445         select BLK_DEV_IDEPCI
446         help
447           The PC-Technologies RZ1000 IDE chip is used on many common 486 and
448           Pentium motherboards, usually along with the "Neptune" chipset.
449           Unfortunately, it has a rather nasty design flaw that can cause
450           severe data corruption under many conditions. Say Y here to include
451           code which automatically detects and corrects the problem under
452           Linux. This may slow disk throughput by a few percent, but at least
453           things will operate 100% reliably.
454
455 config BLK_DEV_IDEDMA_PCI
456         bool
457         select BLK_DEV_IDEPCI
458
459 config BLK_DEV_AEC62XX
460         tristate "AEC62XX chipset support"
461         select BLK_DEV_IDEDMA_PCI
462         help
463           This driver adds explicit support for Acard AEC62xx (Artop ATP8xx)
464           IDE controllers. This allows the kernel to change PIO, DMA and UDMA
465           speeds and to configure the chip to optimum performance.
466
467 config BLK_DEV_ALI15X3
468         tristate "ALI M15x3 chipset support"
469         select BLK_DEV_IDEDMA_PCI
470         help
471           This driver ensures (U)DMA support for ALI 1533, 1543 and 1543C
472           onboard chipsets.  It also tests for Simplex mode and enables
473           normal dual channel support.
474
475           If you say Y here, you also need to say Y to "Use DMA by default
476           when available", above.  Please read the comments at the top of
477           <file:drivers/ide/pci/alim15x3.c>.
478
479           If unsure, say N.
480
481 config WDC_ALI15X3
482         bool "ALI M15x3 WDC support (DANGEROUS)"
483         depends on BLK_DEV_ALI15X3
484         ---help---
485           This allows for UltraDMA support for WDC drives that ignore CRC
486           checking. You are a fool for enabling this option, but there have
487           been requests. DO NOT COMPLAIN IF YOUR DRIVE HAS FS CORRUPTION, IF
488           YOU ENABLE THIS! No one will listen, just laugh for ignoring this
489           SERIOUS WARNING.
490
491           Using this option can allow WDC drives to run at ATA-4/5 transfer
492           rates with only an ATA-2 support structure.
493
494           SAY N!
495
496 config BLK_DEV_AMD74XX
497         tristate "AMD and nVidia IDE support"
498         depends on !ARM
499         select BLK_DEV_IDEDMA_PCI
500         help
501           This driver adds explicit support for AMD-7xx and AMD-8111 chips
502           and also for the nVidia nForce chip.  This allows the kernel to
503           change PIO, DMA and UDMA speeds and to configure the chip to
504           optimum performance.
505
506 config BLK_DEV_ATIIXP
507         tristate "ATI IXP chipset IDE support"
508         depends on X86
509         select BLK_DEV_IDEDMA_PCI
510         help
511           This driver adds explicit support for ATI IXP chipset.
512           This allows the kernel to change PIO, DMA and UDMA speeds
513           and to configure the chip to optimum performance.
514
515           Say Y here if you have an ATI IXP chipset IDE controller.
516
517 config BLK_DEV_CMD64X
518         tristate "CMD64{3|6|8|9} chipset support"
519         select BLK_DEV_IDEDMA_PCI
520         help
521           Say Y here if you have an IDE controller which uses any of these
522           chipsets: CMD643, CMD646, or CMD648.
523
524 config BLK_DEV_TRIFLEX
525         tristate "Compaq Triflex IDE support"
526         select BLK_DEV_IDEDMA_PCI
527         help
528           Say Y here if you have a Compaq Triflex IDE controller, such
529           as those commonly found on Compaq Pentium-Pro systems
530
531 config BLK_DEV_CY82C693
532         tristate "CY82C693 chipset support"
533         select BLK_DEV_IDEDMA_PCI
534         help
535           This driver adds detection and support for the CY82C693 chipset
536           used on Digital's PC-Alpha 164SX boards.
537
538           If you say Y here, you need to say Y to "Use DMA by default
539           when available" as well.
540
541 config BLK_DEV_CS5520
542         tristate "Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)"
543         depends on EXPERIMENTAL
544         select BLK_DEV_IDEDMA_PCI
545         help
546           Include support for PIO tuning and virtual DMA on the Cyrix MediaGX
547           5510/5520 chipset. This will automatically be detected and
548           configured if found.
549
550           It is safe to say Y to this question.
551
552 config BLK_DEV_CS5530
553         tristate "Cyrix/National Semiconductor CS5530 MediaGX chipset support"
554         select BLK_DEV_IDEDMA_PCI
555         help
556           Include support for UDMA on the Cyrix MediaGX 5530 chipset. This
557           will automatically be detected and configured if found.
558
559           It is safe to say Y to this question.
560
561 config BLK_DEV_CS5535
562         tristate "AMD CS5535 chipset support"
563         depends on X86 && !X86_64
564         select BLK_DEV_IDEDMA_PCI
565         help
566           Include support for UDMA on the NSC/AMD CS5535 companion chipset.
567           This will automatically be detected and configured if found.
568
569           It is safe to say Y to this question.
570
571 config BLK_DEV_HPT34X
572         tristate "HPT34X chipset support"
573         select BLK_DEV_IDEDMA_PCI
574         help
575           This driver adds up to 4 more EIDE devices sharing a single
576           interrupt. The HPT343 chipset in its current form is a non-bootable
577           controller; the HPT345/HPT363 chipset is a bootable (needs BIOS FIX)
578           PCI UDMA controllers. This driver requires dynamic tuning of the
579           chipset during the ide-probe at boot time. It is reported to support
580           DVD II drives, by the manufacturer.
581
582 config HPT34X_AUTODMA
583         bool "HPT34X AUTODMA support (EXPERIMENTAL)"
584         depends on BLK_DEV_HPT34X && EXPERIMENTAL
585         help
586           This is a dangerous thing to attempt currently! Please read the
587           comments at the top of <file:drivers/ide/pci/hpt34x.c>.  If you say Y
588           here, then say Y to "Use DMA by default when available" as well.
589
590           If unsure, say N.
591
592 config BLK_DEV_HPT366
593         tristate "HPT36X/37X chipset support"
594         select BLK_DEV_IDEDMA_PCI
595         help
596           HPT366 is an Ultra DMA chipset for ATA-66.
597           HPT368 is an Ultra DMA chipset for ATA-66 RAID Based.
598           HPT370 is an Ultra DMA chipset for ATA-100.
599           HPT372 is an Ultra DMA chipset for ATA-100.
600           HPT374 is an Ultra DMA chipset for ATA-100.
601
602           This driver adds up to 4 more EIDE devices sharing a single
603           interrupt.
604
605           The HPT366 chipset in its current form is bootable. One solution
606           for this problem are special LILO commands for redirecting the
607           reference to device 0x80. The other solution is to say Y to "Boot
608           off-board chipsets first support" (CONFIG_BLK_DEV_OFFBOARD) unless
609           your mother board has the chipset natively mounted. Regardless one
610           should use the fore mentioned option and call at LILO or include
611           "ide=reverse" in LILO's append-line.
612
613           This driver requires dynamic tuning of the chipset during the
614           ide-probe at boot. It is reported to support DVD II drives, by the
615           manufacturer.
616
617 config BLK_DEV_JMICRON
618         tristate "JMicron JMB36x support"
619         select BLK_DEV_IDEDMA_PCI
620         help
621           Basic support for the JMicron ATA controllers. For full support
622           use the libata drivers.
623
624 config BLK_DEV_SC1200
625         tristate "National SCx200 chipset support"
626         select BLK_DEV_IDEDMA_PCI
627         help
628           This driver adds support for the on-board IDE controller on the
629           National SCx200 series of embedded x86 "Geode" systems.
630
631 config BLK_DEV_PIIX
632         tristate "Intel PIIXn chipsets support"
633         select BLK_DEV_IDEDMA_PCI
634         help
635           This driver adds explicit support for Intel PIIX and ICH chips
636           and also for the Efar Victory66 (slc90e66) chip.  This allows
637           the kernel to change PIO, DMA and UDMA speeds and to configure
638           the chip to optimum performance.
639
640 config BLK_DEV_IT8213
641         tristate "IT8213 IDE support"
642         select BLK_DEV_IDEDMA_PCI
643         help
644          This driver adds support for the ITE 8213 IDE controller.
645
646 config BLK_DEV_IT821X
647         tristate "IT821X IDE support"
648         select BLK_DEV_IDEDMA_PCI
649         help
650           This driver adds support for the ITE 8211 IDE controller and the
651           IT 8212 IDE RAID controller in both RAID and pass-through mode.
652
653 config BLK_DEV_NS87415
654         tristate "NS87415 chipset support"
655         select BLK_DEV_IDEDMA_PCI
656         help
657           This driver adds detection and support for the NS87415 chip
658           (used mainly on SPARC64 and PA-RISC machines).
659
660           Please read the comments at the top of <file:drivers/ide/pci/ns87415.c>.
661
662 config BLK_DEV_PDC202XX_OLD
663         tristate "PROMISE PDC202{46|62|65|67} support"
664         select BLK_DEV_IDEDMA_PCI
665         help
666           Promise Ultra33 or PDC20246
667           Promise Ultra66 or PDC20262
668           Promise Ultra100 or PDC20265/PDC20267/PDC20268
669
670           This driver adds up to 4 more EIDE devices sharing a single
671           interrupt. This add-on card is a bootable PCI UDMA controller. Since
672           multiple cards can be installed and there are BIOS ROM problems that
673           happen if the BIOS revisions of all installed cards (three-max) do
674           not match, the driver attempts to do dynamic tuning of the chipset
675           at boot-time for max-speed.  Ultra33 BIOS 1.25 or newer is required
676           for more than one card. This card may require that you say Y to
677           "Special UDMA Feature".
678
679           If you say Y here, you need to say Y to "Use DMA by default when
680           available" as well.
681
682           Please read the comments at the top of
683           <file:drivers/ide/pci/pdc202xx_old.c>.
684
685           If unsure, say N.
686
687 config PDC202XX_BURST
688         bool "Special UDMA Feature"
689         depends on BLK_DEV_PDC202XX_OLD
690         help
691           This option causes the pdc202xx driver to enable UDMA modes on the
692           PDC202xx even when the PDC202xx BIOS has not done so.
693
694           It was originally designed for the PDC20246/Ultra33, whose BIOS will
695           only setup UDMA on the first two PDC20246 cards.  It has also been
696           used successfully on a PDC20265/Ultra100, allowing use of UDMA modes
697           when the PDC20265 BIOS has been disabled (for faster boot up).
698
699           Please read the comments at the top of
700           <file:drivers/ide/pci/pdc202xx_old.c>.
701
702           If unsure, say N.
703
704 config BLK_DEV_PDC202XX_NEW
705         tristate "PROMISE PDC202{68|69|70|71|75|76|77} support"
706         select BLK_DEV_IDEDMA_PCI
707
708 config BLK_DEV_SVWKS
709         tristate "ServerWorks OSB4/CSB5/CSB6 chipsets support"
710         select BLK_DEV_IDEDMA_PCI
711         help
712           This driver adds PIO/(U)DMA support for the ServerWorks OSB4/CSB5
713           chipsets.
714
715 config BLK_DEV_SGIIOC4
716         tristate "Silicon Graphics IOC4 chipset ATA/ATAPI support"
717         depends on (IA64_SGI_SN2 || IA64_GENERIC) && SGI_IOC4
718         select BLK_DEV_IDEDMA_PCI
719         help
720           This driver adds PIO & MultiMode DMA-2 support for the SGI IOC4
721           chipset, which has one channel and can support two devices.
722           Please say Y here if you have an Altix System from SGI.
723
724 config BLK_DEV_SIIMAGE
725         tristate "Silicon Image chipset support"
726         select BLK_DEV_IDEDMA_PCI
727         help
728           This driver adds PIO/(U)DMA support for the SI CMD680 and SII
729           3112 (Serial ATA) chips.
730
731 config BLK_DEV_SIS5513
732         tristate "SiS5513 chipset support"
733         depends on X86
734         select BLK_DEV_IDEDMA_PCI
735         help
736           This driver ensures (U)DMA support for SIS5513 chipset family based
737           mainboards.
738
739           The following chipsets are supported:
740           ATA16:  SiS5511, SiS5513
741           ATA33:  SiS5591, SiS5597, SiS5598, SiS5600
742           ATA66:  SiS530, SiS540, SiS620, SiS630, SiS640
743           ATA100: SiS635, SiS645, SiS650, SiS730, SiS735, SiS740,
744           SiS745, SiS750
745
746           If you say Y here, you need to say Y to "Use DMA by default when
747           available" as well.
748
749           Please read the comments at the top of <file:drivers/ide/pci/sis5513.c>.
750
751 config BLK_DEV_SL82C105
752         tristate "Winbond SL82c105 support"
753         depends on (PPC || ARM)
754         select BLK_DEV_IDEDMA_PCI
755         help
756           If you have a Winbond SL82c105 IDE controller, say Y here to enable
757           special configuration for this chip. This is common on various CHRP
758           motherboards, but could be used elsewhere. If in doubt, say Y.
759
760 config BLK_DEV_SLC90E66
761         tristate "SLC90E66 chipset support"
762         select BLK_DEV_IDEDMA_PCI
763         help
764           This driver ensures (U)DMA support for Victory66 SouthBridges for
765           SMsC with Intel NorthBridges.  This is an Ultra66 based chipset.
766           The nice thing about it is that you can mix Ultra/DMA/PIO devices
767           and it will handle timing cycles.  Since this is an improved
768           look-a-like to the PIIX4 it should be a nice addition.
769
770           If you say Y here, you need to say Y to "Use DMA by default when
771           available" as well.
772
773           Please read the comments at the top of
774           <file:drivers/ide/pci/slc90e66.c>.
775
776 config BLK_DEV_TRM290
777         tristate "Tekram TRM290 chipset support"
778         select BLK_DEV_IDEDMA_PCI
779         help
780           This driver adds support for bus master DMA transfers
781           using the Tekram TRM290 PCI IDE chip. Volunteers are
782           needed for further tweaking and development.
783           Please read the comments at the top of <file:drivers/ide/pci/trm290.c>.
784
785 config BLK_DEV_VIA82CXXX
786         tristate "VIA82CXXX chipset support"
787         select BLK_DEV_IDEDMA_PCI
788         help
789           This driver adds explicit support for VIA BusMastering IDE chips.
790           This allows the kernel to change PIO, DMA and UDMA speeds and to
791           configure the chip to optimum performance.
792
793 config BLK_DEV_TC86C001
794         tristate "Toshiba TC86C001 support"
795         select BLK_DEV_IDEDMA_PCI
796         help
797         This driver adds support for Toshiba TC86C001 GOKU-S chip.
798
799 config BLK_DEV_CELLEB
800         tristate "Toshiba's Cell Reference Set IDE support"
801         depends on PPC_CELLEB
802         select BLK_DEV_IDEDMA_PCI
803         help
804           This driver provides support for the on-board IDE controller on
805           Toshiba Cell Reference Board.
806           If unsure, say Y.
807
808 endif
809
810 config BLK_DEV_IDE_PMAC
811         tristate "PowerMac on-board IDE support"
812         depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y
813         help
814           This driver provides support for the on-board IDE controller on
815           most of the recent Apple Power Macintoshes and PowerBooks.
816           If unsure, say Y.
817
818 config BLK_DEV_IDE_PMAC_ATA100FIRST
819         bool "Probe on-board ATA/100 (Kauai) first"
820         depends on BLK_DEV_IDE_PMAC
821         help
822           This option will cause the ATA/100 controller found in UniNorth2
823           based machines (Windtunnel PowerMac, Aluminium PowerBooks, ...)
824           to be probed before the ATA/66 and ATA/33 controllers. Without
825           these, those machine used to have the hard disk on hdc and the
826           CD-ROM on hda. This option changes this to more natural hda for
827           hard disk and hdc for CD-ROM.
828
829 config BLK_DEV_IDEDMA_PMAC
830         bool "PowerMac IDE DMA support"
831         depends on BLK_DEV_IDE_PMAC
832         select BLK_DEV_IDEDMA_PCI
833         help
834           This option allows the driver for the on-board IDE controller on
835           Power Macintoshes and PowerBooks to use DMA (direct memory access)
836           to transfer data to and from memory.  Saying Y is safe and improves
837           performance.
838
839 config BLK_DEV_IDE_SWARM
840         tristate "IDE for Sibyte evaluation boards"
841         depends on SIBYTE_SB1xxx_SOC
842
843 config BLK_DEV_IDE_AU1XXX
844        bool "IDE for AMD Alchemy Au1200"
845        depends on SOC_AU1200
846 choice
847        prompt "IDE Mode for AMD Alchemy Au1200"
848        default CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA
849        depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX
850
851 config BLK_DEV_IDE_AU1XXX_PIO_DBDMA
852        bool "PIO+DbDMA IDE for AMD Alchemy Au1200"
853
854 config BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
855        bool "MDMA2+DbDMA IDE for AMD Alchemy Au1200"
856        depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX
857 endchoice
858
859 config BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ
860        int "Maximum transfer size (KB) per request (up to 128)"
861        default "128"
862        depends on BLK_DEV_IDE_AU1XXX
863
864 config IDE_ARM
865         tristate "ARM IDE support"
866         depends on ARM && (ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK)
867         default y
868
869 config BLK_DEV_IDE_ICSIDE
870         tristate "ICS IDE interface support"
871         depends on ARM && ARCH_ACORN
872         help
873           On Acorn systems, say Y here if you wish to use the ICS IDE
874           interface card.  This is not required for ICS partition support.
875           If you are unsure, say N to this.
876
877 config BLK_DEV_IDEDMA_ICS
878         bool "ICS DMA support"
879         depends on BLK_DEV_IDE_ICSIDE
880         help
881           Say Y here if you want to add DMA (Direct Memory Access) support to
882           the ICS IDE driver.
883
884 config BLK_DEV_IDE_RAPIDE
885         tristate "RapIDE interface support"
886         depends on ARM && ARCH_ACORN
887         help
888           Say Y here if you want to support the Yellowstone RapIDE controller
889           manufactured for use with Acorn computers.
890
891 config BLK_DEV_IDE_BAST
892         tristate "Simtec BAST / Thorcom VR1000 IDE support"
893         depends on ARM && (ARCH_BAST || MACH_VR1000)
894         help
895           Say Y here if you want to support the onboard IDE channels on the
896           Simtec BAST or the Thorcom VR1000
897
898 config ETRAX_IDE
899         tristate "ETRAX IDE support"
900         depends on CRIS && BROKEN
901         select BLK_DEV_IDEDMA
902         help
903           Enables the ETRAX IDE driver.
904
905           You can't use parallel ports or SCSI ports at the same time.
906
907 config ETRAX_IDE_DELAY
908         int "Delay for drives to regain consciousness"
909         depends on ETRAX_IDE && ETRAX_ARCH_V10
910         default 15
911         help
912           Number of seconds to wait for IDE drives to spin up after an IDE
913           reset.
914
915 choice
916         prompt "IDE reset pin"
917         depends on ETRAX_IDE && ETRAX_ARCH_V10
918         default ETRAX_IDE_PB7_RESET
919
920 config ETRAX_IDE_PB7_RESET
921         bool "Port_PB_Bit_7"
922         help
923           IDE reset on pin 7 on port B
924
925 config ETRAX_IDE_G27_RESET
926         bool "Port_G_Bit_27"
927         help
928           IDE reset on pin 27 on port G
929
930 endchoice
931
932 config IDE_H8300
933         tristate "H8300 IDE support"
934         depends on H8300
935         default y
936         help
937           Enables the H8300 IDE driver.
938
939 config BLK_DEV_GAYLE
940         tristate "Amiga Gayle IDE interface support"
941         depends on AMIGA
942         help
943           This is the IDE driver for the Amiga Gayle IDE interface. It supports
944           both the `A1200 style' and `A4000 style' of the Gayle IDE interface,
945           This includes on-board IDE interfaces on some Amiga models (A600,
946           A1200, A4000, and A4000T), and IDE interfaces on the Zorro expansion
947           bus (M-Tech E-Matrix 530 expansion card).
948           Say Y if you have an Amiga with a Gayle IDE interface and want to use
949           IDE devices (hard disks, CD-ROM drives, etc.) that are connected to
950           it.
951           Note that you also have to enable Zorro bus support if you want to
952           use Gayle IDE interfaces on the Zorro expansion bus.
953
954 config BLK_DEV_IDEDOUBLER
955         bool "Amiga IDE Doubler support (EXPERIMENTAL)"
956         depends on BLK_DEV_GAYLE && EXPERIMENTAL
957         ---help---
958           This driver provides support for the so-called `IDE doublers' (made
959           by various manufacturers, e.g. Eyetech) that can be connected to
960           the on-board IDE interface of some Amiga models. Using such an IDE
961           doubler, you can connect up to four instead of two IDE devices to
962           the Amiga's on-board IDE interface.
963
964           Note that the normal Amiga Gayle IDE driver may not work correctly
965           if you have an IDE doubler and don't enable this driver!
966
967           Say Y if you have an IDE doubler.  The driver is enabled at kernel
968           runtime using the "ide=doubler" kernel boot parameter.
969
970 config BLK_DEV_BUDDHA
971         tristate "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)"
972         depends on ZORRO && EXPERIMENTAL
973         help
974           This is the IDE driver for the IDE interfaces on the Buddha, Catweasel
975           and X-Surf expansion boards.  It supports up to two interfaces on the
976           Buddha, three on the Catweasel and two on the X-Surf.
977
978           Say Y if you have a Buddha or Catweasel expansion board and want to
979           use IDE devices (hard disks, CD-ROM drives, etc.) that are connected
980           to one of its IDE interfaces.
981
982 config BLK_DEV_FALCON_IDE
983         tristate "Falcon IDE interface support"
984         depends on ATARI
985         help
986           This is the IDE driver for the on-board IDE interface on the Atari
987           Falcon. Say Y if you have a Falcon and want to use IDE devices (hard
988           disks, CD-ROM drives, etc.) that are connected to the on-board IDE
989           interface.
990
991 config BLK_DEV_MAC_IDE
992         tristate "Macintosh Quadra/Powerbook IDE interface support"
993         depends on MAC
994         help
995           This is the IDE driver for the on-board IDE interface on some m68k
996           Macintosh models. It supports both the `Quadra style' (used in
997           Quadra/ Centris 630 and Performa 588 models) and `Powerbook style'
998           (used in the Powerbook 150 and 190 models) IDE interface.
999
1000           Say Y if you have such an Macintosh model and want to use IDE
1001           devices (hard disks, CD-ROM drives, etc.) that are connected to the
1002           on-board IDE interface.
1003
1004 config BLK_DEV_Q40IDE
1005         tristate "Q40/Q60 IDE interface support"
1006         depends on Q40
1007         help
1008           Enable the on-board IDE controller in the Q40/Q60.  This should
1009           normally be on; disable it only if you are running a custom hard
1010           drive subsystem through an expansion card.
1011
1012 config BLK_DEV_PALMCHIP_BK3710
1013         tristate "Palmchip bk3710 IDE controller support"
1014         depends on ARCH_DAVINCI
1015         select BLK_DEV_IDEDMA_PCI
1016         help
1017           Say Y here if you want to support the onchip IDE controller on the
1018           TI DaVinci SoC
1019
1020
1021 config BLK_DEV_MPC8xx_IDE
1022         tristate "MPC8xx IDE support"
1023         depends on 8xx && (LWMON || IVMS8 || IVML24 || TQM8xxL) && IDE=y && BLK_DEV_IDE=y && !PPC_MERGE
1024         help
1025           This option provides support for IDE on Motorola MPC8xx Systems.
1026           Please see 'Type of MPC8xx IDE interface' for details.
1027
1028           If unsure, say N.
1029
1030 choice
1031         prompt "Type of MPC8xx IDE interface"
1032         depends on BLK_DEV_MPC8xx_IDE
1033         default IDE_8xx_PCCARD
1034
1035 config IDE_8xx_PCCARD
1036         bool "8xx_PCCARD"
1037         ---help---
1038           Select how the IDE devices are connected to the MPC8xx system:
1039
1040           8xx_PCCARD uses the 8xx internal PCMCIA interface in combination
1041           with a PC Card (e.g. ARGOSY portable Hard Disk Adapter),
1042           ATA PC Card HDDs or ATA PC Flash Cards (example: TQM8xxL
1043           systems)
1044
1045           8xx_DIRECT is used for directly connected IDE devices using the 8xx
1046           internal PCMCIA interface (example: IVMS8 systems)
1047
1048           EXT_DIRECT is used for IDE devices directly connected to the 8xx
1049           bus using some glue logic, but _not_ the 8xx internal
1050           PCMCIA interface (example: IDIF860 systems)
1051
1052 config IDE_8xx_DIRECT
1053         bool "8xx_DIRECT"
1054
1055 config IDE_EXT_DIRECT
1056         bool "EXT_DIRECT"
1057
1058 endchoice
1059
1060 # no isa -> no vlb
1061 if ISA
1062
1063 comment "Other IDE chipsets support"
1064 comment "Note: most of these also require special kernel boot parameters"
1065
1066 config BLK_DEV_4DRIVES
1067         bool "Generic 4 drives/port support"
1068         help
1069           Certain older chipsets, including the Tekram 690CD, use a single set
1070           of I/O ports at 0x1f0 to control up to four drives, instead of the
1071           customary two drives per port. Support for this can be enabled at
1072           runtime using the "ide0=four" kernel boot parameter if you say Y
1073           here.
1074
1075 config BLK_DEV_ALI14XX
1076         tristate "ALI M14xx support"
1077         help
1078           This driver is enabled at runtime using the "ali14xx.probe" kernel
1079           boot parameter.  It enables support for the secondary IDE interface
1080           of the ALI M1439/1443/1445/1487/1489 chipsets, and permits faster
1081           I/O speeds to be set as well.  See the files
1082           <file:Documentation/ide.txt> and <file:drivers/ide/legacy/ali14xx.c>
1083           for more info.
1084
1085 config BLK_DEV_DTC2278
1086         tristate "DTC-2278 support"
1087         help
1088           This driver is enabled at runtime using the "dtc2278.probe" kernel
1089           boot parameter. It enables support for the secondary IDE interface
1090           of the DTC-2278 card, and permits faster I/O speeds to be set as
1091           well. See the <file:Documentation/ide.txt> and
1092           <file:drivers/ide/legacy/dtc2278.c> files for more info.
1093
1094 config BLK_DEV_HT6560B
1095         tristate "Holtek HT6560B support"
1096         help
1097           This driver is enabled at runtime using the "ht6560b.probe" kernel
1098           boot parameter. It enables support for the secondary IDE interface
1099           of the Holtek card, and permits faster I/O speeds to be set as well.
1100           See the <file:Documentation/ide.txt> and
1101           <file:drivers/ide/legacy/ht6560b.c> files for more info.
1102
1103 config BLK_DEV_QD65XX
1104         tristate "QDI QD65xx support"
1105         help
1106           This driver is enabled at runtime using the "qd65xx.probe" kernel
1107           boot parameter.  It permits faster I/O speeds to be set.  See the
1108           <file:Documentation/ide.txt> and <file:drivers/ide/legacy/qd65xx.c>
1109           for more info.
1110
1111 config BLK_DEV_UMC8672
1112         tristate "UMC-8672 support"
1113         help
1114           This driver is enabled at runtime using the "umc8672.probe" kernel
1115           boot parameter. It enables support for the secondary IDE interface
1116           of the UMC-8672, and permits faster I/O speeds to be set as well.
1117           See the files <file:Documentation/ide.txt> and
1118           <file:drivers/ide/legacy/umc8672.c> for more info.
1119
1120 endif
1121
1122 config BLK_DEV_IDEDMA
1123         def_bool BLK_DEV_IDEDMA_PCI || BLK_DEV_IDEDMA_PMAC || BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
1124
1125 config IDE_ARCH_OBSOLETE_INIT
1126         def_bool ALPHA || (ARM && !ARCH_L7200) || BLACKFIN || X86 || IA64 || M32R || MIPS || PARISC || PPC || (SUPERH64 && BLK_DEV_IDEPCI) || SPARC
1127
1128 endif
1129
1130 config BLK_DEV_HD_ONLY
1131         bool "Old hard disk (MFM/RLL/IDE) driver"
1132         depends on BLK_DEV_IDE=n
1133         help
1134           There are two drivers for MFM/RLL/IDE hard disks. Most people use
1135           the newer enhanced driver, but this old one is still around for two
1136           reasons. Some older systems have strange timing problems and seem to
1137           work only with the old driver (which itself does not work with some
1138           newer systems). The other reason is that the old driver is smaller,
1139           since it lacks the enhanced functionality of the new one. This makes
1140           it a good choice for systems with very tight memory restrictions, or
1141           for systems with only older MFM/RLL/ESDI drives. Choosing the old
1142           driver can save 13 KB or so of kernel memory.
1143
1144           If you are unsure, then just choose the Enhanced IDE/MFM/RLL driver
1145           instead of this one. For more detailed information, read the
1146           Disk-HOWTO, available from
1147           <http://www.tldp.org/docs.html#howto>.
1148
1149 config BLK_DEV_HD
1150         def_bool BLK_DEV_HD_IDE || BLK_DEV_HD_ONLY
1151
1152 endif # IDE