Changes in uspace/drv/ohci/iface.c [df25ab6:4125b7d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/iface.c
rdf25ab6 r4125b7d 122 122 return EOK; 123 123 } 124 125 126 /** Find device handle by address interface function.127 *128 * @param[in] fun DDF function that was called.129 * @param[in] address Address in question.130 * @param[out] handle Where to store device handle if found.131 * @return Error code.132 */133 static int find_by_address(ddf_fun_t *fun, usb_address_t address,134 devman_handle_t *handle)135 {136 assert(fun);137 hc_t *hc = fun_to_hc(fun);138 assert(hc);139 bool found =140 usb_device_keeper_find_by_address(&hc->manager, address, handle);141 return found ? EOK : ENOENT;142 }143 144 124 /*----------------------------------------------------------------------------*/ 145 125 /** Release address interface function … … 422 402 .request_address = request_address, 423 403 .bind_address = bind_address, 424 .find_by_address = find_by_address,425 404 .release_address = release_address, 426 405
Note:
See TracChangeset
for help on using the changeset viewer.