svn commit: r274445 - stable/8/sys/dev/cxgb/common
Navdeep Parhar
np at FreeBSD.org
Wed Nov 12 20:09:49 UTC 2014
Author: np
Date: Wed Nov 12 20:09:48 2014
New Revision: 274445
URL: https://svnweb.freebsd.org/changeset/base/274445
Log:
MFC r273280:
cxgb(4): reset the PHY if it generates an interrupt for no apparent reason.
Modified:
stable/8/sys/dev/cxgb/common/cxgb_ael1002.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/dev/ (props changed)
stable/8/sys/dev/cxgb/ (props changed)
Modified: stable/8/sys/dev/cxgb/common/cxgb_ael1002.c
==============================================================================
--- stable/8/sys/dev/cxgb/common/cxgb_ael1002.c Wed Nov 12 20:09:20 2014 (r274444)
+++ stable/8/sys/dev/cxgb/common/cxgb_ael1002.c Wed Nov 12 20:09:48 2014 (r274445)
@@ -1345,8 +1345,10 @@ static int ael2005_intr_handler(struct c
return ret;
ret |= cause;
- if (!ret)
+ if (!ret) {
+ (void) ael2005_reset(phy, 0);
ret |= cphy_cause_link_change;
+ }
return ret;
}
More information about the svn-src-all
mailing list