diff options
author | 2001-03-01 23:28:46 +0000 | |
---|---|---|
committer | 2001-03-01 23:28:46 +0000 | |
commit | de7a873494f7e81aa34016b25f1648a7257699bb (patch) | |
tree | 2a84f6d9b77e26d070cc9f1b694ee2a58499dae0 | |
parent | Fix (or a least hack around) console configuration changes to wscons. (diff) | |
download | wireguard-openbsd-de7a873494f7e81aa34016b25f1648a7257699bb.tar.xz wireguard-openbsd-de7a873494f7e81aa34016b25f1648a7257699bb.zip |
Wrap KS_Cmd_KbdReset in #ifdef __i386__ for now; politely pointed to this by
drahn@, snarked at by mickey@ ;)
-rw-r--r-- | sys/dev/wscons/wskbd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c index 53382692e25..ceddfbee8f1 100644 --- a/sys/dev/wscons/wskbd.c +++ b/sys/dev/wscons/wskbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wskbd.c,v 1.10 2001/03/01 03:43:12 aaron Exp $ */ +/* $OpenBSD: wskbd.c,v 1.11 2001/03/01 23:28:46 aaron Exp $ */ /* $NetBSD: wskbd.c,v 1.38 2000/03/23 07:01:47 thorpej Exp $ */ /* @@ -1393,12 +1393,14 @@ internal_command(sc, type, ksym, ksym2) case KS_Cmd_ResetClose: wsdisplay_reset(sc->sc_displaydv, WSDISPLAY_RESETCLOSE); return (1); +#ifdef __i386__ case KS_Cmd_KbdReset: if (kbd_reset == 1) { kbd_reset = 0; psignal(initproc, SIGUSR1); } return (1); +#endif case KS_Cmd_BacklightOn: case KS_Cmd_BacklightOff: case KS_Cmd_BacklightToggle: |