Changeset a56a13c in mainline for uspace/lib/usb/src/hc.c
- Timestamp:
- 2011-12-12T12:35:50Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d02834c
- Parents:
- dbb7e3b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hc.c
rdbb7e3b ra56a13c 257 257 return ret; 258 258 } 259 /*----------------------------------------------------------------------------*/260 /** Get host controller handle by its class index.261 *262 * @param sid Service ID of the HC function.263 * @param hc_handle Where to store the HC handle264 * (can be NULL for existence test only).265 * @return Error code.266 */267 int usb_ddf_get_hc_handle_by_sid(service_id_t sid, devman_handle_t *hc_handle)268 {269 devman_handle_t handle;270 271 const int ret = devman_fun_sid_to_handle(sid, &handle);272 if (ret == EOK && hc_handle != NULL)273 *hc_handle = handle;274 275 return ret;276 }277 259 278 260 /**
Note:
See TracChangeset
for help on using the changeset viewer.