Date: Thu, 19 Nov 2009 19:35:15 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/vge if_vge.c if_vgevar.h Message-ID: <200911191935.nAJJZTW1043585@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-11-19 19:35:15 UTC FreeBSD src repository Modified files: sys/dev/vge if_vge.c if_vgevar.h Log: SVN rev 199543 on 2009-11-19 19:35:15Z by jhb 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. Revision Changes Path 1.40 +79 -80 src/sys/dev/vge/if_vge.c 1.7 +2 -1 src/sys/dev/vge/if_vgevar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911191935.nAJJZTW1043585>