summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/memdevs.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-03-08 00:03:16 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-03-08 00:03:16 +0000
commitaea1fc865c99ac9305a3e480b9515fa515c4c236 (patch)
tree0476fa27f493434d76aa82df5f5052d7d75489a8 /sys/arch/mvme88k/dev/memdevs.c
parent956a2d3274c29598b59ffab23e3e3ef4b87d7ef7 (diff)
Some warning hunting.
Define new include files for convenience, for use by drivers who can attach either to pcctwo or syscon, or need bug console routines.
Diffstat (limited to 'sys/arch/mvme88k/dev/memdevs.c')
-rw-r--r--sys/arch/mvme88k/dev/memdevs.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/dev/memdevs.c b/sys/arch/mvme88k/dev/memdevs.c
index bb3163cc130..9eebe15b9ec 100644
--- a/sys/arch/mvme88k/dev/memdevs.c
+++ b/sys/arch/mvme88k/dev/memdevs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memdevs.c,v 1.2 1998/12/15 05:52:30 smurph Exp $ */
+/* $OpenBSD: memdevs.c,v 1.3 2001/03/08 00:03:13 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -36,10 +36,12 @@
#include <sys/systm.h>
#include <sys/uio.h>
#include <sys/malloc.h>
-
#include <sys/device.h>
-#include <machine/cpu.h>
+
#include <machine/autoconf.h>
+#include <machine/cpu.h>
+
+#include <mvme88k/dev/memdevs.h>
/*ARGSUSED*/
int
@@ -49,7 +51,7 @@ memdevrw(base, len, uio, flags)
struct uio *uio;
int flags;
{
- register vm_offset_t o, v;
+ register vm_offset_t v;
register int c;
register struct iovec *iov;
int error = 0;