]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r214992:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 16 Nov 2010 20:21:53 +0000 (20:21 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 16 Nov 2010 20:21:53 +0000 (20:21 +0000)
commit0862aa5e8759f817e8b54c7973aa615cb1614089
treec5ba178e8ae52f089a2593b24f5d0ac76aab5269
parentfc8c6a511871438f24911209b4420cbf98daa81e
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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@215403 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/re/if_re.c