Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2009 01:45:29 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192709 - head/sys/dev/mii
Message-ID:  <200905250145.n4P1jTrg006910@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon May 25 01:45:28 2009
New Revision: 192709
URL: http://svn.freebsd.org/changeset/base/192709

Log:
  Report current link state while auto-negotiation is in progress.

Modified:
  head/sys/dev/mii/e1000phy.c

Modified: head/sys/dev/mii/e1000phy.c
==============================================================================
--- head/sys/dev/mii/e1000phy.c	Mon May 25 01:41:05 2009	(r192708)
+++ head/sys/dev/mii/e1000phy.c	Mon May 25 01:45:28 2009	(r192709)
@@ -394,7 +394,7 @@ done:
 		if (sc->mii_ticks++ == 0)
 			break;
 		if (sc->mii_ticks <= sc->mii_anegticks)
-			return (0);
+			break;
 
 		sc->mii_ticks = 0;
 		e1000phy_reset(sc);



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