summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ispvar.h
diff options
context:
space:
mode:
authormjacob <mjacob@NetBSD.org>2001-10-06 20:34:49 +0000
committermjacob <mjacob@NetBSD.org>2001-10-06 20:34:49 +0000
commit6349e2e63a480dfc2ec2aa7dc7ea1d098eba4ec4 (patch)
tree02d000b6ee41b872e7ca25223556470b9b75ff14 /sys/dev/ic/ispvar.h
parentdaf0329c3c97f41ef2ebe8ae1cb0085ec11d206a (diff)
Fix various 2300 GB issues related to chip errata and documentation
misunderstandings. We also now can report our connection rate.
Diffstat (limited to 'sys/dev/ic/ispvar.h')
-rw-r--r--sys/dev/ic/ispvar.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/ispvar.h b/sys/dev/ic/ispvar.h
index ef531715097..8e1fb40adca 100644
--- a/sys/dev/ic/ispvar.h
+++ b/sys/dev/ic/ispvar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: ispvar.h,v 1.49 2001/09/05 22:33:05 mjacob Exp $ */
+/* $NetBSD: ispvar.h,v 1.50 2001/10/06 20:34:51 mjacob Exp $ */
/*
* This driver, which is contained in NetBSD in the files:
*
@@ -274,7 +274,7 @@ typedef struct {
typedef struct {
u_int32_t isp_fwoptions : 16,
- : 2,
+ isp_gbspeed : 2,
isp_iid_set : 1,
loop_seen_once : 1,
isp_loopstate : 4, /* Current Loop State */
@@ -449,6 +449,8 @@ typedef struct ispsoftc {
*/
#define ISP_CFG_NORELOAD 0x80 /* don't download f/w */
#define ISP_CFG_NONVRAM 0x40 /* ignore NVRAM */
+#define ISP_CFG_TWOGB 0x20 /* force 2GB connection (23XX only) */
+#define ISP_CFG_ONEGB 0x10 /* force 1GB connection (23XX only) */
#define ISP_CFG_FULL_DUPLEX 0x01 /* Full Duplex (Fibre Channel only) */
#define ISP_CFG_OWNWWN 0x02 /* override NVRAM wwn */
#define ISP_CFG_PORT_PREF 0x0C /* Mask for Port Prefs (2200 only) */