<p>Tobias Diedrich has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22807">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">intel/bd82x6x: Add GBE ACPI device<br><br>Tested on Intel NUC DCP847SKE:<br>systemd default network interface name changes from enp0s25 to eno1,<br>which matches the Intel BIOS (though there it is due to SMBIOS data).<br><br>Change-Id: I02613169498eed3d6d9ea5963ea3c2c08a40ef99<br>Signed-off-by: Tobias Diedrich <ranma+coreboot@tdiedrich.de><br>---<br>A src/southbridge/intel/bd82x6x/acpi/gbe.asl<br>M src/southbridge/intel/bd82x6x/acpi/pch.asl<br>2 files changed, 63 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/22807/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/southbridge/intel/bd82x6x/acpi/gbe.asl b/src/southbridge/intel/bd82x6x/acpi/gbe.asl<br>new file mode 100644<br>index 0000000..09a8318<br>--- /dev/null<br>+++ b/src/southbridge/intel/bd82x6x/acpi/gbe.asl<br>@@ -0,0 +1,60 @@<br>+/*<br>+ * This file is part of the coreboot project.<br>+ *<br>+ * Copyright (C) 2017 Tobias Diedrich <ranma+coreboot@tdiedrich.de><br>+ *<br>+ * This program is free software; you can redistribute it and/or<br>+ * modify it under the terms of the GNU General Public License as<br>+ * published by the Free Software Foundation; version 2 of<br>+ * the License.<br>+ *<br>+ * This program is distributed in the hope that it will be useful,<br>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of<br>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>+ * GNU General Public License for more details.<br>+ */<br>+<br>+/* Intel PCH Gigabit Ethernet 0:19.0 */<br>+<br>+Device (GLAN)<br>+{<br>+ Name (_ADR, 0x00190000)<br>+<br>+ // Power Resources for Wake<br>+ Name (_PRW, Package(){<br>+ 13, // Bit 13 of GPE<br>+ 4 // Can wake from S4 state.<br>+ })<br>+<br>+ /*<br>+ * Device Specific Method<br>+ * Arg0 - UUID<br>+ * Arg1 - Revision<br>+ * Arg2 - Function Index<br>+ * Arg3 - Function Arg<br>+ */<br>+ Method (_DSM, 4, Serialized) // _DSM: Device-Specific Method<br>+ {<br>+ // Device label GUID, used by systemd for naming.<br>+ If (Arg0 == ToUUID ("E5C937D0-3553-4D7A-9117-EA4D19C3434D"))<br>+ {<br>+ Switch (ToInteger(Arg2)) {<br>+ // Function 0 (Report supported functions)<br>+ Case (0) {<br>+ // Supports functions 7 & 0<br>+ Return (Buffer() { 0x81 })<br>+ }<br>+ // Function 7 (DEVICE_LABEL_DSM)<br>+ Case (7) {<br>+ Return (Package(){<br>+ 1, // Instance number<br>+ "LAN", // Optional name<br>+ })<br>+ }<br>+ }<br>+ }<br>+<br>+ // No functions supported for the given GUID<br>+ Return (Buffer() { 0 })<br>+ }<br>+}<br>diff --git a/src/southbridge/intel/bd82x6x/acpi/pch.asl b/src/southbridge/intel/bd82x6x/acpi/pch.asl<br>index cfa27d2..7d8d5df 100644<br>--- a/src/southbridge/intel/bd82x6x/acpi/pch.asl<br>+++ b/src/southbridge/intel/bd82x6x/acpi/pch.asl<br>@@ -234,6 +234,9 @@<br> }<br> }<br> <br>+// Gigabit Ethernet 0:19.0<br>+#include "gbe.asl"<br>+<br> // High Definition Audio (Azalia) 0:1b.0<br> #include "audio.asl"<br> <br></pre><p>To view, visit <a href="https://review.coreboot.org/22807">change 22807</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22807"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I02613169498eed3d6d9ea5963ea3c2c08a40ef99 </div>
<div style="display:none"> Gerrit-Change-Number: 22807 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Tobias Diedrich <ranma+coreboot@tdiedrich.de> </div>