summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-04-17 08:51:25 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-04-17 08:51:25 +0000
commit4596cd5ae534c199f9a933188e91e109b94acc2e (patch)
tree49e94d37d5aaa05ce68dd624accba2bc26c9aca9 /sbin
parentb6808f922ca087295d2dd0df630fcc309d332fa4 (diff)
Add type numbers for upcoming sgi work, forgotten during newport(4) import.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/wsconsctl/util.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/wsconsctl/util.c b/sbin/wsconsctl/util.c
index 38e5f1582cf..22fa6261bf4 100644
--- a/sbin/wsconsctl/util.c
+++ b/sbin/wsconsctl/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.55 2011/09/20 17:00:24 shadchin Exp $ */
+/* $OpenBSD: util.c,v 1.56 2012/04/17 08:51:24 miod Exp $ */
/* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */
/*-
@@ -71,6 +71,7 @@ static const struct nameint kbtype_tab[] = {
{ WSKBD_TYPE_DOMAIN, "domain" },
{ WSKBD_TYPE_BLUETOOTH, "bluetooth" },
{ WSKBD_TYPE_KPC, "kpc" },
+ { WSKBD_TYPE_SGI, "sgi" },
};
static const struct nameint mstype_tab[] = {
@@ -90,6 +91,7 @@ static const struct nameint mstype_tab[] = {
{ WSMOUSE_TYPE_SUN, "sun" },
{ WSMOUSE_TYPE_SYNAPTICS, "synaptics" },
{ WSMOUSE_TYPE_ALPS, "alps" }
+ { WSMOUSE_TYPE_SGI, "sgi" }
};
static const struct nameint dpytype_tab[] = {
@@ -158,7 +160,10 @@ static const struct nameint dpytype_tab[] = {
{ WSDISPLAY_TYPE_SMFB, "smfb" },
{ WSDISPLAY_TYPE_SISFB, "sisfb" },
{ WSDISPLAY_TYPE_ODYSSEY, "odyssey" },
- { WSDISPLAY_TYPE_IMPACT, "impact" }
+ { WSDISPLAY_TYPE_IMPACT, "impact" },
+ { WSDISPLAY_TYPE_GRTWO, "grtwo" },
+ { WSDISPLAY_TYPE_NEWPORT, "newport" },
+ { WSDISPLAY_TYPE_LIGHT, "light" }
};
static const struct nameint kbdenc_tab[] = {