summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-07-27 12:36:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-07-27 12:36:35 +0000
commitbb4db0fa8336704eaf9c3115ce09ecb20caccb3e (patch)
tree1349ec31ebe6a0cc6871f47627998c9aefb916b7 /sys/arch/luna88k/dev
parentff414172cbce7b80482f47a965b79ee7068987d4 (diff)
Add per-device evcount interrupt counters; also use LIST_xxx macros in isr.c
ok aaron@, tested aoyama@
Diffstat (limited to 'sys/arch/luna88k/dev')
-rw-r--r--sys/arch/luna88k/dev/if_le.c5
-rw-r--r--sys/arch/luna88k/dev/sio.c5
-rw-r--r--sys/arch/luna88k/dev/spc.c5
3 files changed, 9 insertions, 6 deletions
diff --git a/sys/arch/luna88k/dev/if_le.c b/sys/arch/luna88k/dev/if_le.c
index 82ac3902059..54db089fc20 100644
--- a/sys/arch/luna88k/dev/if_le.c
+++ b/sys/arch/luna88k/dev/if_le.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le.c,v 1.2 2004/06/19 18:33:37 miod Exp $ */
+/* $OpenBSD: if_le.c,v 1.3 2004/07/27 12:36:32 miod Exp $ */
/* $NetBSD: if_le.c,v 1.33 1996/11/20 18:56:52 gwr Exp $ */
/*-
@@ -162,7 +162,8 @@ le_attach(parent, self, aux)
am7990_config(sc);
- isrlink_autovec(am7990_intr, (void *)sc, ma->ma_ilvl, ISRPRI_NET);
+ isrlink_autovec(am7990_intr, (void *)sc, ma->ma_ilvl, ISRPRI_NET,
+ self->dv_xname);
}
/*
diff --git a/sys/arch/luna88k/dev/sio.c b/sys/arch/luna88k/dev/sio.c
index f593dc8e95c..08284263bfe 100644
--- a/sys/arch/luna88k/dev/sio.c
+++ b/sys/arch/luna88k/dev/sio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio.c,v 1.1 2004/04/21 15:23:55 aoyama Exp $ */
+/* $OpenBSD: sio.c,v 1.2 2004/07/27 12:36:32 miod Exp $ */
/* $NetBSD: sio.c,v 1.1 2000/01/05 08:48:55 nisimura Exp $ */
/*-
@@ -100,7 +100,8 @@ sio_attach(parent, self, aux)
config_found(self, (void *)&sio_args, sio_print);
}
- isrlink_autovec(xsiointr, sc, ma->ma_ilvl, ISRPRI_TTYNOBUF);
+ isrlink_autovec(xsiointr, sc, ma->ma_ilvl, ISRPRI_TTYNOBUF,
+ self->dv_xname);
}
int
diff --git a/sys/arch/luna88k/dev/spc.c b/sys/arch/luna88k/dev/spc.c
index bbf1044de9d..bdd99aeaf71 100644
--- a/sys/arch/luna88k/dev/spc.c
+++ b/sys/arch/luna88k/dev/spc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spc.c,v 1.1 2004/04/21 15:23:55 aoyama Exp $ */
+/* $OpenBSD: spc.c,v 1.2 2004/07/27 12:36:32 miod Exp $ */
/* $NetBSD: spc.c,v 1.4 2003/07/05 19:00:17 tsutsui Exp $ */
/*-
@@ -105,7 +105,8 @@ spc_mainbus_attach(parent, self, aux)
sc->sc_dma_start = NULL;
sc->sc_dma_done = NULL;
- isrlink_autovec(spc_intr, (void *)sc, ma->ma_ilvl, ISRPRI_BIO);
+ isrlink_autovec(spc_intr, (void *)sc, ma->ma_ilvl, ISRPRI_BIO,
+ self->dv_xname);
spc_attach(sc, &spc_switch);
}