summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include/cpu.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-05-18 13:31:13 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-05-18 13:31:13 +0000
commitf91d6bab7f52d69c80c813778f169971cee7a861 (patch)
tree841c9dcbe91b2d28cfb48c32f9b4809fd385f9b1 /sys/arch/sparc/include/cpu.h
parent5f6bc7799cd98587b12f1c087a71a3c729eef23c (diff)
add machdep.vsyncblank sysctl for controlling whether vsync is disabled
when the monitor is blanked.
Diffstat (limited to 'sys/arch/sparc/include/cpu.h')
-rw-r--r--sys/arch/sparc/include/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc/include/cpu.h b/sys/arch/sparc/include/cpu.h
index 5ccf95a2502..c510fb680d1 100644
--- a/sys/arch/sparc/include/cpu.h
+++ b/sys/arch/sparc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.8 2000/02/21 21:05:58 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.9 2000/05/18 13:31:12 jason Exp $ */
/* $NetBSD: cpu.h,v 1.24 1997/03/15 22:25:15 pk Exp $ */
/*
@@ -52,11 +52,13 @@
* CTL_MACHDEP definitions.
*/
#define CPU_LED_BLINK 1 /* int: twiddle the power LED */
-#define CPU_MAXID 2 /* 1 valid machdep ID */
+#define CPU_VSYNCBLANK 2 /* int: turn off monitors in *blank */
+#define CPU_MAXID 3 /* 2 valid machdep IDs */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "led_blink", CTLTYPE_INT }, \
+ { "vsyncblank", CTLTYPE_INT }, \
}
#ifdef _KERNEL