Ignore:
Timestamp:
2013-08-20T12:24:16Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5856b627
Parents:
5dad73d
Message:

libusbhost: Add TT information to usb_enpoint_t structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb_endpoint_manager.c

    r5dad73d r0ee999d  
    287287    usb_address_t address, usb_endpoint_t endpoint, usb_direction_t direction,
    288288    usb_transfer_type_t type, size_t max_packet_size, size_t data_size,
    289     ep_add_callback_t callback, void *arg)
     289    ep_add_callback_t callback, void *arg, usb_address_t tt_address,
     290    unsigned tt_port)
    290291{
    291292        assert(instance);
     
    320321        }
    321322
    322         ep = endpoint_create(
    323             address, endpoint, direction, type, speed, max_packet_size, bw);
     323        ep = endpoint_create(address, endpoint, direction, type, speed,
     324            max_packet_size, bw, tt_address, tt_port);
    324325        if (!ep) {
    325326                fibril_mutex_unlock(&instance->guard);
     
    484485 * @return Error code.
    485486 */
    486 int usb_endpoint_manager_get_info_by_address(usb_endpoint_manager_t *instance,
     487int usb_endpoint_manager_get_speed(usb_endpoint_manager_t *instance,
    487488    usb_address_t address, usb_speed_t *speed)
    488489{
Note: See TracChangeset for help on using the changeset viewer.