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

    rc3d926f ra5b3de6  
    222222            uhci_batch->base.ep->speed == USB_SPEED_LOW;
    223223        const size_t mps = uhci_batch->base.ep->max_packet_size;
    224         const usb_target_t target = uhci_batch->base.ep->target;
    225224
    226225        int toggle = endpoint_toggle_get(uhci_batch->base.ep);
     
    240239                td_init(
    241240                    &uhci_batch->tds[td], DEFAULT_ERROR_COUNT, packet_size,
    242                     toggle, false, low_speed, target, pid, buffer, next_td);
     241                    toggle, false, low_speed, uhci_batch->base.target, pid, buffer, next_td);
    243242
    244243                ++td;
     
    285284            uhci_batch->base.ep->speed == USB_SPEED_LOW;
    286285        const size_t mps = uhci_batch->base.ep->max_packet_size;
    287         const usb_target_t target = uhci_batch->base.ep->target;
     286        const usb_target_t target = uhci_batch->base.target;
    288287
    289288        /* setup stage */
Note: See TracChangeset for help on using the changeset viewer.