summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-24 23:06:03 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-09-24 23:06:03 +0000
commitafcfa4bbf2cca2cf6139975e80fb54ee269aa0cb (patch)
treeb67a662891d2934b9013d3127b875af0e2f52263 /sys
parentd4aaef45c4f306e7b0d8dc0a53c659504920dd5d (diff)
fix back the kbd, sorry
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/dev/kbd.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/arch/sparc/dev/kbd.c b/sys/arch/sparc/dev/kbd.c
index c9eb43ace5e..fe5ceb1ca20 100644
--- a/sys/arch/sparc/dev/kbd.c
+++ b/sys/arch/sparc/dev/kbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd.c,v 1.14 2001/09/22 21:25:55 mickey Exp $ */
+/* $OpenBSD: kbd.c,v 1.15 2001/09/24 23:06:02 mickey Exp $ */
/* $NetBSD: kbd.c,v 1.28 1997/09/13 19:12:18 pk Exp $ */
/*
@@ -452,6 +452,9 @@ kbdattach(kbd)
kbd_repeat_start = hz/5;
kbd_repeat_step = hz/20;
+ timeout_set(&kbd_softc.k_repeat_tmo, kbd_repeat, k);
+ kbd_initialized = 1;
+
if (kbd_softc.k_cons != NULL) {
k = &kbd_softc;
tp = k->k_kbd;
@@ -474,10 +477,6 @@ kbdattach(kbd)
printf("kbd: type = %d, layout = 0x%x\n",
kbd_softc.k_state.kbd_id, kbd_softc.k_state.kbd_layout);
}
-
- timeout_set(&kbd_softc.k_repeat_tmo, kbd_repeat, k);
-
- kbd_initialized = 1;
}
void