/* This routine is invoked to disable device interrupt and disassociate the driver's interrupt handler(s) from interrupt vector(s) to device with SLI-4 interface spec. Depending on the interrupt mode, the driver will release the interrupt vector(s) for the message signaled interrupt.  */
static void lpfc_sli4_disable_intr(struct lpfc_hba *phba)
/* This routine is invoked to disable device interrupt and disassociate the driver's interrupt handler(s) from interrupt vector(s) to device with SLI-4 interface spec. Depending on the interrupt mode, the driver will release the interrupt vector(s) for the message signaled interrupt.  */
static void lpfc_sli4_disable_intr(struct lpfc_hba *phba)
{
	if (phba->intr_type == MSIX)
		lpfc_sli4_disable_msix(phba);
	else if (phba->intr_type == MSI)
		lpfc_sli4_disable_msi(phba);
	else if (phba->intr_type == INTx)
		free_irq(phba->pcidev->irq, phba);
	phba->intr_type = NONE;
	phba->sli.slistat.sli_intr = 0;
	return;
}