diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/luna88k/dev/lunafb.c | 4 | ||||
-rw-r--r-- | sys/arch/luna88k/dev/lunaws.c | 4 | ||||
-rw-r--r-- | sys/dev/wscons/wsconsio.h | 5 |
3 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/luna88k/dev/lunafb.c b/sys/arch/luna88k/dev/lunafb.c index 931c5e7a607..959c0ec501e 100644 --- a/sys/arch/luna88k/dev/lunafb.c +++ b/sys/arch/luna88k/dev/lunafb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lunafb.c,v 1.1 2004/04/21 15:23:52 aoyama Exp $ */ +/* $OpenBSD: lunafb.c,v 1.2 2004/04/24 13:37:44 miod Exp $ */ /* $NetBSD: lunafb.c,v 1.7.6.1 2002/08/07 01:48:34 lukem Exp $ */ /*- @@ -245,7 +245,7 @@ omfbioctl(v, cmd, data, flag, p) switch (cmd) { case WSDISPLAYIO_GTYPE: - *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN; /* XXX for now */ + *(u_int *)data = WSDISPLAY_TYPE_LUNA; break; case WSDISPLAYIO_GINFO: diff --git a/sys/arch/luna88k/dev/lunaws.c b/sys/arch/luna88k/dev/lunaws.c index e76ab8df98c..74298475083 100644 --- a/sys/arch/luna88k/dev/lunaws.c +++ b/sys/arch/luna88k/dev/lunaws.c @@ -488,7 +488,7 @@ omkbd_ioctl(v, cmd, data, flag, p) switch (cmd) { case WSKBDIO_GTYPE: - *(int *)data = 0; /* XXX for now */ + *(int *)data = WSKBD_TYPE_LUNA; return 0; case WSKBDIO_SETLEDS: case WSKBDIO_GETLEDS: @@ -526,7 +526,7 @@ omms_ioctl(v, cmd, data, flag, p) switch (cmd) { case WSMOUSEIO_GTYPE: - *(u_int *)data = 0; /* XXX for now*/ + *(u_int *)data = WSMOUSE_TYPE_LUNA; return 0; } diff --git a/sys/dev/wscons/wsconsio.h b/sys/dev/wscons/wsconsio.h index bcd38000b35..2b4043a40ba 100644 --- a/sys/dev/wscons/wsconsio.h +++ b/sys/dev/wscons/wsconsio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsconsio.h,v 1.30 2004/03/01 07:53:01 miod Exp $ */ +/* $OpenBSD: wsconsio.h,v 1.31 2004/04/24 13:37:46 miod Exp $ */ /* $NetBSD: wsconsio.h,v 1.31.2.1 2000/07/07 09:49:17 hannken Exp $ */ /* @@ -113,6 +113,7 @@ struct wscons_event { #define WSKBD_TYPE_SUN5 12 /* Sun Type5 */ #define WSKBD_TYPE_HIL 13 /* HP HIL */ #define WSKBD_TYPE_GSC 14 /* HP PS/2 */ +#define WSKBD_TYPE_LUNA 15 /* OMRON Luna */ /* Manipulate the keyboard bell. */ struct wskbd_bell_data { @@ -192,6 +193,7 @@ struct wskbd_map_data { #define WSMOUSE_TYPE_ARCHIMEDES 8 /* Archimedes mouse */ #define WSMOUSE_TYPE_ADB 9 /* ADB */ #define WSMOUSE_TYPE_HIL 10 /* HP HIL */ +#define WSMOUSE_TYPE_LUNA 11 /* OMRON Luna */ /* Set resolution. Not applicable to all mouse types. */ #define WSMOUSEIO_SRES _IOW('W', 33, u_int) @@ -272,6 +274,7 @@ struct wsmouse_calibcoords { #define WSDISPLAY_TYPE_MGX 39 /* SMS MGX */ #define WSDISPLAY_TYPE_SB_P9000 40 /* Tadpole SPARCbook P9000 */ #define WSDISPLAY_TYPE_RFLEX 41 /* RasterFlex series */ +#define WSDISPLAY_TYPE_LUNA 42 /* OMRON Luna */ /* Basic display information. Not applicable to all display types. */ struct wsdisplay_fbinfo { |