Changes in uspace/drv/usbhub/usbhub.c [46e078a:5e07e2b5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r46e078a r5e07e2b5 45 45 #include <usb/request.h> 46 46 #include <usb/classes/hub.h> 47 #include <usb/devpoll.h> 47 48 #include <stdio.h> 48 49 … … 247 248 for (port = 0; port < hub_info->port_count + 1; port++) { 248 249 usb_hub_port_init(&hub_info->ports[port]); 250 } 251 for (port = 0; port < hub_info->port_count; port++) { 252 opResult = usb_hub_set_port_feature(hub_info->control_pipe, 253 port+1, USB_HUB_FEATURE_PORT_POWER); 254 if (opResult != EOK) { 255 usb_log_error("cannot power on port %d; %d\n", 256 port+1, opResult); 257 } 249 258 } 250 259 usb_log_debug2("freeing data\n");
Note:
See TracChangeset
for help on using the changeset viewer.