Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/prep Add wsfont pseudo-device.



details:   https://anonhg.NetBSD.org/src/rev/cb22ade450ce
branches:  trunk
changeset: 519130:cb22ade450ce
user:      kleink <kleink%NetBSD.org@localhost>
date:      Tue Dec 11 20:49:18 2001 +0000

description:
Add wsfont pseudo-device.

diffstat:

 sys/arch/prep/conf/GENERIC |  9 +++++----
 sys/arch/prep/prep/conf.c  |  6 +++++-
 2 files changed, 10 insertions(+), 5 deletions(-)

diffs (60 lines):

diff -r 116c24795cf7 -r cb22ade450ce sys/arch/prep/conf/GENERIC
--- a/sys/arch/prep/conf/GENERIC        Tue Dec 11 20:45:31 2001 +0000
+++ b/sys/arch/prep/conf/GENERIC        Tue Dec 11 20:49:18 2001 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: GENERIC,v 1.34 2001/11/23 05:00:28 atatat Exp $
+#      $NetBSD: GENERIC,v 1.35 2001/12/11 20:49:18 kleink Exp $
 #
 #      GENERIC -- everything that's currently supported
 #
 
 include "arch/prep/conf/std.prep"
 
-#ident         "GENERIC-$Revision: 1.34 $"
+#ident         "GENERIC-$Revision: 1.35 $"
 
 maxusers       32
 
@@ -429,5 +429,6 @@
 # a pseudo device needed for Coda      # also needs CODA (above)
 #pseudo-device vcoda           4       # coda minicache <-> venus comm.
 
-# mouse & keyboard multiplexor pseudo-devices
-pseudo-device  wsmux
+# wscons pseudo-devices
+pseudo-device  wsmux                   # mouse & keyboard multiplexor
+pseudo-device  wsfont
diff -r 116c24795cf7 -r cb22ade450ce sys/arch/prep/prep/conf.c
--- a/sys/arch/prep/prep/conf.c Tue Dec 11 20:45:31 2001 +0000
+++ b/sys/arch/prep/prep/conf.c Tue Dec 11 20:49:18 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.5 2001/03/21 22:25:55 lukem Exp $   */
+/*     $NetBSD: conf.c,v 1.6 2001/12/11 20:49:18 kleink Exp $  */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -166,6 +166,8 @@
 cdev_decl(wsmouse);
 #include "wsmux.h"
 cdev_decl(wsmux);
+#include "wsfont.h"
+cdev_decl(wsfont);
 
 #include "scsibus.h"
 cdev_decl(scsibus);
@@ -256,6 +258,7 @@
        cdev_i4brbch_init(NI4BRBCH, i4brbch),   /* 68: i4b raw b-channel access */
        cdev_i4btrc_init(NI4BTRC, i4btrc),      /* 69: i4b trace device */
        cdev_i4btel_init(NI4BTEL, i4btel),      /* 70: i4b phone device */
+       cdev__oci_init(NWSFONT,wsfont), /* 71: wsfont pseudo-device */
 };
 int    nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
 
@@ -368,6 +371,7 @@
        /* 68 */        NODEV,
        /* 69 */        NODEV,
        /* 70 */        NODEV,
+       /* 71 */        NODEV,
 };
 
 /*



Home | Main Index | Thread Index | Old Index