/* This routine is called to bring a SLI4 HBA offline when HBA hardware error other than Port Error 6 has been detected.  */
static void lpfc_sli4_offline_eratt(struct lpfc_hba *phba)
/* This routine is called to bring a SLI4 HBA offline when HBA hardware error other than Port Error 6 has been detected.  */
static void lpfc_sli4_offline_eratt(struct lpfc_hba *phba)
{
	lpfc_offline_prep(phba);
	lpfc_offline(phba);
	lpfc_sli4_brdreset(phba);
	lpfc_hba_down_post(phba);
	lpfc_sli4_post_status_check(phba);
	lpfc_unblock_mgmt_io(phba);
	phba->link_state = LPFC_HBA_ERROR;
}