Changeset 5514cf7 in mainline for uspace/lib/drv/include/usb_iface.h


Ignore:
Timestamp:
2013-08-07T09:16:57Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3121b5f
Parents:
4b8ecff
Message:

libdrv: Remove old hc handle based functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/usb_iface.h

    r4b8ecff r5514cf7  
    5252void usb_dev_disconnect(usb_dev_session_t *);
    5353
    54 int usb_get_my_address(async_exch_t *, usb_address_t *);
    5554int usb_get_my_interface(async_exch_t *, int *);
    56 int usb_get_hc_handle(async_exch_t *, devman_handle_t *);
    5755int usb_get_device_handle(async_exch_t *, devman_handle_t *);
    5856
     
    7775/** USB device communication interface. */
    7876typedef struct {
    79         int (*get_my_address)(ddf_fun_t *, usb_address_t *);
    8077        int (*get_my_interface)(ddf_fun_t *, int *);
    81         int (*get_hc_handle)(ddf_fun_t *, devman_handle_t *);
    82 
    8378        int (*get_device_handle)(ddf_fun_t *, devman_handle_t *);
    8479
    8580        int (*reserve_default_address)(ddf_fun_t *, usb_speed_t);
    8681        int (*release_default_address)(ddf_fun_t *);
     82
    8783        int (*device_enumerate)(ddf_fun_t *, usb_device_handle_t *);
    8884        int (*device_remove)(ddf_fun_t *, usb_device_handle_t);
     85
    8986        int (*register_endpoint)(ddf_fun_t *, usb_endpoint_t,
    9087            usb_transfer_type_t, usb_direction_t, size_t, unsigned);
    9188        int (*unregister_endpoint)(ddf_fun_t *, usb_endpoint_t,
    9289            usb_direction_t);
     90
    9391        int (*read)(ddf_fun_t *, usb_endpoint_t, uint64_t, uint8_t *, size_t,
    9492            usbhc_iface_transfer_in_callback_t, void *);
Note: See TracChangeset for help on using the changeset viewer.