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