summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
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/arch/sparc/dev
parent8f8cdbd74e14b9250369ce67311e79dc66aded6b (diff)
Add missed WSDISPLAYIO_[GS]VIDEO ioctl handling.
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/cgfourteen.c6
-rw-r--r--sys/arch/sparc/dev/cgtwelve.c6
-rw-r--r--sys/arch/sparc/dev/mgx.c6
-rw-r--r--sys/arch/sparc/dev/rfx.c6
-rw-r--r--sys/arch/sparc/dev/tcx.c6
-rw-r--r--sys/arch/sparc/dev/zx.c6
6 files changed, 30 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/cgfourteen.c b/sys/arch/sparc/dev/cgfourteen.c
index 7c58b20d0c1..b90a725ecb3 100644
--- a/sys/arch/sparc/dev/cgfourteen.c
+++ b/sys/arch/sparc/dev/cgfourteen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgfourteen.c,v 1.28 2005/03/07 16:44:50 miod Exp $ */
+/* $OpenBSD: cgfourteen.c,v 1.29 2005/03/13 23:05:22 miod Exp $ */
/* $NetBSD: cgfourteen.c,v 1.7 1997/05/24 20:16:08 pk Exp $ */
/*
@@ -390,6 +390,10 @@ cgfourteen_ioctl(dev, cmd, data, flags, p)
}
break;
+ case WSDISPLAYIO_GVIDEO:
+ case WSDISPLAYIO_SVIDEO:
+ break;
+
default:
return (-1); /* not supported yet */
}
diff --git a/sys/arch/sparc/dev/cgtwelve.c b/sys/arch/sparc/dev/cgtwelve.c
index ed5a2626d36..5f4a7b70033 100644
--- a/sys/arch/sparc/dev/cgtwelve.c
+++ b/sys/arch/sparc/dev/cgtwelve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cgtwelve.c,v 1.12 2005/03/07 16:44:50 miod Exp $ */
+/* $OpenBSD: cgtwelve.c,v 1.13 2005/03/13 23:05:22 miod Exp $ */
/*
* Copyright (c) 2002, 2003 Miodrag Vallat. All rights reserved.
@@ -276,6 +276,10 @@ cgtwelve_ioctl(dev, cmd, data, flags, p)
}
break;
+ case WSDISPLAYIO_SVIDEO:
+ case WSDISPLAYIO_GVIDEO:
+ break;
+
default:
return (-1); /* not supported yet */
}
diff --git a/sys/arch/sparc/dev/mgx.c b/sys/arch/sparc/dev/mgx.c
index b7c079d1f05..94b3c8fa4b0 100644
--- a/sys/arch/sparc/dev/mgx.c
+++ b/sys/arch/sparc/dev/mgx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mgx.c,v 1.8 2005/03/07 16:44:50 miod Exp $ */
+/* $OpenBSD: mgx.c,v 1.9 2005/03/13 23:05:22 miod Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -248,6 +248,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/arch/sparc/dev/rfx.c b/sys/arch/sparc/dev/rfx.c
index 401b42542e5..d79e4c9acd4 100644
--- a/sys/arch/sparc/dev/rfx.c
+++ b/sys/arch/sparc/dev/rfx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfx.c,v 1.8 2005/03/07 16:44:50 miod Exp $ */
+/* $OpenBSD: rfx.c,v 1.9 2005/03/13 23:05:22 miod Exp $ */
/*
* Copyright (c) 2004, Miodrag Vallat.
@@ -341,6 +341,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/arch/sparc/dev/tcx.c b/sys/arch/sparc/dev/tcx.c
index fa0511651f4..b27df78657d 100644
--- a/sys/arch/sparc/dev/tcx.c
+++ b/sys/arch/sparc/dev/tcx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcx.c,v 1.23 2005/03/07 16:44:50 miod Exp $ */
+/* $OpenBSD: tcx.c,v 1.24 2005/03/13 23:05:22 miod Exp $ */
/* $NetBSD: tcx.c,v 1.8 1997/07/29 09:58:14 fair Exp $ */
/*
@@ -344,6 +344,10 @@ tcx_ioctl(dev, cmd, data, flags, p)
}
break;
+ case WSDISPLAYIO_SVIDEO:
+ case WSDISPLAYIO_GVIDEO:
+ break;
+
default:
return (-1); /* not supported yet */
}
diff --git a/sys/arch/sparc/dev/zx.c b/sys/arch/sparc/dev/zx.c
index 4a44fb83a90..81df452e679 100644
--- a/sys/arch/sparc/dev/zx.c
+++ b/sys/arch/sparc/dev/zx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zx.c,v 1.10 2005/03/07 16:44:50 miod Exp $ */
+/* $OpenBSD: zx.c,v 1.11 2005/03/13 23:05:22 miod Exp $ */
/* $NetBSD: zx.c,v 1.5 2002/10/02 16:52:46 thorpej Exp $ */
/*
@@ -326,6 +326,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);
}