From owner-cvs-src-old@FreeBSD.ORG Mon Nov 8 19:15:48 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 5CBBB106566C for ; Mon, 8 Nov 2010 19:15:48 +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 49E0F8FC1C for ; Mon, 8 Nov 2010 19:15:48 +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 oA8JFm7Y097215 for ; Mon, 8 Nov 2010 19:15:48 GMT (envelope-from yongari@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oA8JFmJl097214 for cvs-src-old@freebsd.org; Mon, 8 Nov 2010 19:15:48 GMT (envelope-from yongari@repoman.freebsd.org) Message-Id: <201011081915.oA8JFmJl097214@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to yongari@repoman.freebsd.org using -f From: Pyun YongHyeon Date: Mon, 8 Nov 2010 19:15:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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: Mon, 08 Nov 2010 19:15:48 -0000 yongari 2010-11-08 19:15:31 UTC FreeBSD src repository Modified files: sys/dev/re if_re.c Log: SVN rev 214992 on 2010-11-08 19:15:31Z by yongari 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.175 +12 -4 src/sys/dev/re/if_re.c