summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2004-08-23 19:04:19 +0000
committermjacob <mjacob@FreeBSD.org>2004-08-23 19:04:19 +0000
commit23928ffbb65a186dfb07772ede9f6d218f7bd800 (patch)
tree2d3cecac3bf0d6350abea4183e8f88f7abf421fa
parent41e5880d793a17e5cb47f87bbd0ce569833715d6 (diff)
downloadFreeBSD-src-23928ffbb65a186dfb07772ede9f6d218f7bd800.zip
FreeBSD-src-23928ffbb65a186dfb07772ede9f6d218f7bd800.tar.gz
Until I can get a clearer architecture from PHK about why he wants
the geometry code to grab a mutex that prohibits any driver on the stack below it from sleeping, it's not safe to allow anything in the top half of isp to sleep (excepting the thread that Fibre Channel instances use to re-scan loops/fabrics).
-rw-r--r--sys/dev/isp/isp_freebsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index 9845078..986fc8d 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -515,7 +515,9 @@ isp_intr_enable(void *arg)
struct ispsoftc *isp = arg;
if (isp->isp_role != ISP_ROLE_NONE) {
ENABLE_INTS(isp);
+#if 0
isp->isp_osinfo.intsok = 1;
+#endif
}
/* Release our hook so that the boot can continue. */
config_intrhook_disestablish(&isp->isp_osinfo.ehook);
OpenPOWER on IntegriCloud