Changeset 4e732f1a in mainline for uspace/lib/usbdev/src/pipesinit.c


Ignore:
Timestamp:
2014-01-24T02:10:16Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
42de21a
Parents:
3de7a62
Message:

usb: Add support for multiple packets per microframe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/pipesinit.c

    r3de7a62 r4e732f1a  
    196196        int rc = usb_pipe_initialize(&ep_mapping->pipe,
    197197            ep_no, description.transfer_type,
    198             uint16_usb2host(endpoint_desc->max_packet_size),
    199             description.direction, bus_session);
     198            ED_MPS_PACKET_SIZE_GET(
     199                uint16_usb2host(endpoint_desc->max_packet_size)),
     200            description.direction,
     201            ED_MPS_TRANS_OPPORTUNITIES_GET(
     202                uint16_usb2host(endpoint_desc->max_packet_size)), bus_session);
    200203        if (rc != EOK) {
    201204                return rc;
Note: See TracChangeset for help on using the changeset viewer.