From ab82fc7e5af85b57b2698e60873bf0dd7980123d Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 14 Aug 2011 08:14:00 +0000 Subject: [PATCH] initialise ih_ivec. --- sys/arch/sparc64/dev/ebus_mainbus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc64/dev/ebus_mainbus.c b/sys/arch/sparc64/dev/ebus_mainbus.c index 7021505ae67e..21789bdb4b13 100644 --- a/sys/arch/sparc64/dev/ebus_mainbus.c +++ b/sys/arch/sparc64/dev/ebus_mainbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: ebus_mainbus.c,v 1.7 2011/08/12 06:38:18 mrg Exp $ */ +/* $NetBSD: ebus_mainbus.c,v 1.8 2011/08/14 08:14:00 mrg Exp $ */ /* $OpenBSD: ebus_mainbus.c,v 1.7 2010/11/11 17:58:23 miod Exp $ */ /* @@ -344,6 +344,7 @@ ebus_mainbus_intr_establish(bus_space_tag_t t, int ihandle, int level, ih->ih_map = intrmapptr; ih->ih_clr = intrclrptr; + ih->ih_ivec = ihandle; ih->ih_fun = handler; ih->ih_arg = arg; ih->ih_pil = level;