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


Ignore:
Timestamp:
2017-10-14T17:21:26Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
867b375
Parents:
2297fab
Message:

Reading assigned USB addresses, issuing Configure Endpoint commands to devices if needed.

File:
1 edited

Legend:

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

    r2297fab rd7869d7e  
    149149        xhci_cmd_fini(&cmd);
    150150
    151         // TODO: Issue configure endpoint commands (sec 4.3.5).
     151        usb_address_t address = XHCI_SLOT_DEVICE_ADDRESS(dctx->slot_ctx);
     152        usb_log_debug2("Obtained USB address: %d.\n", address);
     153
     154        // TODO: Ask libusbhost to create a control endpoint for EP0.
     155
     156        // TODO: Save all data structures in the corresponding xhci_device_t.
    152157
    153158        return EOK;
Note: See TracChangeset for help on using the changeset viewer.