Ignore:
Timestamp:
2013-02-08T16:08:51Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
603a0a4
Parents:
81da273b
Message:

libusbvirt, virthub: Allow drivers to set endpoint number and port count.

Using smaller max_packet_size reduces bandwidth requirements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbvirt/src/virthub_descriptors.c

    r81da273b r2a5a7711  
    7474        .length = sizeof(usb_standard_endpoint_descriptor_t),
    7575        .descriptor_type = USB_DESCTYPE_ENDPOINT,
    76         .endpoint_address = HUB_STATUS_CHANGE_PIPE | 128,
     76        .endpoint_address = 1 | 128,
    7777        .attributes = USB_TRANSFER_INTERRUPT,
    7878        .max_packet_size = 8,
     
    101101};
    102102
    103 const usbvirt_device_configuration_extras_t virthub_endpoint_descriptor_ex = {
    104         .data = (uint8_t *) &virthub_endpoint_descriptor,
    105         .length = sizeof(virthub_endpoint_descriptor),
    106 };
    107 
    108103
    109104/**
Note: See TracChangeset for help on using the changeset viewer.