Changeset d369b3b in mainline for uspace/drv/bus/usb/uhci/hc.h


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:
296d22fc
Parents:
b357377
git-author:
Ondřej Hlavatý <aearsis@…> (2018-01-25 01:52:13)
git-committer:
Ondřej Hlavatý <aearsis@…> (2018-01-25 02:05:57)
Message:

usb2_bus: no longer be a bus

As the number of implemented functions got to 3, it's not so beneficial
to inherit usb2 bus to get the functionality. Overall, four trampolines
needed to be added, which is an acceptable number.

Now, the usb2_bus has become a usb2_bus_helper, to be used as
a companion to the common bus.

This is mostly a preparation to remove the runtime binding of the bus
methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/hc.h

    rb357377 rd369b3b  
    104104
    105105        uhci_rh_t rh;
    106         usb2_bus_t bus;
     106        bus_t bus;
     107        usb2_bus_helper_t bus_helper;
     108
    107109        /** Addresses of I/O registers */
    108110        uhci_regs_t *registers;
Note: See TracChangeset for help on using the changeset viewer.