diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index d51ee7e3273b..49bed3e8c95d 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -3091,6 +3091,12 @@ lpfc_sli_brdready_s3(struct lpfc_hba *phba, uint32_t mask) | |||
3091 | 3091 | ||
3092 | /* Check to see if any errors occurred during init */ | 3092 | /* Check to see if any errors occurred during init */ |
3093 | if ((status & HS_FFERM) || (i >= 20)) { | 3093 | if ((status & HS_FFERM) || (i >= 20)) { |
3094 | lpfc_printf_log(phba, KERN_ERR, LOG_INIT, | ||
3095 | "2751 Adapter failed to restart, " | ||
3096 | "status reg x%x, FW Data: A8 x%x AC x%x\n", | ||
3097 | status, | ||
3098 | readl(phba->MBslimaddr + 0xa8), | ||
3099 | readl(phba->MBslimaddr + 0xac)); | ||
3094 | phba->link_state = LPFC_HBA_ERROR; | 3100 | phba->link_state = LPFC_HBA_ERROR; |
3095 | retval = 1; | 3101 | retval = 1; |
3096 | } | 3102 | } |
@@ -3278,6 +3284,9 @@ lpfc_sli_brdkill(struct lpfc_hba *phba) | |||
3278 | if (retval != MBX_SUCCESS) { | 3284 | if (retval != MBX_SUCCESS) { |
3279 | if (retval != MBX_BUSY) | 3285 | if (retval != MBX_BUSY) |
3280 | mempool_free(pmb, phba->mbox_mem_pool); | 3286 | mempool_free(pmb, phba->mbox_mem_pool); |
3287 | lpfc_printf_log(phba, KERN_ERR, LOG_SLI, | ||
3288 | "2752 KILL_BOARD command failed retval %d\n", | ||
3289 | retval); | ||
3281 | spin_lock_irq(&phba->hbalock); | 3290 | spin_lock_irq(&phba->hbalock); |
3282 | phba->link_flag &= ~LS_IGNORE_ERATT; | 3291 | phba->link_flag &= ~LS_IGNORE_ERATT; |
3283 | spin_unlock_irq(&phba->hbalock); | 3292 | spin_unlock_irq(&phba->hbalock); |
@@ -4035,7 +4044,7 @@ lpfc_sli_hba_setup(struct lpfc_hba *phba) | |||
4035 | 4044 | ||
4036 | lpfc_sli_hba_setup_error: | 4045 | lpfc_sli_hba_setup_error: |
4037 | phba->link_state = LPFC_HBA_ERROR; | 4046 | phba->link_state = LPFC_HBA_ERROR; |
4038 | lpfc_printf_log(phba, KERN_INFO, LOG_INIT, | 4047 | lpfc_printf_log(phba, KERN_ERR, LOG_INIT, |
4039 | "0445 Firmware initialization failed\n"); | 4048 | "0445 Firmware initialization failed\n"); |
4040 | return rc; | 4049 | return rc; |
4041 | } | 4050 | } |