Commit 94661504 authored by James Smart's avatar James Smart Committed by James Bottomley

[SCSI] lpfc 8.3.38: Fixed PT2PT bring up problem for FC SLI4.

Signed-off-by: default avatarJames Smart <james.smart@emulex.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent e5771b4d
...@@ -691,10 +691,12 @@ lpfc_work_done(struct lpfc_hba *phba) ...@@ -691,10 +691,12 @@ lpfc_work_done(struct lpfc_hba *phba)
/* Set the lpfc data pending flag */ /* Set the lpfc data pending flag */
set_bit(LPFC_DATA_READY, &phba->data_flags); set_bit(LPFC_DATA_READY, &phba->data_flags);
} else { } else {
pring->flag &= ~LPFC_DEFERRED_RING_EVENT; if (phba->link_state >= LPFC_LINK_UP) {
lpfc_sli_handle_slow_ring_event(phba, pring, pring->flag &= ~LPFC_DEFERRED_RING_EVENT;
(status & lpfc_sli_handle_slow_ring_event(phba, pring,
HA_RXMASK)); (status &
HA_RXMASK));
}
} }
if ((phba->sli_rev == LPFC_SLI_REV4) & if ((phba->sli_rev == LPFC_SLI_REV4) &
(!list_empty(&pring->txq))) (!list_empty(&pring->txq)))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment