Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/ehci/hc.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/ehci/hc.c
rfac0ac7 r7c3fb9b 395 395 usb_log_debug("HC(%p): Starting HW.", instance); 396 396 397 /* Turn off the HC if it's running, Reseting a running device is 398 * undefined */ 397 /* 398 * Turn off the HC if it's running, Reseting a running device is 399 * undefined 400 */ 399 401 if (!(EHCI_RD(instance->registers->usbsts) & USB_STS_HC_HALTED_FLAG)) { 400 402 /* disable all interrupts */ … … 487 489 return ret; 488 490 } 489 /* Specs say "Software must set queue head horizontal pointer T-bits to 491 /* 492 * Specs say "Software must set queue head horizontal pointer T-bits to 490 493 * a zero for queue heads in the asynchronous schedule" (4.4.0). 491 494 * So we must maintain circular buffer (all horizontal pointers 492 * have to be valid */ 495 * have to be valid 496 */ 493 497 endpoint_list_chain(&instance->async_list, &instance->async_list); 494 498
Note:
See TracChangeset
for help on using the changeset viewer.