diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2007-09-18 12:27:43 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:49:08 -0400 |
commit | 427d0bd4fde60f40e9518817d826e48c05262a98 (patch) | |
tree | 973881b7afab9ecec00db9723d9995b2caab20f4 /drivers/scsi/scsi_scan.c | |
parent | 52aeeca9001d1b4037a8e5d0c001ebb5fdc61b37 (diff) |
[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 <bharrosh@panasas.com>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
0 files changed, 0 insertions, 0 deletions