Changeset d37514e in mainline for uspace/drv/bus/usb/xhci/main.c


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

Routing fun_online and _offline through the USB bus. Added appropriate stubs and ops.

File:
1 edited

Legend:

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

    rd46ceb2b rd37514e  
    164164}
    165165
     166static int xhci_fun_online(ddf_fun_t *fun)
     167{
     168        return hcd_ddf_device_online(fun);
     169}
     170
     171static int xhci_fun_offline(ddf_fun_t *fun)
     172{
     173        return hcd_ddf_device_offline(fun);
     174}
    166175
    167176static const driver_ops_t xhci_driver_ops = {
    168177        .dev_add = xhci_dev_add,
     178        .fun_online = xhci_fun_online,
     179        .fun_offline = xhci_fun_offline
    169180};
    170181
Note: See TracChangeset for help on using the changeset viewer.