summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/mgx.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-03-13 23:05:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-03-13 23:05:24 +0000
commite65f20a3240f3c813af23255349612b307ad148c (patch)
tree445bdf06d0a15e6e570923910f5d8569430088cd /sys/dev/sbus/mgx.c
parent8f8cdbd74e14b9250369ce67311e79dc66aded6b (diff)
Add missed WSDISPLAYIO_[GS]VIDEO ioctl handling.
Diffstat (limited to 'sys/dev/sbus/mgx.c')
-rw-r--r--sys/dev/sbus/mgx.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/sbus/mgx.c b/sys/dev/sbus/mgx.c
index a1439d75771..fd310cfa729 100644
--- a/sys/dev/sbus/mgx.c
+++ b/sys/dev/sbus/mgx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mgx.c,v 1.4 2005/03/07 16:44:52 miod Exp $ */
+/* $OpenBSD: mgx.c,v 1.5 2005/03/13 23:05:23 miod Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -266,6 +266,10 @@ mgx_ioctl(void *dev, u_long cmd, caddr_t data, int flags, struct proc *p)
mgx_loadcmap(sc, cm->index, cm->count);
break;
+ case WSDISPLAYIO_SVIDEO:
+ case WSDISPLAYIO_GVIDEO:
+ break;
+
default:
return (-1);
}