summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/cgfour.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-01-05 23:04:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-01-05 23:04:26 +0000
commitd6a1cbbf61a5735f55c3cc923bb6fd52ca1d0581 (patch)
treefedfc814b5ccdb10b20e816cd7fdf098b6161bea /sys/arch/sparc/dev/cgfour.c
parenta79d9e271a9c209f60a07ed7852e09374d2eaf69 (diff)
Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most
of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error.
Diffstat (limited to 'sys/arch/sparc/dev/cgfour.c')
-rw-r--r--sys/arch/sparc/dev/cgfour.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/cgfour.c b/sys/arch/sparc/dev/cgfour.c
index e1e13cf87f9..dd7b6982820 100644
--- a/sys/arch/sparc/dev/cgfour.c
+++ b/sys/arch/sparc/dev/cgfour.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgfour.c,v 1.22 2004/11/29 22:07:36 miod Exp $ */
+/* $OpenBSD: cgfour.c,v 1.23 2005/01/05 23:04:24 miod Exp $ */
/* $NetBSD: cgfour.c,v 1.13 1997/05/24 20:16:06 pk Exp $ */
/*
@@ -281,6 +281,8 @@ cgfour_ioctl(v, cmd, data, flags, p)
case WSDISPLAYIO_SVIDEO:
case WSDISPLAYIO_GVIDEO:
+ break;
+
case WSDISPLAYIO_GCURPOS:
case WSDISPLAYIO_SCURPOS:
case WSDISPLAYIO_GCURMAX: