summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/getc.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-04-02 06:24:22 +0000
committeradrian <adrian@FreeBSD.org>2013-04-02 06:24:22 +0000
commitf6cd26fd8e5e38303e5cc2b40329a97360c01433 (patch)
treea6f293012fd5bf1e25e8f883729e21f64fc6cf4b /lib/libc/stdio/getc.c
parent35dd234e7372eb037ac9265751665b41e52411bf (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud