Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 2014 20:09:20 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r274444 - stable/9/sys/dev/cxgb/common
Message-ID:  <201411122009.sACK9Kvd066557@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Wed Nov 12 20:09:20 2014
New Revision: 274444
URL: https://svnweb.freebsd.org/changeset/base/274444

Log:
  MFC r273280:
  
  cxgb(4): reset the PHY if it generates an interrupt for no apparent reason.

Modified:
  stable/9/sys/dev/cxgb/common/cxgb_ael1002.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/cxgb/common/cxgb_ael1002.c
==============================================================================
--- stable/9/sys/dev/cxgb/common/cxgb_ael1002.c	Wed Nov 12 20:07:43 2014	(r274443)
+++ stable/9/sys/dev/cxgb/common/cxgb_ael1002.c	Wed Nov 12 20:09:20 2014	(r274444)
@@ -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;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411122009.sACK9Kvd066557>