diff options
author | Henric Jungheim <henric@cvs.openbsd.org> | 2003-06-24 21:54:40 +0000 |
---|---|---|
committer | Henric Jungheim <henric@cvs.openbsd.org> | 2003-06-24 21:54:40 +0000 |
commit | 355b8560084501d10eae7686c8385754bc6c7072 (patch) | |
tree | d3bc0a5b778c1c6b51beb7fedae743f3fc436c13 /sys/dev/sbus/magma.c | |
parent | 02503c73b4a809f21312fef8bf66cfe5d0f1a50f (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.c | 4 |
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, |