From: Randy Dunlap <randy.dunlap@oracle.com>
To: Edward Estabrook <edward.estabrook.lkml@gmail.com>
Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org,
Greg KH <gregkh@suse.de>,
hjk@linutronix.de, edward_estabrook@agilent.com
Subject: Re: [PATCH 1/1] Userspace I/O (UIO): Documentatin for userspace DMA support
Date: Mon, 22 Dec 2008 11:14:02 -0800 [thread overview]
Message-ID: <20081222111402.4e6f2b96.randy.dunlap@oracle.com> (raw)
In-Reply-To: <208aa0f00812032053w5efb99dbk94511b0f8c1f0925@mail.gmail.com>
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
prev parent reply other threads:[~2008-12-22 19:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-04 4:53 [PATCH 1/1] Userspace I/O (UIO): Documentatin for userspace DMA support Edward Estabrook
[not found] ` <208aa0f00812032053w5efb99dbk94511b0f8c1f0925-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-12-04 13:14 ` Michael Kerrisk
2008-12-22 19:14 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081222111402.4e6f2b96.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=edward.estabrook.lkml@gmail.com \
--cc=edward_estabrook@agilent.com \
--cc=gregkh@suse.de \
--cc=hjk@linutronix.de \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).