Subject: Re: CVS commit: syssrc/sys/arch/powerpc/powerpc
To: Matt Thomas <matt@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: source-changes
Date: 08/10/2002 14:59:16
hi,

this isn't the right way to deal with this problem.
the bus_dma code should be setting the mod/ref bits
when it sets up the DMA transfer.  the powerpc-common
version of bus_dma.c looks like it takes care of this.

-Chuck


On Sat, Aug 10, 2002 at 07:28:49PM +0300, Matt Thomas wrote:
> 
> Module Name:	syssrc
> Committed By:	matt
> Date:		Sat Aug 10 16:28:49 UTC 2002
> 
> Modified Files:
> 	syssrc/sys/arch/powerpc/powerpc: vm_machdep.c
> 
> Log Message:
> Switch vmap*buf back to using pmap_enter/pmap_remove.  This is so that
> accesses to the buffer will cause the reference and modified bits for
> the pages to be udpated appropriately.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.40 -r1.41 syssrc/sys/arch/powerpc/powerpc/vm_machdep.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.