diff options
author | Joe Carnuccio <joe.carnuccio@qlogic.com> | 2014-09-25 05:16:48 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-09-25 08:25:03 -0400 |
commit | b5a340dd858b5bdd2813756e14991dc64c0b16d9 (patch) | |
tree | 45c18643b6c750b07baa85fad92bdf3dff44f3d0 /drivers/scsi/qla2xxx/qla_def.h | |
parent | 7c9c4766896335d2f20928ccc5d8ad2d1e621b9a (diff) |
qla2xxx: Add diagnostic port functionality.
Add support for the D-port (diagnostic port) fabric switch feature.
(Fabric Switch initiates loopback style port testing)
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index e5baead2369a..c161d60759e9 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -803,6 +803,7 @@ struct mbx_cmd_32 { | |||
803 | #define MBA_FW_RESTART_CMPLT 0x8060 /* Firmware restart complete */ | 803 | #define MBA_FW_RESTART_CMPLT 0x8060 /* Firmware restart complete */ |
804 | #define MBA_INIT_REQUIRED 0x8061 /* Initialization required */ | 804 | #define MBA_INIT_REQUIRED 0x8061 /* Initialization required */ |
805 | #define MBA_SHUTDOWN_REQUESTED 0x8062 /* Shutdown Requested */ | 805 | #define MBA_SHUTDOWN_REQUESTED 0x8062 /* Shutdown Requested */ |
806 | #define MBA_DPORT_DIAGNOSTICS 0x8080 /* D-port Diagnostics */ | ||
806 | #define MBA_FW_INIT_FAILURE 0x8401 /* Firmware initialization failure */ | 807 | #define MBA_FW_INIT_FAILURE 0x8401 /* Firmware initialization failure */ |
807 | #define MBA_MIRROR_LUN_CHANGE 0x8402 /* Mirror LUN State Change | 808 | #define MBA_MIRROR_LUN_CHANGE 0x8402 /* Mirror LUN State Change |
808 | Notification */ | 809 | Notification */ |
@@ -948,6 +949,7 @@ struct mbx_cmd_32 { | |||
948 | #define MBC_WRITE_SFP 0x30 /* Write SFP Data. */ | 949 | #define MBC_WRITE_SFP 0x30 /* Write SFP Data. */ |
949 | #define MBC_READ_SFP 0x31 /* Read SFP Data. */ | 950 | #define MBC_READ_SFP 0x31 /* Read SFP Data. */ |
950 | #define MBC_SET_TIMEOUT_PARAMS 0x32 /* Set FW timeouts. */ | 951 | #define MBC_SET_TIMEOUT_PARAMS 0x32 /* Set FW timeouts. */ |
952 | #define MBC_DPORT_DIAGNOSTICS 0x47 /* D-Port Diagnostics */ | ||
951 | #define MBC_MID_INITIALIZE_FIRMWARE 0x48 /* MID Initialize firmware. */ | 953 | #define MBC_MID_INITIALIZE_FIRMWARE 0x48 /* MID Initialize firmware. */ |
952 | #define MBC_MID_GET_VP_DATABASE 0x49 /* MID Get VP Database. */ | 954 | #define MBC_MID_GET_VP_DATABASE 0x49 /* MID Get VP Database. */ |
953 | #define MBC_MID_GET_VP_ENTRY 0x4a /* MID Get VP Entry. */ | 955 | #define MBC_MID_GET_VP_ENTRY 0x4a /* MID Get VP Entry. */ |