diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index f6948ffe689a..84e7fc595f5e 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -511,6 +511,7 @@ lpfc_handle_eratt(struct lpfc_hba * phba) | |||
511 | { | 511 | { |
512 | struct lpfc_sli *psli = &phba->sli; | 512 | struct lpfc_sli *psli = &phba->sli; |
513 | struct lpfc_sli_ring *pring; | 513 | struct lpfc_sli_ring *pring; |
514 | uint32_t event_data; | ||
514 | 515 | ||
515 | if (phba->work_hs & HS_FFER6) { | 516 | if (phba->work_hs & HS_FFER6) { |
516 | /* Re-establishing Link */ | 517 | /* Re-establishing Link */ |
@@ -555,6 +556,11 @@ lpfc_handle_eratt(struct lpfc_hba * phba) | |||
555 | phba->brd_no, phba->work_hs, | 556 | phba->brd_no, phba->work_hs, |
556 | phba->work_status[0], phba->work_status[1]); | 557 | phba->work_status[0], phba->work_status[1]); |
557 | 558 | ||
559 | event_data = FC_REG_DUMP_EVENT; | ||
560 | fc_host_post_vendor_event(phba->host, fc_get_event_number(), | ||
561 | sizeof(event_data), (char *) &event_data, | ||
562 | SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_EMULEX); | ||
563 | |||
558 | psli->sli_flag &= ~LPFC_SLI2_ACTIVE; | 564 | psli->sli_flag &= ~LPFC_SLI2_ACTIVE; |
559 | lpfc_offline(phba); | 565 | lpfc_offline(phba); |
560 | phba->hba_state = LPFC_HBA_ERROR; | 566 | phba->hba_state = LPFC_HBA_ERROR; |