3w-9xxx: fix command completion race
[pandora-kernel.git] / drivers / scsi / esp_scsi.h
index bb43a13..cd68805 100644 (file)
@@ -271,6 +271,7 @@ struct esp_cmd_entry {
 #define ESP_CMD_FLAG_AUTOSENSE 0x04 /* Doing automatic REQUEST_SENSE */
 
        u8                      tag[2];
+       u8                      orig_tag[2];
 
        u8                      status;
        u8                      message;
@@ -521,7 +522,8 @@ struct esp {
 
        struct completion       *eh_reset;
 
-       struct sbus_dma         *dma;
+       void                    *dma;
+       int                     dmarev;
 };
 
 /* A front-end driver for the ESP chip should do the following in