diff options
author | 2005-04-24 23:59:37 +0000 | |
---|---|---|
committer | 2005-04-24 23:59:37 +0000 | |
commit | e7983a6f32f8c46f1aef44df14652ca1e761cd4a (patch) | |
tree | 16d2221bc298232d1e15d3876882315d1363d608 | |
parent | use the last position of the pen before it was lifted up (diff) | |
download | wireguard-openbsd-e7983a6f32f8c46f1aef44df14652ca1e761cd4a.tar.xz wireguard-openbsd-e7983a6f32f8c46f1aef44df14652ca1e761cd4a.zip |
Oops, 1.3 would cause a keyboard plugged at boot time to start in the wrong
state...
-rw-r--r-- | sys/arch/hp300/dev/dnkbd.c | 7 |
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; |