Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-2] src/sys/dev/usb
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.
Home |
Main Index |
Thread Index |
Old Index