Navdeep Parhar a5eb009b49 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.

MFC after:	1 week
2015-01-11 07:51:58 +00:00
..
2015-01-04 10:40:23 +00:00
2014-10-12 18:01:52 +00:00
2015-01-09 14:50:08 +00:00
2014-09-25 19:10:32 +00:00
2014-12-27 07:07:37 +00:00
2014-09-23 06:32:19 +00:00