cvs commit: src/sys/pci if_xl.c if_xlreg.h
Marius Strobl
marius at FreeBSD.org
Tue Dec 5 18:18:42 PST 2006
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
More information about the cvs-src
mailing list