Changeset 4967c1e in mainline
- Timestamp:
- 2011-05-27T17:43:12Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ee7e7c93
- Parents:
- 574f276 (diff), 6bbbcabe (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
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r574f276 r4967c1e 336 336 */ 337 337 static int usb_hub_start_hub_fibril(usb_hub_info_t * hub_info){ 338 /* 339 * The processing will require opened control pipe and connection 340 * to the host controller. 341 * It is waste of resources but let's hope there will be less 342 * hubs than the phone limit. 343 * FIXME: with some proper locking over pipes and session 344 * auto destruction, this could work better. 345 */ 346 int rc = usb_hc_connection_open(&hub_info->connection); 347 if (rc != EOK) { 348 //usb_pipe_end_session(hub_info->control_pipe); 349 usb_log_error("Failed to open connection to HC: %s.\n", 350 str_error(rc)); 351 return rc; 352 } 338 int rc; 353 339 354 340 rc = usb_device_auto_poll(hub_info->usb_device, 0, -
uspace/lib/usbdev/src/hub.c
r574f276 r4967c1e 331 331 goto leave_release_free_address; 332 332 } 333 334 usb_hc_connection_close(&hc_conn); 333 335 334 336 /*
Note:
See TracChangeset
for help on using the changeset viewer.