Date: Wed, 6 Dec 2006 02:04:25 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/gem if_gem.c if_gemvar.h Message-ID: <200612060204.kB624Pq5044275@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612060204.kB624Pq5044275>
