/* This routine is called to prepare the SLI3 device for PCI slot permanently disabling. It blocks the SCSI transport layer traffic and flushes the FCP pending I/Os.  */
static void lpfc_prep_dev_for_perm_failure(struct lpfc_hba *phba)
/* This routine is called to prepare the SLI3 device for PCI slot permanently disabling. It blocks the SCSI transport layer traffic and flushes the FCP pending I/Os.  */
static void lpfc_prep_dev_for_perm_failure(struct lpfc_hba *phba)
{
	lpfc_printf_log(phba, KERN_ERR, LOG_INIT,
			"2711 PCI channel permanent disable for failure\n");
	lpfc_sli_flush_fcp_rings(phba);
}