]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r276959:
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Jan 2015 20:38:38 +0000 (20:38 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Jan 2015 20:38:38 +0000 (20:38 +0000)
commit38cb239684d589ecf46d76554909ca0980453f95
tree762f5cd0d8d3c8ef6ebc366720415217ce95a74f
parente4f1cc83d7c662326328cd6c7868df1b8e12a227
MFC r276959:
cxgb: replace r273280 with a more comprehensive fix.

Poll for link state when the link is down, even for interrupt capable
PHYs.

Allow PHYs to report a dubious "partial" link.  If this state is seen 3
consecutive times (each check is ~1s apart) then reset the PHY.  This is
a workaround for a situation where repeatedly toggling the link from the
peer gets the AEL2005 PHY into a state where it never establishes a PCS
block lock even when everything is in order.

git-svn-id: svn://svn.freebsd.org/base/stable/10@277343 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/cxgb/common/cxgb_ael1002.c
sys/dev/cxgb/common/cxgb_aq100x.c
sys/dev/cxgb/common/cxgb_common.h
sys/dev/cxgb/common/cxgb_mv88e1xxx.c
sys/dev/cxgb/common/cxgb_t3_hw.c
sys/dev/cxgb/common/cxgb_tn1010.c
sys/dev/cxgb/common/cxgb_vsc8211.c
sys/dev/cxgb/cxgb_main.c