diff options
author | adrian <adrian@FreeBSD.org> | 2012-07-23 23:40:13 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-07-23 23:40:13 +0000 |
commit | 142df5fc8eb25ab65ff82ee819ffb79841bcba18 (patch) | |
tree | ee595f54ee113486a7fca35a2bbc3fe116ece1b0 /contrib/less/scrsize.c | |
parent | 615f9f5c414aac0d6075e7b8e042f07122fe6c05 (diff) | |
download | FreeBSD-src-142df5fc8eb25ab65ff82ee819ffb79841bcba18.zip FreeBSD-src-142df5fc8eb25ab65ff82ee819ffb79841bcba18.tar.gz |
Modify ath_descdma_setup() to take a descriptor size parameter.
The AR9300 and later descriptors are 128 bytes, however I'd like to make
sure that isn't used for earlier chips.
* Populate the TX descriptor length field in the softc with
sizeof(ath_desc)
* Use this field when allocating the TX descriptors
* Pre-AR93xx TX/RX descriptors will use the ath_desc size; newer ones will
query the HAL for these sizes.
Diffstat (limited to 'contrib/less/scrsize.c')
0 files changed, 0 insertions, 0 deletions