static int ath10k_pci_hif_power_up(struct ath10k *ar)
{
struct ath10k_pci *ar_pci = ath10k_pci_priv(ar);
+ const char *irq_mode;
int ret;
/*
}
ath10k_pci_start_bmi(ar);
+
+ if (ar_pci->num_msi_intrs > 1)
+ irq_mode = "MSI-X";
+ else if (ar_pci->num_msi_intrs == 1)
+ irq_mode = "MSI";
+ else
+ irq_mode = "legacy";
+
+ ath10k_info("pci irq %s\n", irq_mode);
+
return 0;
err_irq:
}
}
- ath10k_info("MSI-X interrupt handling (%d intrs)\n", num);
+ ath10k_dbg(ATH10K_DBG_BOOT,
+ "MSI-X interrupt handling (%d intrs)\n", num);
return 0;
}
return ret;
}
- ath10k_info("MSI interrupt handling\n");
+ ath10k_dbg(ATH10K_DBG_BOOT, "MSI interrupt handling\n");
return 0;
}
PCIE_INTR_ENABLE_ADDRESS));
ath10k_pci_sleep(ar);
- ath10k_info("legacy interrupt handling\n");
+ ath10k_dbg(ATH10K_DBG_BOOT, "legacy interrupt handling\n");
return 0;
}
if (ret == 0)
goto exit;
- ath10k_warn("MSI-X didn't succeed (%d), trying MSI\n", ret);
+ ath10k_dbg(ATH10K_DBG_BOOT,
+ "MSI-X didn't succeed (%d), trying MSI\n", ret);
num = 1;
}
if (ret == 0)
goto exit;
- ath10k_warn("MSI didn't succeed (%d), trying legacy INTR\n",
- ret);
+ ath10k_dbg(ATH10K_DBG_BOOT,
+ "MSI didn't succeed (%d), trying legacy INTR\n",
+ ret);
num = 0;
}