diff options
author | mjacob <mjacob@cvs.openbsd.org> | 2003-03-03 18:38:11 +0000 |
---|---|---|
committer | mjacob <mjacob@cvs.openbsd.org> | 2003-03-03 18:38:11 +0000 |
commit | 51e6d194898267ac753f19bb84e42a5d5f372b49 (patch) | |
tree | 12cfc56917aa9f9cc7085fb2be029406f3b8e418 /sys/dev/ic/ispmbox.h | |
parent | 96f2762bebc918bfcfaa59d0ebbea500fc3ce9b8 (diff) |
Add some A64 defines.
Fix egregious botch where ICBXOPT_ZIO is suppose to be bit #5, not
the value '5'.
Diffstat (limited to 'sys/dev/ic/ispmbox.h')
-rw-r--r-- | sys/dev/ic/ispmbox.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/ic/ispmbox.h b/sys/dev/ic/ispmbox.h index 78e64b57c10..ec855c78953 100644 --- a/sys/dev/ic/ispmbox.h +++ b/sys/dev/ic/ispmbox.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ispmbox.h,v 1.18 2002/08/17 17:41:26 mjacob Exp $ */ +/* $OpenBSD: ispmbox.h,v 1.19 2003/03/03 18:38:10 mjacob Exp $ */ /* * Mailbox and Queue Entry Definitions for for Qlogic ISP SCSI adapters. * @@ -109,6 +109,9 @@ #define FW_FEATURE_RIO_32BIT 0x4 #define FW_FEATURE_RIO_16BIT 0x8 +#define MBOX_INIT_REQ_QUEUE_A64 0x0052 +#define MBOX_INIT_RES_QUEUE_A64 0x0053 + #define MBOX_ENABLE_TARGET_MODE 0x0055 #define ENABLE_TARGET_FLAG 0x8000 #define ENABLE_TQING_FLAG 0x0004 @@ -338,6 +341,9 @@ typedef struct { ispds_t req_dataseg[ISP_RQDSEG]; } ispreq_t; +#define ispreq64_t ispreqt3_t /* same as.... */ +#define ISP_RQDSEG_A64 2 + /* * A request packet can also be a marker packet. */ @@ -648,7 +654,7 @@ typedef struct isp_icb { #define ICBXOPT_RIO_32BIT 2 #define ICBXOPT_RIO_16BIT_IOCB 3 #define ICBXOPT_RIO_32BIT_IOCB 4 -#define ICBXOPT_ZIO 5 +#define ICBXOPT_ZIO (1 << 5) #define ICBZOPT_ENA_RDXFR_RDY 0x01 #define ICBZOPT_ENA_OOF (1 << 6) /* out of order frame handling */ |