summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc64/dev/ifb.c4
-rw-r--r--sys/dev/wscons/wsconsio.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/ifb.c b/sys/arch/sparc64/dev/ifb.c
index e5d4bd8bbae..a125e96414a 100644
--- a/sys/arch/sparc64/dev/ifb.c
+++ b/sys/arch/sparc64/dev/ifb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ifb.c,v 1.10 2008/12/29 22:07:35 miod Exp $ */
+/* $OpenBSD: ifb.c,v 1.11 2008/12/29 22:25:16 miod Exp $ */
/*
* Copyright (c) 2007, 2008 Miodrag Vallat.
@@ -363,7 +363,7 @@ ifb_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_IFB;
break;
case WSDISPLAYIO_SMODE:
diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h
index 11869506b69..aed872a6515 100644
--- a/sys/dev/wscons/wsconsio.h
+++ b/sys/dev/wscons/wsconsio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsconsio.h,v 1.48 2008/08/24 20:10:57 miod Exp $ */
+/* $OpenBSD: wsconsio.h,v 1.49 2008/12/29 22:25:16 miod Exp $ */
/* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */
/*
@@ -301,6 +301,7 @@ struct wsmouse_calibcoords {
#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) */
+#define WSDISPLAY_TYPE_IFB 56 /* Sun Expert3D{,-Lite} */
/* Basic display information. Not applicable to all display types. */
struct wsdisplay_fbinfo {