summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev/stp_sbus.c
diff options
context:
space:
mode:
authorHenric Jungheim <henric@cvs.openbsd.org>2003-06-24 21:54:40 +0000
committerHenric Jungheim <henric@cvs.openbsd.org>2003-06-24 21:54:40 +0000
commit355b8560084501d10eae7686c8385754bc6c7072 (patch)
treed3bc0a5b778c1c6b51beb7fedae743f3fc436c13 /sys/arch/sparc64/dev/stp_sbus.c
parent02503c73b4a809f21312fef8bf66cfe5d0f1a50f (diff)
Add a "where" argument to the sparc64 interrupt code. This lets us
associate a name with each interrupt handler. This is not visible outside the kernel (yet). ok jason@
Diffstat (limited to 'sys/arch/sparc64/dev/stp_sbus.c')
-rw-r--r--sys/arch/sparc64/dev/stp_sbus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/stp_sbus.c b/sys/arch/sparc64/dev/stp_sbus.c
index ff6173e5a2c..13070497042 100644
--- a/sys/arch/sparc64/dev/stp_sbus.c
+++ b/sys/arch/sparc64/dev/stp_sbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: stp_sbus.c,v 1.2 2003/06/23 19:47:03 jason Exp $ */
+/* $OpenBSD: stp_sbus.c,v 1.3 2003/06/24 21:54:39 henric Exp $ */
/* $NetBSD: stp4020.c,v 1.23 2002/06/01 23:51:03 lukem Exp $ */
/*-
@@ -166,10 +166,10 @@ stpattach(parent, self, aux)
* the lower level for PC card I/O.
*/
bus_intr_establish(sa->sa_bustag, sa->sa_intr[1].sbi_pri,
- IPL_NONE, 0, stp4020_statintr, sc);
+ IPL_NONE, 0, stp4020_statintr, sc, self->dv_xname);
bus_intr_establish(sa->sa_bustag, sa->sa_intr[0].sbi_pri,
- IPL_NONE, 0, stp4020_iointr, sc);
+ IPL_NONE, 0, stp4020_iointr, sc, self->dv_xname);
stpattach_common(sc, sa->sa_frequency);
}