cvs commit: src/sys/dev/ath if_ath.c if_athioctl.h if_athvar.h
Sam Leffler
sam at FreeBSD.org
Fri Nov 28 17:25:38 PST 2003
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
More information about the cvs-src
mailing list