Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/usbhub/port.c
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhub/port.c
rfac0ac7 r7c3fb9b 236 236 const bool overcurrent = !!(status & USB_HUB_PORT_STATUS_OC); 237 237 238 /* According to the USB specs: 238 /* 239 * According to the USB specs: 239 240 * 11.13.5 Over-current Reporting and Recovery 240 241 * Hub device is responsible for putting port in power off 241 242 * mode. USB system software is responsible for powering port 242 * back on when the over-current condition is gone */ 243 * back on when the over-current condition is gone 244 */ 243 245 244 246 usb_port_disabled(&port->base, &remove_device);
Note:
See TracChangeset
for help on using the changeset viewer.