summaryrefslogtreecommitdiff
path: root/sys/arch/mips
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>1999-11-22 19:22:04 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>1999-11-22 19:22:04 +0000
commit9a3de6b003f521708e2eda5536b2d3f4193a277f (patch)
tree7dee423e832081207a934202fcd611a1877cf943 /sys/arch/mips
parentaf22204009bf0102f9a30cc5e0f0b32f880edfdd (diff)
add empty mmioctl() implementation for new /dev/mem interface for all
architectures.
Diffstat (limited to 'sys/arch/mips')
-rw-r--r--sys/arch/mips/mips/mem.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/mips/mips/mem.c b/sys/arch/mips/mips/mem.c
index b8172a9ad8c..fbdb82d5063 100644
--- a/sys/arch/mips/mips/mem.c
+++ b/sys/arch/mips/mips/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.2 1998/08/31 17:42:34 millert Exp $ */
+/* $OpenBSD: mem.c,v 1.3 1999/11/22 19:21:59 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.6 1995/04/10 11:55:03 mycroft Exp $ */
/*
@@ -187,3 +187,15 @@ mmmmap(dev, off, prot)
return (EOPNOTSUPP);
}
+
+/*ARGSUSED*/
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}