Module Name: src
Committed By: tsutsui
Date: Sat Feb 12 16:37:33 UTC 2011
Modified Files:
src/sys/arch/hp300/dev: dnkbd.c
Log Message:
Fix one more porting botch inside #ifdef WSDISPLAY_COMPAT_RAWKBD.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hp300/dev/dnkbd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hp300/dev/dnkbd.c
diff -u src/sys/arch/hp300/dev/dnkbd.c:1.2 src/sys/arch/hp300/dev/dnkbd.c:1.3
--- src/sys/arch/hp300/dev/dnkbd.c:1.2 Sat Feb 12 16:30:22 2011
+++ src/sys/arch/hp300/dev/dnkbd.c Sat Feb 12 16:37:32 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: dnkbd.c,v 1.2 2011/02/12 16:30:22 tsutsui Exp $ */
+/* $NetBSD: dnkbd.c,v 1.3 2011/02/12 16:37:32 tsutsui Exp $ */
/* $OpenBSD: dnkbd.c,v 1.17 2009/07/23 21:05:56 blambert Exp $ */
/*
@@ -991,7 +991,7 @@
#ifdef WSDISPLAY_COMPAT_RAWKBD
case WSKBDIO_SETMODE:
sc->sc_rawkbd = *(int *)data == WSKBD_RAW;
- timeout_del(&sc->sc_rawrepeat_ch);
+ callout_stop(&sc->sc_rawrepeat_ch);
return (0);
#endif
}