aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames.Smart@Emulex.Com <James.Smart@Emulex.Com>2005-11-28 11:41:33 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-13 20:16:01 -0500
commit6281bfe0002acd7765cb4afe0304c36962ad6b15 (patch)
treef67190c5ed4032dc501a07b5df233c2071892d67 /drivers/scsi/lpfc/lpfc_init.c
parent2fb70f79936e7180e8b0287a4053b8ba89182717 (diff)
[SCSI] lpfc 8.1.1 : Fixes for short cable pulls
Cause: Link bounces were causing discovery ELS's to be killed. Driver was not properly flushing ELS commands upon the subsequent link bounces. Thus, processing of ELS post link bounce erroneously assumed discovery failure and device loss. Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 3eebe663a2e5..4d4e217edd84 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -563,6 +563,8 @@ lpfc_handle_latt(struct lpfc_hba * phba)
563 563
564 rc = -EIO; 564 rc = -EIO;
565 565
566 /* Cleanup any outstanding ELS commands */
567 lpfc_els_flush_cmd(phba);
566 568
567 psli->slistat.link_event++; 569 psli->slistat.link_event++;
568 lpfc_read_la(phba, pmb, mp); 570 lpfc_read_la(phba, pmb, mp);