diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-06-13 21:31:19 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-19 19:34:01 -0500 |
commit | 67d59dfdeb21df2c16dcd478b66177e91178ecd0 (patch) | |
tree | ae85703651d81740f4a6cd398f9dd4d6aabe6a2f /drivers/scsi/53c700.h | |
parent | 6db874fbdbedba5e15e76cc03b42f52ea70338c0 (diff) | |
download | linux-67d59dfdeb21df2c16dcd478b66177e91178ecd0.tar.gz linux-67d59dfdeb21df2c16dcd478b66177e91178ecd0.tar.bz2 linux-67d59dfdeb21df2c16dcd478b66177e91178ecd0.zip |
[SCSI] 53c700: remove reliance on deprecated cmnd fields
This one's quite tricky. The 53c700 uses the now deprecated fields of
the command structure for saving the prior command when it does
autosense. To fix this, we have to add extra fields to the LUN to
accommodate a copy of the real command.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/53c700.h')
-rw-r--r-- | drivers/scsi/53c700.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/53c700.h b/drivers/scsi/53c700.h index a8c83bb03630..d8041952b1b5 100644 --- a/drivers/scsi/53c700.h +++ b/drivers/scsi/53c700.h @@ -163,6 +163,8 @@ struct NCR_700_command_slot { #define NCR_700_SLOT_BUSY (1|NCR_700_SLOT_MAGIC) /* slot has command active on HA */ #define NCR_700_SLOT_QUEUED (2|NCR_700_SLOT_MAGIC) /* slot has command to be made active on HA */ __u8 state; + #define NCR_700_FLAG_AUTOSENSE 0x01 + __u8 flags; int tag; __u32 resume_offset; struct scsi_cmnd *cmnd; |