aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion
diff options
context:
space:
mode:
authorMoore, Eric <Eric.Moore@lsil.com>2006-01-16 20:53:21 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2006-01-31 15:39:58 -0500
commit7e55147fe3203b72e80186c45df9bf0fd6cd97c9 (patch)
tree7db7ae7c37c152b3556cc075d006ef6b3538f602 /drivers/message/fusion
parentece50914d5ce5c238e07d644e58701c173c48b7d (diff)
[SCSI] fusion: overrun tape fix
Signed-off-by: Eric Moore <Eric.Moore@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion')
-rw-r--r--drivers/message/fusion/mptscsih.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c
index 05832a8c5f0b..4513ee7b7eab 100644
--- a/drivers/message/fusion/mptscsih.c
+++ b/drivers/message/fusion/mptscsih.c
@@ -727,6 +727,8 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr)
727 727
728 break; 728 break;
729 729
730 case MPI_IOCSTATUS_SCSI_DATA_OVERRUN: /* 0x0044 */
731 sc->resid=0;
730 case MPI_IOCSTATUS_SCSI_RECOVERED_ERROR: /* 0x0040 */ 732 case MPI_IOCSTATUS_SCSI_RECOVERED_ERROR: /* 0x0040 */
731 case MPI_IOCSTATUS_SUCCESS: /* 0x0000 */ 733 case MPI_IOCSTATUS_SUCCESS: /* 0x0000 */
732 if (scsi_status == MPI_SCSI_STATUS_BUSY) 734 if (scsi_status == MPI_SCSI_STATUS_BUSY)
@@ -786,7 +788,6 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr)
786 case MPI_IOCSTATUS_INSUFFICIENT_RESOURCES: /* 0x0006 */ 788 case MPI_IOCSTATUS_INSUFFICIENT_RESOURCES: /* 0x0006 */
787 case MPI_IOCSTATUS_INVALID_FIELD: /* 0x0007 */ 789 case MPI_IOCSTATUS_INVALID_FIELD: /* 0x0007 */
788 case MPI_IOCSTATUS_INVALID_STATE: /* 0x0008 */ 790 case MPI_IOCSTATUS_INVALID_STATE: /* 0x0008 */
789 case MPI_IOCSTATUS_SCSI_DATA_OVERRUN: /* 0x0044 */
790 case MPI_IOCSTATUS_SCSI_IO_DATA_ERROR: /* 0x0046 */ 791 case MPI_IOCSTATUS_SCSI_IO_DATA_ERROR: /* 0x0046 */
791 case MPI_IOCSTATUS_SCSI_TASK_MGMT_FAILED: /* 0x004A */ 792 case MPI_IOCSTATUS_SCSI_TASK_MGMT_FAILED: /* 0x004A */
792 default: 793 default: