diff options
author | James Smart <james.smart@emulex.com> | 2012-08-03 12:34:29 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-14 09:32:27 -0400 |
commit | 59df3acf19f8c4f18d4036d87b72b5c68befb9a7 (patch) | |
tree | 5e4dc1b70599fe33e2a24a65771b45cd01f04f07 /drivers/scsi/lpfc/lpfc_init.c | |
parent | 21a688cdfa2f48ca9132cf152b0cb7274cb37b98 (diff) |
[SCSI] lpfc 8.3.33: Fix error of not reiniting mbx cmd before reissue
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index a3c79898ef7a..de0818d3fd51 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -7595,10 +7595,11 @@ lpfc_sli4_send_nop_mbox_cmds(struct lpfc_hba *phba, uint32_t cnt) | |||
7595 | /* Set up NOP SLI4_CONFIG mailbox-ioctl command */ | 7595 | /* Set up NOP SLI4_CONFIG mailbox-ioctl command */ |
7596 | length = (sizeof(struct lpfc_mbx_nop) - | 7596 | length = (sizeof(struct lpfc_mbx_nop) - |
7597 | sizeof(struct lpfc_sli4_cfg_mhdr)); | 7597 | sizeof(struct lpfc_sli4_cfg_mhdr)); |
7598 | lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_COMMON, | ||
7599 | LPFC_MBOX_OPCODE_NOP, length, LPFC_SLI4_MBX_EMBED); | ||
7600 | 7598 | ||
7601 | for (cmdsent = 0; cmdsent < cnt; cmdsent++) { | 7599 | for (cmdsent = 0; cmdsent < cnt; cmdsent++) { |
7600 | lpfc_sli4_config(phba, mboxq, LPFC_MBOX_SUBSYSTEM_COMMON, | ||
7601 | LPFC_MBOX_OPCODE_NOP, length, | ||
7602 | LPFC_SLI4_MBX_EMBED); | ||
7602 | if (!phba->sli4_hba.intr_enable) | 7603 | if (!phba->sli4_hba.intr_enable) |
7603 | rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); | 7604 | rc = lpfc_sli_issue_mbox(phba, mboxq, MBX_POLL); |
7604 | else { | 7605 | else { |