aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_scsi.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2013-07-15 18:34:05 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-08-23 13:20:40 -0400
commit182ba753b3a91a2ced021caa1763315dec2741cd (patch)
treedd01a2cef61beb92203e0c920d89606894ced879 /drivers/scsi/lpfc/lpfc_scsi.c
parent0c651878ba3018bb4bbfa2ccd0a876bebb618768 (diff)
[SCSI] lpfc 8.3.41: Fixed SLI3 failing FCP write on check-condition no-sense with residual zero
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_scsi.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index 76a583afe427..4261469619c2 100644
--- a/drivers/scsi/lpfc/lpfc_scsi.c
+++ b/drivers/scsi/lpfc/lpfc_scsi.c
@@ -4386,12 +4386,7 @@ lpfc_scsi_prep_cmnd(struct lpfc_vport *vport, struct lpfc_scsi_buf *lpfc_cmd,
4386 if (scsi_sg_count(scsi_cmnd)) { 4386 if (scsi_sg_count(scsi_cmnd)) {
4387 if (datadir == DMA_TO_DEVICE) { 4387 if (datadir == DMA_TO_DEVICE) {
4388 iocb_cmd->ulpCommand = CMD_FCP_IWRITE64_CR; 4388 iocb_cmd->ulpCommand = CMD_FCP_IWRITE64_CR;
4389 if (sli4) 4389 iocb_cmd->ulpPU = PARM_READ_CHECK;
4390 iocb_cmd->ulpPU = PARM_READ_CHECK;
4391 else {
4392 iocb_cmd->un.fcpi.fcpi_parm = 0;
4393 iocb_cmd->ulpPU = 0;
4394 }
4395 fcp_cmnd->fcpCntl3 = WRITE_DATA; 4390 fcp_cmnd->fcpCntl3 = WRITE_DATA;
4396 phba->fc4OutputRequests++; 4391 phba->fc4OutputRequests++;
4397 } else { 4392 } else {