Ignore:
Timestamp:
2017-10-27T15:22:06Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
58ac3ec
Parents:
7010861
Message:

libusbhost bus: endpoint→device is now managed by bus implementation

That allows xhci to better isolate responsibilities.

File:
1 edited

Legend:

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

    r7010861 r8b8c164  
    8484        /* The following operations are protected by a bus guard. */
    8585        endpoint_t *(*create_endpoint)(bus_t *);
    86         int (*register_endpoint)(bus_t *, endpoint_t *, const usb_endpoint_desc_t *);
     86        int (*register_endpoint)(bus_t *, device_t *, endpoint_t *, const usb_endpoint_desc_t *);
    8787        int (*unregister_endpoint)(bus_t *, endpoint_t *);
    8888        endpoint_t *(*find_endpoint)(bus_t *, device_t*, usb_target_t, usb_direction_t);
Note: See TracChangeset for help on using the changeset viewer.