Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/include/usb/host/device_keeper.h

    rc4e3b1f7 rba038f4  
    5454        usb_speed_t speed;
    5555        bool occupied;
     56        link_t endpoints;
     57        uint16_t control_used;
    5658        devman_handle_t handle;
    5759};
     
    6365        struct usb_device_info devices[USB_ADDRESS_COUNT];
    6466        fibril_mutex_t guard;
     67        fibril_condvar_t change;
    6568        usb_address_t last_address;
    6669} usb_device_keeper_t;
    6770
    6871void usb_device_keeper_init(usb_device_keeper_t *instance);
     72
     73void usb_device_keeper_reserve_default_address(
     74    usb_device_keeper_t *instance, usb_speed_t speed);
     75
     76void usb_device_keeper_release_default_address(usb_device_keeper_t *instance);
     77
     78void usb_device_keeper_reset_if_need(usb_device_keeper_t *instance,
     79    usb_target_t target, const uint8_t *setup_data);
    6980
    7081usb_address_t device_keeper_get_free_address(usb_device_keeper_t *instance,
Note: See TracChangeset for help on using the changeset viewer.