Changeset 15d0046 in mainline for uspace/drv/bus/usb/usbhub/port.c
- Timestamp:
- 2014-09-12T13:22:33Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9b20126
- Parents:
- 8db09e4 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.c
r8db09e4 r15d0046 424 424 ddf_fun_t *child_fun; 425 425 426 child_fun = ddf_fun_create(data->hub->usb_device->ddf_dev, 427 fun_inner, NULL); 428 if (child_fun == NULL) 429 return ENOMEM; 430 426 431 const int rc = usb_hc_new_device_wrapper(data->hub->usb_device->ddf_dev, 427 &data->hub->usb_device->hc_conn, data->speed, enable_port_callback,428 data->port, &new_address, NULL, NULL, &child_fun);432 child_fun, &data->hub->usb_device->hc_conn, data->speed, 433 enable_port_callback, data->port, &new_address, NULL); 429 434 430 435 if (rc == EOK) { … … 440 445 ddf_fun_get_handle(child_fun)); 441 446 } else { 447 ddf_fun_destroy(child_fun); 442 448 usb_log_error("Failed registering device on port %zu: %s.\n", 443 449 data->port->port_number, str_error(rc));
Note:
See TracChangeset
for help on using the changeset viewer.