Subject: CVS commit: [netbsd-3] src/sys/arch
To: None <source-changes@NetBSD.org>
From: Geert Hendrickx <ghen@netbsd.org>
List: source-changes
Date: 09/16/2006 11:18:59
Module Name:	src
Committed By:	ghen
Date:		Sat Sep 16 11:18:59 UTC 2006

Modified Files:
	src/sys/arch/x86/include [netbsd-3]: bus_private.h
	src/sys/arch/x86/x86 [netbsd-3]: bus_dma.c
	src/sys/arch/xen/include [netbsd-3]: bus_private.h
	src/sys/arch/xen/x86 [netbsd-3]: xen_bus_dma.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #1510):
	sys/arch/xen/x86/xen_bus_dma.c: revision 1.7
	sys/arch/xen/x86/xen_bus_dma.c: revision 1.8
	sys/arch/x86/include/bus_private.h: revision 1.6
	sys/arch/x86/x86/bus_dma.c: revision 1.30
	sys/arch/xen/include/bus_private.h: revision 1.7
Some bus_dma(9) fixes for Xen:
- Attempt to gracefully recover from a failed decrease_reservation or
  increase_reservation, by avoiding physical memory loss.
- always store a machine address in ds_addr; this avoids some mistakes
  where machine address would in some case be freed at physical address, or
  mapped as physical address.
Wrap some printfs in #ifdef DEBUG, as we should not leak memory any more when
bus_dma memory allocation fails.


To generate a diff of this commit:
cvs rdiff -r1.1.2.3 -r1.1.2.4 src/sys/arch/x86/include/bus_private.h
cvs rdiff -r1.19.2.3 -r1.19.2.4 src/sys/arch/x86/x86/bus_dma.c
cvs rdiff -r1.1.2.3 -r1.1.2.4 src/sys/arch/xen/include/bus_private.h
cvs rdiff -r1.3.2.3 -r1.3.2.4 src/sys/arch/xen/x86/xen_bus_dma.c

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