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/lib/usbhost/include/usb/host/bus.h

    rd46ceb2b rd37514e  
    8282        int (*remove_device)(bus_t *, hcd_t *, device_t *);
    8383
     84        int (*online_device)(bus_t *, hcd_t *, device_t *);                     /**< Optional */
     85        int (*offline_device)(bus_t *, hcd_t *, device_t *);                    /**< Optional */
     86
    8487        /* The following operations are protected by a bus guard. */
    8588        endpoint_t *(*create_endpoint)(bus_t *);
     
    123126int bus_remove_device(bus_t *, hcd_t *, device_t *);
    124127
     128int bus_online_device(bus_t *, hcd_t *, device_t *);
     129int bus_offline_device(bus_t *, hcd_t *, device_t *);
     130
    125131int bus_add_endpoint(bus_t *, device_t *, const usb_endpoint_desc_t *, endpoint_t **);
    126132endpoint_t *bus_find_endpoint(bus_t *, device_t *, usb_target_t, usb_direction_t);
Note: See TracChangeset for help on using the changeset viewer.