[SCSI] sg: Remove aha1542 hack
authorBrian King <brking@us.ibm.com>
Tue, 14 Feb 2006 18:42:24 +0000 (12:42 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 28 Feb 2006 03:25:40 +0000 (21:25 -0600)
commiteca7be5e1899626db01ae42b0123458d6fb34930
treeb49c5a1f0056ebb5e6a5f71aa4d8c713f17a78d1
parentb9a33cebac70d6f67a769ce8d4078fee2b254ada
[SCSI] sg: Remove aha1542 hack

Remove a hack in the sg driver that alters the total buffer
length for SG_IO commands to ensure buffers are not odd byte
lengths. This breaks on the ipr driver since it requires the
request_bufflen to equal the length specified in the cdb.
The block layer SG_IO code does not appear to have this hack.

Signed-off-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sg.c