You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[SCSI] gdth: Move members from SCp to gdth_cmndinfo, stage 2
- Cleanup the rest of the scsi_cmnd->SCp members and move them
to gdth_cmndinfo:
SCp.this_residual => priority
SCp.buffers_residual => timeout
SCp.Status => status and dma_dir
SCp.Message => info
SCp.have_data_in => volatile wait_for_completion
SCp.sent_command => OpCode
SCp.phase => phase
- Two more members will be naturally removed in the !use_sg cleanup
TODO: What is the meaning of gdth_cmndinfo.phase? (rhetorically)
Signed-off-by Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
committed by
James Bottomley
parent
3058d5de47
commit
f842b64e0f
@@ -923,6 +923,14 @@ typedef struct {
|
||||
int index;
|
||||
int internal_command; /* don't call scsi_done */
|
||||
dma_addr_t sense_paddr; /* sense dma-addr */
|
||||
unchar priority;
|
||||
int timeout;
|
||||
volatile int wait_for_completion;
|
||||
ushort status;
|
||||
ulong32 info;
|
||||
enum dma_data_direction dma_dir;
|
||||
int phase; /* ???? */
|
||||
int OpCode;
|
||||
} cmndinfo[GDTH_MAXCMDS]; /* index==0 is free */
|
||||
unchar bus_cnt; /* SCSI bus count */
|
||||
unchar tid_cnt; /* Target ID count */
|
||||
|
||||
Reference in New Issue
Block a user