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/lib/usbhost/include/usb/host/usb2_bus.h

    r5f0b366 rb357377  
    4242
    4343#include <usb/host/bus.h>
     44#include <usb/host/bandwidth.h>
    4445
    4546typedef struct usb2_bus usb2_bus_t;
     
    5758        /** Size of the bandwidth pool */
    5859        size_t free_bw;
     60
     61        /* Configured bandwidth accounting */
     62        const bandwidth_accounting_t *bw_accounting;
    5963} usb2_bus_t;
    6064
    6165extern const bus_ops_t usb2_bus_ops;
    6266
    63 extern void usb2_bus_init(usb2_bus_t *, size_t);
     67extern void usb2_bus_init(usb2_bus_t *, const bandwidth_accounting_t *);
    6468
    6569#endif
Note: See TracChangeset for help on using the changeset viewer.