Messages in this thread | | | Date | Mon, 22 Dec 2008 11:14:02 -0800 | From | Randy Dunlap <> | Subject | Re: [PATCH 1/1] Userspace I/O (UIO): Documentatin for userspace DMA support |
| |
On Wed, 3 Dec 2008 20:53:27 -0800 Edward Estabrook wrote:
> --- linux-2.6.28-rc6/Documentation/DocBook/uio-howto.tmpl.orig 2008-12-03 > 12:03:43.000000000 -0800 > +++ linux-2.6.28-rc6/Documentation/DocBook/uio-howto.tmpl 2008-12-03 > 13:11:53.000000000 -0800 > @@ -572,6 +602,50 @@ to set up sysfs files for this mapping. > </para> > </sect1> > > +<sect1 id="dma_region_mmap"> > +<title>Allocating DMA region with mmap()</title>
Allocating a DMA region with mmap()
> + <para> > + To allocate and map a DMA memory region you use
duplicate "use use". Instead of dropping the second one, make it "the".
> + use <function>mmap()</function>. You may create as > + many regions as system resources allow by repeated use of > + <function>mmap()</function>. > + </para>
--- ~Randy
| |