Changeset 4689d40 in mainline for uspace/lib/usb
- Timestamp:
- 2010-12-04T17:51:07Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ce687bbe
- Parents:
- ad104e0
- Location:
- uspace/lib/usb
- Files:
-
- 2 edited
-
include/usb/usbdrv.h (modified) (1 diff)
-
src/usbdrv.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/usbdrv.h
rad104e0 r4689d40 44 44 int usb_drv_release_default_address(int); 45 45 usb_address_t usb_drv_request_address(int); 46 int usb_drv_bind_address(int, usb_address_t, devman_handle_t); 46 47 int usb_drv_release_address(int, usb_address_t); 47 48 -
uspace/lib/usb/src/usbdrv.c
rad104e0 r4689d40 136 136 } 137 137 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 */ 145 int 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 138 154 /** Inform HC about address release. 139 155 *
Note:
See TracChangeset
for help on using the changeset viewer.
