summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mvme68k/dev/sbicdma.c7
-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
5 files changed, 5 insertions, 18 deletions
diff --git a/sys/arch/mvme68k/dev/sbicdma.c b/sys/arch/mvme68k/dev/sbicdma.c
index 7cb03aae52e..9ecd0096927 100644
--- a/sys/arch/mvme68k/dev/sbicdma.c
+++ b/sys/arch/mvme68k/dev/sbicdma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbicdma.c,v 1.11 2004/07/30 22:29:45 miod Exp $ */
+/* $OpenBSD: sbicdma.c,v 1.12 2004/09/29 19:17:40 miod Exp $ */
/*
* Copyright (c) 1995 Theo de Raadt
@@ -138,9 +138,6 @@ sbicdmaattach(parent, self, args)
sbicreset(sc);
- evcnt_attach(&sc->sc_dev, "intr", &sc->sc_intrcnt);
- evcnt_attach(&sc->sc_dev, "intr", &sc->sc_dmaintrcnt);
-
config_found(self, &sc->sc_link, sbicdmaprint);
}
@@ -214,7 +211,6 @@ printf("dmaintr%d ", stat);
if (stat & PCC_DMACSR_DMAERRDATA) {
printf("%s: DMA bus error\n", sc->sc_dev.dv_xname);
}
- sc->sc_dmaintrcnt.ev_count++;
return (1);
}
return (0);
@@ -239,7 +235,6 @@ printf("scintr%d ", stat);
sys_pcc->pcc_sbicirq = 0;
sbicintr(sc);
ret = 1;
- sc->sc_intrcnt.ev_count++;
}
return (ret);
}
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];
};