summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-12-14 23:14:03 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-12-14 23:14:03 +0000
commit16033c42fba17412c23bf9a6f7973be8ec7f758d (patch)
treea081403cd6077d0e5eb5e5788f0dfa62850305c2 /sys/arch/sparc64
parent7b0105ff9d30d79b53b79f00956c697fd9668af5 (diff)
add wskbd, wsmouse, and wsmux cdev entries
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/conf.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index 37b97168a4d..c55ddc8f165 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.16 2001/12/11 23:19:02 miod Exp $ */
+/* $OpenBSD: conf.c,v 1.17 2001/12/14 23:14:02 jason Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -101,6 +101,9 @@
#define NFDC 0
#include "wsdisplay.h"
+#include "wskbd.h"
+#include "wsmouse.h"
+#include "wsmux.h"
#include "rd.h"
#include "ses.h"
@@ -234,9 +237,9 @@ struct cdevsw cdevsw[] =
cdev_tty_init(NSABTTY,sabtty), /* 77: sab82532 serial ports */
cdev_wsdisplay_init(NWSDISPLAY, /* 78: frame buffers, etc. */
wsdisplay),
- cdev_notdef(), /* 79 */
- cdev_notdef(), /* 80 */
- cdev_notdef(), /* 81 */
+ cdev_mouse_init(NWSKBD, wskbd), /* 79: keyboards */
+ cdev_mouse_init(NWSMOUSE, wsmouse), /* 80: mice */
+ cdev_mouse_init(NWSMUX, wsmux), /* 81: ws multiplexor */
cdev_notdef(), /* 82 */
cdev_notdef(), /* 83 */
cdev_notdef(), /* 84 */