[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081222111402.4e6f2b96.randy.dunlap@oracle.com>
Date: Mon, 22 Dec 2008 11:14:02 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: "Edward Estabrook" <edward.estabrook.lkml@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-api@...r.kernel.org,
"Greg KH" <gregkh@...e.de>, hjk@...utronix.de,
edward_estabrook@...lent.com
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists