Changeset c910ecf in mainline for uspace/drv/bus/usb/ehci/main.c


Ignore:
Timestamp:
2017-10-28T16:29:31Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9868982
Parents:
d37514e
Message:

Added fun_online and _offline hooks to [EOU]HCI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ehci/main.c

    rd37514e rc910ecf  
    130130}
    131131
     132static int ehci_fun_online(ddf_fun_t *fun)
     133{
     134        return hcd_ddf_device_online(fun);
     135}
     136
     137static int ehci_fun_offline(ddf_fun_t *fun)
     138{
     139        return hcd_ddf_device_offline(fun);
     140}
     141
    132142
    133143static const driver_ops_t ehci_driver_ops = {
    134144        .dev_add = ehci_dev_add,
     145        .fun_online = ehci_fun_online,
     146        .fun_offline = ehci_fun_offline
    135147};
    136148
Note: See TracChangeset for help on using the changeset viewer.