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