Changes in / [cd50486:960ff451] in mainline


Ignore:
Location:
uspace/lib/usb
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/Makefile

    rcd50486 r960ff451  
    4444        src/localdrv.c \
    4545        src/pipes.c \
    46         src/pipesinit.c \
    4746        src/recognise.c \
    4847        src/remotedrv.c \
  • uspace/lib/usb/include/usb/pipes.h

    rcd50486 r960ff451  
    3838#include <sys/types.h>
    3939#include <usb/usb.h>
    40 #include <usb/descriptor.h>
    4140#include <ipc/devman.h>
    4241#include <driver.h>
     
    8180
    8281
    83 /** Description of endpoint characteristics. */
    84 typedef struct {
    85         /** Transfer type (e.g. control or interrupt). */
    86         usb_transfer_type_t transfer_type;
    87         /** Transfer direction (to or from a device). */
    88         usb_direction_t direction;
    89         /** Interface class this endpoint belongs to (-1 for any). */
    90         int interface_class;
    91         /** Interface subclass this endpoint belongs to (-1 for any). */
    92         int interface_subclass;
    93         /** Interface protocol this endpoint belongs to (-1 for any). */
    94         int interface_protocol;
    95         /** Extra endpoint flags. */
    96         unsigned int flags;
    97 } usb_endpoint_description_t;
    98 
    99 /** Mapping of endpoint pipes and endpoint descriptions. */
    100 typedef struct {
    101         /** Endpoint pipe. */
    102         usb_endpoint_pipe_t *pipe;
    103         /** Endpoint description. */
    104         const usb_endpoint_description_t *description;
    105         /** Found descriptor fitting the description. */
    106         usb_standard_endpoint_descriptor_t *descriptor;
    107         /** Interface the endpoint belongs to. */
    108         usb_standard_interface_descriptor_t *interface;
    109         /** Whether the endpoint was actually found. */
    110         bool present;
    111 } usb_endpoint_mapping_t;
    112 
    11382int usb_device_connection_initialize_from_device(usb_device_connection_t *,
    11483    device_t *);
     
    12190int usb_endpoint_pipe_initialize_default_control(usb_endpoint_pipe_t *,
    12291    usb_device_connection_t *);
    123 int usb_endpoint_pipe_initialize_from_configuration(usb_endpoint_mapping_t *,
    124     size_t, uint8_t *, size_t, usb_device_connection_t *);
    12592
    12693
Note: See TracChangeset for help on using the changeset viewer.