From b7f041a89db02992d14dd443761f0da3dd3488e6 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Tue, 9 May 2000 02:19:04 +0000 Subject: [PATCH] Unhide dec_kn300_cons_init and don't make it something we call early. We'll call it later when, in the natural order of things, we configure the MCPCIA that has the EISA bus that a serial console and/or VGA and/or keyboard. --- sys/alpha/alpha/dec_kn300.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sys/alpha/alpha/dec_kn300.c b/sys/alpha/alpha/dec_kn300.c index 9b924f23fcb4..8400f57d5ef9 100644 --- a/sys/alpha/alpha/dec_kn300.c +++ b/sys/alpha/alpha/dec_kn300.c @@ -63,7 +63,7 @@ static int comcnrate = CONSPEED; void dec_kn300_init __P((void)); -static void dec_kn300_cons_init __P((void)); +void dec_kn300_cons_init __P((void)); #define ALPHASERVER_4100 "AlphaServer 4100" @@ -96,7 +96,6 @@ dec_kn300_init() } platform.iobus = "mcbus"; - platform.cons_init = dec_kn300_cons_init; } extern int comconsole; @@ -104,10 +103,8 @@ extern int comconsole; void dec_kn300_cons_init() { -#if 0 struct ctb *ctb; -/* mcpcia_init(); */ #ifdef DDB siogdbattach(0x2f8, 57600); #endif @@ -139,9 +136,6 @@ dec_kn300_cons_init() default: printf("ctb->ctb_term_type = 0x%lx\n", ctb->ctb_term_type); printf("ctb->ctb_turboslot = 0x%lx\n", ctb->ctb_turboslot); - - panic("consinit: unknown console type %ld\n", - ctb->ctb_term_type); + panic("consinit: unknown cons type %ld\n", ctb->ctb_term_type); } -#endif }