mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2024-11-30 11:03:48 -06:00
XHCI: add device attach time delay after starting the controller.
This commit is contained in:
parent
8069b8724b
commit
eb58a63ad4
@ -982,6 +982,7 @@ void *xhci_init(uintptr_t base_addr)
|
||||
pm_map[heap_segment].end = heap_segment_end;
|
||||
return NULL;
|
||||
}
|
||||
usleep(100*MILLISEC); // USB maximum device attach time.
|
||||
|
||||
// Record the controller context size.
|
||||
uint32_t context_size = cap_regs->hcc_params1 & 0x4 ? 64 : 32;
|
||||
|
Loading…
Reference in New Issue
Block a user