Changeset a5b3de6 in mainline for uspace/drv/bus/usb/ehci/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/ehci/hc.c

    rc3d926f ra5b3de6  
    215215        ehci_endpoint_t *ehci_ep = ehci_endpoint_get(ep);
    216216        usb_log_debug("HC(%p) enqueue EP(%d:%d:%s:%s)\n", instance,
    217             ep->target.address, ep->target.endpoint,
     217            ep->device->address, ep->endpoint,
    218218            usb_str_transfer_type_short(ep->transfer_type),
    219219            usb_str_direction(ep->direction));
     
    239239        ehci_endpoint_t *ehci_ep = ehci_endpoint_get(ep);
    240240        usb_log_debug("HC(%p) dequeue EP(%d:%d:%s:%s)\n", instance,
    241             ep->target.address, ep->target.endpoint,
     241            ep->device->address, ep->endpoint,
    242242            usb_str_transfer_type_short(ep->transfer_type),
    243243            usb_str_direction(ep->direction));
     
    291291
    292292        /* Check for root hub communication */
    293         if (batch->ep->target.address == ehci_rh_get_address(&instance->rh)) {
     293        if (batch->target.address == ehci_rh_get_address(&instance->rh)) {
    294294                usb_log_debug("HC(%p): Scheduling BATCH(%p) for RH(%p)",
    295295                    instance, batch, &instance->rh);
Note: See TracChangeset for help on using the changeset viewer.