Changeset 9223dc5c in mainline for uspace/drv/usbhub/utils.c
- Timestamp:
- 2010-12-12T18:04:04Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 682b697, f2962621
- Parents:
- f46f8e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/utils.c
rf46f8e3 r9223dc5c 431 431 usb_hub_set_power_port_request(&request, port); 432 432 opResult = usb_drv_sync_control_write(hc, target, &request, NULL, 0); 433 printf("[usb_hub] powering port %d\n",port); 433 434 if (opResult != EOK) { 434 435 printf("[usb_hub]something went wrong when setting hub`s %dth port\n", port); … … 540 541 return; 541 542 } 543 printf("[usb_hub] new device address %d, handle %d\n", 544 new_device_address, child_handle); 545 sleep(60); 542 546 543 547 } … … 638 642 usb_port_set_dev_connected(&status, false); 639 643 if (status) { 640 printf("[usb_hub]there was some unsupported change on port \n");644 printf("[usb_hub]there was some unsupported change on port %d\n",port); 641 645 } 642 646 /// \TODO handle other changes … … 675 679 target.address = hub_info->usb_device->address; 676 680 target.endpoint = 1;/// \TODO get from endpoint descriptor 681 printf("checking changes for hub at addr %d \n",target.address); 677 682 678 683 size_t port_count = hub_info->port_count;
Note:
See TracChangeset
for help on using the changeset viewer.