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