diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/dev/raptor.c | 4 | ||||
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/raptor.c b/sys/arch/sparc64/dev/raptor.c index 41a9c64b940..9bc2e31751d 100644 --- a/sys/arch/sparc64/dev/raptor.c +++ b/sys/arch/sparc64/dev/raptor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raptor.c,v 1.4 2009/03/01 21:42:37 kettenis Exp $ */ +/* $OpenBSD: raptor.c,v 1.5 2009/03/12 19:10:22 kettenis Exp $ */ /* * Copyright (c) 2009 Mark Kettenis. @@ -253,7 +253,7 @@ raptor_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_RAPTOR; break; case WSDISPLAYIO_SMODE: sc->sc_mode = *(u_int *)data; diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h index aed872a6515..e4ebe152ecd 100644 --- a/sys/dev/wscons/wsconsio.h +++ b/sys/dev/wscons/wsconsio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsio.h,v 1.49 2008/12/29 22:25:16 miod Exp $ */ +/* $OpenBSD: wsconsio.h,v 1.50 2009/03/12 19:10:22 kettenis Exp $ */ /* $NetBSD: wsconsio.h,v 1.74 2005/04/28 07:15:44 martin Exp $ */ /* @@ -302,6 +302,7 @@ struct wsmouse_calibcoords { #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} */ +#define WSDISPLAY_TYPE_RAPTOR 57 /* Tech Source Raptor */ /* Basic display information. Not applicable to all display types. */ struct wsdisplay_fbinfo { |