aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa_cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/hpsa_cmd.h')
-rw-r--r--drivers/scsi/hpsa_cmd.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h
index 18464900e761..55d741b019db 100644
--- a/drivers/scsi/hpsa_cmd.h
+++ b/drivers/scsi/hpsa_cmd.h
@@ -101,6 +101,7 @@
101#define CFGTBL_ChangeReq 0x00000001l 101#define CFGTBL_ChangeReq 0x00000001l
102#define CFGTBL_AccCmds 0x00000001l 102#define CFGTBL_AccCmds 0x00000001l
103#define DOORBELL_CTLR_RESET 0x00000004l 103#define DOORBELL_CTLR_RESET 0x00000004l
104#define DOORBELL_CTLR_RESET2 0x00000020l
104 105
105#define CFGTBL_Trans_Simple 0x00000002l 106#define CFGTBL_Trans_Simple 0x00000002l
106#define CFGTBL_Trans_Performant 0x00000004l 107#define CFGTBL_Trans_Performant 0x00000004l
@@ -256,14 +257,6 @@ struct ErrorInfo {
256#define CMD_IOCTL_PEND 0x01 257#define CMD_IOCTL_PEND 0x01
257#define CMD_SCSI 0x03 258#define CMD_SCSI 0x03
258 259
259/* This structure needs to be divisible by 32 for new
260 * indexing method and performant mode.
261 */
262#define PAD32 32
263#define PAD64DIFF 0
264#define USEEXTRA ((sizeof(void *) - 4)/4)
265#define PADSIZE (PAD32 + PAD64DIFF * USEEXTRA)
266
267#define DIRECT_LOOKUP_SHIFT 5 260#define DIRECT_LOOKUP_SHIFT 5
268#define DIRECT_LOOKUP_BIT 0x10 261#define DIRECT_LOOKUP_BIT 0x10
269#define DIRECT_LOOKUP_MASK (~((1 << DIRECT_LOOKUP_SHIFT) - 1)) 262#define DIRECT_LOOKUP_MASK (~((1 << DIRECT_LOOKUP_SHIFT) - 1))
@@ -345,6 +338,8 @@ struct CfgTable {
345 u8 reserved[0x78 - 0x58]; 338 u8 reserved[0x78 - 0x58];
346 u32 misc_fw_support; /* offset 0x78 */ 339 u32 misc_fw_support; /* offset 0x78 */
347#define MISC_FW_DOORBELL_RESET (0x02) 340#define MISC_FW_DOORBELL_RESET (0x02)
341#define MISC_FW_DOORBELL_RESET2 (0x010)
342 u8 driver_version[32];
348}; 343};
349 344
350#define NUM_BLOCKFETCH_ENTRIES 8 345#define NUM_BLOCKFETCH_ENTRIES 8