summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-09-23 02:52:28 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-09-23 02:52:28 +0000
commit95f09819c403bc99b10a2110b5e8dc6bc9e451cf (patch)
treeea260d936513c7f4feb530fed3a0dd55a73ace1a /sys/arch
parentc56829064cbf8cabbd04c57e426c286ef4311449 (diff)
Declare machdep.conssole_device sysctl.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme88k/include/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/include/cpu.h b/sys/arch/mvme88k/include/cpu.h
index 998ab509111..f03531ad1dc 100644
--- a/sys/arch/mvme88k/include/cpu.h
+++ b/sys/arch/mvme88k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.11 2001/08/12 12:03:02 heko Exp $ */
+/* $OpenBSD: cpu.h,v 1.12 2001/09/23 02:52:27 miod Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Copyright (c) 1992, 1993
@@ -48,10 +48,12 @@
/*
* CTL_MACHDEP definitinos.
*/
-#define CPU_MAXID 1 /* no valid machdep ids */
+#define CPU_CONSDEV 1 /* dev_t: console terminal device */
+#define CPU_MAXID 2 /* number of valid machdep ids */
#define CTL_MACHDEP_NAMES { \
{ 0, 0 }, \
+ { "console_device", CTLTYPE_STRUCT }, \
}
#ifdef _KERNEL