Date: Fri, 28 Nov 2003 17:23:59 -0800 (PST) From: Sam Leffler <sam@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ath if_ath.c if_athioctl.h if_athvar.h Message-ID: <200311290123.hAT1NxeO065461@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
sam 2003/11/28 17:23:59 PST FreeBSD src repository Modified files: sys/dev/ath if_ath.c if_athioctl.h if_athvar.h Log: o track API change for HAL v0.9.6.1 o fix race condition when processing rx descriptors: because we use a self-linked descriptor at the end of the rx descriptor list to avoid rx overruns (which can easily happen for 5212 parts that enable PHY errors) we must carefully check that a descriptor is "done" by looking ahead to the next descriptor before believing the done bit in the current descriptor (this is all handled in the HAL since the rx descriptor format is chip-specific so we need to pass in two additional parameters--the physical address of the current descriptor and the virtual address of the next descriptor in the list) o check copyout return status for SIOCGATHSTATS ioctl Approved by: re (scottl) Revision Changes Path 1.36 +43 -10 src/sys/dev/ath/if_ath.c 1.4 +9 -0 src/sys/dev/ath/if_athioctl.h 1.10 +4 -8 src/sys/dev/ath/if_athvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311290123.hAT1NxeO065461>