summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
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/hppa
parentaf22204009bf0102f9a30cc5e0f0b32f880edfdd (diff)
add empty mmioctl() implementation for new /dev/mem interface for all
architectures.
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/dev/mem.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/arch/hppa/dev/mem.c b/sys/arch/hppa/dev/mem.c
index abb2bfa5ff7..195e6850261 100644
--- a/sys/arch/hppa/dev/mem.c
+++ b/sys/arch/hppa/dev/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.2 1999/06/29 20:56:09 mickey Exp $ */
+/* $OpenBSD: mem.c,v 1.3 1999/11/22 19:21:58 matthieu Exp $ */
/*
* Copyright (c) 1998 Michael Shalayeff
@@ -296,3 +296,13 @@ mmmmap(dev, off, prot)
return (btop(off));
}
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}