changed release number
[linux-2.6.git] / drivers / ide / Kconfig
index 1a64946..d633081 100644 (file)
@@ -52,9 +52,9 @@ config IDE
 
 if IDE
 
 
 if IDE
 
-config IDE_MAX_HWIFS 
+config IDE_MAX_HWIFS
        int "Max IDE interfaces"
        int "Max IDE interfaces"
-       depends on ALPHA
+       depends on ALPHA || SUPERH || IA64
        default 4
        help
          This is the maximum number of IDE hardware interfaces that will
        default 4
        help
          This is the maximum number of IDE hardware interfaces that will
@@ -95,27 +95,29 @@ if BLK_DEV_IDE
 
 comment "Please see Documentation/ide.txt for help/info on IDE drives"
 
 
 comment "Please see Documentation/ide.txt for help/info on IDE drives"
 
-config BLK_DEV_HD_IDE
-       bool "Use old disk-only driver on primary interface"
-       depends on ((X86 && X86_PC9800!=y) || SH_MPC1211)
+config BLK_DEV_IDE_SATA
+       bool "Support for SATA (deprecated; conflicts with libata SATA driver)"
+       default n
        ---help---
        ---help---
-         There are two drivers for MFM/RLL/IDE disks.  Most people use just
-         the new enhanced driver by itself.  This option however installs the
-         old hard disk driver to control the primary IDE/disk interface in
-         the system, leaving the new enhanced IDE driver to take care of only
-         the 2nd/3rd/4th IDE interfaces.  Doing this will prevent you from
-         having an IDE/ATAPI CD-ROM or tape drive connected to the primary
-         IDE interface.  Choosing this option may be useful for older systems
-         which have MFM/RLL/ESDI controller+drives at the primary port
-         address (0x1f0), along with IDE drives at the secondary/3rd/4th port
-         addresses.
+         There are two drivers for Serial ATA controllers.
 
 
-         Normally, just say N here; you will then use the new driver for all
-         4 interfaces.
+         The main driver, "libata", exists inside the SCSI subsystem
+         and supports most modern SATA controllers.
+
+         The IDE driver (which you are currently configuring) supports
+         a few first-generation SATA controllers.
 
 
-config BLK_DEV_HD_IDE98
+         In order to eliminate conflicts between the two subsystems,
+         this config option enables the IDE driver's SATA support.
+         Normally this is disabled, as it is preferred that libata
+         supports SATA controllers, and this (IDE) driver supports
+         PATA controllers.
+
+         If unsure, say N.
+
+config BLK_DEV_HD_IDE
        bool "Use old disk-only driver on primary interface"
        bool "Use old disk-only driver on primary interface"
-       depends on X86 && X86_PC9800
+       depends on (X86 || SH_MPC1211)
        ---help---
          There are two drivers for MFM/RLL/IDE disks.  Most people use just
          the new enhanced driver by itself.  This option however installs the
        ---help---
          There are two drivers for MFM/RLL/IDE disks.  Most people use just
          the new enhanced driver by itself.  This option however installs the
@@ -148,7 +150,6 @@ config BLK_DEV_IDEDISK
 
 config IDEDISK_MULTI_MODE
        bool "Use multi-mode by default"
 
 config IDEDISK_MULTI_MODE
        bool "Use multi-mode by default"
-       depends on BLK_DEV_IDEDISK
        help
          If you get this error, try to say Y here:
 
        help
          If you get this error, try to say Y here:
 
@@ -157,26 +158,12 @@ config IDEDISK_MULTI_MODE
 
          If in doubt, say N.
 
 
          If in doubt, say N.
 
-config IDEDISK_STROKE
-       bool "Auto-Geometry Resizing support"
-       depends on BLK_DEV_IDEDISK
-       help
-         Should you have a system w/ an AWARD Bios and your drives are larger
-         than 32GB and it will not boot, one is required to perform a few OEM
-         operations first.  The option is called "STROKE" because it allows
-         one to "soft clip" the drive to work around a barrier limit.  For
-         Maxtor drives it is called "jumpon.exe".  Please search Maxtor's
-         web-site for "JUMPON.EXE".  IBM has a similar tool at:
-         <http://www.storage.ibm.com/hdd/support/download.htm>.
-
-         If you are unsure, say N here.
-
 config BLK_DEV_IDECS
        tristate "PCMCIA IDE support"
        depends on PCMCIA
        help
 config BLK_DEV_IDECS
        tristate "PCMCIA IDE support"
        depends on PCMCIA
        help
-         Support for outboard IDE disks, tape drives, and CD-ROM drives
-         connected through a  PCMCIA card.
+         Support for Compact Flash cards, outboard IDE disks, tape drives,
+         and CD-ROM drives connected through a PCMCIA card.
 
 config BLK_DEV_IDECD
        tristate "Include IDE/ATAPI CDROM support"
 
 config BLK_DEV_IDECD
        tristate "Include IDE/ATAPI CDROM support"
@@ -280,20 +267,11 @@ config IDE_TASK_IOCTL
        help
          This is a direct raw access to the media.  It is a complex but
          elegant solution to test and validate the domain of the hardware and
        help
          This is a direct raw access to the media.  It is a complex but
          elegant solution to test and validate the domain of the hardware and
-         perform below the driver data recover if needed.  This is the most
+         perform below the driver data recovery if needed.  This is the most
          basic form of media-forensics.
 
          If you are unsure, say N here.
 
          basic form of media-forensics.
 
          If you are unsure, say N here.
 
-config IDE_TASKFILE_IO
-       bool 'IDE Taskfile IO (EXPERIMENTAL)'
-       depends on EXPERIMENTAL
-       default n
-       ---help---
-         Use new taskfile IO code.
-
-         It is safe to say Y to this question, in most cases.
-
 comment "IDE chipset support/bugfixes"
 
 config IDE_GENERIC
 comment "IDE chipset support/bugfixes"
 
 config IDE_GENERIC
@@ -387,8 +365,8 @@ config BLK_DEV_OFFBOARD
          If in doubt, say N.
 
 config BLK_DEV_GENERIC
          If in doubt, say N.
 
 config BLK_DEV_GENERIC
-       bool "Generic PCI IDE Chipset Support"
-       depends on PCI && BLK_DEV_IDEPCI
+       tristate "Generic PCI IDE Chipset Support"
+       depends on BLK_DEV_IDEPCI
 
 config BLK_DEV_OPTI621
        tristate "OPTi 82C621 chipset enhanced support (EXPERIMENTAL)"
 
 config BLK_DEV_OPTI621
        tristate "OPTi 82C621 chipset enhanced support (EXPERIMENTAL)"
@@ -438,48 +416,6 @@ config BLK_DEV_IDEDMA_PCI
 
 if BLK_DEV_IDEDMA_PCI
 
 
 if BLK_DEV_IDEDMA_PCI
 
-# TCQ is disabled for now
-config BLK_DEV_IDE_TCQ
-       bool "ATA tagged command queueing (EXPERIMENTAL)"
-       depends on EXPERIMENTAL && n
-       help
-         Support for tagged command queueing on ATA disk drives. This enables
-         the IDE layer to have multiple in-flight requests on hardware that
-         supports it. For now this includes the IBM Deskstar series drives,
-         such as the 22GXP, 75GXP, 40GV, 60GXP, and 120GXP (ie any Deskstar made
-         in the last couple of years), and at least some of the Western
-         Digital drives in the Expert series (by nature of really being IBM
-         drives).
-
-         If you have such a drive, say Y here.
-
-config BLK_DEV_IDE_TCQ_DEFAULT
-       bool "TCQ on by default"
-       depends on BLK_DEV_IDE_TCQ
-       ---help---
-         Enable tagged command queueing unconditionally on drives that report
-         support for it. Regardless of the chosen value here, tagging can be
-         controlled at run time:
-
-         echo "using_tcq:32" > /proc/ide/hdX/settings
-
-         where any value between 1-32 selects chosen queue depth and enables
-         TCQ, and 0 disables it. hdparm version 4.7 an above also support
-         TCQ manipulations.
-
-         Generally say Y here.
-
-config BLK_DEV_IDE_TCQ_DEPTH
-       int "Default queue depth"
-       depends on BLK_DEV_IDE_TCQ
-       default "8"
-       help
-         Maximum size of commands to enable per-drive. Any value between 1
-         and 32 is valid, with 32 being the maxium that the hardware supports.
-
-         You probably just want the default of 32 here. If you enter an invalid
-         number, the default value will be used.
-
 config BLK_DEV_IDEDMA_FORCED
        bool "Force enable legacy 2.0.X HOSTS to use DMA"
        help
 config BLK_DEV_IDEDMA_FORCED
        bool "Force enable legacy 2.0.X HOSTS to use DMA"
        help
@@ -511,11 +447,6 @@ config IDEDMA_ONLYDISK
 
          Generally say N here.
 
 
          Generally say N here.
 
-config BLK_DEV_ADMA
-       bool
-       depends on PCI && BLK_DEV_IDEPCI
-       default BLK_DEV_IDEDMA_PCI
-
 config BLK_DEV_AEC62XX
        tristate "AEC62XX chipset support"
        help
 config BLK_DEV_AEC62XX
        tristate "AEC62XX chipset support"
        help
@@ -594,7 +525,7 @@ config BLK_DEV_CS5520
        tristate "Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)"
        depends on EXPERIMENTAL
        help
        tristate "Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)"
        depends on EXPERIMENTAL
        help
-         Include support for PIO tuning an virtual DMA on the Cyrix MediaGX 
+         Include support for PIO tuning and virtual DMA on the Cyrix MediaGX
          5510/5520 chipset. This will automatically be detected and
          configured if found.
 
          5510/5520 chipset. This will automatically be detected and
          configured if found.
 
@@ -608,6 +539,15 @@ config BLK_DEV_CS5530
 
          It is safe to say Y to this question.
 
 
          It is safe to say Y to this question.
 
+config BLK_DEV_CS5535
+       tristate "AMD CS5535 chipset support"
+       depends on X86 && !X86_64
+       help
+         Include support for UDMA on the NSC/AMD CS5535 companion chipset.
+         This will automatically be detected and configured if found.
+
+         It is safe to say Y to this question.
+
 config BLK_DEV_HPT34X
        tristate "HPT34X chipset support"
        help
 config BLK_DEV_HPT34X
        tristate "HPT34X chipset support"
        help
@@ -675,11 +615,17 @@ config BLK_DEV_IT8172
          <http://www.ite.com.tw/ia/brief_it8172bsp.htm>; picture of the
          board at <http://www.mvista.com/partners/semiconductor/ite.html>.
 
          <http://www.ite.com.tw/ia/brief_it8172bsp.htm>; picture of the
          board at <http://www.mvista.com/partners/semiconductor/ite.html>.
 
+config BLK_DEV_IT821X
+       tristate "IT821X IDE support"
+       help
+         This driver adds support for the ITE 8211 IDE controller and the
+         IT 8212 IDE RAID controller in both RAID and pass-through mode.
+
 config BLK_DEV_NS87415
        tristate "NS87415 chipset support"
        help
          This driver adds detection and support for the NS87415 chip
 config BLK_DEV_NS87415
        tristate "NS87415 chipset support"
        help
          This driver adds detection and support for the NS87415 chip
-         (used in SPARC64, among others).
+         (used mainly on SPARC64 and PA-RISC machines).
 
          Please read the comments at the top of <file:drivers/ide/pci/ns87415.c>.
 
 
          Please read the comments at the top of <file:drivers/ide/pci/ns87415.c>.
 
@@ -716,7 +662,7 @@ config PDC202XX_BURST
 
          It was originally designed for the PDC20246/Ultra33, whose BIOS will
          only setup UDMA on the first two PDC20246 cards.  It has also been
 
          It was originally designed for the PDC20246/Ultra33, whose BIOS will
          only setup UDMA on the first two PDC20246 cards.  It has also been
-         used succesfully on a PDC20265/Ultra100, allowing use of UDMA modes
+         used successfully on a PDC20265/Ultra100, allowing use of UDMA modes
          when the PDC20265 BIOS has been disabled (for faster boot up).
 
          Please read the comments at the top of
          when the PDC20265 BIOS has been disabled (for faster boot up).
 
          Please read the comments at the top of
@@ -727,13 +673,6 @@ config PDC202XX_BURST
 config BLK_DEV_PDC202XX_NEW
        tristate "PROMISE PDC202{68|69|70|71|75|76|77} support"
 
 config BLK_DEV_PDC202XX_NEW
        tristate "PROMISE PDC202{68|69|70|71|75|76|77} support"
 
-# FIXME - probably wants to be one for old and for new
-config PDC202XX_FORCE
-       bool "Enable controller even if disabled by BIOS"
-       depends on BLK_DEV_PDC202XX_NEW
-       help
-         Enable the PDC202xx controller even if it has been disabled in the BIOS setup.
-
 config BLK_DEV_SVWKS
        tristate "ServerWorks OSB4/CSB5/CSB6 chipsets support"
        help
 config BLK_DEV_SVWKS
        tristate "ServerWorks OSB4/CSB5/CSB6 chipsets support"
        help
@@ -741,8 +680,8 @@ config BLK_DEV_SVWKS
          chipsets.
 
 config BLK_DEV_SGIIOC4
          chipsets.
 
 config BLK_DEV_SGIIOC4
-       tristate "Silicon Graphics IOC4 chipset support"
-       depends on IA64_SGI_SN2 || IA64_GENERIC
+       tristate "Silicon Graphics IOC4 chipset ATA/ATAPI support"
+       depends on (IA64_SGI_SN2 || IA64_GENERIC) && SGI_IOC4
        help
          This driver adds PIO & MultiMode DMA-2 support for the SGI IOC4
          chipset, which has one channel and can support two devices.
        help
          This driver adds PIO & MultiMode DMA-2 support for the SGI IOC4
          chipset, which has one channel and can support two devices.
@@ -776,7 +715,7 @@ config BLK_DEV_SIS5513
 config BLK_DEV_SLC90E66
        tristate "SLC90E66 chipset support"
        help
 config BLK_DEV_SLC90E66
        tristate "SLC90E66 chipset support"
        help
-         This driver ensures (U)DMA support for Victroy66 SouthBridges for
+         This driver ensures (U)DMA support for Victory66 SouthBridges for
          SMsC with Intel NorthBridges.  This is an Ultra66 based chipset.
          The nice thing about it is that you can mix Ultra/DMA/PIO devices
          and it will handle timing cycles.  Since this is an improved
          SMsC with Intel NorthBridges.  This is an Ultra66 based chipset.
          The nice thing about it is that you can mix Ultra/DMA/PIO devices
          and it will handle timing cycles.  Since this is an improved
@@ -807,7 +746,7 @@ endif
 
 config BLK_DEV_IDE_PMAC
        bool "Builtin PowerMac IDE support"
 
 config BLK_DEV_IDE_PMAC
        bool "Builtin PowerMac IDE support"
-       depends on PPC_PMAC
+       depends on PPC_PMAC && IDE=y
        help
          This driver provides support for the built-in IDE controller on
          most of the recent Apple Power Macintoshes and PowerBooks.
        help
          This driver provides support for the built-in IDE controller on
          most of the recent Apple Power Macintoshes and PowerBooks.
@@ -827,6 +766,7 @@ config BLK_DEV_IDE_PMAC_ATA100FIRST
 config BLK_DEV_IDEDMA_PMAC
        bool "PowerMac IDE DMA support"
        depends on BLK_DEV_IDE_PMAC
 config BLK_DEV_IDEDMA_PMAC
        bool "PowerMac IDE DMA support"
        depends on BLK_DEV_IDE_PMAC
+       select BLK_DEV_IDEDMA_PCI
        help
          This option allows the driver for the built-in IDE controller on
          Power Macintoshes and PowerBooks to use DMA (direct memory access)
        help
          This option allows the driver for the built-in IDE controller on
          Power Macintoshes and PowerBooks to use DMA (direct memory access)
@@ -840,16 +780,30 @@ config BLK_DEV_IDE_PMAC_BLINK
          This option enables the use of the sleep LED as a hard drive
          activity LED.
 
          This option enables the use of the sleep LED as a hard drive
          activity LED.
 
-config BLK_DEV_IDEDMA_PMAC_AUTO
-       bool "Use DMA by default"
-       depends on BLK_DEV_IDEDMA_PMAC
-       help
-         This option allows the driver for the built-in IDE controller on
-         Power Macintoshes and PowerBooks to use DMA automatically, without
-         it having to be explicitly enabled.  This option is provided because
-         of concerns about a couple of cases where using DMA on buggy PC
-         hardware may have caused damage.  Saying Y should be safe on all
-         Apple machines.
+config BLK_DEV_IDE_SWARM
+       tristate "IDE for Sibyte evaluation boards"
+       depends on SIBYTE_SB1xxx_SOC
+
+config BLK_DEV_IDE_AU1XXX
+       bool "IDE for AMD Alchemy Au1200"
+       depends on SOC_AU1200
+choice
+       prompt "IDE Mode for AMD Alchemy Au1200"
+       default CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA
+       depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX
+
+config BLK_DEV_IDE_AU1XXX_PIO_DBDMA
+       bool "PIO+DbDMA IDE for AMD Alchemy Au1200"
+
+config BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
+       bool "MDMA2+DbDMA IDE for AMD Alchemy Au1200"
+       depends on SOC_AU1200 && BLK_DEV_IDE_AU1XXX
+endchoice
+
+config BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ
+       int "Maximum transfer size (KB) per request (up to 128)"
+       default "128"
+       depends BLK_DEV_IDE_AU1XXX
 
 config IDE_ARM
        def_bool ARM && (ARCH_A5K || ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK)
 
 config IDE_ARM
        def_bool ARM && (ARCH_A5K || ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK)
@@ -889,6 +843,13 @@ config BLK_DEV_IDE_RAPIDE
          Say Y here if you want to support the Yellowstone RapIDE controller
          manufactured for use with Acorn computers.
 
          Say Y here if you want to support the Yellowstone RapIDE controller
          manufactured for use with Acorn computers.
 
+config BLK_DEV_IDE_BAST
+       tristate "Simtec BAST / Thorcom VR1000 IDE support"
+       depends on ARM && (ARCH_BAST || MACH_VR1000)
+       help
+         Say Y here if you want to support the onboard IDE channels on the
+         Simtec BAST or the Thorcom VR1000
+
 config BLK_DEV_GAYLE
        bool "Amiga Gayle IDE interface support"
        depends on AMIGA
 config BLK_DEV_GAYLE
        bool "Amiga Gayle IDE interface support"
        depends on AMIGA
@@ -964,7 +925,7 @@ config BLK_DEV_Q40IDE
 
 config BLK_DEV_MPC8xx_IDE
        bool "MPC8xx IDE support"
 
 config BLK_DEV_MPC8xx_IDE
        bool "MPC8xx IDE support"
-       depends on 8xx
+       depends on 8xx && IDE=y && BLK_DEV_IDE=y
        help
          This option provides support for IDE on Motorola MPC8xx Systems.
          Please see 'Type of MPC8xx IDE interface' for details.
        help
          This option provides support for IDE on Motorola MPC8xx Systems.
          Please see 'Type of MPC8xx IDE interface' for details.
@@ -1059,19 +1020,6 @@ config BLK_DEV_HT6560B
          See the <file:Documentation/ide.txt> and
          <file:drivers/ide/legacy/ht6560b.c> files for more info.
 
          See the <file:Documentation/ide.txt> and
          <file:drivers/ide/legacy/ht6560b.c> files for more info.
 
-config BLK_DEV_PDC4030
-       tristate "PROMISE DC4030 support (EXPERIMENTAL)"
-       depends on BLK_DEV_IDEDISK && EXPERIMENTAL
-       help
-         This driver provides support for the secondary IDE interface and
-         cache of the original Promise IDE chipsets, e.g. DC4030 and DC5030.
-         It is nothing to do with the later range of Promise UDMA chipsets -
-         see the PDC_202XX support for these. CD-ROM and TAPE devices are not
-         supported (and probably never will be since I don't think the cards
-         support them). This driver is enabled at runtime using the "ide0=dc4030"
-         or "ide1=dc4030" kernel boot parameter. See the
-         <file:drivers/ide/legacy/pdc4030.c> file for more info.
-
 config BLK_DEV_QD65XX
        tristate "QDI QD65xx support"
        help
 config BLK_DEV_QD65XX
        tristate "QDI QD65xx support"
        help
@@ -1092,7 +1040,7 @@ config BLK_DEV_UMC8672
 endif
 
 config BLK_DEV_IDEDMA
 endif
 
 config BLK_DEV_IDEDMA
-       def_bool BLK_DEV_IDEDMA_PCI || BLK_DEV_IDEDMA_PMAC || BLK_DEV_IDEDMA_ICS
+       def_bool BLK_DEV_IDEDMA_PCI || BLK_DEV_IDEDMA_PMAC || BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
 
 config IDEDMA_IVB
        bool "IGNORE word93 Validation BITS"
 
 config IDEDMA_IVB
        bool "IGNORE word93 Validation BITS"
@@ -1105,13 +1053,13 @@ config IDEDMA_IVB
          in that mode with an 80c ribbon.
 
          If you are experiencing compatibility or performance problems, you
          in that mode with an 80c ribbon.
 
          If you are experiencing compatibility or performance problems, you
-         MAY try to answering Y here. However, it does not necessarily solve
+         MAY try to answer Y here. However, it does not necessarily solve
          any of your problems, it could even cause more of them.
 
          It is normally safe to answer Y; however, the default is N.
 
 config IDEDMA_AUTO
          any of your problems, it could even cause more of them.
 
          It is normally safe to answer Y; however, the default is N.
 
 config IDEDMA_AUTO
-       def_bool IDEDMA_PCI_AUTO || BLK_DEV_IDEDMA_PMAC_AUTO || IDEDMA_ICS_AUTO
+       def_bool IDEDMA_PCI_AUTO || IDEDMA_ICS_AUTO
 
 endif
 
 
 endif