Restore part of old behaviour of bge_tick() -- if link is up, then don't
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 3 May 2007 14:09:22 +0000 (14:09 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 3 May 2007 14:09:22 +0000 (14:09 +0000)
commit3f82ed83b14d0144522f68b961bb0778097a1144
tree1708b3b140c766d9dfd4cde2f4124769c1fdea39
parent6ccf663834597b0f6a2da5007921f3f4451701cf
Restore part of old behaviour of bge_tick() -- if link is up, then don't
call mii_tick().  Mii_tick() will read and write various PHY registers.
For bge(4), PHY accessing registers normally involves flipping AUTOPOLL
bit of BGE_MI_MODE, which trigers interrupts about link state changing.

# This changing restores netperf UDP_RR
sys/dev/netif/bge/if_bge.c