diff options
author | groudier <groudier@FreeBSD.org> | 2000-04-29 10:20:16 +0000 |
---|---|---|
committer | groudier <groudier@FreeBSD.org> | 2000-04-29 10:20:16 +0000 |
commit | 22b8c23cfa70ae85832d75bd7e71984b28507497 (patch) | |
tree | b5d865d29a9faee6c30a80fc0208481489c3034a /sys/dev/sym/sym_conf.h | |
parent | 706084939e6e22a3e98307ed10974cabdff2837c (diff) | |
download | FreeBSD-src-22b8c23cfa70ae85832d75bd7e71984b28507497.zip FreeBSD-src-22b8c23cfa70ae85832d75bd7e71984b28507497.tar.gz |
This new version adds support for early NCR chips.
53C810 non 'A', 53C815 and 53C825 non 'A' are now
attached by the driver (by default).
The driver uses a different SCRIPTS set based on
MEMORY MOVE instructions for these chips.
2 SCRIPTS sets (firmwares) numbered #1 and #2 are
used for the whole support of the 53C8XX family
to get possible:
- FW #1 : Only based on MEMORY MOVE instructions.
Selected for 810, 815, 825.
- FW #2 : LOAD/STORE based. This is the firmware
also used by previous driver versions.
Selected for other chips.
When both `ncr' and `sym' are configured, `sym'
will now attach all the 53C8XX devices by default.
Previous balancing between `ncr' and `sym' can be
preserved by:
- Either editing sym_conf.h and commenting the
following compile option:
#define SYM_CONF_GENERIC_SUPPORT
(This also saves about 3.5Kb of kernel memory).
- Or setting kernel config option
SYM_SETUP_LP_PROBE_MAP to 64 (bit 0x40)
Diffstat (limited to 'sys/dev/sym/sym_conf.h')
-rw-r--r-- | sys/dev/sym/sym_conf.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/sys/dev/sym/sym_conf.h b/sys/dev/sym/sym_conf.h index 44b06f2..2fe71d8 100644 --- a/sys/dev/sym/sym_conf.h +++ b/sys/dev/sym/sym_conf.h @@ -5,10 +5,9 @@ * Copyright (C) 1999-2000 Gerard Roudier <groudier@club-internet.fr> * * This driver also supports the following Symbios/LSI PCI-SCSI chips: - * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895. + * 53C810A, 53C825A, 53C860, 53C875, 53C876, 53C885, 53C895, + * 53C810, 53C815, 53C825 and the 53C1510D is 53C8XX mode. * - * but does not support earlier chips as the following ones: - * 53C810, 53C815, 53C825. * * This driver for FreeBSD-CAM is derived from the Linux sym53c8xx driver. * Copyright (C) 1998-1999 Gerard Roudier @@ -67,6 +66,11 @@ */ /* + * Also support early NCR 810, 815 and 825 chips. + */ +#define SYM_CONF_GENERIC_SUPPORT + +/* * Use Normal IO instead of MMIO. */ /* #define SYM_CONF_IOMAPPED */ @@ -115,7 +119,7 @@ * Support for NVRAM. */ #define SYM_CONF_NVRAM_SUPPORT -/* #define SYM_CONF_DEBUG_SUPPORT */ +/* #define SYM_CONF_NVRAM_SUPPORT */ /* * Support for Immediate Arbitration. @@ -272,10 +276,11 @@ * driver are configured. * * Bits are to be coded as follows: - * 1 -> 810a, 860 - * 2 -> 825a, 875, 885, 895 - * 4 -> 895a, 896, 1510d - * 8 -> 1010 + * 0x01 -> 810a, 860 + * 0x02 -> 825a, 875, 885, 895 + * 0x04 -> 895a, 896, 1510d + * 0x08 -> 1010 + * 0x40 -> 810, 815, 825 * * For example, value 5 tells the driver to claim support * for 810a, 860, 895a, 896 and 1510d with low priority, |