Date: Tue, 17 Nov 2009 14:23:09 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ed if_ed.c if_ed_pccard.c if_edvar.h Message-ID: <200911171423.nAHENTh7021373@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-11-17 14:23:09 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed.c if_ed_pccard.c if_edvar.h Log: SVN rev 199380 on 2009-11-17 14:23:09Z by jhb Use a private callout timer to drive the transmit watchdog instead of using if_watchdog and if_timer. The driver already contained an optional stats timer that individual attachments could use to provide a 'tick' event. The stats timer only ran if the tick function pointer was non-NULL and the attachment's tick routine had to call callout_reset(), etc. Now the driver always schedules a stat timer and manages the callout_reset() internally. This timer is used to drive the watchdog and will also call the attachment's 'tick' handler if one is provided. Tested by: WATANABE Kazuhiro Revision Changes Path 1.283 +29 -15 src/sys/dev/ed/if_ed.c 1.156 +2 -4 src/sys/dev/ed/if_ed_pccard.c 1.47 +2 -1 src/sys/dev/ed/if_edvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911171423.nAHENTh7021373>