summaryrefslogtreecommitdiffstats
path: root/sys/dev/atkbdc/atkbd.c
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2001-07-20 13:05:57 +0000
committeryokota <yokota@FreeBSD.org>2001-07-20 13:05:57 +0000
commit5bdd55fe335c85187c6f689240776d3578198a03 (patch)
tree4326f68a54d447c94f4a84c2fb697802d2377223 /sys/dev/atkbdc/atkbd.c
parent4b023c5a9f160b15b1ae45ac500512e1209b8c02 (diff)
downloadFreeBSD-src-5bdd55fe335c85187c6f689240776d3578198a03.zip
FreeBSD-src-5bdd55fe335c85187c6f689240776d3578198a03.tar.gz
Return consistent key action codes at key press and release
events. Otherwise you would see unexpected results if shift or locking keys are defined to give different actions depending on other shift/locking keys' state. Please keep the ukbd module and the kernel in sync, otherwise the USB keyboard won't work after this change. MFC after: 10 days
Diffstat (limited to 'sys/dev/atkbdc/atkbd.c')
-rw-r--r--sys/dev/atkbdc/atkbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/atkbdc/atkbd.c b/sys/dev/atkbdc/atkbd.c
index 05a98f4..0e8be30 100644
--- a/sys/dev/atkbdc/atkbd.c
+++ b/sys/dev/atkbdc/atkbd.c
@@ -49,6 +49,7 @@
#include <vm/pmap.h>
#endif /* __i386__ */
+#include <sys/kbio.h>
#include <dev/kbd/kbdreg.h>
#include <dev/kbd/atkbdreg.h>
#include <dev/kbd/atkbdcreg.h>
@@ -167,7 +168,6 @@ atkbd_timeout(void *arg)
/* LOW-LEVEL */
#include <machine/limits.h>
-#include <sys/kbio.h>
#define ATKBD_DEFAULT 0
OpenPOWER on IntegriCloud