Changeset b0fc92c in mainline for uspace/lib/usb/src/hc.c


Ignore:
Timestamp:
2013-07-26T13:29:05Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
059d507
Parents:
f3922c2
Message:

libusb, libdrv, libusbhost: Remove searching for dev handle by usb address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hc.c

    rf3922c2 rb0fc92c  
    144144}
    145145
    146 
    147 /** Get handle of USB device with given address.
    148  *
    149  * @param[in] connection Opened connection to host controller.
    150  * @param[in] address Address of device in question.
    151  * @param[out] handle Where to write the device handle.
    152  * @return Error code.
    153  */
    154 int usb_hc_get_handle_by_address(usb_hc_connection_t *connection,
    155     usb_address_t address, devman_handle_t *handle)
    156 {
    157         async_exch_t *exch;
    158         EXCH_INIT(connection, exch);
    159 
    160         const int ret = usbhc_get_handle(exch, address, handle);
    161 
    162         EXCH_FINI(connection, exch);
    163         return ret;
    164 }
    165 
    166146int usb_hc_read(usb_hc_connection_t *connection, usb_address_t address,
    167147    usb_endpoint_t endpoint, uint64_t setup, void *data, size_t size,
Note: See TracChangeset for help on using the changeset viewer.