diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 08f5fd5359dd..0d2cecbb8f47 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -223,6 +223,26 @@ struct srb_iocb { | |||
223 | #define SRB_LOGIN_SKIP_PRLI BIT_2 | 223 | #define SRB_LOGIN_SKIP_PRLI BIT_2 |
224 | uint16_t data[2]; | 224 | uint16_t data[2]; |
225 | } logio; | 225 | } logio; |
226 | struct { | ||
227 | /* | ||
228 | * Values for flags field below are as | ||
229 | * defined in tsk_mgmt_entry struct | ||
230 | * for control_flags field in qla_fw.h. | ||
231 | */ | ||
232 | uint32_t flags; | ||
233 | uint32_t lun; | ||
234 | uint32_t data; | ||
235 | } tmf; | ||
236 | struct { | ||
237 | /* | ||
238 | * values for modif field below are as | ||
239 | * defined in mrk_entry_24xx struct | ||
240 | * for the modifier field in qla_fw.h. | ||
241 | */ | ||
242 | uint8_t modif; | ||
243 | uint16_t lun; | ||
244 | uint32_t data; | ||
245 | } marker; | ||
226 | } u; | 246 | } u; |
227 | 247 | ||
228 | struct timer_list timer; | 248 | struct timer_list timer; |
@@ -239,6 +259,8 @@ struct srb_iocb { | |||
239 | #define SRB_ELS_CMD_HST 4 | 259 | #define SRB_ELS_CMD_HST 4 |
240 | #define SRB_CT_CMD 5 | 260 | #define SRB_CT_CMD 5 |
241 | #define SRB_ADISC_CMD 6 | 261 | #define SRB_ADISC_CMD 6 |
262 | #define SRB_TM_CMD 7 | ||
263 | #define SRB_MARKER_CMD 8 | ||
242 | 264 | ||
243 | struct srb_ctx { | 265 | struct srb_ctx { |
244 | uint16_t type; | 266 | uint16_t type; |