Changeset d967aa1 in mainline
- Timestamp:
- 2017-08-17T14:24:27Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e4001f7
- Parents:
- 40053529
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/rh.c
r40053529 rd967aa1 33 33 * @brief The roothub structures abstraction. 34 34 */ 35 35 36 36 #include <errno.h> 37 37 #include <str_error.h> … … 98 98 hc->speeds[port_speed_id].tx_bps); 99 99 XHCI_EP_MAX_BURST_SIZE_SET(ictx->endpoint_ctx[0], 0); 100 XHCI_EP_TR_DPTR_SET(ictx->endpoint_ctx[0], ep_ring->dequeue);100 XHCI_EP_TR_DPTR_SET(ictx->endpoint_ctx[0], addr_to_phys(ep_ring->dequeue)); 101 101 XHCI_EP_DCS_SET(ictx->endpoint_ctx[0], 1); 102 102 XHCI_EP_INTERVAL_SET(ictx->endpoint_ctx[0], 0); … … 124 124 xhci_free_command(cmd); 125 125 ictx = NULL; 126 127 // TODO: Issue configure endpoint commands (sec 4.3.5). 126 128 127 129 return EOK; … … 207 209 uint8_t port_id = XHCI_QWORD_EXTRACT(trb->parameter, 31, 24); 208 210 209 return port_id; 211 return port_id; 210 212 } 211 213
Note:
See TracChangeset
for help on using the changeset viewer.