summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
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/sun3
parentaf22204009bf0102f9a30cc5e0f0b32f880edfdd (diff)
add empty mmioctl() implementation for new /dev/mem interface for all
architectures.
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/sun3/mem.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/sun3/sun3/mem.c b/sys/arch/sun3/sun3/mem.c
index 0fcec58ac60..55d49489a47 100644
--- a/sys/arch/sun3/sun3/mem.c
+++ b/sys/arch/sun3/sun3/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.7 1998/08/31 17:42:42 millert Exp $ */
+/* $OpenBSD: mem.c,v 1.8 1999/11/22 19:22:03 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.19 1995/08/08 21:09:01 gwr Exp $ */
/*
@@ -315,3 +315,15 @@ mmmmap(dev, off, prot)
return (-1);
}
+
+/*ARGSUSED*/
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}