summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/linux/linux_ioctl.c')
-rw-r--r--sys/i386/linux/linux_ioctl.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/sys/i386/linux/linux_ioctl.c b/sys/i386/linux/linux_ioctl.c
index 6993144..aa9e844 100644
--- a/sys/i386/linux/linux_ioctl.c
+++ b/sys/i386/linux/linux_ioctl.c
@@ -1,4 +1,4 @@
-/*-
+/*
* Copyright (c) 1994-1995 Søren Schmidt
* All rights reserved.
*
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_ioctl.c,v 1.20 1997/07/20 16:05:59 bde Exp $
+ * $Id: linux_ioctl.c,v 1.21 1997/11/06 19:28:55 phk Exp $
*/
#include <sys/param.h>
@@ -662,6 +662,22 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args)
return copyout(&linux_line, (caddr_t)args->arg,
sizeof(int));
+ case LINUX_SNDCTL_DSP_GETOPTR :
+ args->cmd = SNDCTL_DSP_GETOPTR;
+ return ioctl(p, (struct ioctl_args *)args);
+
+ case LINUX_SNDCTL_DSP_GETIPTR :
+ args->cmd = SNDCTL_DSP_GETIPTR;
+ return ioctl(p, (struct ioctl_args *)args);
+
+ case LINUX_SNDCTL_DSP_SETTRIGGER:
+ args->cmd = SNDCTL_DSP_SETTRIGGER;
+ return ioctl(p, (struct ioctl_args *)args);
+
+ case LINUX_SNDCTL_DSP_GETCAPS:
+ args->cmd = SNDCTL_DSP_GETCAPS;
+ return ioctl(p, (struct ioctl_args *)args);
+
case LINUX_SNDCTL_DSP_RESET:
args->cmd = SNDCTL_DSP_RESET;
return ioctl(p, (struct ioctl_args *)args);
OpenPOWER on IntegriCloud