Changeset c910ecf in mainline for uspace/drv/bus/usb/ohci/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/ohci/main.c

    rd37514e rc910ecf  
    138138}
    139139
     140static int ohci_fun_online(ddf_fun_t *fun)
     141{
     142        return hcd_ddf_device_online(fun);
     143}
     144
     145static int ohci_fun_offline(ddf_fun_t *fun)
     146{
     147        return hcd_ddf_device_offline(fun);
     148}
     149
     150
    140151static const driver_ops_t ohci_driver_ops = {
    141152        .dev_add = ohci_dev_add,
     153        .fun_online = ohci_fun_online,
     154        .fun_offline = ohci_fun_offline
    142155};
    143156
Note: See TracChangeset for help on using the changeset viewer.