diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-09-29 07:35:15 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-09-29 07:35:15 +0000 |
commit | 98de1921367f7a5202910626ee67011985fc6238 (patch) | |
tree | 78c6738edd0eb52fb6c913736d7913c0c1f0674b /sys/arch/sparc/dev/tctrl.c | |
parent | 4ee9b02e4ff2aca8569497a013add163e3752aa0 (diff) |
Switch sparc to evcount; ok deraadt@
Diffstat (limited to 'sys/arch/sparc/dev/tctrl.c')
-rw-r--r-- | sys/arch/sparc/dev/tctrl.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/arch/sparc/dev/tctrl.c b/sys/arch/sparc/dev/tctrl.c index fbdeddb00db..c0660769386 100644 --- a/sys/arch/sparc/dev/tctrl.c +++ b/sys/arch/sparc/dev/tctrl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tctrl.c,v 1.6 2004/05/10 09:05:52 miod Exp $ */ +/* $OpenBSD: tctrl.c,v 1.7 2004/09/29 07:35:11 miod Exp $ */ /* $NetBSD: tctrl.c,v 1.2 1999/08/11 00:46:06 matt Exp $ */ /*- @@ -100,8 +100,6 @@ struct tctrl_softc { u_int8_t sc_cmdlen; u_int8_t sc_rspoff; u_int8_t sc_rsplen; - - struct evcnt sc_intrcnt; /* interrupt counting */ }; int tctrl_match(struct device *, void *, void *); @@ -188,8 +186,7 @@ tctrl_attach(parent, self, aux) sc->sc_ih.ih_fun = tctrl_intr; sc->sc_ih.ih_arg = sc; - intr_establish(pri, &sc->sc_ih, -1); - evcnt_attach(&sc->sc_dev, "intr", &sc->sc_intrcnt); + intr_establish(pri, &sc->sc_ih, -1, self->dv_xname); /* See what the external status is */ |