From be26993e6723b52e4702aac0903e1ca2ebe523af Mon Sep 17 00:00:00 2001 From: mjacob Date: Wed, 28 Jun 2000 20:22:16 +0000 Subject: look in kbd.h to see whether we have configured a keyboard --- sys/arch/sparc/dev/cons.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/arch/sparc/dev/cons.c') diff --git a/sys/arch/sparc/dev/cons.c b/sys/arch/sparc/dev/cons.c index fba5c2e4eb1..974db9c8ca8 100644 --- a/sys/arch/sparc/dev/cons.c +++ b/sys/arch/sparc/dev/cons.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cons.c,v 1.6 1997/08/08 08:24:56 downsj Exp $ */ +/* $OpenBSD: cons.c,v 1.7 2000/06/28 20:22:14 mjacob Exp $ */ /* $NetBSD: cons.c,v 1.30 1997/07/07 23:30:23 pk Exp $ */ /* @@ -76,6 +76,7 @@ #endif #include "zs.h" +#include "kbd.h" struct tty *constty = 0; /* virtual console output device */ struct tty *fbconstty = 0; /* tty structure for frame buffer console */ @@ -235,13 +236,14 @@ setup_console: zsconsole(tp, 1, 0, NULL); break; #endif - +#if NKBD > 0 case PROMDEV_KBD: /* * Tell the keyboard driver to direct ASCII input here. */ kbd_ascii(tp); break; +#endif default: rom_console_input = 1; -- cgit v1.2.3