Changes in uspace/drv/bus/usb/vhc/hub/virthubops.c [5a6cc679:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/vhc/hub/virthubops.c
r5a6cc679 rb7fd2a0 137 137 138 138 switch (feature) { 139 case USB 2_HUB_FEATURE_PORT_ENABLE:139 case USB_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 2_HUB_FEATURE_PORT_SUSPEND:147 case USB_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 2_HUB_FEATURE_C_PORT_ENABLE:168 case USB_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 2_HUB_FEATURE_C_PORT_SUSPEND:173 case USB_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 2_HUB_FEATURE_PORT_SUSPEND:319 case USB_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.