/* This routine is invoked to release the MSI-X vectors and then disable the MSI-X interrupt mode to device with SLI-4 interface spec.  */
static void lpfc_sli4_disable_msix(struct lpfc_hba *phba)
/* This routine is invoked to release the MSI-X vectors and then disable the MSI-X interrupt mode to device with SLI-4 interface spec.  */
static void lpfc_sli4_disable_msix(struct lpfc_hba *phba)
{
	int index;
	free_irq(phba->sli4_hba.msix_entries[0].vector, phba);
	for (index = 1; index < phba->sli4_hba.cfg_eqn; index++)
		free_irq(phba->sli4_hba.msix_entries[index].vector,
			 &phba->sli4_hba.fcp_eq_hdl[index - 1]);
	pci_disable_msix(phba->pcidev);
	return;
}