diff options
author | nagalakshmi.nandigama@lsi.com <nagalakshmi.nandigama@lsi.com> | 2011-09-19 00:57:20 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-09-22 07:15:08 -0400 |
commit | 513382c9a2bb24c606a9027e83af4bc86dbe688b (patch) | |
tree | 8051758c51db11c4987f1cfaebc1aaa3cbfa4197 /drivers/message/fusion/mptscsih.c | |
parent | 96a99501d6ba0292ea7bd96846053091fc20776c (diff) |
[SCSI] mptfusion: Added check for SILI bit in READ_16 CDB for DATA UNDERRUN ERRATA
When READ_16 command is issued, the setting of SILI Bit in CDB is confirmed
and if SILI bit is off, the processing of relavent Errata is executed.
Added code for checking SILI bit for READ_16 as described in "SSC-4".
Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/message/fusion/mptscsih.c')
-rw-r--r-- | drivers/message/fusion/mptscsih.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c index ced6e4dc0847..0c3ced70707b 100644 --- a/drivers/message/fusion/mptscsih.c +++ b/drivers/message/fusion/mptscsih.c | |||
@@ -830,7 +830,8 @@ mptscsih_io_done(MPT_ADAPTER *ioc, MPT_FRAME_HDR *mf, MPT_FRAME_HDR *mr) | |||
830 | if ((pScsiReq->CDB[0] == READ_6 && ((pScsiReq->CDB[1] & 0x02) == 0)) || | 830 | if ((pScsiReq->CDB[0] == READ_6 && ((pScsiReq->CDB[1] & 0x02) == 0)) || |
831 | pScsiReq->CDB[0] == READ_10 || | 831 | pScsiReq->CDB[0] == READ_10 || |
832 | pScsiReq->CDB[0] == READ_12 || | 832 | pScsiReq->CDB[0] == READ_12 || |
833 | pScsiReq->CDB[0] == READ_16 || | 833 | (pScsiReq->CDB[0] == READ_16 && |
834 | ((pScsiReq->CDB[1] & 0x02) == 0)) || | ||
834 | pScsiReq->CDB[0] == VERIFY || | 835 | pScsiReq->CDB[0] == VERIFY || |
835 | pScsiReq->CDB[0] == VERIFY_16) { | 836 | pScsiReq->CDB[0] == VERIFY_16) { |
836 | if (scsi_bufflen(sc) != | 837 | if (scsi_bufflen(sc) != |