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