Changeset 162726b in mainline
- Timestamp:
- 2011-10-12T20:15:31Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 013517b
- Parents:
- 90994fa
- Location:
- uspace/lib/usbdev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/recognise.h
r90994fa r162726b 51 51 52 52 int usb_device_register_child_in_devman(usb_address_t, devman_handle_t, 53 ddf_dev_t *, d evman_handle_t *, ddf_dev_ops_t *, void *, ddf_fun_t **);53 ddf_dev_t *, ddf_dev_ops_t *, void *, ddf_fun_t **); 54 54 55 55 #endif -
uspace/lib/usbdev/src/hub.c
r90994fa r162726b 322 322 ddf_fun_t *child_fun; 323 323 rc = usb_device_register_child_in_devman(dev_addr, dev_conn.hc_handle, 324 parent, NULL, 325 dev_ops, new_dev_data, &child_fun); 324 parent, dev_ops, new_dev_data, &child_fun); 326 325 if (rc != EOK) { 327 326 rc = ESTALL; -
uspace/lib/usbdev/src/recognise.c
r90994fa r162726b 339 339 * @param[in] hc_handle Handle of the host controller. 340 340 * @param[in] parent Parent device. 341 * @param[out] child_handle Handle of the child device.342 341 * @param[in] dev_ops Child device ops. 343 342 * @param[in] dev_data Arbitrary pointer to be stored in the child … … 348 347 */ 349 348 int usb_device_register_child_in_devman(usb_address_t address, 350 devman_handle_t hc_handle, 351 ddf_dev_t *parent, devman_handle_t *child_handle, 349 devman_handle_t hc_handle, ddf_dev_t *parent, 352 350 ddf_dev_ops_t *dev_ops, void *dev_data, ddf_fun_t **child_fun) 353 351 { … … 414 412 } 415 413 416 if (child_handle != NULL) {417 *child_handle = child->handle;418 }419 420 414 if (child_fun != NULL) { 421 415 *child_fun = child;
Note:
See TracChangeset
for help on using the changeset viewer.