From owner-svn-src-head@FreeBSD.ORG Mon May 25 01:45:29 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4864C1065672; Mon, 25 May 2009 01:45:29 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 362618FC0C; Mon, 25 May 2009 01:45:29 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4P1jTc7006912; Mon, 25 May 2009 01:45:29 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4P1jTrg006910; Mon, 25 May 2009 01:45:29 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <200905250145.n4P1jTrg006910@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 25 May 2009 01:45:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192709 - head/sys/dev/mii X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 01:45:29 -0000 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);