]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/scsi/hpsa_cmd.h
[SCSI] qla4xxx: Use polling mode for disable interrupt mailbox completion
[mv-sheeva.git] / drivers / scsi / hpsa_cmd.h
index 78de9b6d1e0b2499b4a8d19850a02d93abc33330..18464900e761ef0a1e35879d1ff5942d5e687d2f 100644 (file)
 /* Configuration Table */
 #define CFGTBL_ChangeReq        0x00000001l
 #define CFGTBL_AccCmds          0x00000001l
+#define DOORBELL_CTLR_RESET    0x00000004l
 
 #define CFGTBL_Trans_Simple     0x00000002l
 #define CFGTBL_Trans_Performant 0x00000004l
+#define CFGTBL_Trans_use_short_tags 0x20000000l
 
 #define CFGTBL_BusType_Ultra2   0x00000001l
 #define CFGTBL_BusType_Ultra3   0x00000002l
@@ -264,6 +266,7 @@ struct ErrorInfo {
 
 #define DIRECT_LOOKUP_SHIFT 5
 #define DIRECT_LOOKUP_BIT 0x10
+#define DIRECT_LOOKUP_MASK (~((1 << DIRECT_LOOKUP_SHIFT) - 1))
 
 #define HPSA_ERROR_BIT          0x02
 struct ctlr_info; /* defined in hpsa.h */
@@ -290,7 +293,7 @@ struct CommandList {
        struct ctlr_info           *h;
        int                        cmd_type;
        long                       cmdindex;
-       struct hlist_node list;
+       struct list_head list;
        struct request *rq;
        struct completion *waiting;
        void   *scsi_cmd;
@@ -339,6 +342,9 @@ struct CfgTable {
        u32             MaxPhysicalDevices;
        u32             MaxPhysicalDrivesPerLogicalUnit;
        u32             MaxPerformantModeCommands;
+       u8              reserved[0x78 - 0x58];
+       u32             misc_fw_support; /* offset 0x78 */
+#define                        MISC_FW_DOORBELL_RESET (0x02)
 };
 
 #define NUM_BLOCKFETCH_ENTRIES 8