diff options
author | jhb <jhb@FreeBSD.org> | 2009-11-19 19:35:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-11-19 19:35:15 +0000 |
commit | e98d19f3128514b8d65f4944e817a2822c608b6f (patch) | |
tree | c1ec347083804ec4f2d4c9e5a94bfd98c3aebf52 /sys/dev/et/if_etvar.h | |
parent | fe250fcdf4c9009883dd08122d4d08d2f070dcc8 (diff) | |
download | FreeBSD-src-e98d19f3128514b8d65f4944e817a2822c608b6f.zip FreeBSD-src-e98d19f3128514b8d65f4944e817a2822c608b6f.tar.gz |
Several fixes to this driver:
- Overhaul the locking to avoid recursion and add missing locking in a few
places.
- Don't schedule a task to call vge_start() from contexts that are safe to
call vge_start() directly. Just invoke the routine directly instead
(this is what all of the other NIC drivers I am familiar with do). Note
that vge(4) does not use an interrupt filter handler which is the primary
reason some other drivers use tasks.
- Add a new private timer to drive the watchdog timer instead of using
if_watchdog and if_timer.
- Fixup detach by calling ether_ifdetach() before stopping the interface.
Diffstat (limited to 'sys/dev/et/if_etvar.h')
0 files changed, 0 insertions, 0 deletions