From 243f617e364a6177c4f1d2b49bb61d966785ab51 Mon Sep 17 00:00:00 2001 From: mjacob Date: Tue, 9 Jan 2001 03:27:29 +0000 Subject: Add offsets for WWPN && OXID that FC f/w stuffs into an ATIO2. --- sys/dev/ic/isp_target.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/dev') 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 -- cgit v1.2.3