Date: Wed, 6 Dec 2006 02:18:41 +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/pci if_xl.c if_xlreg.h Message-ID: <200612060218.kB62IfVn046324@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2006-12-06 02:18:41 UTC
FreeBSD src repository
Modified files:
sys/pci if_xl.c if_xlreg.h
Log:
- Use the xl_stats_update() callout instead of if_slowtimo() for
driving xl_watchdog() in order to avoid races accessing if_timer.
While at it relax the watchdog a bit by reloading it in xl_txeof()/
xl_txeof_90xB() if there are still packets enqueued.
- Use bus_get_dma_tag() so xl(4) works on platforms requiring it.
- Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
Revision Changes Path
1.207 +26 -22 src/sys/pci/if_xl.c
1.59 +1 -0 src/sys/pci/if_xlreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612060218.kB62IfVn046324>
