summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/ispmbox.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-11-23 15:49:50 +0000
committermav <mav@FreeBSD.org>2015-11-23 15:49:50 +0000
commitbaa220781ba9f11e24dd5e85731fb77c7bbe4869 (patch)
tree2dfb4ecef9c249189342540f21a5a65642a94aa1 /sys/dev/isp/ispmbox.h
parent7f6c6181f2daab85e5eda752b8c8e8fa450a74ee (diff)
downloadFreeBSD-src-baa220781ba9f11e24dd5e85731fb77c7bbe4869.zip
FreeBSD-src-baa220781ba9f11e24dd5e85731fb77c7bbe4869.tar.gz
Fix target mode support for Qlogic 2200 FC adapters.
Now target mode works for all supported FC adapters except ancient 2100, which is not tested.
Diffstat (limited to 'sys/dev/isp/ispmbox.h')
-rw-r--r--sys/dev/isp/ispmbox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isp/ispmbox.h b/sys/dev/isp/ispmbox.h
index cc06449..2978b0c 100644
--- a/sys/dev/isp/ispmbox.h
+++ b/sys/dev/isp/ispmbox.h
@@ -481,7 +481,8 @@ typedef struct {
uint16_t req_target;
uint16_t req_scclun;
uint16_t req_flags;
- uint16_t req_reserved;
+ uint8_t req_crn;
+ uint8_t req_reserved;
uint16_t req_time;
uint16_t req_seg_count;
uint8_t req_cdb[16];
@@ -1010,6 +1011,7 @@ typedef struct {
#define ICBZOPT_RATE_AUTO 0x8000
#define ICBZOPT_RATE_TWOGB 0x4000
#define ICBZOPT_50_OHM 0x2000
+#define ICBZOPT_NO_LOCAL_PLOGI 0x0080
#define ICBZOPT_ENA_OOF 0x0040 /* out of order frame handling */
#define ICBZOPT_RSPSZ_MASK 0x0030
#define ICBZOPT_RSPSZ_24 0x0000
OpenPOWER on IntegriCloud