Ignore:
Timestamp:
2018-01-13T19:13:04Z (6 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2489353
Parents:
001778c
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-13 19:12:34)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-13 19:13:04)
Message:

usbhost: endpoint is identified also by its direction

File:
1 edited

Legend:

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

    r001778c r1ed3eb4  
    7676        usb_speed_t speed;
    7777        usb_address_t address;
    78         endpoint_t *endpoints [USB_ENDPOINT_MAX];
     78        endpoint_t *endpoints [2 * USB_ENDPOINT_MAX];
    7979
    8080        /* Managing bus */
     
    163163
    164164int bus_endpoint_add(device_t *, const usb_endpoint_descriptors_t *, endpoint_t **);
    165 endpoint_t *bus_find_endpoint(device_t *, usb_endpoint_t);
     165endpoint_t *bus_find_endpoint(device_t *, usb_endpoint_t, usb_direction_t);
    166166int bus_endpoint_remove(endpoint_t *);
    167167
Note: See TracChangeset for help on using the changeset viewer.