diff options
author | adrian <adrian@FreeBSD.org> | 2013-04-02 06:24:22 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-04-02 06:24:22 +0000 |
commit | f6cd26fd8e5e38303e5cc2b40329a97360c01433 (patch) | |
tree | a6f293012fd5bf1e25e8f883729e21f64fc6cf4b /lib/libc/stdio/getc.c | |
parent | 35dd234e7372eb037ac9265751665b41e52411bf (diff) | |
download | FreeBSD-src-f6cd26fd8e5e38303e5cc2b40329a97360c01433.zip FreeBSD-src-f6cd26fd8e5e38303e5cc2b40329a97360c01433.tar.gz |
Some TX dmamap cleanups.
* Don't use BUS_DMA_ALLOCNOW for descriptor DMA maps; we never use
bounce buffers for the descriptors themselves.
* Add some XXX's to mark where the ath_buf has its mbuf ripped from
underneath it without actually cleaning up the dmamap. I haven't
audited those particular code paths to see if the DMA map is guaranteed
to be setup there; I'll do that later.
* Print out a warning if the descdma tidyup code is given some descriptors
w/ maps to free. Ideally the owner will free the mbufs and unmap
the descriptors before freeing the descriptor/ath_buf pairs, but
right now that's not guaranteed to be done.
Reviewed by: scottl (BUS_DMA_ALLOCNOW tag)
Diffstat (limited to 'lib/libc/stdio/getc.c')
0 files changed, 0 insertions, 0 deletions