diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 1999-11-22 19:22:04 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 1999-11-22 19:22:04 +0000 |
commit | 9a3de6b003f521708e2eda5536b2d3f4193a277f (patch) | |
tree | 7dee423e832081207a934202fcd611a1877cf943 /sys/arch/sparc | |
parent | af22204009bf0102f9a30cc5e0f0b32f880edfdd (diff) |
add empty mmioctl() implementation for new /dev/mem interface for all
architectures.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/mem.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/mem.c b/sys/arch/sparc/sparc/mem.c index 80497e5c259..9976190d3fc 100644 --- a/sys/arch/sparc/sparc/mem.c +++ b/sys/arch/sparc/sparc/mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem.c,v 1.10 1999/11/16 12:21:41 art Exp $ */ +/* $OpenBSD: mem.c,v 1.11 1999/11/22 19:22:02 matthieu Exp $ */ /* $NetBSD: mem.c,v 1.13 1996/03/30 21:12:16 christos Exp $ */ /* @@ -243,3 +243,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); +} |