]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/scsi/Kconfig
[SCSI] arcmsr: build fix
[linux-2.6-omap-h63xx.git] / drivers / scsi / Kconfig
index eb46cb0e3cb7e488495397e400fd866013b1b649..de6a6418df2416a32c08887a601d939c856c3f1b 100644 (file)
@@ -10,6 +10,7 @@ config RAID_ATTRS
 config SCSI
        tristate "SCSI device support"
        depends on BLOCK
+       select SCSI_DMA if HAS_DMA
        ---help---
          If you want to use a SCSI hard disk, SCSI tape drive, SCSI CD-ROM or
          any other SCSI device under Linux, say Y and make sure that you know
@@ -29,6 +30,10 @@ config SCSI
          However, do not compile this as a module if your root file system
          (the one containing the directory /) is located on a SCSI device.
 
+config SCSI_DMA
+       bool
+       default n
+
 config SCSI_TGT
        tristate "SCSI target support"
        depends on SCSI && EXPERIMENTAL
@@ -267,6 +272,13 @@ config SCSI_FC_ATTRS
          each attached FiberChannel device to sysfs, say Y.
          Otherwise, say N.
 
+config SCSI_FC_TGT_ATTRS
+       bool "SCSI target support for FiberChannel Transport Attributes"
+       depends on SCSI_FC_ATTRS
+       depends on SCSI_TGT = y || SCSI_TGT = SCSI_FC_ATTRS
+       help
+               If you want to use SCSI target mode drivers enable this option.
+
 config SCSI_ISCSI_ATTRS
        tristate "iSCSI Transport Attributes"
        depends on SCSI && NET
@@ -277,17 +289,35 @@ config SCSI_ISCSI_ATTRS
 
 config SCSI_SAS_ATTRS
        tristate "SAS Transport Attributes"
-       depends on SCSI
+       depends on SCSI && BLK_DEV_BSG
        help
          If you wish to export transport-specific information about
          each attached SAS device to sysfs, say Y.
 
 source "drivers/scsi/libsas/Kconfig"
 
+config SCSI_SRP_ATTRS
+       tristate "SRP Transport Attributes"
+       depends on SCSI
+       help
+         If you wish to export transport-specific information about
+         each attached SRP device to sysfs, say Y.
+
+config SCSI_SRP_TGT_ATTRS
+       bool "SCSI target support for SRP Transport Attributes"
+       depends on SCSI_SRP_ATTRS
+       depends on SCSI_TGT = y || SCSI_TGT = SCSI_SRP_ATTRS
+       help
+               If you want to use SCSI target mode drivers enable this option.
+
 endmenu
 
-menu "SCSI low-level drivers"
+menuconfig SCSI_LOWLEVEL
+       bool "SCSI low-level drivers"
        depends on SCSI!=n
+       default y
+
+if SCSI_LOWLEVEL
 
 config ISCSI_TCP
        tristate "iSCSI Initiator over TCP/IP"
@@ -478,7 +508,7 @@ source "drivers/scsi/aic94xx/Kconfig"
 # All the I2O code and drivers do not seem to be 64bit safe.
 config SCSI_DPT_I2O
        tristate "Adaptec I2O RAID support "
-       depends on !64BIT && SCSI && PCI
+       depends on !64BIT && SCSI && PCI && VIRT_TO_BUS
        help
          This driver supports all of Adaptec's I2O based RAID controllers as 
          well as the DPT SmartRaid V cards.  This is an Adaptec maintained
@@ -491,7 +521,6 @@ config SCSI_ADVANSYS
        tristate "AdvanSys SCSI support"
        depends on SCSI
        depends on ISA || EISA || PCI
-       depends on BROKEN || X86_32
        help
          This is a driver for all SCSI host adapters manufactured by
          AdvanSys. It is documented in the kernel source in
@@ -513,19 +542,32 @@ config SCSI_IN2000
          module will be called in2000.
 
 config SCSI_ARCMSR
-       tristate "ARECA ARC11X0[PCI-X]/ARC12X0[PCI-EXPRESS] SATA-RAID support"
+       tristate "ARECA (ARC11xx/12xx/13xx/16xx) SATA/SAS RAID Host Adapter"
        depends on PCI && SCSI
        help
-         This driver supports all of ARECA's SATA RAID controller cards.
+         This driver supports all of ARECA's SATA/SAS RAID controller cards.
          This is an ARECA-maintained driver by Erich Chen.
-         If you have any problems, please mail to: < erich@areca.com.tw >
+         If you have any problems, please mail to: <erich@areca.com.tw>.
          Areca supports Linux RAID config tools.
-
-         < http://www.areca.com.tw >
+         Please link <http://www.areca.com.tw>
 
          To compile this driver as a module, choose M here: the
          module will be called arcmsr (modprobe arcmsr).
 
+config SCSI_ARCMSR_AER
+       bool "Enable PCI Error Recovery Capability in Areca Driver(ARCMSR)"
+       depends on SCSI_ARCMSR && PCIEAER
+       default n
+       help
+         The advanced error reporting(AER) capability is "NOT" provided by
+         ARC1200/1201/1202 SATA RAID controllers cards.
+         If your card is one of ARC1200/1201/1202, please use the default setting, n.
+         If your card is other models, you could pick it
+         on condition that the kernel version is greater than 2.6.19.
+         This function is maintained driver by Nick Cheng. If you have any
+         problems or suggestion, you are welcome to contact with <nick.cheng@areca.com.tw>.
+         To enable this function, choose Y here.
+
 source "drivers/scsi/megaraid/Kconfig.megaraid"
 
 config SCSI_HPTIOP
@@ -540,7 +582,7 @@ config SCSI_HPTIOP
 
 config SCSI_BUSLOGIC
        tristate "BusLogic SCSI support"
-       depends on (PCI || ISA || MCA) && SCSI && ISA_DMA_API
+       depends on (PCI || ISA || MCA) && SCSI && ISA_DMA_API && VIRT_TO_BUS
        ---help---
          This is support for BusLogic MultiMaster and FlashPoint SCSI Host
          Adapters. Consult the SCSI-HOWTO, available from
@@ -739,7 +781,7 @@ config SCSI_GENERIC_NCR53C400
 
 config SCSI_IBMMCA
        tristate "IBMMCA SCSI support"
-       depends on MCA_LEGACY && SCSI
+       depends on MCA && SCSI
        ---help---
          This is support for the IBM SCSI adapter found in many of the PS/2
          series computers.  These machines have an MCA bus, so you need to
@@ -823,6 +865,7 @@ config SCSI_IPS
 config SCSI_IBMVSCSI
        tristate "IBM Virtual SCSI support"
        depends on PPC_PSERIES || PPC_ISERIES
+       select SCSI_SRP_ATTRS
        help
          This is the IBM POWER Virtual SCSI Client
 
@@ -831,7 +874,7 @@ config SCSI_IBMVSCSI
 
 config SCSI_IBMVSCSIS
        tristate "IBM Virtual SCSI Server support"
-       depends on PPC_PSERIES && SCSI_TGT && SCSI_SRP
+       depends on PPC_PSERIES && SCSI_SRP && SCSI_SRP_TGT_ATTRS
        help
          This is the SRP target driver for IBM pSeries virtual environments.
 
@@ -1007,6 +1050,11 @@ config SCSI_STEX
          To compile this driver as a module, choose M here: the
          module will be called stex.
 
+config 53C700_BE_BUS
+       bool
+       depends on SCSI_A4000T || SCSI_ZORRO7XX || MVME16x_SCSI || BVME6000_SCSI
+       default y
+
 config SCSI_SYM53C8XX_2
        tristate "SYM53C8XX Version 2 SCSI support"
        depends on PCI && SCSI
@@ -1611,13 +1659,25 @@ config FASTLANE_SCSI
          If you have the Phase5 Fastlane Z3 SCSI controller, or plan to use
          one in the near future, say Y to this question. Otherwise, say N.
 
-config SCSI_AMIGA7XX
-       bool "Amiga NCR53c710 SCSI support (EXPERIMENTAL)"
-       depends on AMIGA && SCSI && EXPERIMENTAL && BROKEN
+config SCSI_A4000T
+       tristate "A4000T NCR53c710 SCSI support (EXPERIMENTAL)"
+       depends on AMIGA && SCSI && EXPERIMENTAL
+       select SCSI_SPI_ATTRS
        help
-         Support for various NCR53c710-based SCSI controllers on the Amiga.
+         If you have an Amiga 4000T and have SCSI devices connected to the
+         built-in SCSI controller, say Y. Otherwise, say N.
+
+         To compile this driver as a module, choose M here: the
+         module will be called a4000t.
+
+config SCSI_ZORRO7XX
+       tristate "Zorro NCR53c710 SCSI support (EXPERIMENTAL)"
+       depends on ZORRO && SCSI && EXPERIMENTAL
+       select SCSI_SPI_ATTRS
+       help
+         Support for various NCR53c710-based SCSI controllers on Zorro
+         expansion boards for the Amiga.
          This includes:
-           - the builtin SCSI controller on the Amiga 4000T,
            - the Amiga 4091 Zorro III SCSI-2 controller,
            - the MacroSystem Development's WarpEngine Amiga SCSI-2 controller
              (info at
@@ -1625,10 +1685,6 @@ config SCSI_AMIGA7XX
            - the SCSI controller on the Phase5 Blizzard PowerUP 603e+
              accelerator card for the Amiga 1200,
            - the SCSI controller on the GVP Turbo 040/060 accelerator.
-         Note that all of the above SCSI controllers, except for the builtin
-         SCSI controller on the Amiga 4000T, reside on the Zorro expansion
-         bus, so you also have to enable Zorro bus support if you want to use
-         them.
 
 config OKTAGON_SCSI
        tristate "BSC Oktagon SCSI support (EXPERIMENTAL)"
@@ -1712,8 +1768,8 @@ config MVME147_SCSI
          single-board computer.
 
 config MVME16x_SCSI
-       bool "NCR53C710 SCSI driver for MVME16x"
-       depends on MVME16x && SCSI && BROKEN
+       tristate "NCR53C710 SCSI driver for MVME16x"
+       depends on MVME16x && SCSI
        select SCSI_SPI_ATTRS
        help
          The Motorola MVME162, 166, 167, 172 and 177 boards use the NCR53C710
@@ -1721,22 +1777,14 @@ config MVME16x_SCSI
          will want to say Y to this question.
 
 config BVME6000_SCSI
-       bool "NCR53C710 SCSI driver for BVME6000"
-       depends on BVME6000 && SCSI && BROKEN
+       tristate "NCR53C710 SCSI driver for BVME6000"
+       depends on BVME6000 && SCSI
        select SCSI_SPI_ATTRS
        help
          The BVME4000 and BVME6000 boards from BVM Ltd use the NCR53C710
          SCSI controller chip.  Almost everyone using one of these boards
          will want to say Y to this question.
 
-config SCSI_NCR53C7xx_FAST
-       bool "allow FAST-SCSI [10MHz]"
-       depends on SCSI_AMIGA7XX || MVME16x_SCSI || BVME6000_SCSI
-       help
-         This will enable 10MHz FAST-SCSI transfers with your host
-         adapter. Some systems have problems with that speed, so it's safest
-         to say N here.
-
 config SUN3_SCSI
        tristate "Sun3 NCR5380 SCSI"
        depends on SUN3 && SCSI
@@ -1766,8 +1814,6 @@ config SCSI_SUNESP
          To compile this driver as a module, choose M here: the
          module will be called esp.
 
-#      bool 'Cyberstorm Mk III SCSI support (EXPERIMENTAL)' CONFIG_CYBERSTORMIII_SCSI
-
 config ZFCP
        tristate "FCP host bus adapter driver for IBM eServer zSeries"
        depends on S390 && QDIO && SCSI
@@ -1792,7 +1838,7 @@ config SCSI_SRP
          To compile this driver as a module, choose M here: the
          module will be called libsrp.
 
-endmenu
+endif # SCSI_LOWLEVEL
 
 source "drivers/scsi/pcmcia/Kconfig"