From 4b537fb8074aef1cc7deb96e394b3802bde68805 Mon Sep 17 00:00:00 2001 From: jonathan Date: Sun, 19 Oct 1997 10:25:52 +0000 Subject: [PATCH] Warn user if we fail over from framebuffer console to serial console when no supported framebuffer is found. --- sys/arch/pmax/dev/promio.c | 10 ++++++++-- sys/arch/pmax/pmax/cpu_cons.c | 10 ++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/sys/arch/pmax/dev/promio.c b/sys/arch/pmax/dev/promio.c index ce1d2edc8c5f..cbf9b4f26dde 100644 --- a/sys/arch/pmax/dev/promio.c +++ b/sys/arch/pmax/dev/promio.c @@ -1,4 +1,4 @@ -/* $NetBSD: promio.c,v 1.19 1997/06/16 01:45:30 jonathan Exp $ */ +/* $NetBSD: promio.c,v 1.20 1997/10/19 10:25:52 jonathan Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -42,6 +42,9 @@ * @(#)cons.c 8.2 (Berkeley) 1/11/94 */ +#include /* RCS ID & Copyright macro defns */ +__KERNEL_RCSID(0, "$NetBSD: promio.c,v 1.20 1997/10/19 10:25:52 jonathan Exp $"); + #include #include #include @@ -303,7 +306,10 @@ consinit() return; } else #endif - printf("No crt console device in slot %d\n", crt); + { + printf("No supported console device in slot %d. ", crt); + printf("Switching over to serial console!\n"); + } } diff --git a/sys/arch/pmax/pmax/cpu_cons.c b/sys/arch/pmax/pmax/cpu_cons.c index aeda7fdc76c1..6455a43d7a0f 100644 --- a/sys/arch/pmax/pmax/cpu_cons.c +++ b/sys/arch/pmax/pmax/cpu_cons.c @@ -1,4 +1,4 @@ -/* $NetBSD: cpu_cons.c,v 1.19 1997/06/16 01:45:30 jonathan Exp $ */ +/* $NetBSD: cpu_cons.c,v 1.20 1997/10/19 10:25:52 jonathan Exp $ */ /* * Copyright (c) 1988 University of Utah. @@ -42,6 +42,9 @@ * @(#)cons.c 8.2 (Berkeley) 1/11/94 */ +#include /* RCS ID & Copyright macro defns */ +__KERNEL_RCSID(0, "$NetBSD: cpu_cons.c,v 1.20 1997/10/19 10:25:52 jonathan Exp $"); + #include #include #include @@ -303,7 +306,10 @@ consinit() return; } else #endif - printf("No crt console device in slot %d\n", crt); + { + printf("No supported console device in slot %d. ", crt); + printf("Switching over to serial console!\n"); + } }