Restore part of old behaviour of bge_tick() -- if link is up, then don't
commit1d904643a88e5b29ae3dd041eb90996b410a0821
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 3 May 2007 14:09:22 +0000 (3 14:09 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 3 May 2007 14:09:22 +0000 (3 14:09 +0000)
treefa8c666c487728f77cd6b43b160a4ad72e053e8c
parentaf4c3439103ad374aa91593bd1ad81b30771e353
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