diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2013-04-01 20:57:13 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2013-04-01 20:57:13 +0000 |
commit | 3f3a5dbd2c7f6a71469e1181d14e01aff9f3267e (patch) | |
tree | 9bb37095ccdc6cf38545e45757a153684bc6bb65 /cddl/contrib/opensolaris | |
parent | 70d41b5846c63f9b082c887589dbbbf02bdfc1a3 (diff) | |
download | src-3f3a5dbd2c7f6a71469e1181d14e01aff9f3267e.tar.gz src-3f3a5dbd2c7f6a71469e1181d14e01aff9f3267e.zip |
Ensure that we only call the busdma unmap/flush routines once, when
the buffer is being freed.
* When buffers are cloned, the original mapping isn't copied but it
wasn't freeing the mapping until later. To be safe, free the
mapping when the buffer is cloned.
* ath_freebuf() now no longer calls the busdma sync/unmap routines.
* ath_tx_freebuf() now calls sync/unmap.
* Call sync first, before calling unmap.
Tested:
* AR5416, STA mode
Notes
Notes:
svn path=/head/; revision=248988
Diffstat (limited to 'cddl/contrib/opensolaris')
0 files changed, 0 insertions, 0 deletions