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

Modified libusbdev to forward fun_online and _offline calls to USB drivers. Added poor man's implementation of HID device removal hook.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/driver.h

    r40a3bfa rd46ceb2b  
    4848        /** Callback when a device was removed from the system. */
    4949        int (*device_gone)(usb_device_t *);
     50        /** Callback asking the driver to online a specific function. */
     51        int (*function_online)(ddf_fun_t *);
     52        /** Callback asking the driver to offline a specific function. */
     53        int (*function_offline)(ddf_fun_t *);
    5054} usb_driver_ops_t;
    5155
Note: See TracChangeset for help on using the changeset viewer.