summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2006-12-06 02:18:41 +0000
committermarius <marius@FreeBSD.org>2006-12-06 02:18:41 +0000
commita5878e15cf129593dc7e00da508adbbd01fd98f0 (patch)
tree9a379eaa927decab6fa3aee4825dd3a9fd8c3869 /sys/kern/subr_trap.c
parent17d1a5f84e80a69f2a8b2156001c5862f7c00afa (diff)
downloadFreeBSD-src-a5878e15cf129593dc7e00da508adbbd01fd98f0.zip
FreeBSD-src-a5878e15cf129593dc7e00da508adbbd01fd98f0.tar.gz
- 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.
Diffstat (limited to 'sys/kern/subr_trap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud