Commit a1d2e2e8 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by James Bottomley

[PATCH] ncr & sym1 patches

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
parent 27f918e5
...@@ -1000,36 +1000,9 @@ config SCSI_NCR_Q720 ...@@ -1000,36 +1000,9 @@ config SCSI_NCR_Q720
Unless you have an NCR manufactured machine, the chances are that Unless you have an NCR manufactured machine, the chances are that
you do not have this SCSI card, so say N. 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 config SCSI_NCR53C8XX_DEFAULT_TAGS
int " default tagged command queue depth" int " default tagged command queue depth"
depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720) depends on SCSI_ZALON || SCSI_NCR_Q720
default "8" default "8"
---help--- ---help---
"Tagged command queuing" is a feature of SCSI-2 which improves "Tagged command queuing" is a feature of SCSI-2 which improves
...@@ -1055,7 +1028,7 @@ config SCSI_NCR53C8XX_DEFAULT_TAGS ...@@ -1055,7 +1028,7 @@ config SCSI_NCR53C8XX_DEFAULT_TAGS
config SCSI_NCR53C8XX_MAX_TAGS config SCSI_NCR53C8XX_MAX_TAGS
int " maximum number of queued commands" int " maximum number of queued commands"
depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720) depends on SCSI_ZALON || SCSI_NCR_Q720
default "32" default "32"
---help--- ---help---
This option allows you to specify the maximum number of commands This option allows you to specify the maximum number of commands
...@@ -1072,7 +1045,7 @@ config SCSI_NCR53C8XX_MAX_TAGS ...@@ -1072,7 +1045,7 @@ config SCSI_NCR53C8XX_MAX_TAGS
config SCSI_NCR53C8XX_SYNC config SCSI_NCR53C8XX_SYNC
int " synchronous transfers frequency in MHz" int " synchronous transfers frequency in MHz"
depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720) depends on SCSI_ZALON || SCSI_NCR_Q720
default "20" default "20"
---help--- ---help---
The SCSI Parallel Interface-2 Standard defines 5 classes of transfer The SCSI Parallel Interface-2 Standard defines 5 classes of transfer
...@@ -1106,7 +1079,7 @@ config SCSI_NCR53C8XX_SYNC ...@@ -1106,7 +1079,7 @@ config SCSI_NCR53C8XX_SYNC
config SCSI_NCR53C8XX_PROFILE config SCSI_NCR53C8XX_PROFILE
bool " enable profiling" bool " enable profiling"
depends on (SCSI_SYM53C8XX || SCSI_ZALON || SCSI_NCR_Q720) depends on SCSI_ZALON || SCSI_NCR_Q720
help help
This option allows you to enable profiling information gathering. This option allows you to enable profiling information gathering.
These statistics are not very accurate due to the low frequency These statistics are not very accurate due to the low frequency
...@@ -1115,34 +1088,9 @@ config SCSI_NCR53C8XX_PROFILE ...@@ -1115,34 +1088,9 @@ config SCSI_NCR53C8XX_PROFILE
The normal answer therefore is N. 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 config SCSI_NCR53C8XX_NO_DISCONNECT
bool " not allow targets to 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 help
This option is only provided for safety if you suspect some SCSI This option is only provided for safety if you suspect some SCSI
device of yours to not support properly the target-disconnect device of yours to not support properly the target-disconnect
...@@ -1150,26 +1098,6 @@ config SCSI_NCR53C8XX_NO_DISCONNECT ...@@ -1150,26 +1098,6 @@ config SCSI_NCR53C8XX_NO_DISCONNECT
not allow targets to disconnect is not reasonable if there is more 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. 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 config SCSI_MCA_53C9X
tristate "NCR MCA 53C9x SCSI support" tristate "NCR MCA 53C9x SCSI support"
depends on MCA && SCSI && BROKEN_ON_SMP depends on MCA && SCSI && BROKEN_ON_SMP
......
...@@ -258,17 +258,6 @@ ...@@ -258,17 +258,6 @@
#define SCSI_NCR_SETUP_SCSI_PARITY (1) #define SCSI_NCR_SETUP_SCSI_PARITY (1)
#endif #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 * Settle time after reset at boot-up
*/ */
...@@ -926,10 +915,10 @@ struct ncr_driver_setup { ...@@ -926,10 +915,10 @@ struct ncr_driver_setup {
SCSI_NCR_SETUP_DEFAULT_SYNC, \ SCSI_NCR_SETUP_DEFAULT_SYNC, \
0x00, \ 0x00, \
7, \ 7, \
SCSI_NCR_SETUP_LED_PIN, \ 0, \
1, \ 1, \
SCSI_NCR_SETUP_SETTLE_TIME, \ SCSI_NCR_SETUP_SETTLE_TIME, \
SCSI_NCR_SETUP_DIFF_SUPPORT, \ 0, \
0, \ 0, \
1, \ 1, \
0, \ 0, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment