Commit Graph

4 Commits

Author SHA1 Message Date
fvdl
a3cea30b50 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.
2004-12-21 16:41:24 +00:00
augustss
77beb7e099 Use the correct years for copyright. 2002-02-14 21:58:30 +00:00
enami
68f9f4a5d4 Make ehci_pci.c compiles again. 2002-01-12 02:06:23 +00:00
augustss
43aeee0fe8 Split out some code so you can have cardbus ehci without pci. 2002-01-09 22:56:22 +00:00