]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rename _bus_dma_can_bounce(), add new inline routines.
authorIan Lepore <ian@FreeBSD.org>
Tue, 29 Jul 2014 02:31:29 +0000 (02:31 +0000)
committerIan Lepore <ian@FreeBSD.org>
Tue, 29 Jul 2014 02:31:29 +0000 (02:31 +0000)
commit751428ce88e266db931425e72cf38069261dff70
tree322bfd21d509233d377c54442c497c516d3dff53
parentd3a3b8b038c197509f666bf0dbcd32d0472937da
Rename _bus_dma_can_bounce(), add new inline routines.

DMA on arm can bounce for several reasons, and _bus_dma_can_bounce() only
checks for the lowaddr/highaddr exclusion ranges in the dma tag, so now
it's named exclusion_bounce().  The other reasons for bouncing are checked
by the new functions alignment_bounce() and cacheline_bounce().

Reviewed by: cognet
sys/arm/arm/busdma_machdep-v6.c