Changeset 5c75456 in mainline for uspace/lib


Ignore:
Timestamp:
2017-12-29T17:11:14Z (8 years ago)
Author:
Salmelu <salmelu@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf7b747
Parents:
5dfb70c9
git-author:
Salmelu <salmelu@…> (2017-12-29 17:10:05)
git-committer:
Salmelu <salmelu@…> (2017-12-29 17:11:14)
Message:

xhci: isochronous transfers made working

Location:
uspace/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/usb_iface.h

    r5dfb70c9 r5c75456  
    115115        size_t max_packet_size;
    116116
     117        /** Scheduling interval for HC. Only valid for interrupt/isoch transfer. */
     118        size_t interval;
     119
    117120        /** Number of packets per frame/uframe.
    118121         * Only valid for HS INT and ISO transfers. All others should set to 1*/
  • uspace/lib/usbdev/src/pipes.c

    r5dfb70c9 r5c75456  
    299299        pipe->bus_session = bus_session;
    300300
     301        // TODO: hardcoded, remake to receive from device descriptors
     302        pipe->desc.interval = 14;
     303
    301304        if (transfer_type == USB_TRANSFER_ISOCHRONOUS) {
    302305                ret = usb_isoch_session_initialize(pipe);
Note: See TracChangeset for help on using the changeset viewer.