Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm32/arm32 Added dependency for "VIDCCONSOLE" (old...



details:   https://anonhg.NetBSD.org/src/rev/fab37cce42ab
branches:  trunk
changeset: 507346:fab37cce42ab
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Mar 20 15:39:16 2001 +0000

description:
Added dependency for "VIDCCONSOLE" (old console code) for the physcon char
device on console (makedev(4,0)) to aid in wscons transition.

diffstat:

 sys/arch/arm32/arm32/conf.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 657de5e45063 -r fab37cce42ab sys/arch/arm32/arm32/conf.c
--- a/sys/arch/arm32/arm32/conf.c       Tue Mar 20 13:38:26 2001 +0000
+++ b/sys/arch/arm32/arm32/conf.c       Tue Mar 20 15:39:16 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.49 2001/03/03 18:04:34 bjh21 Exp $  */
+/*     $NetBSD: conf.c,v 1.50 2001/03/20 15:39:16 reinoud Exp $        */
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -192,7 +192,8 @@
 cdev_decl(i4brbch);
 cdev_decl(i4btel);
 
-#include "vt.h"                                 
+#include "vt.h"
+#include "vidcconsole.h"                                 
 #include "pty.h"
 #define ptstty          ptytty
 #define ptsioctl        ptyioctl
@@ -248,7 +249,7 @@
        cdev_swap_init(1, sw),          /*  1: /dev/drum (swap pseudo-device) */
        cdev_cn_init(1, cn),            /*  2: virtual console */
        cdev_ctty_init(1,ctty),         /*  3: controlling terminal */
-#if    (defined(RISCPC) || defined(RC7500))
+#if    (defined(RISCPC) || defined(RC7500)) && (NVIDCCONSOLE>0)
        cdev_physcon_init(NVT, physcon),/*  4: RPC console */
 #elif  defined(SHARK) && (NPC > 0)
        cdev_pc_init(1,pc),             /*  4: PC console */



Home | Main Index | Thread Index | Old Index