Subject: CVS commit: [netbsd-2] src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Jeff Rizzo <riz@netbsd.org>
List: source-changes
Date: 05/13/2005 17:08:53
Module Name:	src
Committed By:	riz
Date:		Fri May 13 17:08:53 UTC 2005

Modified Files:
	src/sys/dev/pci [netbsd-2]: usb_pci.c

Log Message:
Pull up revision 1.4 (requested by bad in ticket #1479):
Implement an USB memory reserve. Allocate some memory per host controller
in the wanted bus_dma space. If an allocation fails during operation
(i.e. when hotplugging an umass device), fall back to using the reserve.
The amount can be configured as USB_MEM_RESERVE. The default value is
256k.
Ideally, there would be a way to steal pages in the desired area from
UVM, but that's far more complicated, and this is not intrusive, plus
it works.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.3.22.1 src/sys/dev/pci/usb_pci.c

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