summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2003-02-11 19:49:45 +0000
committermiod <miod@openbsd.org>2003-02-11 19:49:45 +0000
commit4499e0d1a4b678c3c0b78b23a637cbd9ed1a7e40 (patch)
tree65405f8d8a5c20c290a09be728d276c8bd6ae524
parentAdd hil devices, and enable wsdisplay at sti and wskbd at gsc and hil. (diff)
downloadwireguard-openbsd-4499e0d1a4b678c3c0b78b23a637cbd9ed1a7e40.tar.xz
wireguard-openbsd-4499e0d1a4b678c3c0b78b23a637cbd9ed1a7e40.zip
Define an HIL wscons keyboard type.
-rw-r--r--sbin/wsconsctl/util.c3
-rw-r--r--sys/dev/wscons/wsconsio.h5
2 files changed, 5 insertions, 3 deletions
diff --git a/sbin/wsconsctl/util.c b/sbin/wsconsctl/util.c
index 485fe9e5470..42eaf3cd822 100644
--- a/sbin/wsconsctl/util.c
+++ b/sbin/wsconsctl/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.17 2003/02/05 19:25:54 mickey Exp $ */
+/* $OpenBSD: util.c,v 1.18 2003/02/11 19:49:45 miod Exp $ */
/* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */
/*-
@@ -68,6 +68,7 @@ static const struct nameint kbtype_tab[] = {
{ WSKBD_TYPE_ADB, "adb" },
{ WSKBD_TYPE_SUN, "sun" },
{ WSKBD_TYPE_SUN5, "sun5" },
+ { WSKBD_TYPE_HIL, "hil" },
};
static const struct nameint mstype_tab[] = {
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 31e591b3003..7d5d03a8d40 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.23 2003/02/05 19:20:22 mickey Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.24 2003/02/11 19:49:47 miod Exp $ */
/* $NetBSD: wsconsio.h,v 1.31.2.1 2000/07/07 09:49:17 hannken Exp $ */
/*
@@ -105,12 +105,13 @@ struct wscons_event {
#define WSKBD_TYPE_PC_AT 4 /* PC-ish, AT scancode */
#define WSKBD_TYPE_USB 5 /* USB, XT scancode */
#define WSKBD_TYPE_NEXT 6 /* NeXT keyboard */
-#define WSKBD_TYPE_HPC_KBD 7 /* HPC bultin keyboard */
+#define WSKBD_TYPE_HPC_KBD 7 /* HPC builtin keyboard */
#define WSKBD_TYPE_HPC_BTN 8 /* HPC/PsPC buttons */
#define WSKBD_TYPE_ARCHIMEDES 9 /* Archimedes keyboard */
#define WSKBD_TYPE_ADB 10 /* Apple ADB keyboard */
#define WSKBD_TYPE_SUN 11 /* Sun Type3/4 */
#define WSKBD_TYPE_SUN5 12 /* Sun Type5 */
+#define WSKBD_TYPE_HIL 13 /* HP HIL */
/* Manipulate the keyboard bell. */
struct wskbd_bell_data {