Changeset 56db65d in mainline for uspace/drv/bus/usb/xhci/endpoint.c


Ignore:
Timestamp:
2017-10-24T11:06:32Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0206d35
Parents:
894f58c
Message:

usbhost: provide usb_endpoint_desc_t to bus when registering endpoint

This finishes the path of arbitrary information fetched from device all the way down to registering the endpoint in the bus.

File:
1 edited

Legend:

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

    r894f58c r56db65d  
    275275        assert(&dev->base == ep->base.device);
    276276        assert(dev->base.address == ep->base.target.address);
     277
     278        // TODO Do not fail hard on runtime conditions
    277279        assert(!dev->endpoints[ep_num]);
    278280
     
    285287                return EOK;
    286288        }
    287 
    288         // FIXME: Set these from usb_superspeed_endpoint_companion_descriptor_t:
    289         ep->max_streams = 0;
    290         ep->max_burst = 0;
    291         ep->mult = 0;
    292289
    293290        /* Set up TRB ring / PSA. */
Note: See TracChangeset for help on using the changeset viewer.