mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
Apply the USB_2_STEP_INIT option when using an XHCI controller.
This was added to the generic assign_address() method, but the XHCI driver overrides that.
This commit is contained in:
@@ -757,7 +757,7 @@ static bool assign_address(const usb_hcd_t *hcd, const usb_hub_t *hub, int port_
|
||||
|
||||
size_t fetch_length = sizeof(usb_device_desc_t);
|
||||
uint32_t command_flags = 0;
|
||||
if (device_speed < USB_SPEED_HIGH) {
|
||||
if (device_speed < USB_SPEED_HIGH || usb_init_options & USB_2_STEP_INIT) {
|
||||
fetch_length = 8;
|
||||
command_flags = XHCI_TRB_BSR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user