summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-04-24 13:37:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-04-24 13:37:47 +0000
commit4979c74fff445996923562f082a3f6cca4c86c15 (patch)
tree36228a89d3721bf0ab94a8c63b6d9709292fbee9 /sys/arch/luna88k
parent96dd63b8e085a73abcb0a0d266d42d58021a1a93 (diff)
Define wscons device ids for the Luna devices.
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/dev/lunafb.c4
-rw-r--r--sys/arch/luna88k/dev/lunaws.c4
2 files changed, 4 insertions, 4 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;
}