summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/apio.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/apio.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/apio.c')
-rw-r--r--sys/dev/sbus/apio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbus/apio.c b/sys/dev/sbus/apio.c
index b2e65a7d780..808fd3d62e0 100644
--- a/sys/dev/sbus/apio.c
+++ b/sys/dev/sbus/apio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apio.c,v 1.4 2003/06/02 18:32:41 jason Exp $ */
+/* $OpenBSD: apio.c,v 1.5 2003/06/24 21:54:38 henric Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -228,7 +228,7 @@ lpt_apio_attach(parent, self, aux)
sc->sc_lpt.sc_ioh = aaa->aaa_ioh;
sc->sc_clk_h = aaa->aaa_clkh;
sc->sc_ih = bus_intr_establish(aaa->aaa_iot, aaa->aaa_pri,
- IPL_TTY, 0, lpt_apio_intr, sc);
+ IPL_TTY, 0, lpt_apio_intr, sc, self->dv_xname);
if (sc->sc_ih == NULL) {
printf(": cannot allocate intr\n");
return;