summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/include/apmvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/loongson/include/apmvar.h')
-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 0930f0340b9..8ae70c55774 100644
--- a/sys/arch/loongson/include/apmvar.h
+++ b/sys/arch/loongson/include/apmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmvar.h,v 1.2 2011/03/23 16:54:35 pirofti Exp $ */
+/* $OpenBSD: apmvar.h,v 1.3 2012/03/26 16:21:34 deraadt Exp $ */
/*
* Copyright (c) 2001 Alexander Guy
@@ -116,6 +116,7 @@ struct apm_ctl {
if the percentage changes */
#define APM_IOC_STANDBY_REQ _IO('A', 7) /* request standby */
#define APM_IOC_SUSPEND_REQ _IO('A', 8) /* request suspend */
+#define APM_IOC_HIBERNATE _IO('A', 9) /* put system into hibernate */
#ifdef _KERNEL
void apm_setinfohook(int (*)(struct apm_power_info *));