Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386 add wsfont pseudo device



details:   https://anonhg.NetBSD.org/src/rev/ebc02c695093
branches:  trunk
changeset: 514473:ebc02c695093
user:      drochner <drochner%NetBSD.org@localhost>
date:      Mon Sep 03 17:18:22 2001 +0000

description:
add wsfont pseudo device

diffstat:

 sys/arch/i386/conf/files.i386 |  3 ++-
 sys/arch/i386/i386/conf.c     |  6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 88353a968be8 -r ebc02c695093 sys/arch/i386/conf/files.i386
--- a/sys/arch/i386/conf/files.i386     Mon Sep 03 17:14:49 2001 +0000
+++ b/sys/arch/i386/conf/files.i386     Mon Sep 03 17:18:22 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i386,v 1.190 2001/08/27 08:21:20 haya Exp $
+#      $NetBSD: files.i386,v 1.191 2001/09/03 17:18:22 drochner Exp $
 #
 # new style config file for i386 architecture
 #
@@ -245,6 +245,7 @@
 file   arch/i386/isa/pms.c             opms | opms_hack | opms_pckbc needs-flag
 
 include        "dev/wscons/files.wscons"
+include        "dev/wsfont/files.wsfont"
 
 include        "dev/pckbc/files.pckbc"
 
diff -r 88353a968be8 -r ebc02c695093 sys/arch/i386/i386/conf.c
--- a/sys/arch/i386/i386/conf.c Mon Sep 03 17:14:49 2001 +0000
+++ b/sys/arch/i386/i386/conf.c Mon Sep 03 17:18:22 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.143 2001/08/01 20:54:17 ad Exp $    */
+/*     $NetBSD: conf.c,v 1.144 2001/09/03 17:18:22 drochner Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -237,6 +237,9 @@
 
 #include <altq/altqconf.h>
 
+#include "wsfont.h"
+cdev_decl(wsfont);
+
 struct cdevsw  cdevsw[] =
 {
        cdev_cn_init(1,cn),             /* 0: virtual console */
@@ -327,6 +330,7 @@
        cdev__oci_init(NMLX,mlx),       /* 78: Mylex DAC960 control interface */
        cdev_disk_init(NED_MCA,edmca),  /* 79: PS/2 ESDI disk */
        cdev__oci_init(NMLY,mly),       /* 80: Newer Mylex control interface */
+       cdev__oci_init(NWSFONT,wsfont), /* 81: wsfont pseudo-device */
 };
 int    nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
 



Home | Main Index | Thread Index | Old Index