]> git.hungrycats.org Git - linux/commitdiff
[PATCH] ncr & sym1 patches
authorMatthew Wilcox <willy@debian.org>
Wed, 3 Sep 2003 12:22:10 +0000 (07:22 -0500)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Wed, 3 Sep 2003 12:22:10 +0000 (07:22 -0500)
Some misc sym1 and ncr driver changes.

Changelog:
 - Kconfig: Delete sym1 driver from Kconfig
 - Kconfig: Delete SCSI_NCR53C8XX_IOMAPPED, SCSI_NCR53C8XX_PQS_PDS
   and SCSI_NCR53C8XX_SYMBIOS_COMPAT options.
 - ncr53c8xx: Delete SCSI_NCR53C8XX_SYMBIOS_COMPAT option

drivers/scsi/Kconfig
drivers/scsi/sym53c8xx_defs.h

index ee177183e15dd6f0b2a6e82202ac6e88ed93258f..1bfa879bc16c05aa3473acbc60f8d1c880acf319 100644 (file)
@@ -1000,36 +1000,9 @@ config SCSI_NCR_Q720
          Unless you have an NCR manufactured machine, the chances are that
          you do not have this SCSI card, so say N.
 
-config SCSI_SYM53C8XX
-       tristate "SYM53C8XX SCSI support"
-       depends on PCI && SCSI_SYM53C8XX_2!=y && SCSI
-       ---help---
-         This driver supports all the features of recent 53C8XX chips (used
-         in PCI SCSI controllers), notably the hardware phase mismatch
-         feature of the SYM53C896.
-
-         Older versions of the 53C8XX chips are not supported by this
-         driver.  If your system uses either a 810 rev. < 16, a 815, or a 825
-         rev. < 16 PCI SCSI processor, you must use the generic NCR53C8XX
-         driver ("NCR53C8XX SCSI support" above) or configure both the
-         NCR53C8XX and this SYM53C8XX drivers either as module or linked to
-         the kernel image.
-
-         When both drivers are linked into the kernel, the SYM53C8XX driver
-         is called first at initialization and you can use the 'excl=ioaddr'
-         driver boot option to exclude attachment of adapters by the
-         SYM53C8XX driver.  For example, entering
-         'sym53c8xx=excl:0xb400,excl=0xc000' at the lilo prompt prevents
-         adapters at io address 0xb400 and 0xc000 from being attached by the
-         SYM53C8XX driver, thus allowing the NCR53C8XX driver to attach them.
-         The 'excl' option is also supported by the NCR53C8XX driver.
-
-         Please read <file:Documentation/scsi/ncr53c8xx.txt> for more
-         information.
-
 config SCSI_NCR53C8XX_DEFAULT_TAGS
        int "  default tagged command queue depth"
-       depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720)
+       depends on SCSI_ZALON || SCSI_NCR_Q720
        default "8"
        ---help---
          "Tagged command queuing" is a feature of SCSI-2 which improves
@@ -1055,7 +1028,7 @@ config SCSI_NCR53C8XX_DEFAULT_TAGS
 
 config SCSI_NCR53C8XX_MAX_TAGS
        int "  maximum number of queued commands"
-       depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720)
+       depends on SCSI_ZALON || SCSI_NCR_Q720
        default "32"
        ---help---
          This option allows you to specify the maximum number of commands
@@ -1072,7 +1045,7 @@ config SCSI_NCR53C8XX_MAX_TAGS
 
 config SCSI_NCR53C8XX_SYNC
        int "  synchronous transfers frequency in MHz"
-       depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720)
+       depends on SCSI_ZALON || SCSI_NCR_Q720
        default "20"
        ---help---
          The SCSI Parallel Interface-2 Standard defines 5 classes of transfer
@@ -1106,7 +1079,7 @@ config SCSI_NCR53C8XX_SYNC
 
 config SCSI_NCR53C8XX_PROFILE
        bool "  enable profiling"
-       depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720)
+       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
@@ -1115,34 +1088,9 @@ config SCSI_NCR53C8XX_PROFILE
 
          The normal answer therefore is N.
 
-config SCSI_NCR53C8XX_IOMAPPED
-       bool "  use normal IO"
-       depends on SCSI_SYM53C8XX && !(SCSI_ZALON || SCSI_NCR_Q720)
-       help
-         If you say Y here, the driver will use normal IO, as opposed to
-         memory mapped IO. Memory mapped IO has less latency than normal IO
-         and works for most Intel-based hardware. Under Linux/Alpha only
-         normal IO is currently supported by the driver and so, this option
-         has no effect on those systems.
-
-         The normal answer therefore is N; try Y only if you encounter SCSI
-         related problems.
-
-config SCSI_NCR53C8XX_PQS_PDS
-       bool "  include support for the NCR PQS/PDS SCSI card"
-       depends on SCSI_SYM53C8XX
-       help
-         Say Y here if you have a special SCSI adapter produced by NCR
-         corporation called a PCI Quad SCSI or PCI Dual SCSI. You do not need
-         this if you do not have one of these adapters. However, since this
-         device is detected as a specific PCI device, this option is quite
-         safe.
-
-         The common answer here is N, but answering Y is safe.
-
 config SCSI_NCR53C8XX_NO_DISCONNECT
        bool "  not allow targets to disconnect"
-       depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720) && SCSI_NCR53C8XX_DEFAULT_TAGS=0
+       depends on (SCSI_ZALON || SCSI_NCR_Q720) && SCSI_NCR53C8XX_DEFAULT_TAGS=0
        help
          This option is only provided for safety if you suspect some SCSI
          device of yours to not support properly the target-disconnect
@@ -1150,26 +1098,6 @@ config SCSI_NCR53C8XX_NO_DISCONNECT
          not allow targets to disconnect is not reasonable if there is more
          than 1 device on a SCSI bus. The normal answer therefore is N.
 
-config SCSI_NCR53C8XX_SYMBIOS_COMPAT
-       bool "  assume boards are SYMBIOS compatible (EXPERIMENTAL)"
-       depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720 ) && EXPERIMENTAL
-       ---help---
-         This option allows you to enable some features depending on GPIO
-         wiring. These General Purpose Input/Output pins can be used for
-         vendor specific features or implementation of the standard SYMBIOS
-         features. Genuine SYMBIOS controllers use GPIO0 in output for
-         controller LED and GPIO3 bit as a flag indicating
-         singled-ended/differential interface. The Tekram DC-390U/F boards
-         uses a different GPIO wiring.
-
-         Your answer to this question is ignored if all your controllers have
-         NVRAM, since the driver is able to detect the board type from the
-         NVRAM format.
-
-         If all the controllers in your system are genuine SYMBIOS boards or
-         use BIOS and drivers from SYMBIOS, you would want to say Y here,
-         otherwise N. N is the safe answer.
-
 config SCSI_MCA_53C9X
        tristate "NCR MCA 53C9x SCSI support"
        depends on MCA && SCSI && BROKEN_ON_SMP
index 289e3f06bca9df673a2bcd37703c949d57e13eb3..13a68b562dda6bfc4cc11fb373df9b16201b4c32 100644 (file)
 #define SCSI_NCR_SETUP_SCSI_PARITY     (1)
 #endif
 
-/*
- * Vendor specific stuff
- */
-#ifdef CONFIG_SCSI_NCR53C8XX_SYMBIOS_COMPAT
-#define SCSI_NCR_SETUP_LED_PIN         (1)
-#define SCSI_NCR_SETUP_DIFF_SUPPORT    (4)
-#else
-#define SCSI_NCR_SETUP_LED_PIN         (0)
-#define SCSI_NCR_SETUP_DIFF_SUPPORT    (0)
-#endif
-
 /*
  * Settle time after reset at boot-up
  */
@@ -926,10 +915,10 @@ struct ncr_driver_setup {
        SCSI_NCR_SETUP_DEFAULT_SYNC,            \
        0x00,                                   \
        7,                                      \
-       SCSI_NCR_SETUP_LED_PIN,                 \
+       0,                                      \
        1,                                      \
        SCSI_NCR_SETUP_SETTLE_TIME,             \
-       SCSI_NCR_SETUP_DIFF_SUPPORT,            \
+       0,                                      \
        0,                                      \
        1,                                      \
        0,                                      \