diff options
Diffstat (limited to 'drivers/block/cciss_cmd.h')
| -rw-r--r-- | drivers/block/cciss_cmd.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/block/cciss_cmd.h b/drivers/block/cciss_cmd.h index cd441bef031..d9be6b4d49a 100644 --- a/drivers/block/cciss_cmd.h +++ b/drivers/block/cciss_cmd.h | |||
| @@ -53,6 +53,7 @@ | |||
| 53 | #define CFGTBL_ChangeReq 0x00000001l | 53 | #define CFGTBL_ChangeReq 0x00000001l |
| 54 | #define CFGTBL_AccCmds 0x00000001l | 54 | #define CFGTBL_AccCmds 0x00000001l |
| 55 | #define DOORBELL_CTLR_RESET 0x00000004l | 55 | #define DOORBELL_CTLR_RESET 0x00000004l |
| 56 | #define DOORBELL_CTLR_RESET2 0x00000020l | ||
| 56 | 57 | ||
| 57 | #define CFGTBL_Trans_Simple 0x00000002l | 58 | #define CFGTBL_Trans_Simple 0x00000002l |
| 58 | #define CFGTBL_Trans_Performant 0x00000004l | 59 | #define CFGTBL_Trans_Performant 0x00000004l |
| @@ -142,6 +143,14 @@ typedef struct _ReadCapdata_struct_16 | |||
| 142 | #define BMIC_CACHE_FLUSH 0xc2 | 143 | #define BMIC_CACHE_FLUSH 0xc2 |
| 143 | #define CCISS_CACHE_FLUSH 0x01 /* C2 was already being used by CCISS */ | 144 | #define CCISS_CACHE_FLUSH 0x01 /* C2 was already being used by CCISS */ |
| 144 | 145 | ||
| 146 | #define CCISS_ABORT_MSG 0x00 | ||
| 147 | #define CCISS_RESET_MSG 0x01 | ||
| 148 | #define CCISS_RESET_TYPE_CONTROLLER 0x00 | ||
| 149 | #define CCISS_RESET_TYPE_BUS 0x01 | ||
| 150 | #define CCISS_RESET_TYPE_TARGET 0x03 | ||
| 151 | #define CCISS_RESET_TYPE_LUN 0x04 | ||
| 152 | #define CCISS_NOOP_MSG 0x03 | ||
| 153 | |||
| 145 | /* Command List Structure */ | 154 | /* Command List Structure */ |
| 146 | #define CTLR_LUNID "\0\0\0\0\0\0\0\0" | 155 | #define CTLR_LUNID "\0\0\0\0\0\0\0\0" |
| 147 | 156 | ||
| @@ -235,6 +244,8 @@ typedef struct _CfgTable_struct { | |||
| 235 | u8 reserved[0x78 - 0x58]; | 244 | u8 reserved[0x78 - 0x58]; |
| 236 | u32 misc_fw_support; /* offset 0x78 */ | 245 | u32 misc_fw_support; /* offset 0x78 */ |
| 237 | #define MISC_FW_DOORBELL_RESET (0x02) | 246 | #define MISC_FW_DOORBELL_RESET (0x02) |
| 247 | #define MISC_FW_DOORBELL_RESET2 (0x10) | ||
| 248 | u8 driver_version[32]; | ||
| 238 | } CfgTable_struct; | 249 | } CfgTable_struct; |
| 239 | 250 | ||
| 240 | struct TransTable_struct { | 251 | struct TransTable_struct { |
