diff options
Diffstat (limited to 'drivers/block/cciss_cmd.h')
-rw-r--r-- | drivers/block/cciss_cmd.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/block/cciss_cmd.h b/drivers/block/cciss_cmd.h index 24e22dea1a99..40b1b92dae7f 100644 --- a/drivers/block/cciss_cmd.h +++ b/drivers/block/cciss_cmd.h | |||
@@ -25,6 +25,29 @@ | |||
25 | #define CMD_TIMEOUT 0x000B | 25 | #define CMD_TIMEOUT 0x000B |
26 | #define CMD_UNABORTABLE 0x000C | 26 | #define CMD_UNABORTABLE 0x000C |
27 | 27 | ||
28 | /* Unit Attentions ASC's as defined for the MSA2012sa */ | ||
29 | #define POWER_OR_RESET 0x29 | ||
30 | #define STATE_CHANGED 0x2a | ||
31 | #define UNIT_ATTENTION_CLEARED 0x2f | ||
32 | #define LUN_FAILED 0x3e | ||
33 | #define REPORT_LUNS_CHANGED 0x3f | ||
34 | |||
35 | /* Unit Attentions ASCQ's as defined for the MSA2012sa */ | ||
36 | |||
37 | /* These ASCQ's defined for ASC = POWER_OR_RESET */ | ||
38 | #define POWER_ON_RESET 0x00 | ||
39 | #define POWER_ON_REBOOT 0x01 | ||
40 | #define SCSI_BUS_RESET 0x02 | ||
41 | #define MSA_TARGET_RESET 0x03 | ||
42 | #define CONTROLLER_FAILOVER 0x04 | ||
43 | #define TRANSCEIVER_SE 0x05 | ||
44 | #define TRANSCEIVER_LVD 0x06 | ||
45 | |||
46 | /* These ASCQ's defined for ASC = STATE_CHANGED */ | ||
47 | #define RESERVATION_PREEMPTED 0x03 | ||
48 | #define ASYM_ACCESS_CHANGED 0x06 | ||
49 | #define LUN_CAPACITY_CHANGED 0x09 | ||
50 | |||
28 | //transfer direction | 51 | //transfer direction |
29 | #define XFER_NONE 0x00 | 52 | #define XFER_NONE 0x00 |
30 | #define XFER_WRITE 0x01 | 53 | #define XFER_WRITE 0x01 |