mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-20 11:38:25 -06:00
uhci: fix device speed setting when constructing a transfer descriptor.
This commit is contained in:
parent
4c55182cd0
commit
ae2c010610
@ -97,7 +97,7 @@ bool enable_trace = false;
|
||||
bool enable_sm = true;
|
||||
bool enable_bench = true;
|
||||
|
||||
bool pause_at_start = false;
|
||||
bool pause_at_start = true;
|
||||
|
||||
power_save_t power_save = POWER_SAVE_HIGH;
|
||||
|
||||
|
@ -272,7 +272,7 @@ static void disable_uhci_port(uint16_t io_base, int port_idx)
|
||||
static void build_uhci_td(uhci_td_t *td, const usb_ep_t *ep, uint32_t pid, uint32_t dt, uint32_t ioc,
|
||||
const void *buffer, size_t length)
|
||||
{
|
||||
uint8_t device_speed = (ep->device_speed == USB_SPEED_LOW) ? UHCI_TD_LOW_SPEED : UHCI_TD_FULL_SPEED;
|
||||
uint32_t device_speed = (ep->device_speed == USB_SPEED_LOW) ? UHCI_TD_LOW_SPEED : UHCI_TD_FULL_SPEED;
|
||||
|
||||
if (ioc) {
|
||||
td->link_ptr = UHCI_LP_TERMINATE;
|
||||
|
Loading…
Reference in New Issue
Block a user