[SCSI] gdth: Move members from SCp to gdth_cmndinfo, stage 2
commitf842b64e0ffbcc9ce48a3bf799d0b005094107c1
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 2 Oct 2007 21:16:01 +0000 (2 23:16 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:56:09 +0000 (12 14:56 -0400)
tree30f1d9fa5024d647886d651be0009eba728bbbfa
parent3058d5de47ce09ac0e531290566937c7d94d0653
[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>
drivers/scsi/gdth.c
drivers/scsi/gdth.h
drivers/scsi/gdth_proc.c