summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-07-03 17:37:03 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-07-03 17:37:03 +0000
commit932dc13758a8559e413cb3a66f22f8cfce42fa3e (patch)
tree2dcfbf9e95d25f40139ad466c48689e1f57dd772
parent1d4d82b1cfc892ee0479870cba2709f688721f3d (diff)
Add a wsdisplay type for an upcoming driver for the Sun XVR-100 framebuffer.
ok deraadt@
-rw-r--r--sbin/wsconsctl/util.c5
-rw-r--r--sys/dev/wscons/wsconsio.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/sbin/wsconsctl/util.c b/sbin/wsconsctl/util.c
index 5c8530267ac..ce0f981dd51 100644
--- a/sbin/wsconsctl/util.c
+++ b/sbin/wsconsctl/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.44 2009/06/03 21:30:11 kettenis Exp $ */
+/* $OpenBSD: util.c,v 1.45 2009/07/03 17:37:02 kettenis Exp $ */
/* $NetBSD: util.c,v 1.8 2000/03/14 08:11:53 sato Exp $ */
/*-
@@ -147,7 +147,8 @@ static const struct nameint dpytype_tab[] = {
{ WSDISPLAY_TYPE_RAPTOR, "raptor" },
{ WSDISPLAY_TYPE_DL, "displaylink" },
{ WSDISPLAY_TYPE_MACHFB, "mach64" },
- { WSDISPLAY_TYPE_GFXP, "gfxp" }
+ { WSDISPLAY_TYPE_GFXP, "gfxp" },
+ { WSDISPLAY_TYPE_RADEONFB, "radeon" }
};
static const struct nameint kbdenc_tab[] = {
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 59cfccf19f2..3bb2a2ff037 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.54 2009/06/03 21:30:11 kettenis Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.55 2009/07/03 17:37:02 kettenis Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -307,6 +307,7 @@ struct wsmouse_calibcoords {
#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 */
+#define WSDISPLAY_TYPE_RADEONFB 61 /* Sun XVR-100 */
/* Basic display information. Not applicable to all display types. */
struct wsdisplay_fbinfo {