Commit f0c41d20 authored by Tim Gardner's avatar Tim Gardner

UBUNTU: SAUCE: (no-up) mei_me: Add module parameter to disable MSI

mei_me.disable_msi = 1
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent bdfb009a
......@@ -40,6 +40,9 @@
#include "hw-me-regs.h"
#include "hw-me.h"
static bool disable_msi;
module_param(disable_msi, bool, 0);
/* mei_pci_tbl - PCI Device ID Table */
static const struct pci_device_id mei_me_pci_tbl[] = {
{MEI_PCI_DEVICE(MEI_DEV_ID_82946GZ, mei_me_legacy_cfg)},
......@@ -183,7 +186,8 @@ static int mei_me_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
err = -ENOMEM;
goto free_device;
}
pci_enable_msi(pdev);
if (!disable_msi)
pci_enable_msi(pdev);
/* request and enable interrupt */
irqflags = pci_dev_msi_enabled(pdev) ? IRQF_ONESHOT : IRQF_SHARED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment