From owner-cvs-src-old@FreeBSD.ORG Tue Nov 16 20:27:11 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A9581065679 for ; Tue, 16 Nov 2010 20:27:11 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 57F3E8FC15 for ; Tue, 16 Nov 2010 20:27:11 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAGKRBb3090830 for ; Tue, 16 Nov 2010 20:27:11 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAGKRB73090829 for cvs-src-old@freebsd.org; Tue, 16 Nov 2010 20:27:11 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <201011162027.oAGKRB73090829@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Tue, 16 Nov 2010 20:27:01 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/re if_re.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 20:27:11 -0000 yongari 2010-11-16 20:27:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/re if_re.c Log: SVN rev 215404 on 2010-11-16 20:27:01Z by yongari MFC r214992: Reduce spin wait time consumed in GMII register access routine. There were a couple of attempts in the past to reduce it since it took more than 1ms. Because mii_tick() periodically polls link status, waiting more than 1ms for each GMII register access was overkill. Unfortunately all previous attempts were failed with various ways on different controllers. This time, add additional 20us dealy at the end of GMII register access which seems to requirement of all RealTek controllers to issue next GMII register access request. This is the same way what Linux does. Revision Changes Path 1.95.2.63 +12 -4 src/sys/dev/re/if_re.c