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

Modified Files:
	src/sys/dev/usb [netbsd-2]: uhci.c

Log Message:
Pull up revision 1.183 (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.178.2.1 -r1.178.2.1.2.1 src/sys/dev/usb/uhci.c

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