Coherent DMA mapping for existing struct page

From: Nikolaus Rath
Date: Mon Jan 24 2011 - 16:08:26 EST


Hello,

How do I set up a coherent DMA mapping for an existing struct page?
dma_alloc_coherent() wants to allocate its own buffer, and
dma_map_page() sets up streaming mappings. Which function am I missing?


Thanks,

-Nikolaus

--
ÂTime flies like an arrow, fruit flies like a Banana.Â

PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/