]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r276959:
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Jan 2015 20:40:08 +0000 (20:40 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 18 Jan 2015 20:40:08 +0000 (20:40 +0000)
commit8ce51bca5920226006a4047ea56542073a2a93f4
treedd4034359377660805a3f2f5e9da55a3d39398b3
parentd4c7c07453ace2f9c1d03ed9f078485c2b377d80
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/8@277345 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