diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-30 19:02:09 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-30 19:02:09 +0000 |
commit | b0893d436e5f0487e0bae828af4b9a388280d47a (patch) | |
tree | 054d4d7203632e0e5d8f303713cfccb1efe413d5 /sys/arch/mvme88k/dev/if_le.c | |
parent | bc85dce4e6d789a03a4f3802a9c06f89f03a793b (diff) |
Move evcount structures inside struct intrhand, this makes more sense and
gives us more counters in the process.
Also clean up intrhand structures and usage, especially move them to SLISTs.
Diffstat (limited to 'sys/arch/mvme88k/dev/if_le.c')
-rw-r--r-- | sys/arch/mvme88k/dev/if_le.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/mvme88k/dev/if_le.c b/sys/arch/mvme88k/dev/if_le.c index c1275d9b0f7..50fd152a751 100644 --- a/sys/arch/mvme88k/dev/if_le.c +++ b/sys/arch/mvme88k/dev/if_le.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_le.c,v 1.9 2004/07/02 14:00:43 miod Exp $ */ +/* $OpenBSD: if_le.c,v 1.10 2004/07/30 19:02:05 miod Exp $ */ /*- * Copyright (c) 1982, 1992, 1993 @@ -41,7 +41,6 @@ #include <sys/socket.h> #include <sys/device.h> #include <sys/malloc.h> -#include <sys/evcount.h> #include <net/if.h> @@ -210,7 +209,6 @@ vle_intr(sc) struct vlereg1 *reg1 = (struct vlereg1 *)lesc->sc_r1; int rc; - lesc->sc_intrcnt.ec_count++; rc = am7990_intr(sc); ENABLE_INTR; return (rc); @@ -366,7 +364,5 @@ leattach(parent, self, aux) lesc->sc_ih.ih_arg = sc; lesc->sc_ih.ih_wantframe = 0; lesc->sc_ih.ih_ipl = ca->ca_ipl; - vmeintr_establish(ca->ca_vec, &lesc->sc_ih); - evcount_attach(&lesc->sc_intrcnt, self->dv_xname, - (void *)&lesc->sc_ih.ih_ipl, &evcount_intr); + vmeintr_establish(ca->ca_vec, &lesc->sc_ih, self->dv_xname); } |