]> err.no Git - linux-2.6/commit
[SCSI] ipr: Fix adapter initialization failure
authorBrian King <brking@us.ibm.com>
Thu, 9 Feb 2006 02:57:42 +0000 (20:57 -0600)
committer <jejb@mulgrave.il.steeleye.com> <>
Sun, 12 Feb 2006 17:05:44 +0000 (11:05 -0600)
commit4733804c9f62fbc17ba69e8654a5fdf465f5bc41
tree4ed2f54a67b5529d7b017c8044264041d0bdaa81
parent0d4be1240b2668b6a3ffadb15eb660baf52f8377
[SCSI] ipr: Fix adapter initialization failure

Since scsi core is always sending scatterlists now, remove
some code which was written with the bad assumption that
a small transfer would not be sent down in a scatterlist.
Without this fix, the ipr driver ends up sending garbage
data to the adapter following a reset, causing it to
fail the reset and take the adapter offline.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h