From 5b901a6d0dac476ac466dc1f4c02b56be12bed5a Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Mon, 18 Mar 2002 00:19:46 +0000 Subject: no keyboard -- no cry --- sys/arch/hppa/hppa/wscons_machdep.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/arch/hppa/hppa/wscons_machdep.c b/sys/arch/hppa/hppa/wscons_machdep.c index a055c012237..8c721c993e4 100644 --- a/sys/arch/hppa/hppa/wscons_machdep.c +++ b/sys/arch/hppa/hppa/wscons_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wscons_machdep.c,v 1.1 2002/03/15 22:50:05 mickey Exp $ */ +/* $OpenBSD: wscons_machdep.c,v 1.2 2002/03/18 00:19:45 mickey Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -123,7 +123,11 @@ int wscngetc(dev) dev_t dev; { +#if NWSKBD > 0 return (wskbd_cngetc(dev)); +#else + return (0); +#endif } void @@ -131,5 +135,7 @@ wscnpollc(dev, on) dev_t dev; int on; { +#if NWSKBD > 0 wskbd_cnpollc(dev, on); +#endif } -- cgit v1.2.3