UBUNTU: SAUCE: (no-up) mei_me: Add module parameter to disable MSI
mei_me.disable_msi = 1 Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
1eb2baa09c
commit
2cfd6bb6ad
@@ -24,6 +24,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_ICH_CFG)},
|
||||
@@ -216,7 +219,8 @@ static int mei_me_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
||||
hw->mem_addr = pcim_iomap_table(pdev)[0];
|
||||
hw->read_fws = mei_me_read_fws;
|
||||
|
||||
pci_enable_msi(pdev);
|
||||
if (!disable_msi)
|
||||
pci_enable_msi(pdev);
|
||||
|
||||
hw->irq = pdev->irq;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user