Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/sys Pull up rev 1.53:
details: https://anonhg.NetBSD.org/src/rev/1bb4ecb54b0f
branches: netbsd-1-5
changeset: 488627:1bb4ecb54b0f
user: simonb <simonb%NetBSD.org@localhost>
date: Sat Jul 22 04:36:19 2000 +0000
description:
Pull up rev 1.53:
Add a KERN_CONSDEV sysctl that returns cn_tab->cn_dev (if cn_tab is not
NULL).
diffstat:
sys/sys/sysctl.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 5f3e04b9998d -r 1bb4ecb54b0f sys/sys/sysctl.h
--- a/sys/sys/sysctl.h Sat Jul 22 01:56:32 2000 +0000
+++ b/sys/sys/sysctl.h Sat Jul 22 04:36:19 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.h,v 1.51.2.1 2000/07/14 18:10:51 thorpej Exp $ */
+/* $NetBSD: sysctl.h,v 1.51.2.2 2000/07/22 04:36:19 simonb Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -165,7 +165,8 @@
#define KERN_CP_TIME 51 /* struct: cpu time counters */
#define KERN_SYSVIPC_INFO 52 /* number of valid kern ids */
#define KERN_MSGBUF 53 /* kernel message buffer */
-#define KERN_MAXID 54 /* number of valid kern ids */
+#define KERN_CONSDEV 54 /* dev_t: console terminal device */
+#define KERN_MAXID 55 /* number of valid kern ids */
#define CTL_KERN_NAMES { \
{ 0, 0 }, \
@@ -222,6 +223,7 @@
{ "cp_time", CTLTYPE_STRUCT }, \
{ "sysvipc_info", CTLTYPE_STRUCT }, \
{ "msgbuf", CTLTYPE_STRUCT }, \
+ { "consdev", CTLTYPE_STRUCT }, \
}
/*
Home |
Main Index |
Thread Index |
Old Index