summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/magma.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/dev/sbus/magma.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/dev/sbus/magma.c')
-rw-r--r--sys/dev/sbus/magma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbus/magma.c b/sys/dev/sbus/magma.c
index 33b3ba90856..6ca73ea9deb 100644
--- a/sys/dev/sbus/magma.c
+++ b/sys/dev/sbus/magma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magma.c,v 1.7 2003/03/27 17:39:05 jason Exp $ */
+/* $OpenBSD: magma.c,v 1.8 2003/06/24 21:54:38 henric Exp $ */
/*
* magma.c
*
@@ -366,7 +366,7 @@ magma_attach(parent, dev, aux)
return;
}
sc->sc_ih = bus_intr_establish(sa->sa_bustag, sa->sa_pri, IPL_TTY, 0,
- magma_hard, sc);
+ magma_hard, sc, dev->dv_xname);
if (sc->sc_ih == NULL) {
printf(": failed to establish interrupt\n");
bus_space_unmap(sc->sc_bustag, sc->sc_iohandle,