Changeset 8ea7459 in mainline for uspace/drv/bus/usb/xhci/endpoint.c


Ignore:
Timestamp:
2017-10-21T12:17:09Z (7 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f270ecb
Parents:
d1d7a92
Message:

Refactored some parts of RH to HC. Also moved some bus ops around.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/endpoint.c

    rd1d7a92 r8ea7459  
    137137        xhci_trb_ring_t *ring, usb_superspeed_endpoint_companion_descriptor_t *ss_desc)
    138138{
    139 
    140139        XHCI_EP_TYPE_SET(*ctx, xhci_endpoint_type(ep));
    141140        XHCI_EP_MAX_PACKET_SIZE_SET(*ctx, ep->base.max_packet_size);
     
    153152        } else {
    154153                XHCI_EP_MAX_P_STREAMS_SET(*ctx, 0);
    155                 /* FIXME physical pointer? */
    156154                XHCI_EP_TR_DPTR_SET(*ctx, ring->dequeue);
    157155                XHCI_EP_DCS_SET(*ctx, 1);
     
    168166        XHCI_EP_MULT_SET(*ctx, 0);
    169167        XHCI_EP_ERROR_COUNT_SET(*ctx, 0);
    170         /* FIXME physical pointer? */
    171168        XHCI_EP_TR_DPTR_SET(*ctx, ring->dequeue);
    172169        XHCI_EP_DCS_SET(*ctx, 1);
     
    182179        XHCI_EP_MULT_SET(*ctx, 0);
    183180        XHCI_EP_ERROR_COUNT_SET(*ctx, 3);
    184         /* FIXME physical pointer? */
    185181        XHCI_EP_TR_DPTR_SET(*ctx, ring->dequeue);
    186182        XHCI_EP_DCS_SET(*ctx, 1);
Note: See TracChangeset for help on using the changeset viewer.