summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-02-07 22:14:43 +0000
committermiod <miod@openbsd.org>2015-02-07 22:14:43 +0000
commit33cd02f02cc22731e8d60926be8cda824833f3e0 (patch)
treefe1e0d7f4bb0af0ae070f1f3ab02f06e0ddb81b9
parentFix a logic error when enabling MAC and reset the checksum report bit (diff)
downloadwireguard-openbsd-33cd02f02cc22731e8d60926be8cda824833f3e0.tar.xz
wireguard-openbsd-33cd02f02cc22731e8d60926be8cda824833f3e0.zip
APM_USER_HIBERNATE_REQ here too.
-rw-r--r--sys/arch/loongson/include/apmvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/apmvar.h b/sys/arch/loongson/include/apmvar.h
index 8ae70c55774..2d3bba93137 100644
--- a/sys/arch/loongson/include/apmvar.h
+++ b/sys/arch/loongson/include/apmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmvar.h,v 1.3 2012/03/26 16:21:34 deraadt Exp $ */
+/* $OpenBSD: apmvar.h,v 1.4 2015/02/07 22:14:43 miod Exp $ */
/*
* Copyright (c) 2001 Alexander Guy
@@ -67,6 +67,7 @@
#define APM_USER_SUSPEND_REQ 0x000A
#define APM_SYS_STANDBY_RESUME 0x000B
#define APM_CAPABILITY_CHANGE 0x000C /* apm v1.2 */
+#define APM_USER_HIBERNATE_REQ 0x000D
#define APM_EVENT_MASK 0xffff
#define APM_EVENT_COMPOSE(t,i) ((((i) & 0x7fff) << 16)|((t) & APM_EVENT_MASK))