Date: Fri, 27 May 2011 21:45:21 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h Message-ID: <201105272145.p4RLjdxg024494@repoman.freebsd.org>
index | next in thread | raw e-mail
yongari 2011-05-27 21:45:21 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/pci if_xl.c if_xlreg.h
Log:
SVN rev 222388 on 2011-05-27 21:45:21Z 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.210.2.16 +35 -41 src/sys/pci/if_xl.c
1.59.2.4 +6 -2 src/sys/pci/if_xlreg.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105272145.p4RLjdxg024494>
