Thread (3 messages) 3 messages, 3 authors, 2008-12-22

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

flat view

From: Randy Dunlap <hidden>
Date: 2008-12-22 19:14:45
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help