summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-03-28 03:18:04 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-03-28 03:18:04 +0000
commitaa60bc343b9138b9131d318561328c515f423e7f (patch)
tree47354b602ff488fa95c7fab799e9f2808f4ab44d /sys/dev
parent0c5c1c33e91f219477db6be275f8f69e3f302a1b (diff)
Use the brand new types instead of WSDISPLAY_TYPE_UNKNOWN
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sbus/cgsix.c4
-rw-r--r--sys/dev/sbus/cgthree.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sbus/cgsix.c b/sys/dev/sbus/cgsix.c
index a67523d6344..e91ea079555 100644
--- a/sys/dev/sbus/cgsix.c
+++ b/sys/dev/sbus/cgsix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgsix.c,v 1.37 2003/03/28 00:23:05 miod Exp $ */
+/* $OpenBSD: cgsix.c,v 1.38 2003/03/28 03:18:03 jason Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -344,7 +344,7 @@ cgsix_ioctl(v, cmd, data, flags, p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_SUNCG6;
break;
case WSDISPLAYIO_SMODE:
mode = *(u_int *)data;
diff --git a/sys/dev/sbus/cgthree.c b/sys/dev/sbus/cgthree.c
index 929598ce0e7..e70f0344b59 100644
--- a/sys/dev/sbus/cgthree.c
+++ b/sys/dev/sbus/cgthree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgthree.c,v 1.27 2003/03/27 18:11:38 jason Exp $ */
+/* $OpenBSD: cgthree.c,v 1.28 2003/03/28 03:18:03 jason Exp $ */
/*
* Copyright (c) 2001 Jason L. Wright (jason@thought.net)
@@ -364,7 +364,7 @@ cgthree_ioctl(v, cmd, data, flags, p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_SUNCG3;
break;
case WSDISPLAYIO_SMODE:
sc->sc_mode = *(u_int *)data;