Changeset f37eb84 in mainline
- Timestamp:
- 2011-10-31T16:46:31Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 27736cf
- Parents:
- 062165f
- Location:
- uspace/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/hub.c
r062165f rf37eb84 265 265 } 266 266 267 rc = usb_pipe_register _with_speed(&ctrl_pipe, dev_speed, 0, &hc_conn);267 rc = usb_pipe_register(&ctrl_pipe, 0, &hc_conn); 268 268 if (rc != EOK) { 269 269 rc = ENOTCONN; … … 320 320 */ 321 321 unregister_control_endpoint_on_default_address(&hc_conn); 322 usb_hc_unregister_device(&hc_conn, USB_ADDRESS_DEFAULT); 322 323 323 324 /* … … 381 382 usb_log_warning("%s: Failed to unregister default pipe.\n", 382 383 __FUNCTION__); 384 usb_hc_unregister_device(&hc_conn, USB_ADDRESS_DEFAULT); 383 385 384 386 leave_release_free_address: -
uspace/lib/usbhost/src/iface.c
r062165f rf37eb84 104 104 assert(address); 105 105 106 usb_log_debug("Address request speed: %s.\n", usb_str_speed(speed)); 106 usb_log_debug("Address request: speed: %s, address: %d, strict: %s.\n", 107 usb_str_speed(speed), *address, strict ? "YES" : "NO"); 107 108 return usb_device_manager_request_address( 108 109 &hcd->dev_manager, address, strict, speed); -
uspace/lib/usbhost/src/usb_device_manager.c
r062165f rf37eb84 166 166 usb_device_manager_t *instance, usb_address_t address) 167 167 { 168 if ((address < =0) || (address >= USB_ADDRESS_COUNT)) {168 if ((address < 0) || (address >= USB_ADDRESS_COUNT)) { 169 169 return EINVAL; 170 170 }
Note:
See TracChangeset
for help on using the changeset viewer.