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


Ignore:
Timestamp:
2018-01-25T02:05: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:
d369b3b
Parents:
5f0b366
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-25 01:23:20)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-25 02:05:57)
Message:

usbhost: make bandwidth accounting a usb2_bus-thing

File:
1 edited

Legend:

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

    r5f0b366 rb357377  
    163163        .endpoint_register = ehci_register_ep,
    164164        .endpoint_unregister = ehci_unregister_ep,
    165         .endpoint_count_bw = bandwidth_count_usb20,
    166165
    167166        .batch_create = ehci_create_batch,
     
    178177        bus_t *bus_base = (bus_t *) bus;
    179178
    180         usb2_bus_init(usb2_bus, BANDWIDTH_AVAILABLE_USB20);
     179        usb2_bus_init(usb2_bus, &bandwidth_accounting_usb2);
    181180        bus_base->ops = &ehci_bus_ops;
    182181
Note: See TracChangeset for help on using the changeset viewer.