Changeset 69b2dfee in mainline
- Timestamp:
- 2018-01-19T19:07:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c6f82e5
- Parents:
- 7e5a12b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
r7e5a12b r69b2dfee 776 776 /* Initialize slot_ctx according to section 4.3.3 point 3. */ 777 777 XHCI_SLOT_ROOT_HUB_PORT_SET(*ctx, dev->rh_port); 778 XHCI_SLOT_CTX_ENTRIES_SET(*ctx, 1);779 778 XHCI_SLOT_ROUTE_STRING_SET(*ctx, dev->route_str); 780 779 XHCI_SLOT_SPEED_SET(*ctx, usb_speed_to_psiv[dev->base.speed]); … … 850 849 xhci_setup_endpoint_context(ep0, &ictx->endpoint_ctx[0]); 851 850 851 /* Address device needs Ctx entries set to 1 only */ 852 xhci_slot_ctx_t *slot_ctx = &ictx->slot_ctx; 853 XHCI_SLOT_CTX_ENTRIES_SET(*slot_ctx, 1); 854 852 855 /* Issue Address Device command. */ 853 856 if ((err = xhci_cmd_sync_inline(hc, ADDRESS_DEVICE, .slot_id = dev->slot_id, .input_ctx = ictx_dma_buf)))
Note:
See TracChangeset
for help on using the changeset viewer.