summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/ispmbox.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-10-23 21:30:18 +0000
committermav <mav@FreeBSD.org>2015-10-23 21:30:18 +0000
commitfeb0daeb4157f9428ee387c9f8ec07f37c6cba9a (patch)
tree4426d711649c3024dd3eb96a4ec53c45bb273052 /sys/dev/isp/ispmbox.h
parent686a14358a1add3e752976393937a9ad0cadcf34 (diff)
downloadFreeBSD-src-feb0daeb4157f9428ee387c9f8ec07f37c6cba9a.zip
FreeBSD-src-feb0daeb4157f9428ee387c9f8ec07f37c6cba9a.tar.gz
Minor additions to Status Type 0 IOCB.
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r--sys/dev/isp/ispmbox.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h
index 86b4987..27b65c7 100644
--- a/sys/dev/isp/ispmbox.h
+++ b/sys/dev/isp/ispmbox.h
@@ -632,7 +632,7 @@ typedef struct {
uint32_t req_resid;
uint16_t req_reserved0;
uint16_t req_state_flags;
- uint16_t req_reserved1;
+ uint16_t req_retry_delay; /* aka Status Qualifier */
uint16_t req_scsi_status;
uint32_t req_fcp_residual;
uint32_t req_sense_len;
@@ -644,11 +644,12 @@ typedef struct {
* For Qlogic 2X00, the high order byte of SCSI status has
* additional meaning.
*/
-#define RQCS_RU 0x800 /* Residual Under */
-#define RQCS_RO 0x400 /* Residual Over */
+#define RQCS_CR 0x1000 /* Confirmation Request */
+#define RQCS_RU 0x0800 /* Residual Under */
+#define RQCS_RO 0x0400 /* Residual Over */
#define RQCS_RESID (RQCS_RU|RQCS_RO)
-#define RQCS_SV 0x200 /* Sense Length Valid */
-#define RQCS_RV 0x100 /* FCP Response Length Valid */
+#define RQCS_SV 0x0200 /* Sense Length Valid */
+#define RQCS_RV 0x0100 /* FCP Response Length Valid */
/*
* CT Passthru IOCB
OpenPOWER on IntegriCloud