]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - drivers/scsi/Kconfig
Introduce CONFIG_VIRT_TO_BUS
[linux-2.6.git] / drivers / scsi / Kconfig
index 69569096dae537f164d52df669510de68bf866a8..372723161c97b8278c594220ff0c949076bdcd55 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
@@ -60,6 +65,7 @@ config BLK_DEV_SD
        depends on SCSI
        ---help---
          If you want to use SCSI hard disks, Fibre Channel disks,
+         Serial ATA (SATA) or Parallel ATA (PATA) hard disks,
          USB storage or the SCSI or parallel port version of
          the IOMEGA ZIP drive, say Y and read the SCSI-HOWTO,
          the Disk-HOWTO and the Multi-Disk-HOWTO, available from
@@ -170,7 +176,7 @@ config CHR_DEV_SCH
        
          If you want to compile this as a module ( = code which can be
          inserted in and removed from the running kernel whenever you want),
-         say M here and read <file:Documentation/modules.txt> and
+         say M here and read <file:Documentation/kbuild/modules.txt> and
          <file:Documentation/scsi.txt>. The module will be called ch.o.
          If unsure, say N.
        
@@ -230,6 +236,7 @@ config SCSI_SCAN_ASYNC
          The SCSI subsystem can probe for devices while the rest of the
          system continues booting, and even probe devices on different
          busses in parallel, leading to a significant speed-up.
+
          If you have built SCSI as modules, enabling this option can
          be a problem as the devices may not have been found by the
          time your system expects them to have been.  You can load the
@@ -237,8 +244,14 @@ config SCSI_SCAN_ASYNC
          If you build your SCSI drivers into the kernel, then everything
          will work fine if you say Y here.
 
-         You can override this choice by specifying scsi_mod.scan="sync"
-         or "async" on the kernel's command line.
+         You can override this choice by specifying "scsi_mod.scan=sync"
+         or async on the kernel's command line.
+
+config SCSI_WAIT_SCAN
+       tristate
+       default m
+       depends on SCSI
+       depends on MODULES
 
 menu "SCSI Transports"
        depends on SCSI
@@ -532,7 +545,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
@@ -731,7 +744,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
@@ -973,6 +986,15 @@ config SCSI_LASI700
          many PA-RISC workstations & servers.  If you do not know whether you
          have a Lasi chip, it is safe to say "Y" here.
 
+config SCSI_SNI_53C710
+       tristate "SNI RM SCSI support for 53c710"
+       depends on SNI_RM && SCSI
+       select SCSI_SPI_ATTRS
+       select 53C700_LE_ON_BE
+       help
+         This is a driver for the onboard SCSI controller found in older
+         SNI RM workstations & servers.
+
 config 53C700_LE_ON_BE
        bool
        depends on SCSI_LASI700
@@ -990,6 +1012,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
@@ -1184,17 +1211,6 @@ config SCSI_NCR53C8XX_SYNC
          There is no safe option other than using good cabling, right
          terminations and SCSI conformant devices.
 
-config SCSI_NCR53C8XX_PROFILE
-       bool "enable profiling"
-       depends on SCSI_ZALON || SCSI_NCR_Q720
-       help
-         This option allows you to enable profiling information gathering.
-         These statistics are not very accurate due to the low frequency
-         of the kernel clock (100 Hz on i386) and have performance impact
-         on systems that use very fast devices.
-
-         The normal answer therefore is N.
-
 config SCSI_NCR53C8XX_NO_DISCONNECT
        bool "not allow targets to disconnect"
        depends on (SCSI_ZALON || SCSI_NCR_Q720) && SCSI_NCR53C8XX_DEFAULT_TAGS=0
@@ -1303,7 +1319,7 @@ config SCSI_LPFC
 
 config SCSI_SEAGATE
        tristate "Seagate ST-02 and Future Domain TMC-8xx SCSI support"
-       depends on X86 && ISA && SCSI && BROKEN
+       depends on X86 && ISA && SCSI
        ---help---
          These are 8-bit SCSI controllers; the ST-01 is also supported by
          this driver.  It is explained in section 3.9 of the SCSI-HOWTO,
@@ -1324,11 +1340,6 @@ config SCSI_SIM710
 
          It currently supports Compaq EISA cards and NCR MCA cards
 
-config 53C700_IO_MAPPED
-       bool
-       depends on SCSI_SIM710
-       default y
-
 config SCSI_SYM53C416
        tristate "Symbios 53c416 SCSI support"
        depends on ISA && SCSI
@@ -1532,6 +1543,7 @@ source "drivers/scsi/arm/Kconfig"
 config JAZZ_ESP
        bool "MIPS JAZZ FAS216 SCSI support"
        depends on MACH_JAZZ && SCSI
+       select SCSI_SPI_ATTRS
        help
          This is the driver for the onboard SCSI host adapter of MIPS Magnum
          4000, Acer PICA, Olivetti M700-10 and a few other identical OEM
@@ -1609,13 +1621,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
@@ -1623,10 +1647,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)"
@@ -1639,7 +1659,7 @@ config OKTAGON_SCSI
 
 config ATARI_SCSI
        tristate "Atari native SCSI support"
-       depends on ATARI && SCSI && BROKEN
+       depends on ATARI && SCSI
        select SCSI_SPI_ATTRS
        ---help---
          If you have an Atari with built-in NCR5380 SCSI controller (TT,
@@ -1710,8 +1730,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
@@ -1719,25 +1739,17 @@ 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 && BROKEN
+       depends on SUN3 && SCSI
        select SCSI_SPI_ATTRS
        help
          This option will enable support for the OBIO (onboard io) NCR5380
@@ -1756,6 +1768,7 @@ config SUN3X_ESP
 config SCSI_SUNESP
        tristate "Sparc ESP Scsi Driver"
        depends on SBUS && SCSI
+       select SCSI_SPI_ATTRS
        help
          This is the driver for the Sun ESP SCSI host adapter. The ESP
          chipset is present in most SPARC SBUS-based computers.
@@ -1763,8 +1776,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
@@ -1777,7 +1788,7 @@ config ZFCP
 
           This driver is also available as a module. This module will be
           called zfcp. If you want to compile it as a module, say M here
-          and read <file:Documentation/modules.txt>.
+          and read <file:Documentation/kbuild/modules.txt>.
 
 config SCSI_SRP
        tristate "SCSI RDMA Protocol helper library"