USB Stack: enable xHCI module lookup.
* also increase PhysicalMemoryAllocator max to 128KB instead of 16KB. This translates in a 8MB-sized USB Stack Allocator area. * tested OK on a Fresco Logic FL1009 USB 3.0 Host Controller but KO on a Nec Corporation uPD720200 USB 3.0 Host Controller. * tested a synched copy to a BFS partition on a Lacie USB3 disk takes about 8 seconds for 350MB versus 11 seconds on eHCI.
This commit is contained in:
@@ -42,7 +42,7 @@ Stack::Stack()
|
||||
memset(fObjectArray, 0, objectArraySize);
|
||||
|
||||
fAllocator = new(std::nothrow) PhysicalMemoryAllocator("USB Stack Allocator",
|
||||
8, B_PAGE_SIZE * 4, 64);
|
||||
8, B_PAGE_SIZE * 32, 64);
|
||||
if (!fAllocator || fAllocator->InitCheck() < B_OK) {
|
||||
TRACE_ERROR("failed to allocate the allocator\n");
|
||||
delete fAllocator;
|
||||
@@ -64,6 +64,7 @@ Stack::Stack()
|
||||
"busses/usb/uhci",
|
||||
"busses/usb/ohci",
|
||||
"busses/usb/ehci",
|
||||
"busses/usb/xhci",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user