Date: Sun, 13 May 2007 17:43:41 GMT From: Matt Jacob <mjacob@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 119776 for review Message-ID: <200705131743.l4DHhfWJ016275@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=119776 Change 119776 by mjacob@mjexp on 2007/05/13 17:43:07 Temp workaround config_intrhook_establish running the hook right away. Affected files ... .. //depot/projects/mjexp/sys/dev/isp/isp_freebsd.c#26 edit Differences ... ==== //depot/projects/mjexp/sys/dev/isp/isp_freebsd.c#26 (text+ko) ==== @@ -146,12 +146,15 @@ isp->isp_osinfo.ehook.ich_func = isp_intr_enable; isp->isp_osinfo.ehook.ich_arg = isp; + ISP_UNLOCK(isp); if (config_intrhook_establish(&isp->isp_osinfo.ehook) != 0) { + ISP_LOCK(isp); cam_sim_free(sim, TRUE); isp_prt(isp, ISP_LOGERR, "could not establish interrupt enable hook"); return; } + ISP_LOCK(isp); if (xpt_bus_register(sim, primary) != CAM_SUCCESS) { cam_sim_free(sim, TRUE);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705131743.l4DHhfWJ016275>