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:08:55
Module Name: src
Committed By: riz
Date: Fri May 13 17:08:55 UTC 2005
Modified Files:
src/sys/dev/usb [netbsd-2]: ohci.c
Log Message:
Pull up revision 1.153 (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.146.2.5 -r1.146.2.5.2.1 src/sys/dev/usb/ohci.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.