diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-06-03 21:30:12 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-06-03 21:30:12 +0000 |
commit | cffdd398610e708a53403eb903038d25b2ce9319 (patch) | |
tree | 5ec4ce9eb99c4d8e0681a46f83db5b9fa1432723 | |
parent | 80e2b6eac9baea3c87b197ce72588d4eadbf2aee (diff) |
Define a wsdisplay type for gfxp(4).
-rw-r--r-- | sbin/wsconsctl/util.c | 5 | ||||
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sbin/wsconsctl/util.c b/sbin/wsconsctl/util.c index 1e28ebb3425..5c8530267ac 100644 --- a/sbin/wsconsctl/util.c +++ b/sbin/wsconsctl/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.43 2009/06/02 18:38:06 kettenis Exp $ */ +/* $OpenBSD: util.c,v 1.44 2009/06/03 21:30:11 kettenis Exp $ */ /* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */ /*- @@ -146,7 +146,8 @@ static const struct nameint dpytype_tab[] = { { WSDISPLAY_TYPE_IFB, "ifb" }, { WSDISPLAY_TYPE_RAPTOR, "raptor" }, { WSDISPLAY_TYPE_DL, "displaylink" }, - { WSDISPLAY_TYPE_MACHFB, "mach64" } + { WSDISPLAY_TYPE_MACHFB, "mach64" }, + { WSDISPLAY_TYPE_GFXP, "gfxp" } }; static const struct nameint kbdenc_tab[] = { diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h index 8d66b56e677..59cfccf19f2 100644 --- a/sys/dev/wscons/wsconsio.h +++ b/sys/dev/wscons/wsconsio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsio.h,v 1.53 2009/06/02 04:53:57 kettenis Exp $ */ +/* $OpenBSD: wsconsio.h,v 1.54 2009/06/03 21:30:11 kettenis Exp $ */ /* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */ /* @@ -306,6 +306,7 @@ struct wsmouse_calibcoords { #define WSDISPLAY_TYPE_RAPTOR 57 /* Tech Source Raptor */ #define WSDISPLAY_TYPE_DL 58 /* DisplayLink DL-120/DL-160 */ #define WSDISPLAY_TYPE_MACHFB 59 /* Sun PGX/PGX64 */ +#define WSDISPLAY_TYPE_GFXP 60 /* Sun PGX32 */ /* Basic display information. Not applicable to all display types. */ struct wsdisplay_fbinfo { |