summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_freebsd.h
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2009-12-04 03:34:12 +0000
committermjacob <mjacob@FreeBSD.org>2009-12-04 03:34:12 +0000
commit131d3745385aefd75c98f334be75366694ccbd9c (patch)
tree69ca594dc7af6d5e7423015418427516190b8ab0 /sys/dev/isp/isp_freebsd.h
parent901b0b81fe3969528db13d192d74c87c04ac6bf4 (diff)
downloadFreeBSD-src-131d3745385aefd75c98f334be75366694ccbd9c.zip
FreeBSD-src-131d3745385aefd75c98f334be75366694ccbd9c.tar.gz
Fix cases where we've managed to get a Loop UP event prior to initializing
the loop down counter, as well as other things. This was brought to my attention with a different fix, more for RELENG_7- this one covers the multiple channel case. PR: 140438 MFC after: 1 month
Diffstat (limited to 'sys/dev/isp/isp_freebsd.h')
-rw-r--r--sys/dev/isp/isp_freebsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h
index 2988e30..2942594 100644
--- a/sys/dev/isp/isp_freebsd.h
+++ b/sys/dev/isp/isp_freebsd.h
@@ -177,9 +177,9 @@ struct isp_fc {
hysteresis : 8,
role : 2,
gdt_running : 1,
- ldt_running : 1,
loop_dead : 1,
- fcbsy : 1;
+ fcbsy : 1,
+ ready : 1;
struct callout ldt; /* loop down timer */
struct callout gdt; /* gone device timer */
#ifdef ISP_TARGET_MODE
OpenPOWER on IntegriCloud