Subject: CVS commit: [netbsd-4] src/sys/arch
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 09/14/2006 04:43:09
Module Name:	src
Committed By:	riz
Date:		Thu Sep 14 04:43:08 UTC 2006

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

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #150):
	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.5 -r1.5.12.1 src/sys/arch/x86/include/bus_private.h
cvs rdiff -r1.29 -r1.29.12.1 src/sys/arch/x86/x86/bus_dma.c
cvs rdiff -r1.6 -r1.6.12.1 src/sys/arch/xen/include/bus_private.h
cvs rdiff -r1.6 -r1.6.18.1 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.