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