git: sdhci - Use bus_dmamem_coherent for allocating memory for sdma DMA.
Sepherosa Ziehau
sepherosa at gmail.com
Mon Jan 9 17:10:18 PST 2017
On Tue, Jan 10, 2017 at 12:48 AM, Imre Vadasz
<ivadasz at crater.dragonflybsd.org> wrote:
>
> commit 22caf4860a8a73a2f218125a12765affef88d9c3
> Author: Imre Vadász <imre at vdsz.com>
> Date: Thu Jan 5 19:34:24 2017 +0100
>
> sdhci - Use bus_dmamem_coherent for allocating memory for sdma DMA.
>
> * While there, rename various constants which are related to SDMA (and not
> going to be used for ADMA2) from *_DMA_* names to *_SDMA_*.
Since the memory is coherent, I don't think you need the
bus_dmamap_sync() on it at all.
Thanks,
sephe
--
Tomorrow Will Never Die
More information about the Commits
mailing list