Date: Fri, 27 May 2011 21:43:35 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/xl if_xl.c if_xlreg.h Message-ID: <201105272143.p4RLhmaX024303@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2011-05-27 21:43:35 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/xl if_xl.c if_xlreg.h Log: SVN rev 222387 on 2011-05-27 21:43:35Z by yongari MFC r221565-221568,221579: r221565: Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) sees TX underrun error with no queued frame. I hope this addresses a long standing xl(4) watchdog timeout issue as well. Obtained from: OpenBSD r221566,221579: Rename xl_stats_update() callout handler to xl_tick() and move MII tick driving logic to xl_tick(). Now xl_tick() handles MII tick as well as periodic updating of statistics. This change removes a hack used in interrupt handler where it wanted to update statistics without driving MII tick. r221567: Rearm watchdog timer if driver kick controller to recover from TX underrun error. While here, prepend 0x to status code to show TX status is hex number. r221568: XL_DMACTL is 32bit register, use 32bit write macro. While I'm here add more bits for the register. Revision Changes Path 1.8.2.12 +35 -41 src/sys/dev/xl/if_xl.c 1.1.2.4 +6 -2 src/sys/dev/xl/if_xlreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105272143.p4RLhmaX024303>