Changeset ecbad17 in mainline for uspace/drv/bus/usb/ehci/ehci_bus.c


Ignore:
Timestamp:
2018-01-07T17:13:57Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb928c4
Parents:
3dc3f99
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-07 17:12:35)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-07 17:13:57)
Message:

usbhost: Implemented bandwidth accounting for USB 2.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/ehci_bus.c

    r3dc3f99 recbad17  
    149149        .endpoint_unregister = ehci_unregister_ep,
    150150        .endpoint_toggle_reset = ehci_ep_toggle_reset,
    151         .endpoint_count_bw = bandwidth_count_usb11,
     151        .endpoint_count_bw = bandwidth_count_usb20,
    152152        .batch_create = ehci_create_batch,
    153153        .batch_destroy = ehci_destroy_batch,
     
    163163        bus_t *bus_base = (bus_t *) bus;
    164164
    165         usb2_bus_init(usb2_bus, BANDWIDTH_AVAILABLE_USB11);
     165        usb2_bus_init(usb2_bus, BANDWIDTH_AVAILABLE_USB20);
    166166        bus_base->ops = &ehci_bus_ops;
    167167
Note: See TracChangeset for help on using the changeset viewer.