From owner-svn-src-head@FreeBSD.ORG Sun Mar 22 21:09:24 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD281106566C; Sun, 22 Mar 2009 21:09:24 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 533358FC15; Sun, 22 Mar 2009 21:09:23 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id n2ML91sC029758; Sun, 22 Mar 2009 22:09:23 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id n2ML91nS029757; Sun, 22 Mar 2009 22:09:01 +0100 (CET) (envelope-from marius) Date: Sun, 22 Mar 2009 22:09:00 +0100 From: Marius Strobl To: Robert Noland Message-ID: <20090322210900.GE67783@alchemy.franken.de> References: <200903222100.n2ML0wwG083537@svn.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200903222100.n2ML0wwG083537@svn.freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r190283 - head/share/man/man9 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2009 21:09:25 -0000 On Sun, Mar 22, 2009 at 09:00:58PM +0000, Robert Noland wrote: > Author: rnoland > Date: Sun Mar 22 21:00:58 2009 > New Revision: 190283 > URL: http://svn.freebsd.org/changeset/base/190283 > > Log: > Correct the documentation to reflect the fact that BUS_DMA_NOCACHE is a > flag to bus_dmamem_alloc() rather than bus_dmamap_load(); > > Discussed with: kib > MFC after: 3 days > > Modified: > head/share/man/man9/bus_dma.9 > > Modified: head/share/man/man9/bus_dma.9 > ============================================================================== > --- head/share/man/man9/bus_dma.9 Sun Mar 22 20:58:29 2009 (r190282) > +++ head/share/man/man9/bus_dma.9 Sun Mar 22 21:00:58 2009 (r190283) > @@ -561,15 +561,6 @@ Are as follows: > .It Dv BUS_DMA_NOWAIT > The load should not be deferred in case of insufficient mapping resources, > and instead should return immediately with an appropriate error. > -.It Dv BUS_DMA_NOCACHE > -The allocated memory will not be cached in the processor caches. > -All memory accesses appear on the bus and are executed > -without reordering. > -On the amd64 and i386 architectures this flag results in the > -Strong Uncacheable PAT to be set for the allocated virtual address range. > -The > -.Dv BUS_DMA_NOCACHE > -flag is currently implemented on amd64, i386 and sparc64. > .El > .El > .Pp > @@ -785,6 +776,15 @@ the > flag is currently implemented on arm and sparc64. > .It Dv BUS_DMA_ZERO > Causes the allocated memory to be set to all zeros. > +.It Dv BUS_DMA_NOCACHE > +The allocated memory will not be cached in the processor caches. > +All memory accesses appear on the bus and are executed > +without reordering. > +On the amd64 and i386 architectures this flag results in the > +Strong Uncacheable PAT to be set for the allocated virtual address range. > +The > +.Dv BUS_DMA_NOCACHE > +flag is currently implemented on amd64, i386 and sparc64. > .El > .It Fa mapp > Pointer to a Uhm, on sparc64 BUS_DMA_NOCACHE actually is only valid for bus_dmamap_load(). Marius