Changeset 65e079b in mainline for uspace/drv/bus/usb/xhci/rh.c


Ignore:
Timestamp:
2017-10-03T17:52:09Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d07b052
Parents:
472235a
Message:

Fixed ADDRESS_DEVICE command by fixing the size of input control context and properly assigning the slot id, current solution works as long as CSZ = 1 in HCCPARAMS1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/rh.c

    r472235a r65e079b  
    129129
    130130        xhci_cmd_init(&cmd);
     131        cmd.slot_id = slot_id;
    131132        xhci_send_address_device_command(hc, &cmd, ictx);
    132133        if ((err = xhci_cmd_wait(&cmd, 100000)) != EOK)
Note: See TracChangeset for help on using the changeset viewer.