diff mbox series

[7/8] UBUNTU: SAUCE: ath9k: set use_msi=1 on Dell Inspiron 3576

Message ID 1509002282-31921-8-git-send-email-acelan.kao@canonical.com
State New
Headers show
Series ath9k: add MSI support and set use_msi by default | expand

Commit Message

AceLan Kao Oct. 26, 2017, 7:18 a.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1727228

BIOS on Dell Inspiron 3576 blocks legacy interrupts
(INTx), and only allows MSI for WLAN device.

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
---
 drivers/net/wireless/ath/ath9k/init.c | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c
index 1b15273..fbdda28 100644
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
@@ -144,6 +144,14 @@  static const struct dmi_system_id ath9k_quirks[] __initconst = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 14-3473"),
 		},
 	},
+	{
+		.callback = set_use_msi,
+		.ident = "Dell Inspiron 3576",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 3576"),
+		},
+	},
 	{}
 };