Changeset b357377 in mainline for uspace/drv/bus/usb/ohci


Ignore:
Timestamp:
2018-01-25T02:05:57Z (8 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/ohci/ohci_bus.c

    r5f0b366 rb357377  
    171171        .endpoint_register = ohci_register_ep,
    172172        .endpoint_unregister = ohci_unregister_ep,
    173         .endpoint_count_bw = bandwidth_count_usb11,
    174173
    175174        .batch_create = ohci_create_batch,
     
    187186        bus_t *bus_base = (bus_t *) bus;
    188187
    189         usb2_bus_init(usb2_bus, BANDWIDTH_AVAILABLE_USB11);
     188        usb2_bus_init(usb2_bus, &bandwidth_accounting_usb11);
    190189        bus_base->ops = &ohci_bus_ops;
    191190
Note: See TracChangeset for help on using the changeset viewer.