summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/ce4231.c4
-rw-r--r--sys/arch/sparc64/dev/ce4231var.h3
-rw-r--r--sys/arch/sparc64/dev/zs.c6
-rw-r--r--sys/arch/sparc64/include/z8530var.h3
4 files changed, 4 insertions, 12 deletions
diff --git a/sys/arch/sparc64/dev/ce4231.c b/sys/arch/sparc64/dev/ce4231.c
index b2019b81182..b222bad1392 100644
--- a/sys/arch/sparc64/dev/ce4231.c
+++ b/sys/arch/sparc64/dev/ce4231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ce4231.c,v 1.15 2003/06/24 21:54:39 henric Exp $ */
+/* $OpenBSD: ce4231.c,v 1.16 2004/09/29 19:17:43 miod Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -291,8 +291,6 @@ ce4231_attach(parent, self, aux)
printf(": nvaddrs %d\n", ea->ea_nvaddrs);
- evcnt_attach(&sc->sc_dev, "intr", &sc->sc_intrcnt);
-
audio_attach_mi(&ce4231_sa_hw_if, sc, &sc->sc_dev);
/* Default to speaker, unmuted, reasonable volume */
diff --git a/sys/arch/sparc64/dev/ce4231var.h b/sys/arch/sparc64/dev/ce4231var.h
index 20913eb2c54..269d78a6849 100644
--- a/sys/arch/sparc64/dev/ce4231var.h
+++ b/sys/arch/sparc64/dev/ce4231var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ce4231var.h,v 1.6 2003/06/02 20:02:49 jason Exp $ */
+/* $OpenBSD: ce4231var.h,v 1.7 2004/09/29 19:17:43 miod Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -62,7 +62,6 @@ struct ce4231_softc {
bus_space_handle_t sc_cdmahandle; /* capture DMA handle */
bus_space_handle_t sc_pdmahandle; /* playback DMA handle */
bus_space_handle_t sc_auxhandle; /* AUX handle */
- struct evcnt sc_intrcnt; /* statistics */
int sc_open; /* already open? */
int sc_locked; /* locked? */
diff --git a/sys/arch/sparc64/dev/zs.c b/sys/arch/sparc64/dev/zs.c
index d468a1c7dee..ac727abdc2b 100644
--- a/sys/arch/sparc64/dev/zs.c
+++ b/sys/arch/sparc64/dev/zs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: zs.c,v 1.16 2004/09/28 18:37:43 jason Exp $ */
+/* $OpenBSD: zs.c,v 1.17 2004/09/29 19:17:43 miod Exp $ */
/* $NetBSD: zs.c,v 1.29 2001/05/30 15:24:24 lukem Exp $ */
/*-
@@ -453,9 +453,6 @@ zs_attach(zsc, zsd, pri)
if (!(zsc->zsc_softintr = softintr_establish(softpri, zssoft, zsc)))
panic("zsattach: could not establish soft interrupt");
- evcnt_attach(&zsc->zsc_dev, "intr", &zsc->zsc_intrcnt);
-
-
/*
* Set the master interrupt enable and interrupt vector.
* (common to both channels, do it on A)
@@ -500,7 +497,6 @@ zshard(arg)
while ((rr3 = zsc_intr_hard(zsc))) {
/* Count up the interrupts. */
rval |= rr3;
- zsc->zsc_intrcnt.ev_count++;
}
if (((zsc->zsc_cs[0] && zsc->zsc_cs[0]->cs_softreq) ||
(zsc->zsc_cs[1] && zsc->zsc_cs[1]->cs_softreq)) &&
diff --git a/sys/arch/sparc64/include/z8530var.h b/sys/arch/sparc64/include/z8530var.h
index dcfd8d393f6..1543808eb43 100644
--- a/sys/arch/sparc64/include/z8530var.h
+++ b/sys/arch/sparc64/include/z8530var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530var.h,v 1.5 2003/06/02 23:27:56 millert Exp $ */
+/* $OpenBSD: z8530var.h,v 1.6 2004/09/29 19:17:43 miod Exp $ */
/* $NetBSD: z8530var.h,v 1.4 2000/11/08 23:41:42 eeh Exp $ */
/*
@@ -64,7 +64,6 @@ struct zsc_softc {
void *zsc_softintr;
int zsc_promunit; /* PROM's view of zs devices */
int zsc_node; /* PROM node, if any */
- struct evcnt zsc_intrcnt; /* count interrupts */
struct zs_chanstate zsc_cs_store[2];
};