aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aacraid.h
diff options
context:
space:
mode:
authorMark Haverkamp <markh@osdl.org>2006-03-27 12:43:40 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-04-13 11:13:17 -0400
commit77d644d4d70c9ad5df51792575f43a950525c9aa (patch)
tree84dd02706a7554e26820ff98586844ad4e996d68 /drivers/scsi/aacraid/aacraid.h
parente5718774f12234c7c9be8944001cfd109ba955e1 (diff)
[SCSI] aacraid: Track command ownership in driver
Received from Mark Salyzyn The loss of the ownership flags, despite their flaws, in the scsi command were sorely missed and are reinstated more accurately in the aacraid driver to track commands and permit us to properly handle error recovery actions. Signed-off-by: Mark Haverkamp <markh@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/aacraid.h')
-rw-r--r--drivers/scsi/aacraid/aacraid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h
index fcf046ca9965..51c96cac484e 100644
--- a/drivers/scsi/aacraid/aacraid.h
+++ b/drivers/scsi/aacraid/aacraid.h
@@ -1770,6 +1770,11 @@ static inline u32 cap_to_cyls(sector_t capacity, u32 divisor)
1770} 1770}
1771 1771
1772struct scsi_cmnd; 1772struct scsi_cmnd;
1773/* SCp.phase values */
1774#define AAC_OWNER_MIDLEVEL 0x101
1775#define AAC_OWNER_LOWLEVEL 0x102
1776#define AAC_OWNER_ERROR_HANDLER 0x103
1777#define AAC_OWNER_FIRMWARE 0x106
1773 1778
1774const char *aac_driverinfo(struct Scsi_Host *); 1779const char *aac_driverinfo(struct Scsi_Host *);
1775struct fib *aac_fib_alloc(struct aac_dev *dev); 1780struct fib *aac_fib_alloc(struct aac_dev *dev);