summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-11-08 19:15:31 +0000
committeryongari <yongari@FreeBSD.org>2010-11-08 19:15:31 +0000
commit68b9094fc9e048f6691f0466df3cbe90742ce848 (patch)
treec81463568216232984103aba527a0d2d908322a2 /usr.bin
parent68210d116b4f01d99b3c3498a0b475de9e577300 (diff)
downloadFreeBSD-src-68b9094fc9e048f6691f0466df3cbe90742ce848.zip
FreeBSD-src-68b9094fc9e048f6691f0466df3cbe90742ce848.tar.gz
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.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud