diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-03-13 23:05:24 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-03-13 23:05:24 +0000 |
commit | e65f20a3240f3c813af23255349612b307ad148c (patch) | |
tree | 445bdf06d0a15e6e570923910f5d8569430088cd /sys/dev | |
parent | 8f8cdbd74e14b9250369ce67311e79dc66aded6b (diff) |
Add missed WSDISPLAYIO_[GS]VIDEO ioctl handling.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sbus/cgtwelve.c | 6 | ||||
-rw-r--r-- | sys/dev/sbus/mgx.c | 6 | ||||
-rw-r--r-- | sys/dev/sbus/rfx.c | 6 | ||||
-rw-r--r-- | sys/dev/sbus/zx.c | 6 |
4 files changed, 20 insertions, 4 deletions
diff --git a/sys/dev/sbus/cgtwelve.c b/sys/dev/sbus/cgtwelve.c index 55ed4545d5f..9d65f969803 100644 --- a/sys/dev/sbus/cgtwelve.c +++ b/sys/dev/sbus/cgtwelve.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cgtwelve.c,v 1.2 2005/03/07 16:44:52 miod Exp $ */ +/* $OpenBSD: cgtwelve.c,v 1.3 2005/03/13 23:05:23 miod Exp $ */ /* * Copyright (c) 2002, 2003 Miodrag Vallat. All rights reserved. @@ -297,6 +297,10 @@ cgtwelve_ioctl(void *dev, u_long cmd, caddr_t data, int flags, struct proc *p) } break; + case WSDISPLAYIO_SVIDEO: + case WSDISPLAYIO_GVIDEO: + break; + default: return (-1); /* not supported yet */ } 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); } diff --git a/sys/dev/sbus/rfx.c b/sys/dev/sbus/rfx.c index db2ddcdb24b..5b8b3f0ffe0 100644 --- a/sys/dev/sbus/rfx.c +++ b/sys/dev/sbus/rfx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rfx.c,v 1.4 2005/03/07 16:44:53 miod Exp $ */ +/* $OpenBSD: rfx.c,v 1.5 2005/03/13 23:05:23 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. @@ -361,6 +361,10 @@ rfx_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p) rfx_loadcmap(sc, cm->index, cm->count); break; + case WSDISPLAYIO_SVIDEO: + case WSDISPLAYIO_GVIDEO: + break; + default: return (-1); } diff --git a/sys/dev/sbus/zx.c b/sys/dev/sbus/zx.c index b676b4eed59..5a6d54eb5c9 100644 --- a/sys/dev/sbus/zx.c +++ b/sys/dev/sbus/zx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: zx.c,v 1.5 2005/03/07 16:44:53 miod Exp $ */ +/* $OpenBSD: zx.c,v 1.6 2005/03/13 23:05:23 miod Exp $ */ /* $NetBSD: zx.c,v 1.5 2002/10/02 16:52:46 thorpej Exp $ */ /* @@ -356,6 +356,10 @@ zx_ioctl(void *dev, u_long cmd, caddr_t data, int flags, struct proc *p) zx_reset(sc, *(u_int *)data); break; + case WSDISPLAYIO_SVIDEO: + case WSDISPLAYIO_GVIDEO: + break; + default: return (-1); } |