summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-04-24 23:59:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-04-24 23:59:38 +0000
commitd2c4493bbc3f194ba49a43d545e08ab962422706 (patch)
treebe9f49229324e30ca80234fb47f5eacc571a76d7 /sys/arch/hp300/dev
parenta839641559f30cebd3e47b70e80e0b362d215f3c (diff)
Oops, 1.3 would cause a keyboard plugged at boot time to start in the wrong
state...
Diffstat (limited to 'sys/arch/hp300/dev')
-rw-r--r--sys/arch/hp300/dev/dnkbd.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/dnkbd.c b/sys/arch/hp300/dev/dnkbd.c
index 2652ed92c5c..1533f576f49 100644
--- a/sys/arch/hp300/dev/dnkbd.c
+++ b/sys/arch/hp300/dev/dnkbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dnkbd.c,v 1.4 2005/04/23 06:54:47 miod Exp $ */
+/* $OpenBSD: dnkbd.c,v 1.5 2005/04/24 23:59:37 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -390,6 +390,11 @@ dnkbd_probe(struct dnkbd_softc *sc)
printf("\n");
}
+ /*
+ * Ready to work, the default channel is the keyboard.
+ */
+ sc->sc_state = STATE_KEYBOARD;
+
out:
s = spltty();
sc->sc_flags = flags;