Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Add a DPRINTF on keyboard errors.
details: https://anonhg.NetBSD.org/src/rev/3a3804b5e34b
branches: trunk
changeset: 480577:3a3804b5e34b
user: augustss <augustss%NetBSD.org@localhost>
date: Sun Jan 16 09:41:22 2000 +0000
description:
Add a DPRINTF on keyboard errors.
diffstat:
sys/dev/usb/ukbd.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 4c3b77dffd89 -r 3a3804b5e34b sys/dev/usb/ukbd.c
--- a/sys/dev/usb/ukbd.c Sun Jan 16 09:40:07 2000 +0000
+++ b/sys/dev/usb/ukbd.c Sun Jan 16 09:41:22 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ukbd.c,v 1.52 2000/01/16 09:37:18 augustss Exp $ */
+/* $NetBSD: ukbd.c,v 1.53 2000/01/16 09:41:22 augustss Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -477,8 +477,10 @@
DPRINTFN(5, (" mod=0x%02x key0=0x%02x key1=0x%02x\n",
ud->modifiers, ud->keycode[0], ud->keycode[1]));
- if (ud->keycode[0] == KEY_ERROR)
+ if (ud->keycode[0] == KEY_ERROR) {
+ DPRINTF(("ukbd_intr: KEY_ERROR\n"));
return; /* ignore */
+ }
nkeys = 0;
mod = ud->modifiers;
omod = sc->sc_odata.modifiers;
Home |
Main Index |
Thread Index |
Old Index