Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/alpha Always call the platform's cons_init ro...



details:   https://anonhg.NetBSD.org/src/rev/ae09d53e7314
branches:  trunk
changeset: 471937:ae09d53e7314
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Apr 15 22:15:05 1999 +0000

description:
Always call the platform's cons_init routine (note, it may not do anything,
but it's a very handy place to put console-related debugging code in,
even if we're still using the PROM console).

diffstat:

 sys/arch/alpha/alpha/machdep.c |  11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r e724a73b8df8 -r ae09d53e7314 sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c    Thu Apr 15 22:13:41 1999 +0000
+++ b/sys/arch/alpha/alpha/machdep.c    Thu Apr 15 22:15:05 1999 +0000
@@ -1,7 +1,7 @@
-/* $NetBSD: machdep.c,v 1.168 1999/04/11 04:04:04 chs Exp $ */
+/* $NetBSD: machdep.c,v 1.169 1999/04/15 22:15:05 thorpej Exp $ */
 
 /*-
- * Copyright (c) 1998 The NetBSD Foundation, Inc.
+ * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
  * All rights reserved.
  *
  * This code is derived from software contributed to The NetBSD Foundation
@@ -82,7 +82,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.168 1999/04/11 04:04:04 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.169 1999/04/15 22:15:05 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -444,10 +444,7 @@
         * Initalize the real console, so the the bootstrap console is
         * no longer necessary.
         */
-#ifdef _PMAP_MAY_USE_PROM_CONSOLE
-       if (!pmap_uses_prom_console())
-#endif
-               (*platform.cons_init)();
+       (*platform.cons_init)();
 
 #ifdef DIAGNOSTIC
        /* Paranoid sanity checking */



Home | Main Index | Thread Index | Old Index