aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/net/chip.h
diff options
context:
space:
mode:
authorGaggery Tsai <gaggery.tsai@intel.com>2017-11-16 17:21:23 +0800
committerFurquan Shaikh <furquan@google.com>2017-11-27 02:44:02 +0000
commit6919a9376e1fefc1072b638d754588d8ba287aed (patch)
tree6c093177dc8d9ec48fda7d6dce17d1a29905f2de /src/drivers/net/chip.h
parent73add175cd866a5acd2bddb662080d6b03179d8b (diff)
drivers/net: add SSDT ACPI declaration and WOL feature
This patch adds SSDT ACPI generator and declares _UID, _HID, _DDN and also _PRW for WOL feature. Besides, adds a wake variable in chip information. BUG=b:69290148 BRANCH=None TEST=Add register "wake" = "GPE0_PCI_EXP" in devicetree under r8168 chip driver && dump SSDT to make sure _UID, _HID, _DDN and _PRW are filled correctly && put system into S3 && sudo etherwake -i eth0 $MAC to make sure the system could be woken up by WOL package. Change-Id: Ibc9115e8a08ba2bfcb3ee1e34c73cf1976a6ba2d Signed-off-by: Gaggery Tsai <gaggery.tsai@intel.com> Reviewed-on: https://review.coreboot.org/22480 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/drivers/net/chip.h')
-rw-r--r--src/drivers/net/chip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/net/chip.h b/src/drivers/net/chip.h
index 7a37cdedb9..8e8c02b002 100644
--- a/src/drivers/net/chip.h
+++ b/src/drivers/net/chip.h
@@ -16,6 +16,7 @@
struct drivers_net_config {
uint16_t customized_leds;
+ unsigned wake; /* Wake pin for ACPI _PRW */
};
#endif /* __DRIVERS_R8168_CHIP_H__ */