cvs commit: src/sys/dev/gem if_gem.c if_gemvar.h
Marius Strobl
marius at FreeBSD.org
Tue Dec 5 18:04:27 PST 2006
marius 2006-12-06 02:04:25 UTC
FreeBSD src repository
Modified files:
sys/dev/gem if_gem.c if_gemvar.h
Log:
- Use the gem_tick() callout instead of if_slowtimo() for driving
gem_watchdog() in order to avoid races accessing if_timer.
While at it relax the watchdog a bit by reloading it in gem_tint()
if there are still packets enqueued.
- Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
- Fix inconsistencies in prototypes.
Revision Changes Path
1.40 +24 -22 src/sys/dev/gem/if_gem.c
1.12 +1 -0 src/sys/dev/gem/if_gemvar.h
More information about the cvs-src
mailing list