summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev/if_ie_vmes.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1996-12-31 06:14:11 +0000
committerkstailey <kstailey@cvs.openbsd.org>1996-12-31 06:14:11 +0000
commit731dcc4ac5dc6e92728060d9d58de2ad3234f18d (patch)
treee848198d84c64e9b24167ab794b8148d0a5468b8 /sys/arch/sun3/dev/if_ie_vmes.c
parent02549a9a7b34cbcbba7cc0ed4e08839b0bb496a8 (diff)
sync with 17-Dec-1996
Diffstat (limited to 'sys/arch/sun3/dev/if_ie_vmes.c')
-rw-r--r--sys/arch/sun3/dev/if_ie_vmes.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/sun3/dev/if_ie_vmes.c b/sys/arch/sun3/dev/if_ie_vmes.c
index 02dcc88e697..31403913eac 100644
--- a/sys/arch/sun3/dev/if_ie_vmes.c
+++ b/sys/arch/sun3/dev/if_ie_vmes.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ie_vmes.c,v 1.5 1996/11/20 18:56:51 gwr Exp $ */
+/* $NetBSD: if_ie_vmes.c,v 1.6 1996/12/17 21:10:46 gwr Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -58,7 +58,6 @@
#include <machine/autoconf.h>
#include <machine/cpu.h>
#include <machine/dvma.h>
-#include <machine/isr.h>
#include <machine/idprom.h>
#include <machine/vmparam.h>
@@ -74,7 +73,9 @@ static void ie_vmerun __P((struct ie_softc *));
* zero/copy functions: OBIO can use the normal functions, but VME
* must do only byte or half-word (16 bit) accesses...
*/
-static void wcopy(), wzero();
+static void wcopy __P((const void *vb1, void *vb2, u_int l));
+static void wzero __P((void *vb, u_int l));
+
/*
* New-style autoconfig attachment
@@ -93,8 +94,9 @@ ie_vmes_match(parent, vcf, args)
struct device *parent;
void *vcf, *args;
{
+ struct cfdata *cf = vcf;
struct confargs *ca = args;
- int x, sz;
+ int x;
#ifdef DIAGNOSTIC
if (ca->ca_bustype != BUS_VME16) {