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