cvs commit: src/sys/dev/netif/bge if_bge.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Mon Apr 30 07:07:56 PDT 2007
sephe 2007/04/30 07:05:23 PDT
DragonFly src repository
Modified files:
sys/dev/netif/bge if_bge.c
Log:
- Don't use the status block's link state change bit to micro-optimize
performance, instead, read MAC_STS which always contains the correct
value about link state changing. Enormous amount of superflucious
link up events, which keep coming originally when the interface is
brought up before cable is plugged in, disappear after this change.
- Nuke the no longer needed PCI bridge cache flush.
- Minor style change.
Revision Changes Path
1.72 +4 -10 src/sys/dev/netif/bge/if_bge.c
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/bge/if_bge.c.diff?r1=1.71&r2=1.72&f=u
More information about the Commits
mailing list