Changeset 9370884 in mainline for uspace/drv
- Timestamp:
- 2011-03-14T21:22:52Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 15d3b54, a963a68
- Parents:
- ff34e5a (diff), c69209d (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. - Location:
- uspace/drv
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/hiddev.c
rff34e5a r9370884 391 391 return rc; 392 392 } 393 rc = usb_endpoint_pipe_probe_default_control(&hid_dev->ctrl_pipe); 394 if (rc != EOK) { 395 usb_log_error("Probing default control pipe failed: %s.\n", 396 str_error(rc)); 397 return rc; 398 } 393 399 394 400 /* -
uspace/drv/usbhub/usbhub.c
rff34e5a r9370884 118 118 dprintf(USB_LOG_LEVEL_ERROR, 119 119 "could not initialize connection to device endpoint, errno %d",opResult); 120 } 121 return opResult; 120 return opResult; 121 } 122 123 opResult = usb_endpoint_pipe_probe_default_control(&hub->endpoints.control); 124 if (opResult != EOK) { 125 dprintf(USB_LOG_LEVEL_ERROR, "failed probing endpoint 0, %d", opResult); 126 return opResult; 127 } 128 129 return EOK; 122 130 } 123 131 … … 430 438 &new_device_pipe, 431 439 &new_device_connection); 440 usb_endpoint_pipe_probe_default_control(&new_device_pipe); 432 441 /// \TODO get highspeed info 433 442 usb_speed_t speed = isLowSpeed?USB_SPEED_LOW:USB_SPEED_FULL; -
uspace/drv/usbmid/usbmid.c
rff34e5a r9370884 116 116 return NULL; 117 117 } 118 rc = usb_endpoint_pipe_probe_default_control(&mid->ctrl_pipe); 119 if (rc != EOK) { 120 usb_log_error("Probing default control pipe failed: %s.\n", 121 str_error(rc)); 122 free(mid); 123 return NULL; 124 } 118 125 119 126 mid->dev = dev;
Note:
See TracChangeset
for help on using the changeset viewer.