public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 7/11] lpfc 8.3.38: Fixed PT2PT bring up problem for FC SLI4.
@ 2013-03-01 21:37 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2013-03-01 21:37 UTC (permalink / raw)
  To: linux-scsi

Fixed PT2PT bring up problem for FC SLI4.


Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_hbadisc.c |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c	2013-02-27 08:17:23.290047483 -0500
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c	2013-02-27 08:17:27.368047576 -0500
@@ -691,10 +691,12 @@ lpfc_work_done(struct lpfc_hba *phba)
 			/* Set the lpfc data pending flag */
 			set_bit(LPFC_DATA_READY, &phba->data_flags);
 		} else {
-			pring->flag &= ~LPFC_DEFERRED_RING_EVENT;
-			lpfc_sli_handle_slow_ring_event(phba, pring,
-							(status &
-							 HA_RXMASK));
+			if (phba->link_state >= LPFC_LINK_UP) {
+				pring->flag &= ~LPFC_DEFERRED_RING_EVENT;
+				lpfc_sli_handle_slow_ring_event(phba, pring,
+								(status &
+								HA_RXMASK));
+			}
 		}
 		if ((phba->sli_rev == LPFC_SLI_REV4) &
 				 (!list_empty(&pring->txq)))




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-03-01 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-01 21:37 [PATCH 7/11] lpfc 8.3.38: Fixed PT2PT bring up problem for FC SLI4 James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox