Date: Mon, 8 Nov 2010 19:15:31 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <201011081915.oA8JFmJl097214@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011081915.oA8JFmJl097214>