]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] wd7000: proper fix for boards without sg support
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 5 Nov 2007 09:21:40 +0000 (11:21 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:22:39 +0000 (18:22 -0600)
commit9a3dd65bafcfa3338cfb4b6b7e12ff59aca0ac28
treec48e89bac733c362ab2526ffdf61b5965071c3c1
parentfe7ed98fd49a28287aca8b0ba8da8fb9ca35a055
[SCSI] wd7000: proper fix for boards without sg support

  - code used to set sg_tablesize to zero for board revision
    less than 6. This is no longer supported, therefore I
    use sg_tablesize=1 and open code the sg handling for that case.
  - Get rid of use of SG_NONE which will be removed soon.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/wd7000.c