diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-05-10 17:59:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-05-10 17:59:28 +0000 |
commit | c2240bc25bc2b76da1b93416998817bb03248582 (patch) | |
tree | 1f93f371a8f5ce7d024b6f58cf843b999322fbc9 /sys/arch/vax/qbus | |
parent | 796638b2971697dc09865edef3662108b9376553 (diff) |
evcnt & friends were replaced by a proper interrupt counting mechanism 3 years ago; ok miod
Diffstat (limited to 'sys/arch/vax/qbus')
-rw-r--r-- | sys/arch/vax/qbus/if_de.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/vax/qbus/if_de.c b/sys/arch/vax/qbus/if_de.c index c9bad964a39..d1e69e421e4 100644 --- a/sys/arch/vax/qbus/if_de.c +++ b/sys/arch/vax/qbus/if_de.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_de.c,v 1.7 2006/03/25 22:41:42 djm Exp $ */ +/* $OpenBSD: if_de.c,v 1.8 2007/05/10 17:59:26 deraadt Exp $ */ /* $NetBSD: if_de.c,v 1.11 2001/11/13 07:11:24 lukem Exp $ */ /* @@ -112,7 +112,6 @@ struct de_cdata { */ struct de_softc { struct device sc_dev; /* Configuration common part */ - struct evcnt sc_intrcnt; /* Interrupt counting */ struct ethercom sc_ec; /* Ethernet common part */ #define sc_if sc_ec.ec_if /* network-visible interface */ bus_space_tag_t sc_iot; @@ -225,8 +224,6 @@ deattach(struct device *parent, struct device *self, void *aux) uba_intr_establish(ua->ua_icookie, ua->ua_cvec, deintr, sc, &sc->sc_intrcnt); uba_reset_establish(dereset, &sc->sc_dev); - evcnt_attach_dynamic(&sc->sc_intrcnt, EVCNT_TYPE_INTR, ua->ua_evcnt, - sc->sc_dev.dv_xname, "intr"); strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, sizeof ifp->if_xname); ifp->if_softc = sc; |