diff options
author | Brian King <brking@us.ibm.com> | 2006-02-08 21:57:42 -0500 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-12 12:05:44 -0500 |
commit | 4733804c9f62fbc17ba69e8654a5fdf465f5bc41 (patch) | |
tree | 4ed2f54a67b5529d7b017c8044264041d0bdaa81 /drivers/scsi/ipr.h | |
parent | 0d4be1240b2668b6a3ffadb15eb660baf52f8377 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r-- | drivers/scsi/ipr.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index b639332131f1..fd360bfe56dd 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h | |||
@@ -36,8 +36,8 @@ | |||
36 | /* | 36 | /* |
37 | * Literals | 37 | * Literals |
38 | */ | 38 | */ |
39 | #define IPR_DRIVER_VERSION "2.1.1" | 39 | #define IPR_DRIVER_VERSION "2.1.2" |
40 | #define IPR_DRIVER_DATE "(November 15, 2005)" | 40 | #define IPR_DRIVER_DATE "(February 8, 2006)" |
41 | 41 | ||
42 | /* | 42 | /* |
43 | * IPR_MAX_CMD_PER_LUN: This defines the maximum number of outstanding | 43 | * IPR_MAX_CMD_PER_LUN: This defines the maximum number of outstanding |
@@ -1000,7 +1000,6 @@ struct ipr_ioa_cfg { | |||
1000 | struct Scsi_Host *host; | 1000 | struct Scsi_Host *host; |
1001 | struct pci_dev *pdev; | 1001 | struct pci_dev *pdev; |
1002 | struct ipr_sglist *ucode_sglist; | 1002 | struct ipr_sglist *ucode_sglist; |
1003 | struct ipr_mode_pages *saved_mode_pages; | ||
1004 | u8 saved_mode_page_len; | 1003 | u8 saved_mode_page_len; |
1005 | 1004 | ||
1006 | struct work_struct work_q; | 1005 | struct work_struct work_q; |