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