Changeset d8b275d in mainline for uspace/drv/usbhub/usbhub.c
- Timestamp:
- 2011-04-14T08:24:29Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5e07e2b5
- Parents:
- 3f2af64 (diff), 34e8bab (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r3f2af64 rd8b275d 247 247 for (port = 0; port < hub_info->port_count + 1; port++) { 248 248 usb_hub_port_init(&hub_info->ports[port]); 249 } 250 for (port = 0; port < hub_info->port_count; port++) { 251 opResult = usb_hub_set_port_feature(hub_info->control_pipe, 252 port+1, USB_HUB_FEATURE_PORT_POWER); 253 if (opResult != EOK) { 254 usb_log_error("cannot power on port %d; %d\n", 255 port+1, opResult); 256 } 249 257 } 250 258 usb_log_debug2("freeing data\n");
Note:
See TracChangeset
for help on using the changeset viewer.