Changeset df6ded8 in mainline for uspace/drv/bus/usb/vhc/hub/virthubops.c
- Timestamp:
- 2018-02-28T16:37:50Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b20da0
- Parents:
- f5e5f73 (diff), b2dca8de (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. - git-author:
- Jakub Jermar <jakub@…> (2018-02-28 16:06:42)
- git-committer:
- Jakub Jermar <jakub@…> (2018-02-28 16:37:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/vhc/hub/virthubops.c
rf5e5f73 rdf6ded8 137 137 138 138 switch (feature) { 139 case USB _HUB_FEATURE_PORT_ENABLE:139 case USB2_HUB_FEATURE_PORT_ENABLE: 140 140 if ((port_state != HUB_PORT_STATE_NOT_CONFIGURED) 141 141 && (port_state != HUB_PORT_STATE_POWERED_OFF)) { … … 145 145 break; 146 146 147 case USB _HUB_FEATURE_PORT_SUSPEND:147 case USB2_HUB_FEATURE_PORT_SUSPEND: 148 148 if (port_state != HUB_PORT_STATE_SUSPENDED) { 149 149 rc = EOK; … … 166 166 break; 167 167 168 case USB _HUB_FEATURE_C_PORT_ENABLE:168 case USB2_HUB_FEATURE_C_PORT_ENABLE: 169 169 hub_clear_port_status_change(hub, port, HUB_STATUS_C_PORT_ENABLE); 170 170 rc = EOK; 171 171 break; 172 172 173 case USB _HUB_FEATURE_C_PORT_SUSPEND:173 case USB2_HUB_FEATURE_C_PORT_SUSPEND: 174 174 hub_clear_port_status_change(hub, port, HUB_STATUS_C_PORT_SUSPEND); 175 175 rc = EOK; … … 317 317 break; 318 318 319 case USB _HUB_FEATURE_PORT_SUSPEND:319 case USB2_HUB_FEATURE_PORT_SUSPEND: 320 320 if (port_state == HUB_PORT_STATE_ENABLED) { 321 321 hub_set_port_state(hub, port, HUB_PORT_STATE_SUSPENDED);
Note:
See TracChangeset
for help on using the changeset viewer.