summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/xy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/xy.c')
-rw-r--r--sys/arch/sparc/dev/xy.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/arch/sparc/dev/xy.c b/sys/arch/sparc/dev/xy.c
index f651417287a..46791981c0e 100644
--- a/sys/arch/sparc/dev/xy.c
+++ b/sys/arch/sparc/dev/xy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xy.c,v 1.24 2004/02/15 02:45:46 tedu Exp $ */
+/* $OpenBSD: xy.c,v 1.25 2004/09/29 07:35:11 miod Exp $ */
/* $NetBSD: xy.c,v 1.26 1997/07/19 21:43:56 pk Exp $ */
/*
@@ -431,9 +431,8 @@ xycattach(parent, self, aux)
xyc->sc_ih.ih_fun = xycintr;
xyc->sc_ih.ih_arg = xyc;
vmeintr_establish(ca->ca_ra.ra_intr[0].int_vec,
- ca->ca_ra.ra_intr[0].int_pri, &xyc->sc_ih, IPL_BIO);
- evcnt_attach(&xyc->sc_dev, "intr", &xyc->sc_intrcnt);
-
+ ca->ca_ra.ra_intr[0].int_pri, &xyc->sc_ih, IPL_BIO,
+ self->dv_xname);
/* now we must look for disks using autoconfig */
xa.dvmabuf = (char *)dvma_malloc(XYFM_BPS, &xa.buf, M_NOWAIT);
@@ -1079,10 +1078,6 @@ xycintr(v)
{
struct xyc_softc *xycsc = v;
- /* kick the event counter */
-
- xycsc->sc_intrcnt.ev_count++;
-
/* remove as many done IOPBs as possible */
xyc_remove_iorq(xycsc);