Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Need to be able to turn off pcons.



details:   https://anonhg.NetBSD.org/src/rev/f977cc532820
branches:  trunk
changeset: 486484:f977cc532820
user:      eeh <eeh%NetBSD.org@localhost>
date:      Tue May 23 05:11:28 2000 +0000

description:
Need to be able to turn off pcons.

diffstat:

 sys/arch/sparc64/sparc64/conf.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 6da2bf2e7701 -r f977cc532820 sys/arch/sparc64/sparc64/conf.c
--- a/sys/arch/sparc64/sparc64/conf.c   Tue May 23 05:01:56 2000 +0000
+++ b/sys/arch/sparc64/sparc64/conf.c   Tue May 23 05:11:28 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.7 2000/05/19 05:26:18 eeh Exp $ */
+/*     $NetBSD: conf.c,v 1.8 2000/05/23 05:11:28 eeh Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -74,6 +74,7 @@
 #include "kbd.h"
 #include "ms.h"
 #include "zstty.h"
+#include "pcons.h"
 
 #include "fdc.h"               /* has NFDC and NFD; see files.sparc */
 #include "bwtwo.h"
@@ -244,7 +245,7 @@
        cdev_rnd_init(NRND,rnd),        /* 119: random source pseudo-device */
        cdev_scsibus_init(NSCSIBUS,scsibus), /* 120: SCSI bus */
        cdev_disk_init(NRAID,raid),     /* 121: RAIDframe disk driver */
-       cdev_tty_init(1,pcons),         /* 122: PROM console */
+       cdev_tty_init(NPCONS,pcons),    /* 122: PROM console */
 };
 int    nchrdev = sizeof(cdevsw) / sizeof(cdevsw[0]);
 



Home | Main Index | Thread Index | Old Index