Changeset 2a5a7711 in mainline for uspace/drv/bus/usb/uhci/uhci_rh.c


Ignore:
Timestamp:
2013-02-08T16:08:51Z (12 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/drv/bus/usb/uhci/uhci_rh.c

    r81da273b r2a5a7711  
    7878        instance->reset_changed[1] = false;
    7979        return virthub_base_init(&instance->base, name, &ops, instance,
    80             NULL, &hub_descriptor.header);
     80            NULL, &hub_descriptor.header, HUB_STATUS_CHANGE_PIPE, 2);
    8181}
    8282
     
    376376
    377377/** UHCI root hub request handlers */
    378 static usbvirt_control_request_handler_t control_transfer_handlers[] = {
     378static const usbvirt_control_request_handler_t control_transfer_handlers[] = {
    379379        {
    380380                STD_REQ_IN(USB_REQUEST_RECIPIENT_DEVICE, USB_DEVREQ_GET_DESCRIPTOR),
Note: See TracChangeset for help on using the changeset viewer.