Ignore:
Timestamp:
2017-10-12T14:07:27Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a5976973
Parents:
7e74911
Message:

WIP usbhost refactoring

This commit replaces callbacks with more systematic virtual-like inheritance-like solution. Currently breaks build of HelenOS, but both xhci and usbhost are buildable. More refactoring follows…

File:
1 edited

Legend:

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

    r7e74911 r41924f30  
    3838
    3939#include <usb/host/hcd.h>
    40 #include <usb/host/usb_bus.h>
     40#include <usb/host/bus.h>
    4141#include <usb/usb.h>
    4242
     
    7676int hcd_ddf_add_hc(ddf_dev_t *device, const ddf_hc_driver_t *driver);
    7777
    78 int hcd_ddf_setup_hc(ddf_dev_t *device, usb_speed_t max_speed,
    79     size_t bw, bw_count_func_t bw_count);
     78int hcd_ddf_setup_hc(ddf_dev_t *device);
    8079void hcd_ddf_clean_hc(ddf_dev_t *device);
    8180int hcd_ddf_setup_root_hub(ddf_dev_t *device);
Note: See TracChangeset for help on using the changeset viewer.