summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-03-08 18:35:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-03-08 18:35:47 +0000
commitc78a3508609c3a8b3241ef1b38423e07754da58c (patch)
tree5ef92d50626233b003e3ac7f5204ca9afc359e50 /sys/dev/isa
parenta8f747218ef7b92511b875df290dfa93fddbbdb4 (diff)
In pcic_intr_find(), pass a correct device name to isa_intr_establish(), so
that we can get reasonable debug or panic messages when things go wrong.
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/i82365_isasubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/i82365_isasubr.c b/sys/dev/isa/i82365_isasubr.c
index 1e0f7eac403..d27f489baaf 100644
--- a/sys/dev/isa/i82365_isasubr.c
+++ b/sys/dev/isa/i82365_isasubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82365_isasubr.c,v 1.22 2009/07/23 15:58:37 miod Exp $ */
+/* $OpenBSD: i82365_isasubr.c,v 1.23 2013/03/08 18:35:46 miod Exp $ */
/* $NetBSD: i82365_isasubr.c,v 1.1 1998/06/07 18:28:31 sommerfe Exp $ */
/*
@@ -313,7 +313,7 @@ pcic_intr_find(sc, ist)
* higher.
*/
ih = isa_intr_establish(ic, irq, ist, IPL_VM,
- pcic_intr_probe, 0, NULL);
+ pcic_intr_probe, 0, sc->dev.dv_xname);
if (ih == NULL)
continue;
pcic_intr_seen = 0;