summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-01-08 16:35:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-01-08 16:35:26 +0000
commitfdaaebfdce3e8e9646281669dc49ad5f3090abac (patch)
tree4cef67358055e2b048406b135fc648fd0eb3d86b /sys/arch/mac68k
parentf3b0af6fb7bddf99bfc471aff31f81a1e801d670 (diff)
Oops, don't forget to initialize the raw repeat timeout; lost while cleaning.
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/akbd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/akbd.c b/sys/arch/mac68k/dev/akbd.c
index b3f2e9f12c6..dbe3ccd8951 100644
--- a/sys/arch/mac68k/dev/akbd.c
+++ b/sys/arch/mac68k/dev/akbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: akbd.c,v 1.1 2006/01/04 20:39:04 miod Exp $ */
+/* $OpenBSD: akbd.c,v 1.2 2006/01/08 16:35:25 miod Exp $ */
/* $NetBSD: akbd.c,v 1.17 2005/01/15 16:00:59 chs Exp $ */
/*
@@ -246,6 +246,10 @@ akbdattach(struct device *parent, struct device *self, void *aux)
printf("akbd: returned %d from SetADBInfo\n", error);
#endif
+#ifdef WSDISPLAY_COMPAT_RAWKBD
+ timeout_set(&sc->sc_rawrepeat_ch, akbd_rawrepeat, sc);
+#endif
+
#if NWSKBD > 0
if (akbd_is_console() && wskbd_eligible)
a.console = (++akbd_console_initted == 1);