[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>
This commit is contained in:
committed by
James Bottomley
parent
6db874fbdb
commit
67d59dfdeb
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user