diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-03-18 00:19:46 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-03-18 00:19:46 +0000 |
commit | 5b901a6d0dac476ac466dc1f4c02b56be12bed5a (patch) | |
tree | 8c810b0130a4e3b1e32e03940d79564dbef6926c /sys | |
parent | ac0efa0c8e73c6d2612b3bf904aa2e627eab72b5 (diff) |
no keyboard -- no cry
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hppa/hppa/wscons_machdep.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 } |