summaryrefslogtreecommitdiffstats
path: root/sys/dev/hil
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-03-11 11:55:03 +0000
committermpi <mpi@openbsd.org>2017-03-11 11:55:03 +0000
commita1b81bf162cddcd68f8a6c0b825784f69ed781d1 (patch)
treeb39827e0d19b86c7afffb632335f59f26869544a /sys/dev/hil
parentdocument recent changes. (diff)
downloadwireguard-openbsd-a1b81bf162cddcd68f8a6c0b825784f69ed781d1.tar.xz
wireguard-openbsd-a1b81bf162cddcd68f8a6c0b825784f69ed781d1.zip
Introduce a new knob to force the first USB keyboard as console input.
By setting "machdep.forceukbd=1" you can now use your USB keyboard in ddb(4) even if your BIOS emulates a pckbd(4). ok tom@, kettenis@, deraadt@
Diffstat (limited to 'sys/dev/hil')
-rw-r--r--sys/dev/hil/hilkbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/hil/hilkbd.c b/sys/dev/hil/hilkbd.c
index 2af64896b61..069e8f0735b 100644
--- a/sys/dev/hil/hilkbd.c
+++ b/sys/dev/hil/hilkbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hilkbd.c,v 1.16 2014/01/26 17:48:08 miod Exp $ */
+/* $OpenBSD: hilkbd.c,v 1.17 2017/03/11 11:55:03 mpi Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -229,7 +229,6 @@ hilkbddetach(struct device *self, int flags)
* as the first device in the loop anyways.
*/
if (sc->sc_console) {
- wskbd_cndetach();
seen_hilkbd_console = 0;
}