Ignore:
Timestamp:
2017-10-12T14:07:27Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a5976973
Parents:
7e74911
Message:

WIP usbhost refactoring

This commit replaces callbacks with more systematic virtual-like inheritance-like solution. Currently breaks build of HelenOS, but both xhci and usbhost are buildable. More refactoring follows…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h

    r7e74911 r41924f30  
    9090 */
    9191#define USB_TRANSFER_BATCH_ARGS(batch) \
    92         (batch).ep->address, (batch).ep->endpoint, \
     92        (batch).ep->target.address, (batch).ep->target.endpoint, \
    9393        usb_str_speed((batch).ep->speed), \
    9494        usb_str_transfer_type_short((batch).ep->transfer_type), \
Note: See TracChangeset for help on using the changeset viewer.