Changeset 7c3fb9b in mainline for uspace/drv/bus/usb/ehci/hw_struct/queue_head.c
- Timestamp:
- 2018-05-17T08:29:01Z (7 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/hw_struct/queue_head.c
rfac0ac7 r7c3fb9b 61 61 EHCI_MEM32_WR(instance->alternate, LINK_POINTER_TERM); 62 62 if (ep == NULL) { 63 /* Mark as halted and list head, 64 * used by endpoint lists as dummy */ 63 /* 64 * Mark as halted and list head, 65 * used by endpoint lists as dummy 66 */ 65 67 EHCI_MEM32_WR(instance->ep_char, QH_EP_CHAR_H_FLAG); 66 68 EHCI_MEM32_WR(instance->status, QH_STATUS_HALTED_FLAG); … … 76 78 if (ep->device->speed != USB_SPEED_HIGH) 77 79 EHCI_MEM32_SET(instance->ep_char, QH_EP_CHAR_C_FLAG); 78 /* Let BULK and INT use queue head managed toggle, 79 * CONTROL needs special toggle handling anyway */ 80 /* 81 * Let BULK and INT use queue head managed toggle, 82 * CONTROL needs special toggle handling anyway 83 */ 80 84 EHCI_MEM32_SET(instance->ep_char, QH_EP_CHAR_DTC_FLAG); 81 85 } … … 96 100 EHCI_MEM32_WR(instance->ep_cap, ep_cap); 97 101 98 /* The rest of the fields are transfer working area, it should be ok to 99 * leave it NULL */ 102 /* 103 * The rest of the fields are transfer working area, it should be ok to 104 * leave it NULL 105 */ 100 106 } 101 107
Note:
See TracChangeset
for help on using the changeset viewer.