summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/irixioctl.c
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@nuclecu.unam.mx>1997-09-21 22:53:54 +0000
committerMiguel de Icaza <miguel@nuclecu.unam.mx>1997-09-21 22:53:54 +0000
commit3235bbb7f72c2f2e6a3c72981d648f271da5449d (patch)
tree4bd025312a67dfad1f8e45865406f8d9311faaaa /arch/mips/kernel/irixioctl.c
parent5904ec12c2f203f136022580edb88e92a55c7af2 (diff)
Pass the ioctls down to the Linux kernel when the irix_ioctl does not
know about it.
Diffstat (limited to 'arch/mips/kernel/irixioctl.c')
-rw-r--r--arch/mips/kernel/irixioctl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/kernel/irixioctl.c b/arch/mips/kernel/irixioctl.c
index e0230f9f0..1483da812 100644
--- a/arch/mips/kernel/irixioctl.c
+++ b/arch/mips/kernel/irixioctl.c
@@ -1,4 +1,4 @@
-/* $Id: irixioctl.c,v 1.4 1996/07/14 09:36:16 dm Exp $
+/* $Id: irixioctl.c,v 1.1.1.1 1997/06/01 03:16:43 ralf Exp $
* irixioctl.c: A fucking mess...
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
@@ -235,6 +235,7 @@ asmlinkage int irix_ioctl(int fd, unsigned long cmd, unsigned long arg)
break;
default: {
+#ifdef DEBUG_MISSING_IOCTL
char *msg = "Unimplemented IOCTL cmd tell dm@engr.sgi.com\n";
#ifdef DEBUG_IOCTLS
@@ -246,6 +247,9 @@ asmlinkage int irix_ioctl(int fd, unsigned long cmd, unsigned long arg)
printk("[%s:%d] Does unimplemented IRIX ioctl cmd %08lx\n",
current->comm, current->pid, cmd);
do_exit(255);
+#else
+ error = sys_ioctl (fd, cmd, arg);
+#endif
}
};