-/* $OpenBSD: util.c,v 1.37 2008/06/26 05:42:06 ray Exp $ */
+/* $OpenBSD: util.c,v 1.38 2008/08/24 20:10:55 miod Exp $ */
/* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */
/*-
{ WSDISPLAY_TYPE_TVRX, "tvrx" },
{ WSDISPLAY_TYPE_CFXGA, "cfxga" },
{ WSDISPLAY_TYPE_LCSPX, "dec-lcspx" },
- { WSDISPLAY_TYPE_GBE, "gbe" }
+ { WSDISPLAY_TYPE_GBE, "gbe" },
+ { WSDISPLAY_TYPE_LEGSS, "dec-legss" }
};
static const struct nameint kbdenc_tab[] = {
-/* $OpenBSD: legss.c,v 1.2 2008/08/23 22:57:11 miod Exp $ */
+/* $OpenBSD: legss.c,v 1.3 2008/08/24 20:10:57 miod Exp $ */
/*
* Copyright (c) 2008 Miodrag Vallat.
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = 0; /* XXX WSDISPLAY_TYPE_LEGSS; */
+ *(u_int *)data = WSDISPLAY_TYPE_LEGSS;
break;
case WSDISPLAYIO_GINFO:
-/* $OpenBSD: wsconsio.h,v 1.47 2007/11/27 14:13:39 jsing Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.48 2008/08/24 20:10:57 miod Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
#define WSDISPLAY_TYPE_CFXGA 52 /* CF VoyagerVGA */
#define WSDISPLAY_TYPE_LCSPX 53 /* DEC LCSPX (VS4000) */
#define WSDISPLAY_TYPE_GBE 54 /* SGI GBE frame buffer */
+#define WSDISPLAY_TYPE_LEGSS 55 /* DEC LEGSS (VS35x0) */
/* Basic display information. Not applicable to all display types. */
struct wsdisplay_fbinfo {