Changeset 501e5df in mainline for uspace/drv/ohci/root_hub.c
- Timestamp:
- 2011-04-09T20:56:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba038f4
- Parents:
- 8790650 (diff), 709e868 (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/ohci/root_hub.c
r8790650 r501e5df 115 115 116 116 static const uint32_t hub_set_feature_valid_mask = 117 (1 << USB_HUB_FEATURE_C_HUB_OVER_CURRENT); 117 (1 << USB_HUB_FEATURE_C_HUB_OVER_CURRENT) | 118 (1 << USB_HUB_FEATURE_C_HUB_LOCAL_POWER); 118 119 119 120 … … 587 588 if (!((1 << feature) & hub_set_feature_valid_mask)) 588 589 return EINVAL; 590 if(feature == USB_HUB_FEATURE_C_HUB_LOCAL_POWER) 591 feature = USB_HUB_FEATURE_C_HUB_LOCAL_POWER << 16; 589 592 instance->registers->rh_status = 590 593 (instance->registers->rh_status | (1 << feature))
Note:
See TracChangeset
for help on using the changeset viewer.