diff options
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 098e6412d46..204c01d0a8c 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_ioctl.c,v 1.8 2000/07/23 22:35:38 jasoni Exp $ */ +/* $OpenBSD: linux_ioctl.c,v 1.9 2001/04/09 06:53:45 tholo Exp $ */ /* $NetBSD: linux_ioctl.c,v 1.14 1996/04/05 00:01:28 christos Exp $ */ /* @@ -78,12 +78,20 @@ linux_sys_ioctl(p, v, retval) return oss_ioctl_sequencer(p, LINUX_TO_OSS(v), retval); case 'P': return oss_ioctl_audio(p, LINUX_TO_OSS(v), retval); - case 'T': + case 't': + case 'f': + case 'T': /* XXX MIDI sequencer uses 'T' as well */ return linux_ioctl_termios(p, uap, retval); case 'S': return linux_ioctl_cdrom(p, uap, retval); case 0x89: return linux_ioctl_socket(p, uap, retval); + case 0x03: + return linux_ioctl_hdio(p, uap, retval); + case 0x02: + return linux_ioctl_fdio(p, uap, retval); + case 0x12: + return linux_ioctl_blkio(p, uap, retval); default: return linux_machdepioctl(p, uap, retval); } |