From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754520AbYLVTOp (ORCPT ); Mon, 22 Dec 2008 14:14:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751515AbYLVTOh (ORCPT ); Mon, 22 Dec 2008 14:14:37 -0500 Received: from rcsinet11.oracle.com ([148.87.113.123]:39411 "EHLO rgminet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751254AbYLVTOg (ORCPT ); Mon, 22 Dec 2008 14:14:36 -0500 Date: Mon, 22 Dec 2008 11:14:02 -0800 From: Randy Dunlap To: "Edward Estabrook" Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, "Greg KH" , hjk@linutronix.de, edward_estabrook@agilent.com Subject: Re: [PATCH 1/1] Userspace I/O (UIO): Documentatin for userspace DMA support Message-Id: <20081222111402.4e6f2b96.randy.dunlap@oracle.com> In-Reply-To: <208aa0f00812032053w5efb99dbk94511b0f8c1f0925@mail.gmail.com> References: <208aa0f00812032053w5efb99dbk94511b0f8c1f0925@mail.gmail.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.6.0 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Source-IP: acsmt704.oracle.com [141.146.40.82] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.494FE6FE.02EE:SCFSTAT928724,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > > > + > +Allocating DMA region with mmap() Allocating a DMA region with mmap() > + > + To allocate and map a DMA memory region you use duplicate "use use". Instead of dropping the second one, make it "the". > + use mmap(). You may create as > + many regions as system resources allow by repeated use of > + mmap(). > + --- ~Randy