aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_bsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_bsg.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_bsg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_bsg.h b/drivers/scsi/qla2xxx/qla_bsg.h
index 76ed92dd2ef2..1f096dabc015 100644
--- a/drivers/scsi/qla2xxx/qla_bsg.h
+++ b/drivers/scsi/qla2xxx/qla_bsg.h
@@ -19,6 +19,13 @@
19#define INT_DEF_LB_LOOPBACK_CMD 0 19#define INT_DEF_LB_LOOPBACK_CMD 0
20#define INT_DEF_LB_ECHO_CMD 1 20#define INT_DEF_LB_ECHO_CMD 1
21 21
22/* Loopback related definations */
23#define EXTERNAL_LOOPBACK 0xF2
24#define ENABLE_INTERNAL_LOOPBACK 0x02
25#define INTERNAL_LOOPBACK_MASK 0x000E
26#define MAX_ELS_FRAME_PAYLOAD 252
27#define ELS_OPCODE_BYTE 0x10
28
22/* BSG Vendor specific definations */ 29/* BSG Vendor specific definations */
23#define A84_ISSUE_WRITE_TYPE_CMD 0 30#define A84_ISSUE_WRITE_TYPE_CMD 0
24#define A84_ISSUE_READ_TYPE_CMD 1 31#define A84_ISSUE_READ_TYPE_CMD 1