summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-19 10:51:25 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-19 10:51:25 +0000
commit40f991d299750a3eb6bc2f220bd4a6a24cc5703f (patch)
treea0f29e88db85097d3ae60570362c461559dfc3ad /sys
parent5cf9352dd9d3a0cead5532372b4e3f6ed4098081 (diff)
Report the appropriate wsdisplay types to WSDISPLAYIO_GTYPE.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/hp300/dev/dvbox.c4
-rw-r--r--sys/arch/hp300/dev/gbox.c4
-rw-r--r--sys/arch/hp300/dev/hyper.c4
-rw-r--r--sys/arch/hp300/dev/rbox.c4
-rw-r--r--sys/arch/hp300/dev/topcat.c4
5 files changed, 10 insertions, 10 deletions
diff --git a/sys/arch/hp300/dev/dvbox.c b/sys/arch/hp300/dev/dvbox.c
index af49deb8b36..fd81b222804 100644
--- a/sys/arch/hp300/dev/dvbox.c
+++ b/sys/arch/hp300/dev/dvbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvbox.c,v 1.3 2005/01/16 16:14:10 miod Exp $ */
+/* $OpenBSD: dvbox.c,v 1.4 2005/01/19 10:51:23 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -346,7 +346,7 @@ dvbox_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_DVBOX;
break;
case WSDISPLAYIO_GINFO:
wdf = (void *)data;
diff --git a/sys/arch/hp300/dev/gbox.c b/sys/arch/hp300/dev/gbox.c
index 3cdb00e407e..801a995a0f8 100644
--- a/sys/arch/hp300/dev/gbox.c
+++ b/sys/arch/hp300/dev/gbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gbox.c,v 1.4 2005/01/16 16:14:10 miod Exp $ */
+/* $OpenBSD: gbox.c,v 1.5 2005/01/19 10:51:23 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -327,7 +327,7 @@ gbox_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_GBOX;
break;
case WSDISPLAYIO_GINFO:
wdf = (void *)data;
diff --git a/sys/arch/hp300/dev/hyper.c b/sys/arch/hp300/dev/hyper.c
index c39948f54dd..c7589bd2243 100644
--- a/sys/arch/hp300/dev/hyper.c
+++ b/sys/arch/hp300/dev/hyper.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hyper.c,v 1.4 2005/01/16 16:14:10 miod Exp $ */
+/* $OpenBSD: hyper.c,v 1.5 2005/01/19 10:51:23 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat.
@@ -210,7 +210,7 @@ hyper_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_HYPERION;
break;
case WSDISPLAYIO_GINFO:
wdf = (void *)data;
diff --git a/sys/arch/hp300/dev/rbox.c b/sys/arch/hp300/dev/rbox.c
index 20f2d0bd50d..60f20abe6fb 100644
--- a/sys/arch/hp300/dev/rbox.c
+++ b/sys/arch/hp300/dev/rbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbox.c,v 1.3 2005/01/16 16:14:10 miod Exp $ */
+/* $OpenBSD: rbox.c,v 1.4 2005/01/19 10:51:24 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat
@@ -307,7 +307,7 @@ rbox_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_RBOX;
break;
case WSDISPLAYIO_GINFO:
wdf = (void *)data;
diff --git a/sys/arch/hp300/dev/topcat.c b/sys/arch/hp300/dev/topcat.c
index 966bbd4356a..0f3639bf576 100644
--- a/sys/arch/hp300/dev/topcat.c
+++ b/sys/arch/hp300/dev/topcat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: topcat.c,v 1.5 2005/01/18 21:53:23 miod Exp $ */
+/* $OpenBSD: topcat.c,v 1.6 2005/01/19 10:51:24 miod Exp $ */
/*
* Copyright (c) 2005, Miodrag Vallat.
@@ -377,7 +377,7 @@ topcat_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
switch (cmd) {
case WSDISPLAYIO_GTYPE:
- *(u_int *)data = WSDISPLAY_TYPE_UNKNOWN;
+ *(u_int *)data = WSDISPLAY_TYPE_TOPCAT;
break;
case WSDISPLAYIO_GINFO:
wdf = (void *)data;