diff options
| author | Boaz Harrosh <[email protected]> | 2007-09-18 12:27:43 +0200 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2007-10-12 14:49:08 -0400 |
| commit | 427d0bd4fde60f40e9518817d826e48c05262a98 (patch) | |
| tree | 973881b7afab9ecec00db9723d9995b2caab20f4 /include/linux | |
| 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 <[email protected]>
Acked-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions