]> git.baikalelectronics.ru Git - kernel.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)
commit2c753a97dd349cac61f4da2db74964dc8e5baffe
treec48e89bac733c362ab2526ffdf61b5965071c3c1
parent79022ae9680c95364ab3f2ef28b50f974c6fe802
[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