]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
1) move all link state detection code from bge_tick_locked() to bge_link_upd()
authoroleg <oleg@FreeBSD.org>
Fri, 13 Jan 2006 08:59:40 +0000 (08:59 +0000)
committeroleg <oleg@FreeBSD.org>
Fri, 13 Jan 2006 08:59:40 +0000 (08:59 +0000)
commitfaeb71daa6769b0f46193e2b9952c7d9a485fee1
treeabb41e1df1b3e30ea12a085b9c7783a3c1ca6a2c
parentb7eecbc81f1f4d6c1490dad36e31dbb699cf5e30
1) move all link state detection code from bge_tick_locked() to bge_link_upd()
2) use more robust way of link state handling for BCM5700 rev.B2 chip
3) workaround bug of some BCM570x chips which cause spurious "link up" messages
4) fix bug: some BCM570x chips was unable to detect link state changes after
   ifconfig down/up sequence until any 'non-link related' interrupt generated.
   (this happened due to pending internal link state attention which blocked
   interrupt generation)

Approved by: glebius (mentor)
MFC after: 1 week
sys/dev/bge/if_bge.c