diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2007-10-02 17:16:01 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:56:09 -0400 |
commit | f842b64e0ffbcc9ce48a3bf799d0b005094107c1 (patch) | |
tree | 30f1d9fa5024d647886d651be0009eba728bbbfa /drivers/scsi/gdth.h | |
parent | 3058d5de47ce09ac0e531290566937c7d94d0653 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/gdth.h')
-rw-r--r-- | drivers/scsi/gdth.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h index be4ae5abd5c3..25803a8f31de 100644 --- a/drivers/scsi/gdth.h +++ b/drivers/scsi/gdth.h | |||
@@ -923,6 +923,14 @@ typedef struct { | |||
923 | int index; | 923 | int index; |
924 | int internal_command; /* don't call scsi_done */ | 924 | int internal_command; /* don't call scsi_done */ |
925 | dma_addr_t sense_paddr; /* sense dma-addr */ | 925 | dma_addr_t sense_paddr; /* sense dma-addr */ |
926 | unchar priority; | ||
927 | int timeout; | ||
928 | volatile int wait_for_completion; | ||
929 | ushort status; | ||
930 | ulong32 info; | ||
931 | enum dma_data_direction dma_dir; | ||
932 | int phase; /* ???? */ | ||
933 | int OpCode; | ||
926 | } cmndinfo[GDTH_MAXCMDS]; /* index==0 is free */ | 934 | } cmndinfo[GDTH_MAXCMDS]; /* index==0 is free */ |
927 | unchar bus_cnt; /* SCSI bus count */ | 935 | unchar bus_cnt; /* SCSI bus count */ |
928 | unchar tid_cnt; /* Target ID count */ | 936 | unchar tid_cnt; /* Target ID count */ |