Changes in / [55f324f:be8d907] in mainline
- Location:
- uspace/drv/usbhub
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/ports.c
r55f324f rbe8d907 95 95 * @param port port number, starting from 1 96 96 */ 97 void usb_hub_process_ interrupt(usb_hub_info_t *hub,97 void usb_hub_process_port_interrupt(usb_hub_info_t *hub, 98 98 uint16_t port) { 99 99 usb_log_debug("Interrupt at port %zu\n", (size_t) port); -
uspace/drv/usbhub/ports.h
r55f324f rbe8d907 70 70 71 71 72 void usb_hub_process_ interrupt(usb_hub_info_t *hub,72 void usb_hub_process_port_interrupt(usb_hub_info_t *hub, 73 73 uint16_t port); 74 74 -
uspace/drv/usbhub/usbhub.c
r55f324f rbe8d907 168 168 bool change = (change_bitmap[port / 8] >> (port % 8)) % 2; 169 169 if (change) { 170 usb_hub_process_ interrupt(hub, port);170 usb_hub_process_port_interrupt(hub, port); 171 171 } 172 172 } … … 266 266 267 267 if (!has_individual_port_powering) { 268 usb_log_debug("Has_global powering\n"); 269 opResult = usb_hub_set_feature(hub_info->control_pipe, 270 USB_HUB_FEATURE_C_HUB_LOCAL_POWER); 271 if (opResult != EOK) { 272 usb_log_error("Cannot power hub: %s\n", 273 str_error(opResult)); 274 } 268 //this setting actually makes no difference 269 usb_log_debug("Hub has global powering\n"); 275 270 } 276 271 … … 280 275 port, USB_HUB_FEATURE_PORT_POWER); 281 276 if (opResult != EOK) { 282 usb_log_error(" cannot power on port %zu: %s.\n",277 usb_log_error("Cannot power on port %zu: %s.\n", 283 278 port, str_error(opResult)); 284 279 }
Note:
See TracChangeset
for help on using the changeset viewer.