Ignore:
Timestamp:
2017-10-23T23:17:14Z (7 years ago)
Author:
Michal Staruch <salmelu@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
894f58c
Parents:
b724494
Message:

Superspeed companion descriptor is processed

Superspeed endpoint companion is now correctly read and processed while parsing descriptors.
As a side effect, mass storage endpoints now initialize correctly and therefore mass storage driver starts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/pipes.h

    rb724494 rec700c7  
    8888        /** Found descriptor fitting the description. */
    8989        const usb_standard_endpoint_descriptor_t *descriptor;
     90        /** Relevant superspeed companion descriptor. */
     91        const usb_superspeed_endpoint_companion_descriptor_t *companion_descriptor;
    9092        /** Interface descriptor the endpoint belongs to. */
    9193        const usb_standard_interface_descriptor_t *interface;
     
    9597
    9698int usb_pipe_initialize(usb_pipe_t *, usb_endpoint_t, usb_transfer_type_t,
    97     size_t, usb_direction_t, unsigned, usb_dev_session_t *);
     99    size_t, usb_direction_t, unsigned, unsigned, unsigned, usb_dev_session_t *);
    98100int usb_pipe_initialize_default_control(usb_pipe_t *, usb_dev_session_t *);
    99101
Note: See TracChangeset for help on using the changeset viewer.