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