On Wed, Mar 31, 2004 at 09:44:45AM +0200, Jaroslav Kysela wrote:
> I think that the consensus was that using "->nopage" callback does not
> make much sense for the DMA pages so remap_page_coherent_range() should be
> used for this case when designed.

The consensus was that ->nopage is fine to use IFF you have RAM-backed
pages.  However, the choice of whether ->nopage is used or not is one
that the architecture must make, and not the device driver.

This requires a dma_mmap_coherent() API for all architectures to
implement.  However, I can not get anyone to even respond to agreeing
what the API requires.

It's no good one architecture implementing one version of the API and
others then deciding that they don't actually like it after all and
needing a different API.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to