Merge current mainline tree into linux-omap tree
[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 BLK_DEV_IDE
58         tristate "Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support"
59         ---help---
60           If you say Y here, you will use the full-featured IDE driver to
61           control up to ten ATA/IDE interfaces, each being able to serve a
62           "master" and a "slave" device, for a total of up to twenty ATA/IDE
63           disk/cdrom/tape/floppy drives.
64
65           Useful information about large (>540 MB) IDE disks, multiple
66           interfaces, what to do if ATA/IDE devices are not automatically
67           detected, sound card ATA/IDE ports, module support, and other
68           topics, is contained in <file:Documentation/ide/ide.txt>. For detailed
69           information about hard drives, consult the Disk-HOWTO and the
70           Multi-Disk-HOWTO, available from
71           <http://www.tldp.org/docs.html#howto>.
72
73           To fine-tune ATA/IDE drive/interface parameters for improved
74           performance, look for the hdparm package at
75           <ftp://ibiblio.org/pub/Linux/system/hardware/>.
76
77           To compile this driver as a module, choose M here and read
78           <file:Documentation/ide/ide.txt>. The module will be called ide-mod.
79           Do not compile this driver as a module if your root file system (the
80           one containing the directory /) is located on an IDE device.
81
82           If you have one or more IDE drives, say Y or M here. If your system
83           has no IDE drives, or if memory requirements are really tight, you
84           could say N here, and select the "Old hard disk driver" below
85           instead to save about 13 KB of memory in the kernel.
86
87 if BLK_DEV_IDE
88
89 comment "Please see Documentation/ide/ide.txt for help/info on IDE drives"
90
91 config IDE_TIMINGS
92         bool
93
94 config IDE_ATAPI
95         bool
96
97 config BLK_DEV_IDE_SATA
98         bool "Support for SATA (deprecated; conflicts with libata SATA driver)"
99         default n
100         ---help---
101           There are two drivers for Serial ATA controllers.
102
103           The main driver, "libata", uses the SCSI subsystem
104           and supports most modern SATA controllers. In order to use it
105           you may take a look at "Serial ATA (prod) and Parallel ATA
106           (experimental) drivers".
107
108           The IDE driver (which you are currently configuring) supports
109           a few first-generation SATA controllers.
110
111           In order to eliminate conflicts between the two subsystems,
112           this config option enables the IDE driver's SATA support.
113           Normally this is disabled, as it is preferred that libata
114           supports SATA controllers, and this (IDE) driver supports
115           PATA controllers.
116
117           If unsure, say N.
118
119 config BLK_DEV_IDEDISK
120         tristate "Include IDE/ATA-2 DISK support"
121         ---help---
122           This will include enhanced support for MFM/RLL/IDE hard disks.  If
123           you have a MFM/RLL/IDE disk, and there is no special reason to use
124           the old hard disk driver instead, say Y.  If you have an SCSI-only
125           system, you can say N here.
126
127           To compile this driver as a module, choose M here: the
128           module will be called ide-disk.
129           Do not compile this driver as a module if your root file system
130           (the one containing the directory /) is located on the IDE disk.
131
132           If unsure, say Y.
133
134 config IDEDISK_MULTI_MODE
135         bool "Use multiple sector mode for Programmed Input/Output by default"
136         help
137           This setting is irrelevant for most IDE disks, with direct memory
138           access, to which multiple sector mode does not apply. Multiple sector
139           mode is a feature of most modern IDE hard drives, permitting the
140           transfer of multiple sectors per Programmed Input/Output interrupt,
141           rather than the usual one sector per interrupt. When this feature is
142           enabled, it can reduce operating system overhead for disk Programmed
143           Input/Output. On some systems, it also can increase the data
144           throughput of Programmed Input/Output. Some drives, however, seemed
145           to run slower with multiple sector mode enabled. Some drives claimed
146           to support multiple sector mode, but lost data at some settings.
147           Under rare circumstances, such failures could result in massive
148           filesystem corruption.
149
150           If you get the following error, try to say Y here:
151
152           hda: set_multmode: status=0x51 { DriveReady SeekComplete Error }
153           hda: set_multmode: error=0x04 { DriveStatusError }
154
155           If in doubt, say N.
156
157 config BLK_DEV_IDECS
158         tristate "PCMCIA IDE support"
159         depends on PCMCIA
160         help
161           Support for Compact Flash cards, outboard IDE disks, tape drives,
162           and CD-ROM drives connected through a PCMCIA card.
163
164 config BLK_DEV_DELKIN
165         tristate "Cardbus IDE support (Delkin/ASKA/Workbit)"
166         depends on CARDBUS && PCI
167         help
168           Support for Delkin, ASKA, and Workbit Cardbus CompactFlash
169           Adapters.  This may also work for similar SD and XD adapters.
170
171 config BLK_DEV_IDECD
172         tristate "Include IDE/ATAPI CDROM support"
173         ---help---
174           If you have a CD-ROM drive using the ATAPI protocol, say Y. ATAPI is
175           a newer protocol used by IDE CD-ROM and TAPE drives, similar to the
176           SCSI protocol. Most new CD-ROM drives use ATAPI, including the
177           NEC-260, Mitsumi FX400, Sony 55E, and just about all non-SCSI
178           double(2X) or better speed drives.
179
180           If you say Y here, the CD-ROM drive will be identified at boot time
181           along with other IDE devices, as "hdb" or "hdc", or something
182           similar (check the boot messages with dmesg). If this is your only
183           CD-ROM drive, you can say N to all other CD-ROM options, but be sure
184           to say Y or M to "ISO 9660 CD-ROM file system support".
185
186           To compile this driver as a module, choose M here: the
187           module will be called ide-cd.
188
189 config BLK_DEV_IDECD_VERBOSE_ERRORS
190         bool "Verbose error logging for IDE/ATAPI CDROM driver" if EMBEDDED
191         depends on BLK_DEV_IDECD
192         default y
193         help
194           Turn this on to have the driver print out the meanings of the
195           ATAPI error codes.  This will use up additional 8kB of kernel-space
196           memory, though.
197
198 config BLK_DEV_IDETAPE
199         tristate "Include IDE/ATAPI TAPE support"
200         select IDE_ATAPI
201         help
202           If you have an IDE tape drive using the ATAPI protocol, say Y.
203           ATAPI is a newer protocol used by IDE tape and CD-ROM drives,
204           similar to the SCSI protocol.  If you have an SCSI tape drive
205           however, you can say N here.
206
207           You should also say Y if you have an OnStream DI-30 tape drive; this
208           will not work with the SCSI protocol, until there is support for the
209           SC-30 and SC-50 versions.
210
211           If you say Y here, the tape drive will be identified at boot time
212           along with other IDE devices, as "hdb" or "hdc", or something
213           similar, and will be mapped to a character device such as "ht0"
214           (check the boot messages with dmesg).  Be sure to consult the
215           <file:drivers/ide/ide-tape.c> and <file:Documentation/ide/ide.txt>
216           files for usage information.
217
218           To compile this driver as a module, choose M here: the
219           module will be called ide-tape.
220
221 config BLK_DEV_IDEFLOPPY
222         tristate "Include IDE/ATAPI FLOPPY support"
223         select IDE_ATAPI
224         ---help---
225           If you have an IDE floppy drive which uses the ATAPI protocol,
226           answer Y.  ATAPI is a newer protocol used by IDE CD-ROM/tape/floppy
227           drives, similar to the SCSI protocol.
228
229           The LS-120 and the IDE/ATAPI Iomega ZIP drive are also supported by
230           this driver. For information about jumper settings and the question
231           of when a ZIP drive uses a partition table, see
232           <http://www.win.tue.nl/~aeb/linux/zip/zip-1.html>.
233           (ATAPI PD-CD/CDR drives are not supported by this driver; support
234           for PD-CD/CDR drives is available if you answer Y to
235           "SCSI emulation support", below).
236
237           If you say Y here, the FLOPPY drive will be identified along with
238           other IDE devices, as "hdb" or "hdc", or something similar (check
239           the boot messages with dmesg).
240
241           To compile this driver as a module, choose M here: the
242           module will be called ide-floppy.
243
244 config BLK_DEV_IDESCSI
245         tristate "SCSI emulation support (DEPRECATED)"
246         depends on SCSI
247         select IDE_ATAPI
248         ---help---
249           WARNING: ide-scsi is no longer needed for cd writing applications!
250           The 2.6 kernel supports direct writing to ide-cd, which eliminates
251           the need for ide-scsi + the entire scsi stack just for writing a
252           cd. The new method is more efficient in every way.
253
254           This will provide SCSI host adapter emulation for IDE ATAPI devices,
255           and will allow you to use a SCSI device driver instead of a native
256           ATAPI driver.
257
258           If both this SCSI emulation and native ATAPI support are compiled
259           into the kernel, the native support will be used.
260
261 config BLK_DEV_IDEACPI
262         bool "IDE ACPI support"
263         depends on ACPI
264         ---help---
265           Implement ACPI support for generic IDE devices. On modern
266           machines ACPI support is required to properly handle ACPI S3 states.
267
268 config IDE_TASK_IOCTL
269         bool "IDE Taskfile Access"
270         help
271           This is a direct raw access to the media.  It is a complex but
272           elegant solution to test and validate the domain of the hardware and
273           perform below the driver data recovery if needed.  This is the most
274           basic form of media-forensics.
275
276           If you are unsure, say N here.
277
278 config IDE_PROC_FS
279         bool "legacy /proc/ide/ support"
280         depends on IDE && PROC_FS
281         default y
282         help
283           This option enables support for the various files in
284           /proc/ide.  In Linux 2.6 this has been superseded by
285           files in sysfs but many legacy applications rely on this.
286
287           If unsure say Y.
288
289 comment "IDE chipset support/bugfixes"
290
291 config IDE_GENERIC
292         tristate "generic/default IDE chipset support"
293         depends on ALPHA || X86 || IA64 || M32R || MIPS
294         help
295           This is the generic IDE driver.  This driver attaches to the
296           fixed legacy ports (e.g. on PCs 0x1f0/0x170, 0x1e8/0x168 and
297           so on).  Please note that if this driver is built into the
298           kernel or loaded before other ATA (IDE or libata) drivers
299           and the controller is located at legacy ports, this driver
300           may grab those ports and thus can prevent the controller
301           specific driver from attaching.
302
303           Also, currently, IDE generic doesn't allow IRQ sharing
304           meaning that the IRQs it grabs won't be available to other
305           controllers sharing those IRQs which usually makes drivers
306           for those controllers fail.  Generally, it's not a good idea
307           to load IDE generic driver on modern systems.
308
309           If unsure, say N.
310
311 config BLK_DEV_PLATFORM
312         tristate "Platform driver for IDE interfaces"
313         help
314           This is the platform IDE driver, used mostly for Memory Mapped
315           IDE devices, like Compact Flashes running in True IDE mode.
316
317           If unsure, say N.
318
319 config BLK_DEV_CMD640
320         tristate "CMD640 chipset bugfix/support"
321         depends on X86
322         select IDE_TIMINGS
323         ---help---
324           The CMD-Technologies CMD640 IDE chip is used on many common 486 and
325           Pentium motherboards, usually in combination with a "Neptune" or
326           "SiS" chipset. Unfortunately, it has a number of rather nasty
327           design flaws that can cause severe data corruption under many common
328           conditions. Say Y here to include code which tries to automatically
329           detect and correct the problems under Linux. This option also
330           enables access to the secondary IDE ports in some CMD640 based
331           systems.
332
333           This driver will work automatically in PCI based systems (most new
334           systems have PCI slots). But if your system uses VESA local bus
335           (VLB) instead of PCI, you must also supply a kernel boot parameter
336           to enable the CMD640 bugfix/support: "cmd640.probe_vlb". (Try "man
337           bootparam" or see the documentation of your boot loader about how to
338           pass options to the kernel.)
339
340           The CMD640 chip is also used on add-in cards by Acculogic, and on
341           the "CSA-6400E PCI to IDE controller" that some people have. For
342           details, read <file:Documentation/ide/ide.txt>.
343
344 config BLK_DEV_CMD640_ENHANCED
345         bool "CMD640 enhanced support"
346         depends on BLK_DEV_CMD640
347         help
348           This option includes support for setting/autotuning PIO modes and
349           prefetch on CMD640 IDE interfaces.  For details, read
350           <file:Documentation/ide/ide.txt>. If you have a CMD640 IDE interface
351           and your BIOS does not already do this for you, then say Y here.
352           Otherwise say N.
353
354 config BLK_DEV_IDEPNP
355         tristate "PNP EIDE support"
356         depends on PNP
357         help
358           If you have a PnP (Plug and Play) compatible EIDE card and
359           would like the kernel to automatically detect and activate
360           it, say Y here.
361
362 config BLK_DEV_IDEDMA_SFF
363         bool
364
365 if PCI
366
367 comment "PCI IDE chipsets support"
368
369 config BLK_DEV_IDEPCI
370         bool
371
372 config IDEPCI_PCIBUS_ORDER
373         bool "Probe IDE PCI devices in the PCI bus order (DEPRECATED)"
374         depends on BLK_DEV_IDE=y && BLK_DEV_IDEPCI
375         default y
376         help
377           Probe IDE PCI devices in the order in which they appear on the
378           PCI bus (i.e. 00:1f.1 PCI device before 02:01.0 PCI device)
379           instead of the order in which IDE PCI host drivers are loaded.
380
381           Please note that this method of assuring stable naming of
382           IDE devices is unreliable and use other means for achieving
383           it (i.e. udev).
384
385           If in doubt, say N.
386
387 # TODO: split it on per host driver config options (or module parameters)
388 config BLK_DEV_OFFBOARD
389         bool "Boot off-board chipsets first support (DEPRECATED)"
390         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)
391         help
392           Normally, IDE controllers built into the motherboard (on-board
393           controllers) are assigned to ide0 and ide1 while those on add-in PCI
394           cards (off-board controllers) are relegated to ide2 and ide3.
395           Answering Y here will allow you to reverse the situation, with
396           off-board controllers on ide0/1 and on-board controllers on ide2/3.
397           This can improve the usability of some boot managers such as lilo
398           when booting from a drive on an off-board controller.
399
400           Note that, if you do this, the order of the hd* devices will be
401           rearranged which may require modification of fstab and other files.
402
403           Please also note that this method of assuring stable naming of
404           IDE devices is unreliable and use other means for achieving it
405           (i.e. udev).
406
407           If in doubt, say N.
408
409 config BLK_DEV_GENERIC
410         tristate "Generic PCI IDE Chipset Support"
411         select BLK_DEV_IDEPCI
412         help
413           This option provides generic support for various PCI IDE Chipsets
414           which otherwise might not be supported.
415
416 config BLK_DEV_OPTI621
417         tristate "OPTi 82C621 chipset enhanced support (EXPERIMENTAL)"
418         depends on EXPERIMENTAL
419         select BLK_DEV_IDEPCI
420         help
421           This is a driver for the OPTi 82C621 EIDE controller.
422           Please read the comments at the top of <file:drivers/ide/pci/opti621.c>.
423
424 config BLK_DEV_RZ1000
425         tristate "RZ1000 chipset bugfix/support"
426         depends on X86
427         select BLK_DEV_IDEPCI
428         help
429           The PC-Technologies RZ1000 IDE chip is used on many common 486 and
430           Pentium motherboards, usually along with the "Neptune" chipset.
431           Unfortunately, it has a rather nasty design flaw that can cause
432           severe data corruption under many conditions. Say Y here to include
433           code which automatically detects and corrects the problem under
434           Linux. This may slow disk throughput by a few percent, but at least
435           things will operate 100% reliably.
436
437 config BLK_DEV_IDEDMA_PCI
438         bool
439         select BLK_DEV_IDEPCI
440         select BLK_DEV_IDEDMA_SFF
441
442 config BLK_DEV_AEC62XX
443         tristate "AEC62XX chipset support"
444         select BLK_DEV_IDEDMA_PCI
445         help
446           This driver adds explicit support for Acard AEC62xx (Artop ATP8xx)
447           IDE controllers. This allows the kernel to change PIO, DMA and UDMA
448           speeds and to configure the chip to optimum performance.
449
450 config BLK_DEV_ALI15X3
451         tristate "ALI M15x3 chipset support"
452         select IDE_TIMINGS
453         select BLK_DEV_IDEDMA_PCI
454         help
455           This driver ensures (U)DMA support for ALI 1533, 1543 and 1543C
456           onboard chipsets.  It also tests for Simplex mode and enables
457           normal dual channel support.
458
459           Please read the comments at the top of
460           <file:drivers/ide/pci/alim15x3.c>.
461
462           If unsure, say N.
463
464 config BLK_DEV_AMD74XX
465         tristate "AMD and nVidia IDE support"
466         depends on !ARM
467         select IDE_TIMINGS
468         select BLK_DEV_IDEDMA_PCI
469         help
470           This driver adds explicit support for AMD-7xx and AMD-8111 chips
471           and also for the nVidia nForce chip.  This allows the kernel to
472           change PIO, DMA and UDMA speeds and to configure the chip to
473           optimum performance.
474
475 config BLK_DEV_ATIIXP
476         tristate "ATI IXP chipset IDE support"
477         depends on X86
478         select BLK_DEV_IDEDMA_PCI
479         help
480           This driver adds explicit support for ATI IXP chipset.
481           This allows the kernel to change PIO, DMA and UDMA speeds
482           and to configure the chip to optimum performance.
483
484           Say Y here if you have an ATI IXP chipset IDE controller.
485
486 config BLK_DEV_CMD64X
487         tristate "CMD64{3|6|8|9} chipset support"
488         select IDE_TIMINGS
489         select BLK_DEV_IDEDMA_PCI
490         help
491           Say Y here if you have an IDE controller which uses any of these
492           chipsets: CMD643, CMD646, or CMD648.
493
494 config BLK_DEV_TRIFLEX
495         tristate "Compaq Triflex IDE support"
496         select BLK_DEV_IDEDMA_PCI
497         help
498           Say Y here if you have a Compaq Triflex IDE controller, such
499           as those commonly found on Compaq Pentium-Pro systems
500
501 config BLK_DEV_CY82C693
502         tristate "CY82C693 chipset support"
503         depends on ALPHA
504         select IDE_TIMINGS
505         select BLK_DEV_IDEDMA_PCI
506         help
507           This driver adds detection and support for the CY82C693 chipset
508           used on Digital's PC-Alpha 164SX boards.
509
510 config BLK_DEV_CS5520
511         tristate "Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)"
512         depends on EXPERIMENTAL
513         select BLK_DEV_IDEDMA_PCI
514         help
515           Include support for PIO tuning and virtual DMA on the Cyrix MediaGX
516           5510/5520 chipset. This will automatically be detected and
517           configured if found.
518
519           It is safe to say Y to this question.
520
521 config BLK_DEV_CS5530
522         tristate "Cyrix/National Semiconductor CS5530 MediaGX chipset support"
523         select BLK_DEV_IDEDMA_PCI
524         help
525           Include support for UDMA on the Cyrix MediaGX 5530 chipset. This
526           will automatically be detected and configured if found.
527
528           It is safe to say Y to this question.
529
530 config BLK_DEV_CS5535
531         tristate "AMD CS5535 chipset support"
532         depends on X86 && !X86_64
533         select BLK_DEV_IDEDMA_PCI
534         help
535           Include support for UDMA on the NSC/AMD CS5535 companion chipset.
536           This will automatically be detected and configured if found.
537
538           It is safe to say Y to this question.
539
540 config BLK_DEV_HPT34X
541         tristate "HPT34X chipset support"
542         depends on BROKEN
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 IDE_TIMINGS
699         select BLK_DEV_IDEDMA_PCI
700         help
701           If you have a Winbond SL82c105 IDE controller, say Y here to enable
702           special configuration for this chip. This is common on various CHRP
703           motherboards, but could be used elsewhere. If in doubt, say Y.
704
705 config BLK_DEV_SLC90E66
706         tristate "SLC90E66 chipset support"
707         select BLK_DEV_IDEDMA_PCI
708         help
709           This driver ensures (U)DMA support for Victory66 SouthBridges for
710           SMsC with Intel NorthBridges.  This is an Ultra66 based chipset.
711           The nice thing about it is that you can mix Ultra/DMA/PIO devices
712           and it will handle timing cycles.  Since this is an improved
713           look-a-like to the PIIX4 it should be a nice addition.
714
715           Please read the comments at the top of
716           <file:drivers/ide/pci/slc90e66.c>.
717
718 config BLK_DEV_TRM290
719         tristate "Tekram TRM290 chipset support"
720         select BLK_DEV_IDEDMA_PCI
721         help
722           This driver adds support for bus master DMA transfers
723           using the Tekram TRM290 PCI IDE chip. Volunteers are
724           needed for further tweaking and development.
725           Please read the comments at the top of <file:drivers/ide/pci/trm290.c>.
726
727 config BLK_DEV_VIA82CXXX
728         tristate "VIA82CXXX chipset support"
729         select IDE_TIMINGS
730         select BLK_DEV_IDEDMA_PCI
731         help
732           This driver adds explicit support for VIA BusMastering IDE chips.
733           This allows the kernel to change PIO, DMA and UDMA speeds and to
734           configure the chip to optimum performance.
735
736 config BLK_DEV_TC86C001
737         tristate "Toshiba TC86C001 support"
738         select BLK_DEV_IDEDMA_PCI
739         help
740         This driver adds support for Toshiba TC86C001 GOKU-S chip.
741
742 config BLK_DEV_CELLEB
743         tristate "Toshiba's Cell Reference Set IDE support"
744         depends on PPC_CELLEB
745         select BLK_DEV_IDEDMA_PCI
746         help
747           This driver provides support for the on-board IDE controller on
748           Toshiba Cell Reference Board.
749           If unsure, say Y.
750
751 endif
752
753 config BLK_DEV_IDE_PMAC
754         tristate "PowerMac on-board IDE support"
755         depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y
756         select IDE_TIMINGS
757         help
758           This driver provides support for the on-board IDE controller on
759           most of the recent Apple Power Macintoshes and PowerBooks.
760           If unsure, say Y.
761
762 config BLK_DEV_IDE_PMAC_ATA100FIRST
763         bool "Probe on-board ATA/100 (Kauai) first"
764         depends on BLK_DEV_IDE_PMAC
765         help
766           This option will cause the ATA/100 controller found in UniNorth2
767           based machines (Windtunnel PowerMac, Aluminium PowerBooks, ...)
768           to be probed before the ATA/66 and ATA/33 controllers. Without
769           these, those machine used to have the hard disk on hdc and the
770           CD-ROM on hda. This option changes this to more natural hda for
771           hard disk and hdc for CD-ROM.
772
773 config BLK_DEV_IDEDMA_PMAC
774         bool "PowerMac IDE DMA support"
775         depends on BLK_DEV_IDE_PMAC
776         select BLK_DEV_IDEDMA_PCI
777         help
778           This option allows the driver for the on-board IDE controller on
779           Power Macintoshes and PowerBooks to use DMA (direct memory access)
780           to transfer data to and from memory.  Saying Y is safe and improves
781           performance.
782
783 config BLK_DEV_IDE_SWARM
784         tristate "IDE for Sibyte evaluation boards"
785         depends on SIBYTE_SB1xxx_SOC
786
787 config BLK_DEV_IDE_AU1XXX
788        bool "IDE for AMD Alchemy Au1200"
789        depends on SOC_AU1200
790 choice
791        prompt "IDE Mode for AMD Alchemy Au1200"
792        default CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA
793        depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX
794
795 config BLK_DEV_IDE_AU1XXX_PIO_DBDMA
796        bool "PIO+DbDMA IDE for AMD Alchemy Au1200"
797
798 config BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
799        bool "MDMA2+DbDMA IDE for AMD Alchemy Au1200"
800        depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX
801 endchoice
802
803 config BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ
804        int "Maximum transfer size (KB) per request (up to 128)"
805        default "128"
806        depends on BLK_DEV_IDE_AU1XXX
807
808 config IDE_ARM
809         tristate "ARM IDE support"
810         depends on ARM && (ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK)
811         default y
812
813 config BLK_DEV_IDE_ICSIDE
814         tristate "ICS IDE interface support"
815         depends on ARM && ARCH_ACORN
816         help
817           On Acorn systems, say Y here if you wish to use the ICS IDE
818           interface card.  This is not required for ICS partition support.
819           If you are unsure, say N to this.
820
821 config BLK_DEV_IDEDMA_ICS
822         bool "ICS DMA support"
823         depends on BLK_DEV_IDE_ICSIDE
824         help
825           Say Y here if you want to add DMA (Direct Memory Access) support to
826           the ICS IDE driver.
827
828 config BLK_DEV_IDE_RAPIDE
829         tristate "RapIDE interface support"
830         depends on ARM && ARCH_ACORN
831         help
832           Say Y here if you want to support the Yellowstone RapIDE controller
833           manufactured for use with Acorn computers.
834
835 config IDE_H8300
836         tristate "H8300 IDE support"
837         depends on H8300
838         default y
839         help
840           Enables the H8300 IDE driver.
841
842 config BLK_DEV_GAYLE
843         tristate "Amiga Gayle IDE interface support"
844         depends on AMIGA
845         help
846           This is the IDE driver for the Amiga Gayle IDE interface. It supports
847           both the `A1200 style' and `A4000 style' of the Gayle IDE interface,
848           This includes on-board IDE interfaces on some Amiga models (A600,
849           A1200, A4000, and A4000T), and IDE interfaces on the Zorro expansion
850           bus (M-Tech E-Matrix 530 expansion card).
851           Say Y if you have an Amiga with a Gayle IDE interface and want to use
852           IDE devices (hard disks, CD-ROM drives, etc.) that are connected to
853           it.
854           Note that you also have to enable Zorro bus support if you want to
855           use Gayle IDE interfaces on the Zorro expansion bus.
856
857 config BLK_DEV_IDEDOUBLER
858         bool "Amiga IDE Doubler support (EXPERIMENTAL)"
859         depends on BLK_DEV_GAYLE && EXPERIMENTAL
860         ---help---
861           This feature provides support for the so-called `IDE doublers' (made
862           by various manufacturers, e.g. Eyetech) that can be connected to
863           the on-board IDE interface of some Amiga models. Using such an IDE
864           doubler, you can connect up to four instead of two IDE devices to
865           the Amiga's on-board IDE interface.
866
867           Note that the normal Amiga Gayle IDE driver may not work correctly
868           if you have an IDE doubler and don't enable this feature!
869
870           Say Y if you have an IDE doubler.  The feature is enabled at kernel
871           runtime using the "gayle.doubler" kernel boot parameter.
872
873 config BLK_DEV_BUDDHA
874         tristate "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)"
875         depends on ZORRO && EXPERIMENTAL
876         help
877           This is the IDE driver for the IDE interfaces on the Buddha, Catweasel
878           and X-Surf expansion boards.  It supports up to two interfaces on the
879           Buddha, three on the Catweasel and two on the X-Surf.
880
881           Say Y if you have a Buddha or Catweasel expansion board and want to
882           use IDE devices (hard disks, CD-ROM drives, etc.) that are connected
883           to one of its IDE interfaces.
884
885 config BLK_DEV_FALCON_IDE
886         tristate "Falcon IDE interface support"
887         depends on ATARI
888         help
889           This is the IDE driver for the on-board IDE interface on the Atari
890           Falcon. Say Y if you have a Falcon and want to use IDE devices (hard
891           disks, CD-ROM drives, etc.) that are connected to the on-board IDE
892           interface.
893
894 config BLK_DEV_MAC_IDE
895         tristate "Macintosh Quadra/Powerbook IDE interface support"
896         depends on MAC
897         help
898           This is the IDE driver for the on-board IDE interface on some m68k
899           Macintosh models. It supports both the `Quadra style' (used in
900           Quadra/ Centris 630 and Performa 588 models) and `Powerbook style'
901           (used in the Powerbook 150 and 190 models) IDE interface.
902
903           Say Y if you have such an Macintosh model and want to use IDE
904           devices (hard disks, CD-ROM drives, etc.) that are connected to the
905           on-board IDE interface.
906
907 config BLK_DEV_Q40IDE
908         tristate "Q40/Q60 IDE interface support"
909         depends on Q40
910         help
911           Enable the on-board IDE controller in the Q40/Q60.  This should
912           normally be on; disable it only if you are running a custom hard
913           drive subsystem through an expansion card.
914
915 config BLK_DEV_PALMCHIP_BK3710
916         tristate "Palmchip bk3710 IDE controller support"
917         depends on ARCH_DAVINCI
918         select IDE_TIMINGS
919         select BLK_DEV_IDEDMA_SFF
920         help
921           Say Y here if you want to support the onchip IDE controller on the
922           TI DaVinci SoC
923
924 # no isa -> no vlb
925 if ISA && (ALPHA || X86 || MIPS)
926
927 comment "Other IDE chipsets support"
928 comment "Note: most of these also require special kernel boot parameters"
929
930 config BLK_DEV_4DRIVES
931         tristate "Generic 4 drives/port support"
932         help
933           Certain older chipsets, including the Tekram 690CD, use a single set
934           of I/O ports at 0x1f0 to control up to four drives, instead of the
935           customary two drives per port. Support for this can be enabled at
936           runtime using the "ide-4drives.probe" kernel boot parameter if you
937           say Y here.
938
939 config BLK_DEV_ALI14XX
940         tristate "ALI M14xx support"
941         select IDE_TIMINGS
942         help
943           This driver is enabled at runtime using the "ali14xx.probe" kernel
944           boot parameter.  It enables support for the secondary IDE interface
945           of the ALI M1439/1443/1445/1487/1489 chipsets, and permits faster
946           I/O speeds to be set as well.
947           See the files <file:Documentation/ide/ide.txt> and
948           <file:drivers/ide/legacy/ali14xx.c> for more info.
949
950 config BLK_DEV_DTC2278
951         tristate "DTC-2278 support"
952         help
953           This driver is enabled at runtime using the "dtc2278.probe" kernel
954           boot parameter. It enables support for the secondary IDE interface
955           of the DTC-2278 card, and permits faster I/O speeds to be set as
956           well. See the <file:Documentation/ide/ide.txt> and
957           <file:drivers/ide/legacy/dtc2278.c> files for more info.
958
959 config BLK_DEV_HT6560B
960         tristate "Holtek HT6560B support"
961         select IDE_TIMINGS
962         help
963           This driver is enabled at runtime using the "ht6560b.probe" kernel
964           boot parameter. It enables support for the secondary IDE interface
965           of the Holtek card, and permits faster I/O speeds to be set as well.
966           See the <file:Documentation/ide/ide.txt> and
967           <file:drivers/ide/legacy/ht6560b.c> files for more info.
968
969 config BLK_DEV_QD65XX
970         tristate "QDI QD65xx support"
971         select IDE_TIMINGS
972         help
973           This driver is enabled at runtime using the "qd65xx.probe" kernel
974           boot parameter.  It permits faster I/O speeds to be set.  See the
975           <file:Documentation/ide/ide.txt> and <file:drivers/ide/legacy/qd65xx.c>
976           for more info.
977
978 config BLK_DEV_UMC8672
979         tristate "UMC-8672 support"
980         help
981           This driver is enabled at runtime using the "umc8672.probe" kernel
982           boot parameter. It enables support for the secondary IDE interface
983           of the UMC-8672, and permits faster I/O speeds to be set as well.
984           See the files <file:Documentation/ide/ide.txt> and
985           <file:drivers/ide/legacy/umc8672.c> for more info.
986
987 endif
988
989 config BLK_DEV_IDEDMA
990         def_bool BLK_DEV_IDEDMA_SFF || BLK_DEV_IDEDMA_PMAC || \
991                  BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
992
993 endif
994
995 endif # IDE