summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authormjacob <mjacob@cvs.openbsd.org>2001-01-09 03:27:29 +0000
committermjacob <mjacob@cvs.openbsd.org>2001-01-09 03:27:29 +0000
commit243f617e364a6177c4f1d2b49bb61d966785ab51 (patch)
tree73ac71eb41f757f89a84eb2b1e69df669d7cc028 /sys/dev/ic
parent843ee2fd39a064d6fdd16b0902aa2c3e2a8d28cc (diff)
Add offsets for WWPN && OXID that FC f/w stuffs into an ATIO2.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/isp_target.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/isp_target.h b/sys/dev/ic/isp_target.h
index 03c4e3135dc..316017edc4a 100644
--- a/sys/dev/ic/isp_target.h
+++ b/sys/dev/ic/isp_target.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_target.h,v 1.3 2000/10/16 01:02:00 mjacob Exp $ */
+/* $OpenBSD: isp_target.h,v 1.4 2001/01/09 03:27:28 mjacob Exp $ */
/*
* Qlogic Target Mode Structure and Flag Definitions
*
@@ -267,6 +267,9 @@ typedef struct {
u_int8_t at_sense[QLTM_SENSELEN];
} at2_entry_t;
+#define ATIO2_WWPN_OFFSET 0x2A
+#define ATIO2_OXID_OFFSET 0x3E
+
#define ATIO2_TC_ATTR_MASK 0x7
#define ATIO2_TC_ATTR_SIMPLEQ 0
#define ATIO2_TC_ATTR_HEADOFQ 1