diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-08-24 20:10:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-08-24 20:10:58 +0000 |
commit | 29a7d2352ff6f86fe711c08bcf4908a7f7256b01 (patch) | |
tree | 69b265a3daf2ad90ba2cda15571a4400b39a33e3 /sys | |
parent | 187b55417a4ba1e882de424cbe5b34d287d62420 (diff) |
Define a proper wsdisplay type for legss(4).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/vax/mbus/legss.c | 4 | ||||
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/vax/mbus/legss.c b/sys/arch/vax/mbus/legss.c index 6380aa15e9d..b111e21a98e 100644 --- a/sys/arch/vax/mbus/legss.c +++ b/sys/arch/vax/mbus/legss.c @@ -1,4 +1,4 @@ -/* $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. @@ -270,7 +270,7 @@ legss_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) switch (cmd) { case WSDISPLAYIO_GTYPE: - *(u_int *)data = 0; /* XXX WSDISPLAY_TYPE_LEGSS; */ + *(u_int *)data = WSDISPLAY_TYPE_LEGSS; break; case WSDISPLAYIO_GINFO: diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h index ec852818986..11869506b69 100644 --- a/sys/dev/wscons/wsconsio.h +++ b/sys/dev/wscons/wsconsio.h @@ -1,4 +1,4 @@ -/* $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 $ */ /* @@ -300,6 +300,7 @@ struct wsmouse_calibcoords { #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 { |