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