Changeset 4689d40 in mainline for uspace/lib/usb/src/usbdrv.c


Ignore:
Timestamp:
2010-12-04T17:51:07Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ce687bbe
Parents:
ad104e0
Message:

Add binding of USB address and devman handle to usbhc iface

File:
1 edited

Legend:

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

    rad104e0 r4689d40  
    136136}
    137137
     138/** Inform HC about binding address with devman handle.
     139 *
     140 * @param phone Open phone to host controller driver.
     141 * @param address Address to be binded.
     142 * @param handle Devman handle of the device.
     143 * @return Error code.
     144 */
     145int usb_drv_bind_address(int phone, usb_address_t address,
     146    devman_handle_t handle)
     147{
     148        int rc = async_req_2_0(phone, IPC_M_USBHC_BIND_ADDRESS,
     149            address, handle);
     150
     151        return rc;
     152}
     153
    138154/** Inform HC about address release.
    139155 *
Note: See TracChangeset for help on using the changeset viewer.