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,11 +691,13 @@ lpfc_work_done(struct lpfc_hba *phba) ...@@ -691,11 +691,13 @@ 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 {
if (phba->link_state >= LPFC_LINK_UP) {
pring->flag &= ~LPFC_DEFERRED_RING_EVENT; pring->flag &= ~LPFC_DEFERRED_RING_EVENT;
lpfc_sli_handle_slow_ring_event(phba, pring, lpfc_sli_handle_slow_ring_event(phba, pring,
(status & (status &
HA_RXMASK)); HA_RXMASK));
} }
}
if ((phba->sli_rev == LPFC_SLI_REV4) & if ((phba->sli_rev == LPFC_SLI_REV4) &
(!list_empty(&pring->txq))) (!list_empty(&pring->txq)))
lpfc_drain_txq(phba); lpfc_drain_txq(phba);
......
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