summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/arm/include/cpu.h')
-rw-r--r--sys/arch/arm/include/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/arm/include/cpu.h b/sys/arch/arm/include/cpu.h
index e82c6a761e2..9af743192f8 100644
--- a/sys/arch/arm/include/cpu.h
+++ b/sys/arch/arm/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.43 2017/01/06 00:06:02 jsg Exp $ */
+/* $OpenBSD: cpu.h,v 1.44 2017/03/02 10:38:10 natano Exp $ */
/* $NetBSD: cpu.h,v 1.34 2003/06/23 11:01:08 martin Exp $ */
/*
@@ -66,7 +66,8 @@
/* 10 formerly struct: CPU_ZTSSCALE */
#define CPU_MAXSPEED 11 /* int: number of valid machdep ids */
#define CPU_LIDSUSPEND 12 /* int: closing lid causes suspend */
-#define CPU_MAXID 13 /* number of valid machdep ids */
+#define CPU_LIDACTION 13 /* action caused by lid close */
+#define CPU_MAXID 14 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
@@ -82,6 +83,7 @@
{ 0, 0 }, \
{ "maxspeed", CTLTYPE_INT }, \
{ "lidsuspend", CTLTYPE_INT } \
+ { "lidaction", CTLTYPE_INT } \
}
#ifdef _KERNEL