summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/alpha/alpha/mem.c13
-rw-r--r--sys/arch/amiga/amiga/mem.c13
-rw-r--r--sys/arch/arm32/arm32/mem.c11
-rw-r--r--sys/arch/atari/atari/mem.c11
-rw-r--r--sys/arch/hp300/hp300/mem.c13
-rw-r--r--sys/arch/hppa/dev/mem.c12
-rw-r--r--sys/arch/kbus/kbus/mem.c11
-rw-r--r--sys/arch/mac68k/mac68k/mem.c13
-rw-r--r--sys/arch/mips/mips/mem.c14
-rw-r--r--sys/arch/mvme68k/mvme68k/mem.c14
-rw-r--r--sys/arch/mvme88k/mvme88k/mem.c14
-rw-r--r--sys/arch/pc532/pc532/mem.c12
-rw-r--r--sys/arch/pmax/pmax/mem.c12
-rw-r--r--sys/arch/powerpc/powerpc/mem.c14
-rw-r--r--sys/arch/sparc/sparc/mem.c14
-rw-r--r--sys/arch/sun3/sun3/mem.c14
-rw-r--r--sys/arch/vax/vax/mem.c14
-rw-r--r--sys/arch/wgrisc/wgrisc/mem.c14
18 files changed, 220 insertions, 13 deletions
diff --git a/sys/arch/alpha/alpha/mem.c b/sys/arch/alpha/alpha/mem.c
index 8591825be1c..8e53cea7e04 100644
--- a/sys/arch/alpha/alpha/mem.c
+++ b/sys/arch/alpha/alpha/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.8 1998/08/31 17:42:25 millert Exp $ */
+/* $OpenBSD: mem.c,v 1.9 1999/11/22 19:21:55 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.10 1996/11/13 21:13:10 cgd Exp $ */
/*
@@ -216,3 +216,14 @@ mmmmap(dev, off, prot)
return (-1);
return (alpha_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);
+}
diff --git a/sys/arch/amiga/amiga/mem.c b/sys/arch/amiga/amiga/mem.c
index 5d045f20cc8..894b1dbf143 100644
--- a/sys/arch/amiga/amiga/mem.c
+++ b/sys/arch/amiga/amiga/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.7 1999/09/03 18:00:29 art Exp $ */
+/* $OpenBSD: mem.c,v 1.8 1999/11/22 19:21:57 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.18 1997/02/02 07:17:14 thorpej Exp $ */
/*
@@ -245,3 +245,14 @@ mmmmap(dev, off, prot)
{
return (EOPNOTSUPP);
}
+
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}
diff --git a/sys/arch/arm32/arm32/mem.c b/sys/arch/arm32/arm32/mem.c
index 13f87adb395..ab59b08d7d6 100644
--- a/sys/arch/arm32/arm32/mem.c
+++ b/sys/arch/arm32/arm32/mem.c
@@ -205,3 +205,14 @@ mmmmap(dev, off, prot)
return -1;
}
}
+
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}
diff --git a/sys/arch/atari/atari/mem.c b/sys/arch/atari/atari/mem.c
index a07e040615d..b83e269abfa 100644
--- a/sys/arch/atari/atari/mem.c
+++ b/sys/arch/atari/atari/mem.c
@@ -202,3 +202,14 @@ mmmmap(dev, off, prot)
return (EOPNOTSUPP);
}
+
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}
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);
+}
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);
+}
diff --git a/sys/arch/kbus/kbus/mem.c b/sys/arch/kbus/kbus/mem.c
index eaf8b44c862..fc176e9b88f 100644
--- a/sys/arch/kbus/kbus/mem.c
+++ b/sys/arch/kbus/kbus/mem.c
@@ -225,3 +225,14 @@ mmmmap(dev, off, prot)
return (EOPNOTSUPP);
}
+
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}
diff --git a/sys/arch/mac68k/mac68k/mem.c b/sys/arch/mac68k/mac68k/mem.c
index 006e78c9dd8..6e69548de49 100644
--- a/sys/arch/mac68k/mac68k/mem.c
+++ b/sys/arch/mac68k/mac68k/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.8 1999/09/03 18:01:14 art Exp $ */
+/* $OpenBSD: mem.c,v 1.9 1999/11/22 19:21:59 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.11 1996/05/05 06:18:41 briggs Exp $ */
/*
@@ -222,3 +222,14 @@ mmmmap(dev, off, prot)
}
return (-1);
}
+
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}
diff --git a/sys/arch/mips/mips/mem.c b/sys/arch/mips/mips/mem.c
index b8172a9ad8c..fbdb82d5063 100644
--- a/sys/arch/mips/mips/mem.c
+++ b/sys/arch/mips/mips/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.2 1998/08/31 17:42:34 millert Exp $ */
+/* $OpenBSD: mem.c,v 1.3 1999/11/22 19:21:59 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.6 1995/04/10 11:55:03 mycroft Exp $ */
/*
@@ -187,3 +187,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);
+}
diff --git a/sys/arch/mvme68k/mvme68k/mem.c b/sys/arch/mvme68k/mvme68k/mem.c
index 3288aeb681c..32045ee18be 100644
--- a/sys/arch/mvme68k/mvme68k/mem.c
+++ b/sys/arch/mvme68k/mvme68k/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.8 1999/09/27 20:30:32 smurph Exp $ */
+/* $OpenBSD: mem.c,v 1.9 1999/11/22 19:22:00 matthieu Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -264,3 +264,15 @@ mmmmap(dev, off, prot)
return (-1);
return (m68k_btop(off));
}
+
+/*ARGSUSED*/
+int
+mmioctl(dev, cmd, data, flags, p)
+ dev_t dev;
+ u_long cmd;
+ caddr_t data;
+ int flags;
+ struct proc *p;
+{
+ return (EOPNOTSUPP);
+}
diff --git a/sys/arch/mvme88k/mvme88k/mem.c b/sys/arch/mvme88k/mvme88k/mem.c
index dd26c44343d..dc2cfb6a88a 100644
--- a/sys/arch/mvme88k/mvme88k/mem.c
+++ b/sys/arch/mvme88k/mvme88k/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.4 1999/09/03 18:01:31 art Exp $ */
+/* $OpenBSD: mem.c,v 1.5 1999/11/22 19:22:00 matthieu Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -196,3 +196,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);
+}
diff --git a/sys/arch/pc532/pc532/mem.c b/sys/arch/pc532/pc532/mem.c
index 4d565be9770..efc7bbe0c62 100644
--- a/sys/arch/pc532/pc532/mem.c
+++ b/sys/arch/pc532/pc532/mem.c
@@ -281,3 +281,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);
+}
diff --git a/sys/arch/pmax/pmax/mem.c b/sys/arch/pmax/pmax/mem.c
index 2a5e2e6c89f..187fa97bf22 100644
--- a/sys/arch/pmax/pmax/mem.c
+++ b/sys/arch/pmax/pmax/mem.c
@@ -180,3 +180,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);
+}
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);
+}
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);
+}
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);
+}
diff --git a/sys/arch/vax/vax/mem.c b/sys/arch/vax/vax/mem.c
index 43b85dd0290..ba6a217bbec 100644
--- a/sys/arch/vax/vax/mem.c
+++ b/sys/arch/vax/vax/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.5 1998/08/31 17:42:44 millert Exp $ */
+/* $OpenBSD: mem.c,v 1.6 1999/11/22 19:22:03 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.9 1996/04/08 18:32:48 ragge Exp $ */
/*
@@ -205,3 +205,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);
+}
diff --git a/sys/arch/wgrisc/wgrisc/mem.c b/sys/arch/wgrisc/wgrisc/mem.c
index 14d139939b6..f45279a487b 100644
--- a/sys/arch/wgrisc/wgrisc/mem.c
+++ b/sys/arch/wgrisc/wgrisc/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.3 1998/08/31 17:42:45 millert Exp $ */
+/* $OpenBSD: mem.c,v 1.4 1999/11/22 19:22:03 matthieu Exp $ */
/* $NetBSD: mem.c,v 1.6 1995/04/10 11:55:03 mycroft Exp $ */
/*
@@ -184,3 +184,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);
+}