summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-02-01 21:48:24 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-02-01 21:48:24 +0000
commit3e1b9f4bfaf7e368b07e31c7ea2af2d663fa6c83 (patch)
treeafeb8523620c6fa2455f0901bf6d2507e5c639c6 /sys/arch/sparc64/include
parentc6e798b53d04b34233a34e564b5dba6a0d500e0d (diff)
Clean up auxio a bit and add machdep.led_blink sysctl (like sparc),
portions from NetBSD.
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/cpu.h b/sys/arch/sparc64/include/cpu.h
index 04b9d78b71f..9f346a0c390 100644
--- a/sys/arch/sparc64/include/cpu.h
+++ b/sys/arch/sparc64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.6 2001/11/06 18:41:10 art Exp $ */
+/* $OpenBSD: cpu.h,v 1.7 2002/02/01 21:48:23 jason Exp $ */
/* $NetBSD: cpu.h,v 1.28 2001/06/14 22:56:58 thorpej Exp $ */
/*
@@ -52,11 +52,13 @@
* CTL_MACHDEP definitions.
*/
#define CPU_BOOTED_KERNEL 1 /* string: booted kernel name */
-#define CPU_MAXID 2 /* number of valid machdep ids */
+#define CPU_LED_BLINK 2 /* int: blink leds? */
+#define CPU_MAXID 3 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
{ "booted_kernel", CTLTYPE_STRING }, \
+ { "led_blink", CTLTYPE_INT }, \
}
#ifdef _KERNEL