Changeset a5b3de6 in mainline for uspace/drv/bus/usb/xhci/hc.c


Ignore:
Timestamp:
2017-10-25T11:55:15Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b35478
Parents:
c3d926f
Message:

usbhost endpoint: removed target

The reasons for having usb_target_t inside endpoint have been dismissed. Enpoint is not a target of a transaction, so this was just misleading.

File:
1 edited

Legend:

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

    rc3d926f ra5b3de6  
    453453        assert(batch->ep);
    454454
    455         usb_log_debug2("Endpoint(%d:%d) started %s transfer of size %lu.",
    456                 batch->ep->target.address, batch->ep->target.endpoint,
    457                 usb_str_transfer_type(batch->ep->transfer_type),
    458                 batch->buffer_size);
    459 
    460         if (!batch->ep->target.address) {
     455        if (!batch->target.address) {
    461456                usb_log_error("Attempted to schedule transfer to address 0.");
    462457                return EINVAL;
Note: See TracChangeset for help on using the changeset viewer.