summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/qe.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/qe.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/qe.c')
-rw-r--r--sys/dev/sbus/qe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sbus/qe.c b/sys/dev/sbus/qe.c
index f269db1417f..2dc9a75177e 100644
--- a/sys/dev/sbus/qe.c
+++ b/sys/dev/sbus/qe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: qe.c,v 1.12 2003/06/02 18:32:41 jason Exp $ */
+/* $OpenBSD: qe.c,v 1.13 2003/06/24 21:54:38 henric Exp $ */
/* $NetBSD: qe.c,v 1.16 2001/03/30 17:30:18 christos Exp $ */
/*-
@@ -246,8 +246,8 @@ qeattach(parent, self, aux)
qestop(sc);
/* Note: no interrupt level passed */
- if (bus_intr_establish(sa->sa_bustag, 0, IPL_NET, 0, qeintr, sc) ==
- NULL) {
+ if (bus_intr_establish(sa->sa_bustag, 0, IPL_NET, 0, qeintr, sc,
+ self->dv_xname) == NULL) {
printf(": no interrupt established\n");
return;
}