Ignore:
Timestamp:
2018-01-20T12:34:50Z (8 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
682c9354
Parents:
60d3f35
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-20 12:33:42)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-20 12:34:50)
Message:

usbhub: be aware of its own speed

This resulted in a bunch of changes just because the roothubs in older
HC's are virtual, and need to be aware of their own speed too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/utility.h

    r60d3f35 r129b821f  
    4848int hc_get_ep0_max_packet_size(uint16_t *, bus_t *, device_t *);
    4949void hc_reset_toggles(const usb_transfer_batch_t *batch, endpoint_reset_toggle_t);
    50 int hc_setup_virtual_root_hub(hc_device_t *);
     50int hc_setup_virtual_root_hub(hc_device_t *, usb_speed_t);
    5151int hc_get_device_desc(device_t *, usb_standard_device_descriptor_t *);
    5252int hc_get_hub_desc(device_t *, usb_hub_descriptor_header_t *);
Note: See TracChangeset for help on using the changeset viewer.