summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
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/powerpc
parentaf22204009bf0102f9a30cc5e0f0b32f880edfdd (diff)
add empty mmioctl() implementation for new /dev/mem interface for all
architectures.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/powerpc/mem.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/powerpc/powerpc/mem.c b/sys/arch/powerpc/powerpc/mem.c
index e712f96c629..93f6d412b23 100644
--- a/sys/arch/powerpc/powerpc/mem.c
+++ b/sys/arch/powerpc/powerpc/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.3 1998/08/31 17:42:39 millert Exp $ */
+/* $OpenBSD: mem.c,v 1.4 1999/11/22 19:22:02 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.1 1996/09/30 16:34:50 ws Exp $ */
/*
@@ -162,3 +162,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);
+}