On Wed, 3 Dec 2008 20:53:27 -0800 Edward Estabrook wrote:
quoted hunk ↗ jump to hunk
--- 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".
quoted hunk ↗ jump to hunk
+ use <function>mmap()</function>. You may create as
+ many regions as system resources allow by repeated use of
+ <function>mmap()</function>.
+ </para>
---
~Randy