summaryrefslogtreecommitdiffstats
path: root/sys/dev/et/if_etvar.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-11-19 19:35:15 +0000
committerjhb <jhb@FreeBSD.org>2009-11-19 19:35:15 +0000
commite98d19f3128514b8d65f4944e817a2822c608b6f (patch)
treec1ec347083804ec4f2d4c9e5a94bfd98c3aebf52 /sys/dev/et/if_etvar.h
parentfe250fcdf4c9009883dd08122d4d08d2f070dcc8 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud