summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-05-12 20:18:40 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-05-12 20:18:40 +0000
commitf435577e7f877eabac88ad753aede448254ead1f (patch)
treedfad43fe67a4598727b6309b46b2ba74acdddca0 /sys/arch/sparc
parent201a8a4603b1e8e61b22520e5c030c0827457ab6 (diff)
use new display types; ok miod
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r--sys/arch/sparc/dev/cgeight.c4
-rw-r--r--sys/arch/sparc/dev/cgfour.c4
-rw-r--r--sys/arch/sparc/dev/cgtwelve.c4
-rw-r--r--sys/arch/sparc/dev/cgtwo.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/sparc/dev/cgeight.c b/sys/arch/sparc/dev/cgeight.c
index 4e5bd7e0d7b..a9fa9dacad8 100644
--- a/sys/arch/sparc/dev/cgeight.c
+++ b/sys/arch/sparc/dev/cgeight.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgeight.c,v 1.18 2002/12/12 20:21:34 miod Exp $ */
+/* $OpenBSD: cgeight.c,v 1.19 2003/05/12 20:18:39 jason Exp $ */
/* $NetBSD: cgeight.c,v 1.13 1997/05/24 20:16:04 pk Exp $ */
/*
@@ -268,7 +268,7 @@ cgeight_ioctl(v, cmd, data, flags, p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_SUNCG8;
break;
case WSDISPLAYIO_GINFO:
wdf = (struct wsdisplay_fbinfo *)data;
diff --git a/sys/arch/sparc/dev/cgfour.c b/sys/arch/sparc/dev/cgfour.c
index 4533304c785..ee19dfc5066 100644
--- a/sys/arch/sparc/dev/cgfour.c
+++ b/sys/arch/sparc/dev/cgfour.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgfour.c,v 1.17 2002/11/06 21:06:20 miod Exp $ */
+/* $OpenBSD: cgfour.c,v 1.18 2003/05/12 20:18:39 jason Exp $ */
/* $NetBSD: cgfour.c,v 1.13 1997/05/24 20:16:06 pk Exp $ */
/*
@@ -282,7 +282,7 @@ cgfour_ioctl(v, cmd, data, flags, p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_SUNCG4;
break;
case WSDISPLAYIO_GINFO:
wdf = (struct wsdisplay_fbinfo *)data;
diff --git a/sys/arch/sparc/dev/cgtwelve.c b/sys/arch/sparc/dev/cgtwelve.c
index ed201fa3520..ecf0a6a3153 100644
--- a/sys/arch/sparc/dev/cgtwelve.c
+++ b/sys/arch/sparc/dev/cgtwelve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgtwelve.c,v 1.6 2003/04/06 17:02:32 miod Exp $ */
+/* $OpenBSD: cgtwelve.c,v 1.7 2003/05/12 20:18:39 jason Exp $ */
/*
* Copyright (c) 2002, 2003 Miodrag Vallat. All rights reserved.
@@ -274,7 +274,7 @@ cgtwelve_ioctl(dev, cmd, data, flags, p)
*/
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_SUN24;
+ *(u_int *)data = WSDISPLAY_TYPE_SUNCG12;
break;
case WSDISPLAYIO_GINFO:
wdf = (struct wsdisplay_fbinfo *)data;
diff --git a/sys/arch/sparc/dev/cgtwo.c b/sys/arch/sparc/dev/cgtwo.c
index 044b903b44e..6597bd9ae5b 100644
--- a/sys/arch/sparc/dev/cgtwo.c
+++ b/sys/arch/sparc/dev/cgtwo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgtwo.c,v 1.25 2002/11/06 21:06:20 miod Exp $ */
+/* $OpenBSD: cgtwo.c,v 1.26 2003/05/12 20:18:39 jason Exp $ */
/* $NetBSD: cgtwo.c,v 1.22 1997/05/24 20:16:12 pk Exp $ */
/*
@@ -300,7 +300,7 @@ cgtwo_ioctl(v, cmd, data, flags, p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_SUNCG2;
break;
case WSDISPLAYIO_GINFO:
wdf = (struct wsdisplay_fbinfo *)data;