Re: [PATCH 1/1] Userspace I/O (UIO): Documentatin for userspace DMAsupport

From: Randy Dunlap
Date: Mon Dec 22 2008 - 14:15:09 EST


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
--
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/