ACPI / blacklist: Make Dell Latitude 3350 ethernet work
authorMichael Pobega <mpobega@neverware.com>
Fri, 17 Mar 2017 00:48:32 +0000 (00:48 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Mar 2017 11:43:38 +0000 (12:43 +0100)
[ Upstream commit 708f5dcc21ae9b35f395865fc154b0105baf4de4 ]

The Dell Latitude 3350's ethernet card attempts to use a reserved
IRQ (18), resulting in ACPI being unable to enable the ethernet.

Adding it to acpi_rev_dmi_table[] helps to work around this problem.

Signed-off-by: Michael Pobega <mpobega@neverware.com>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/blacklist.c

index 4f87fd7..4421f7c 100644 (file)
@@ -176,6 +176,18 @@ static struct dmi_system_id acpi_rev_dmi_table[] __initdata = {
                      DMI_MATCH(DMI_PRODUCT_NAME, "Precision 3520"),
                },
        },
+       /*
+        * Resolves a quirk with the Dell Latitude 3350 that
+        * causes the ethernet adapter to not function.
+        */
+       {
+        .callback = dmi_enable_rev_override,
+        .ident = "DELL Latitude 3350",
+        .matches = {
+                     DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                     DMI_MATCH(DMI_PRODUCT_NAME, "Latitude 3350"),
+               },
+       },
 #endif
        {}
 };