Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/if Adapt for matt's changes.
details: https://anonhg.NetBSD.org/src/rev/913b20bcf00b
branches: trunk
changeset: 481379:913b20bcf00b
user: bouyer <bouyer%NetBSD.org@localhost>
date: Thu Jan 27 16:58:44 2000 +0000
description:
Adapt for matt's changes.
diffstat:
sys/arch/vax/if/if_le.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (37 lines):
diff -r c2db85142c00 -r 913b20bcf00b sys/arch/vax/if/if_le.c
--- a/sys/arch/vax/if/if_le.c Thu Jan 27 16:44:30 2000 +0000
+++ b/sys/arch/vax/if/if_le.c Thu Jan 27 16:58:44 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_le.c,v 1.14 1999/08/14 18:40:23 ragge Exp $ */
+/* $NetBSD: if_le.c,v 1.15 2000/01/27 16:58:44 bouyer Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -123,7 +123,6 @@
void lance_copytobuf_gap2 __P((struct lance_softc *, void *, int, int));
void lance_copyfrombuf_gap2 __P((struct lance_softc *, void *, int, int));
void lance_zerobuf_gap2 __P((struct lance_softc *, int, int));
-void leintr __P((int));
struct cfattach le_ibus_ca = {
sizeof(struct le_softc), le_ibus_match, le_ibus_attach
@@ -188,7 +187,7 @@
i = scb_vecref(&vec, &br);
if (i == 0 || vec == 0)
return;
- scb_vecalloc(vec, leintr, self->dv_unit, SCB_ISTACK);
+ scb_vecalloc(vec, (void (*)(void *))am7990_intr, sc, SCB_ISTACK);
printf(": vec %o ipl %x\n%s", vec, br, self->dv_xname);
/*
@@ -324,10 +323,3 @@
len -= 2;
}
}
-
-void
-leintr(unit)
- int unit;
-{
- am7990_intr(le_cd.cd_devs[unit]);
-}
Home |
Main Index |
Thread Index |
Old Index