Changeset 41924f30 in mainline for uspace/drv/bus/usb/xhci/hc.h


Ignore:
Timestamp:
2017-10-12T14:07:27Z (8 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/drv/bus/usb/xhci/hc.h

    r7e74911 r41924f30  
    4343#include "trb_ring.h"
    4444#include "rh.h"
     45#include "bus.h"
    4546
    4647typedef struct xhci_virt_device_ctx {
     
    7273        xhci_rh_t rh;
    7374
     75        /* Bus bookkeeping */
     76        xhci_bus_t bus;
     77
    7478        /* Cached capabilities */
    7579        unsigned max_slots;
Note: See TracChangeset for help on using the changeset viewer.