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/hp300 | |
parent | af22204009bf0102f9a30cc5e0f0b32f880edfdd (diff) |
add empty mmioctl() implementation for new /dev/mem interface for all
architectures.
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r-- | sys/arch/hp300/hp300/mem.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/arch/hp300/hp300/mem.c b/sys/arch/hp300/hp300/mem.c index 625175d9fad..d028386d8a7 100644 --- a/sys/arch/hp300/hp300/mem.c +++ b/sys/arch/hp300/hp300/mem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mem.c,v 1.9 1999/09/03 18:00:42 art Exp $ */ +/* $OpenBSD: mem.c,v 1.10 1999/11/22 19:21:57 matthieu Exp $ */ /* $NetBSD: mem.c,v 1.17 1997/06/10 18:51:31 veego Exp $ */ /* @@ -239,3 +239,14 @@ mmmmap(dev, off, prot) return (-1); return (m68k_btop((u_int)off)); } + +int +mmioctl(dev, cmd, data, flags, p) + dev_t dev; + u_long cmd; + caddr_t data; + int flags; + struct proc *p; +{ + return (EOPNOTSUPP); +} |