From: AceLan Kao <acelan.kao@canonical.com>
To: "Rafael J. Wysocki" <rjw@rjwysocki.net>,
Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] ACPI: Override rev for DELL Latitude 3350
Date: Mon, 21 Nov 2016 10:07:05 +0800 [thread overview]
Message-ID: <1479694025-13372-1-git-send-email-acelan.kao@canonical.com> (raw)
The ethernet network fails to work on DELL Latitude 3350 after this commit
ea7d521 Revert 'Revert "ACPICA: Permanently set _REV to the value '2'."'
dmesg shows
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control
pci 0000:00:1c.2: PCI INT C: failed to register GSI
pci 0000:00:1c.2: Error enabling bridge (-16), continuing
r8169 0000:03:00.0: PCI INT A: failed to register GSI
r8169 0000:03:00.0 (unnamed net_device) (uninitialized): enable failure
r8169: probe of 0000:03:00.0 failed with error -16
So override the ACPI _REV for this machine to fix the issue.
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
---
drivers/acpi/blacklist.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index bdc67ba..a8c10f2 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -160,6 +160,14 @@ static struct dmi_system_id acpi_rev_dmi_table[] __initdata = {
DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9343"),
},
},
+ {
+ .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
{}
};
--
2.7.4
next reply other threads:[~2016-11-21 2:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-21 2:07 AceLan Kao [this message]
2016-11-21 22:43 ` Rafael J. Wysocki
2016-11-22 2:51 ` AceLan Kao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1479694025-13372-1-git-send-email-acelan.kao@canonical.com \
--to=acelan.kao@canonical.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®