Changeset 8fccd42 in mainline
- Timestamp:
- 2012-07-20T14:33:02Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3122b0
- Parents:
- 8013637
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/root_hub.c
r8013637 r8fccd42 566 566 return EINVAL; 567 567 568 switch (feature) 569 { 568 switch (feature) { 570 569 case USB_HUB_FEATURE_PORT_POWER: /*8*/ 571 570 { … … 587 586 case USB_HUB_FEATURE_PORT_RESET: /*4*/ 588 587 usb_log_debug2("Setting port POWER, ENABLE, SUSPEND or RESET " 589 "on port % zu.\n", port);588 "on port %"PRIu16".\n", port); 590 589 OHCI_WR(instance->registers->rh_port_status[port - 1], 591 590 1 << feature); … … 649 648 case USB_HUB_FEATURE_C_PORT_RESET: /*20*/ 650 649 usb_log_debug2("Clearing port C_CONNECTION, C_ENABLE, " 651 "C_SUSPEND, C_OC or C_RESET on port % zu.\n", port);650 "C_SUSPEND, C_OC or C_RESET on port %"PRIu16".\n", port); 652 651 /* Bit offsets correspond to the feature number */ 653 652 OHCI_WR(instance->registers->rh_port_status[port - 1],
Note:
See TracChangeset
for help on using the changeset viewer.