summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev/if_ie_vmes.c
diff options
context:
space:
mode:
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, 4 insertions, 6 deletions
diff --git a/sys/arch/sun3/dev/if_ie_vmes.c b/sys/arch/sun3/dev/if_ie_vmes.c
index 31403913eac..02dcc88e697 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.6 1996/12/17 21:10:46 gwr Exp $ */
+/* $NetBSD: if_ie_vmes.c,v 1.5 1996/11/20 18:56:51 gwr Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -58,6 +58,7 @@
#include <machine/autoconf.h>
#include <machine/cpu.h>
#include <machine/dvma.h>
+#include <machine/isr.h>
#include <machine/idprom.h>
#include <machine/vmparam.h>
@@ -73,9 +74,7 @@ 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 __P((const void *vb1, void *vb2, u_int l));
-static void wzero __P((void *vb, u_int l));
-
+static void wcopy(), wzero();
/*
* New-style autoconfig attachment
@@ -94,9 +93,8 @@ ie_vmes_match(parent, vcf, args)
struct device *parent;
void *vcf, *args;
{
- struct cfdata *cf = vcf;
struct confargs *ca = args;
- int x;
+ int x, sz;
#ifdef DIAGNOSTIC
if (ca->ca_bustype != BUS_VME16) {