From: Boaz Harrosh Date: Tue, 18 Sep 2007 10:27:43 +0000 (+0200) Subject: [SCSI] ide-scsi.: convert to data accessors and !use_sg cleanup X-Git-Tag: v2.6.24-rc1~1290^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=427d0bd4fde60f40e9518817d826e48c05262a98;p=pandora-kernel.git [SCSI] ide-scsi.: convert to data accessors and !use_sg cleanup - Convert ide-scsi to the new data accessors and cleanup the !use_sg code paths. In old code the driver was trying to translate narrow commands, if received, to wide commands. This code path still assumed scsi_cmnd->request_buffer is a linear char pointer. This means that this driver was broken since 2.6.17. As suggested by Christoph Hellwig I set use_10_for_rw = 1; and use_10_for_ms = 1; for this device and completely killed the translation. Signed-off-by: Boaz Harrosh Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: James Bottomley --- Reading git-diff-tree failed