Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips Add wsmux device which is real device in /dev.
details: https://anonhg.NetBSD.org/src/rev/5017247b23d2
branches: trunk
changeset: 483543:5017247b23d2
user: takemura <takemura%NetBSD.org@localhost>
date: Sun Mar 12 13:46:27 2000 +0000
description:
Add wsmux device which is real device in /dev.
diffstat:
sys/arch/hpcmips/conf/GENERIC | 5 +++--
sys/arch/hpcmips/hpcmips/conf.c | 11 ++++++++++-
2 files changed, 13 insertions(+), 3 deletions(-)
diffs (57 lines):
diff -r 64497661f691 -r 5017247b23d2 sys/arch/hpcmips/conf/GENERIC
--- a/sys/arch/hpcmips/conf/GENERIC Sun Mar 12 12:16:49 2000 +0000
+++ b/sys/arch/hpcmips/conf/GENERIC Sun Mar 12 13:46:27 2000 +0000
@@ -2,11 +2,11 @@
# Distribution kernel (any model) kernel config file
#
-# $NetBSD: GENERIC,v 1.36 2000/03/12 12:08:16 takemura Exp $
+# $NetBSD: GENERIC,v 1.37 2000/03/12 13:46:27 takemura Exp $
#
include "arch/hpcmips/conf/std.hpcmips"
-#ident "GENERIC-$Revision: 1.36 $"
+#ident "GENERIC-$Revision: 1.37 $"
maxusers 8
@@ -299,6 +299,7 @@
pseudo-device ccd 4 # concatenated disks
pseudo-device biconsdev 1 # build-in console device
+pseudo-device wsmux 2 # mouse & keyboard multiplexor
# for IPv6
pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
diff -r 64497661f691 -r 5017247b23d2 sys/arch/hpcmips/hpcmips/conf.c
--- a/sys/arch/hpcmips/hpcmips/conf.c Sun Mar 12 12:16:49 2000 +0000
+++ b/sys/arch/hpcmips/hpcmips/conf.c Sun Mar 12 13:46:27 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: conf.c,v 1.4 2000/03/03 19:54:40 uch Exp $ */
+/* $NetBSD: conf.c,v 1.5 2000/03/12 13:46:29 takemura Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -153,6 +153,8 @@
cdev_decl(wskbd);
#include "wsmouse.h"
cdev_decl(wsmouse);
+#include "wsmux.h"
+cdev_decl(wsmux);
#if notyet
/* USB */
@@ -235,6 +237,13 @@
#endif
#if notyet
cdev_tty_init(NUCOM, ucom), /* 37: USB tty */
+#else
+ cdev_notdef(),
+#endif
+#if NWSMUX > 0
+ cdev_mouse_init(NWSMUX, wsmux), /* 38: ws multiplexor */
+#else
+ cdev_notdef(),
#endif
};
Home |
Main Index |
Thread Index |
Old Index