diff options
author | mav <mav@FreeBSD.org> | 2015-11-17 13:02:44 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-11-17 13:02:44 +0000 |
commit | d3dc28086bfce7dd945b52de6217bbbda422545d (patch) | |
tree | 44a28ebe8b1bddc983499755ee7538d994b21315 /sys/dev/isp/ispmbox.h | |
parent | 6e1426b13af798f0678ab25d96667e4160e9a7cb (diff) | |
download | FreeBSD-src-d3dc28086bfce7dd945b52de6217bbbda422545d.zip FreeBSD-src-d3dc28086bfce7dd945b52de6217bbbda422545d.tar.gz |
Add real initial support for RQSTYPE_RPT_ID_ACQ.
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r-- | sys/dev/isp/ispmbox.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h index 25b57d5..83631cd 100644 --- a/sys/dev/isp/ispmbox.h +++ b/sys/dev/isp/ispmbox.h @@ -1485,18 +1485,10 @@ typedef struct { typedef struct { isphdr_t ridacq_hdr; uint32_t ridacq_handle; - union { - struct { - uint8_t ridacq_vp_acquired; - uint8_t ridacq_vp_setup; - uint16_t ridacq_reserved0; - } type0; /* type 0 */ - struct { - uint16_t ridacq_vp_count; - uint8_t ridacq_vp_index; - uint8_t ridacq_vp_status; - } type1; /* type 1 */ - } un; + uint8_t ridacq_vp_acquired; + uint8_t ridacq_vp_setup; + uint8_t ridacq_vp_index; + uint8_t ridacq_vp_status; uint16_t ridacq_vp_port_lo; uint8_t ridacq_vp_port_hi; uint8_t ridacq_format; /* 0 or 1 */ @@ -1506,8 +1498,11 @@ typedef struct { #define RIDACQ_STS_COMPLETE 0 #define RIDACQ_STS_UNACQUIRED 1 -#define RIDACQ_STS_CHANGED 20 - +#define RIDACQ_STS_CHANGED 2 +#define RIDACQ_STS_SNS_TIMEOUT 3 +#define RIDACQ_STS_SNS_REJECTED 4 +#define RIDACQ_STS_SCR_TIMEOUT 5 +#define RIDACQ_STS_SCR_REJECTED 6 /* * Simple Name Server Data Structures |