Changes in / [3dfdcb7:8971926] in mainline
- Location:
- uspace/drv
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/root_hub.c
r3dfdcb7 r8971926 57 57 .device_version = 0, 58 58 .length = sizeof (usb_standard_device_descriptor_t), 59 /// \TODO this value is guessed60 59 .max_packet_size = 8, 61 60 .vendor_id = 0x16db, … … 468 467 469 468 usb_hub_bm_request_type_t request_type = request_packet->request_type; 470 if (buffer_size < 4 /*request_packet->length*/) {///\TODO469 if (buffer_size < 4) { 471 470 usb_log_warning("requested more data than buffer size\n"); 472 471 return EINVAL; … … 678 677 (instance->registers->rh_port_status[port - 1] | (1 << feature)) 679 678 & (~port_clear_feature_valid_mask); 680 /// \TODO any error?681 682 679 return EOK; 683 680 } … … 707 704 & (~port_clear_feature_valid_mask)) 708 705 | (1 << feature); 709 /// \TODO any error?710 706 711 707 return EOK; -
uspace/drv/usbhub/main.c
r3dfdcb7 r8971926 87 87 88 88 usb_log_enable(USB_LOG_LEVEL_DEFAULT, NAME); 89 89 90 90 return usb_driver_main(&usb_hub_driver); 91 91 } -
uspace/drv/usbhub/usbhub.c
r3dfdcb7 r8971926 249 249 usb_log_debug("setting port count to %d\n", descriptor->ports_count); 250 250 hub_info->port_count = descriptor->ports_count; 251 /// \TODO this is not semantically correct252 251 bool is_power_switched = 253 252 ((descriptor->hub_characteristics & 1) == 0);
Note:
See TracChangeset
for help on using the changeset viewer.