Changeset d648e83 in mainline
- Timestamp:
- 2018-01-20T22:15:46Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9d3536e
- Parents:
- 58f4c0f
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.c
r58f4c0f rd648e83 218 218 } 219 219 220 static void port_changed_link_state(usb_hub_port_t *port, usb_port_status_t status) 221 { 222 port_log(debug2, port, "Port link state changed."); 223 } 224 225 220 226 typedef void (*change_handler_t)(usb_hub_port_t *, usb_port_status_t); 221 227 … … 226 232 [USB_HUB_FEATURE_C_PORT_OVER_CURRENT] = &port_changed_overcurrent, 227 233 [USB_HUB_FEATURE_C_PORT_RESET] = &port_changed_reset, 234 [USB_HUB_FEATURE_C_PORT_LINK_STATE] = &port_changed_link_state, 228 235 [sizeof(usb_port_status_t) * 8] = NULL, 229 236 }; -
uspace/lib/usb/include/usb/classes/hub.h
r58f4c0f rd648e83 60 60 USB_HUB_FEATURE_C_PORT_OVER_CURRENT = 19, 61 61 USB_HUB_FEATURE_C_PORT_RESET = 20, 62 USB_HUB_FEATURE_C_PORT_LINK_STATE = 22, 62 63 USB_HUB_FEATURE_PORT_TEST = 21, 63 64 USB_HUB_FEATURE_PORT_INDICATOR = 22
Note:
See TracChangeset
for help on using the changeset viewer.