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

    rd37514e rc910ecf  
    143143}
    144144
     145static int uhci_fun_online(ddf_fun_t *fun)
     146{
     147        return hcd_ddf_device_online(fun);
     148}
     149
     150static int uhci_fun_offline(ddf_fun_t *fun)
     151{
     152        return hcd_ddf_device_offline(fun);
     153}
     154
    145155static const driver_ops_t uhci_driver_ops = {
    146156        .dev_add = uhci_dev_add,
     157        .fun_online = uhci_fun_online,
     158        .fun_offline = uhci_fun_offline
    147159};
    148160
Note: See TracChangeset for help on using the changeset viewer.