Ignore:
Timestamp:
2017-10-25T11:55:15Z (6 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/lib/usbhost/src/usb_transfer_batch.c

    rc3d926f ra5b3de6  
    8181
    8282        if (batch->error == EOK && batch->toggle_reset_mode != RESET_NONE) {
    83                 usb_log_debug2("Reseting %s due to transaction of %d:%d.\n",
    84                     batch->toggle_reset_mode == RESET_ALL ? "all EPs toggle" : "EP toggle",
    85                     batch->ep->target.address, batch->ep->target.endpoint);
    86                 bus_reset_toggle(batch->ep->bus,
    87                     batch->ep->target, batch->toggle_reset_mode == RESET_ALL);
     83                usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " resets %s",
     84                    batch, USB_TRANSFER_BATCH_ARGS(*batch),
     85                    batch->toggle_reset_mode == RESET_ALL ? "all EPs toggle" : "EP toggle");
     86                bus_reset_toggle(batch->ep->bus, 
     87                    batch->target, batch->toggle_reset_mode == RESET_ALL);
    8888        }
    8989
Note: See TracChangeset for help on using the changeset viewer.