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:
fa4b12d5
Parents:
d369b3b
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-25 02:03:48)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-25 02:05:57)
Message:

usbhub: revert the runtime binding of bus methods

It was just a dead end.

File:
1 edited

Legend:

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

    rd369b3b r296d22fc  
    102102 */
    103103struct bus_ops {
    104         /* Undefined operations will be delegated to parent ops */
    105         const bus_ops_t *parent;
    106 
    107104        /* Global operations on the bus */
    108105        void (*interrupt)(bus_t *, uint32_t);
     
    126123        void (*batch_destroy)(usb_transfer_batch_t *);          /**< Optional */
    127124};
    128 
    129 /**
    130  * Use this macro to lookup virtual function.
    131  */
    132 #define BUS_OPS_LOOKUP(start, fn) ({ bus_ops_t const * ops = (start); while (ops && ops->fn == NULL) ops = ops->parent; ops; })
    133125
    134126/** Endpoint management structure */
Note: See TracChangeset for help on using the changeset viewer.