Blame SOURCES/0004-sky2-Disable-MSI-on-ASUS-P6T.patch

Kmods SIG 6dd491
From a261e3797506bd561700be643fe1a85bf81e9661 Mon Sep 17 00:00:00 2001
Kmods SIG 6dd491
From: Takashi Iwai <tiwai@suse.de>
Kmods SIG 6dd491
Date: Tue, 23 Jul 2019 17:15:25 +0200
Kmods SIG 6dd491
Subject: [Backport a261e3797506] sky2: Disable MSI on ASUS P6T
Kmods SIG 6dd491
Kmods SIG 6dd491
The onboard sky2 NIC on ASUS P6T WS PRO doesn't work after PM resume
Kmods SIG 6dd491
due to the infamous IRQ problem.  Disabling MSI works around it, so
Kmods SIG 6dd491
let's add it to the blacklist.
Kmods SIG 6dd491
Kmods SIG 6dd491
Unfortunately the BIOS on the machine doesn't fill the standard
Kmods SIG 6dd491
DMI_SYS_* entry, so we pick up DMI_BOARD_* entries instead.
Kmods SIG 6dd491
Kmods SIG 6dd491
BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1142496
Kmods SIG 6dd491
Reported-and-tested-by: Marcus Seyfarth <m.seyfarth@gmail.com>
Kmods SIG 6dd491
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Kmods SIG 6dd491
Signed-off-by: David S. Miller <davem@davemloft.net>
Kmods SIG 6dd491
---
Kmods SIG 6dd491
 src/sky2.c | 7 +++++++
Kmods SIG 6dd491
 1 file changed, 7 insertions(+)
Kmods SIG 6dd491
Kmods SIG 6dd491
diff --git a/src/sky2.c b/src/sky2.c
Kmods SIG 6dd491
index f518312ffe695470bf1dd4239d9e2b1b08e5ea54..a01c75ede871a378ac6e32e7b939c4bdd1d112a6 100644
Kmods SIG 6dd491
--- a/src/sky2.c
Kmods SIG 6dd491
+++ b/src/sky2.c
Kmods SIG 6dd491
@@ -4924,6 +4924,13 @@ static const struct dmi_system_id msi_blacklist[] = {
Kmods SIG 6dd491
 			DMI_MATCH(DMI_PRODUCT_NAME, "P5W DH Deluxe"),
Kmods SIG 6dd491
 		},
Kmods SIG 6dd491
 	},
Kmods SIG 6dd491
+	{
Kmods SIG 6dd491
+		.ident = "ASUS P6T",
Kmods SIG 6dd491
+		.matches = {
Kmods SIG 6dd491
+			DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK Computer INC."),
Kmods SIG 6dd491
+			DMI_MATCH(DMI_BOARD_NAME, "P6T"),
Kmods SIG 6dd491
+		},
Kmods SIG 6dd491
+	},
Kmods SIG 6dd491
 	{}
Kmods SIG 6dd491
 };
Kmods SIG 6dd491
 
Kmods SIG 6dd491
-- 
Kmods SIG 6dd491
2.31.1
Kmods SIG 6dd491