Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/sys/dev/sun Pull up revision 1.50 (requested by martin in...



details:   https://anonhg.NetBSD.org/src/rev/4b142de1de46
branches:  netbsd-3
changeset: 576063:4b142de1de46
user:      snj <snj%NetBSD.org@localhost>
date:      Thu Jun 09 08:08:53 2005 +0000

description:
Pull up revision 1.50 (requested by martin in ticket #430):
Use KBD_IDLE instead of magic constants

diffstat:

 sys/dev/sun/kbd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 57222e71c8a0 -r 4b142de1de46 sys/dev/sun/kbd.c
--- a/sys/dev/sun/kbd.c Thu Jun 09 08:07:19 2005 +0000
+++ b/sys/dev/sun/kbd.c Thu Jun 09 08:08:53 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kbd.c,v 1.43.2.6 2005/06/09 08:07:19 snj Exp $ */
+/*     $NetBSD: kbd.c,v 1.43.2.7 2005/06/09 08:08:53 snj Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.43.2.6 2005/06/09 08:07:19 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kbd.c,v 1.43.2.7 2005/06/09 08:08:53 snj Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -955,7 +955,7 @@
                u_char buf;
 
                /* do not bother userland with keyboard idle events */
-               if (code != 0x7f) {
+               if (code != KBD_IDLE) {
                        buf = code;
                        wskbd_rawinput(k->k_wskbd, &buf, 1);
                }



Home | Main Index | Thread Index | Old Index