Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3f6c94ed in mainline for uspace/drv/bus/usb/xhci/endpoint.h


Ignore:
Timestamp:
2017-10-27T11:33:13Z (4 years ago)
Author:
Michal Staruch <salmelu@…>
Branches:
lfn, master
Children:
7010861
Parents:
5bc8250
Message:

Stubs for stream initialization

Streams should not be initialized always because the drivers may not support it.
Moved streams initialization to on-demand function.
Needs more work, but allows usbmast to initialize again and not crash.

File:
1 edited

Legend:

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

    r5bc8250 r3f6c94ed  
    7777        xhci_stream_ctx_t *primary_stream_ctx_array;
    7878
     79        /** Size of the allocated primary stream context array. */
     80        uint16_t primary_stream_ctx_array_size;
     81
    7982        /** 2-log of maximum number of primary streams (0-16). Not to be used directly. */
    8083        uint8_t max_streams;
     
    129132int xhci_endpoint_free_transfer_ds(xhci_endpoint_t *);
    130133
     134int xhci_endpoint_request_streams(xhci_hc_t *, xhci_device_t *, xhci_endpoint_t *, unsigned);
     135
    131136uint8_t xhci_endpoint_dci(xhci_endpoint_t *);
    132137uint8_t xhci_endpoint_index(xhci_endpoint_t *);
Note: See TracChangeset for help on using the changeset viewer.