cvs commit: src/sys/dev/bge if_bge.c if_bgereg.h
Bjoern A. Zeeb
bz at FreeBSD.org
Sat May 24 10:23:35 UTC 2008
bz 2008-05-24 10:23:35 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/bge if_bge.c if_bgereg.h
MFC: if_bgereg.h rev. 1.79
if_bge.c rev. 1.205, 1.209, 1.210
In some situations we were not clearing pending link state attentions.
Because of this we were not getting further interrupts for link state
changes, thus never went into iface UP state and thus could not transmit.
The only way out of this was an incoming packet generating an rx interrupt
and making us call into bge_link_upd.
What we do now is force an interrupt at the end of bge_ifmedia_upd_locked
so we will call bge_link_upd, clear the link state attention and get
While the initial version was not expected to work with all chips
the later update in rev. 1.210 is.
Tested by: phk, scottl (initial version)
Thanks for your help to: davidch, Broadcom
Revision Changes Path
126.96.36.199 +34 -2 src/sys/dev/bge/if_bge.c
188.8.131.52 +4 -0 src/sys/dev/bge/if_bgereg.h
More information about the cvs-src