Subject: CVS commit: syssrc/sys/arch/alpha
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 04/26/2002 07:15:20
Module Name:	syssrc
Committed By:	thorpej
Date:		Fri Apr 26 04:15:20 UTC 2002

Modified Files:
	syssrc/sys/arch/alpha/common: bus_dma.c sgmap_typedep.c
	syssrc/sys/arch/alpha/include: bus.h
	syssrc/sys/arch/alpha/isa: isadma_bounce.c

Log Message:
Keep track of which DMA window was actually used to map the
request (not always the passed in DMA tag if we try direct-map
and then fall back to sgmap-mapped).  Use the actual window
when performing dmamap_sync and dmamap_unload operations.

Fixes DMA resource leak on systems with 2G+ RAM.  Thanks to
Matt Thomas for help debugging this.

To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 syssrc/sys/arch/alpha/common/bus_dma.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/alpha/common/sgmap_typedep.c
cvs rdiff -r1.46 -r1.47 syssrc/sys/arch/alpha/include/bus.h
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/alpha/isa/isadma_bounce.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.