summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/53c700.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2006-06-14 04:31:19 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-06-20 02:34:01 +0200
commit67d59dfdeb21df2c16dcd478b66177e91178ecd0 (patch)
treeae85703651d81740f4a6cd398f9dd4d6aabe6a2f /drivers/scsi/53c700.h
parent[SCSI] hptiop: don't use cmnd->bufflen (diff)
downloadlinux-67d59dfdeb21df2c16dcd478b66177e91178ecd0.tar.xz
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.h2
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;