Changeset 709e868 in mainline for uspace/drv/ohci/root_hub.c
- Timestamp:
- 2011-04-09T18:42:13Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 501e5df, f11c288
- Parents:
- 97e7e8a (diff), b79c31f9 (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
r97e7e8a r709e868 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 … … 586 587 if (!((1 << feature) & hub_set_feature_valid_mask)) 587 588 return EINVAL; 589 if(feature == USB_HUB_FEATURE_C_HUB_LOCAL_POWER) 590 feature = USB_HUB_FEATURE_C_HUB_LOCAL_POWER << 16; 588 591 instance->registers->rh_status = 589 592 (instance->registers->rh_status | (1 << feature))
Note:
See TracChangeset
for help on using the changeset viewer.