Go to the documentation of this file.
23 #include <scsi/scsi.h>
37 #define FCP_SPPF_TASK_RETRY_ID 0x0200
38 #define FCP_SPPF_RETRY 0x0100
39 #define FCP_SPPF_CONF_COMPL 0x0080
40 #define FCP_SPPF_OVLY_ALLOW 0x0040
41 #define FCP_SPPF_INIT_FCN 0x0020
42 #define FCP_SPPF_TARG_FCN 0x0010
43 #define FCP_SPPF_RD_XRDY_DIS 0x0002
44 #define FCP_SPPF_WR_XRDY_DIS 0x0001
59 #define FCP_CMND_LEN 32
71 #define FCP_CMND32_LEN 48
72 #define FCP_CMND32_ADD_LEN (16 / 4)
77 #define FCP_PTA_SIMPLE 0
78 #define FCP_PTA_HEADQ 1
79 #define FCP_PTA_ORDERED 2
81 #define FCP_PTA_MASK 7
82 #define FCP_PRI_SHIFT 3
83 #define FCP_PRI_RESVD_MASK 0x80
88 #define FCP_TMF_CLR_ACA 0x40
89 #define FCP_TMF_TGT_RESET 0x20
91 #define FCP_TMF_LUN_RESET 0x10
92 #define FCP_TMF_CLR_TASK_SET 0x04
93 #define FCP_TMF_ABT_TASK_SET 0x02
99 #define FCP_CFL_LEN_MASK 0xfc
100 #define FCP_CFL_LEN_SHIFT 2
101 #define FCP_CFL_RDDATA 0x02
102 #define FCP_CFL_WRDATA 0x01
113 #define FCP_TXRDY_LEN 12
141 #define FCP_RESP_LEN 12
154 #define FCP_RESP_EXT_LEN 12
162 #define FCP_RESP_RSP_INFO_LEN4 4
163 #define FCP_RESP_RSP_INFO_LEN8 8
170 #define FCP_RESP_WITH_EXT (FCP_RESP_LEN + FCP_RESP_EXT_LEN)
175 #define FCP_BIDI_RSP 0x80
176 #define FCP_BIDI_READ_UNDER 0x40
177 #define FCP_BIDI_READ_OVER 0x20
178 #define FCP_CONF_REQ 0x10
179 #define FCP_RESID_UNDER 0x08
180 #define FCP_RESID_OVER 0x04
181 #define FCP_SNS_LEN_VAL 0x02
182 #define FCP_RSP_LEN_VAL 0x01
213 #define FCP_FEAT_TARG (1 << 0)
214 #define FCP_FEAT_INIT (1 << 1)