Changeset 91db50ac in mainline for uspace/lib/usb/usbdrv.h


Ignore:
Timestamp:
2010-11-19T21:50:46Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7034be15
Parents:
63b4f90
Message:

USB driver to HC communication uses DDF interfaces

Started work on using interfaces on the background of communication
between HC and USB driver. However, for driver developers, this will
be hidden completely.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/usbdrv.h

    r63b4f90 r91db50ac  
    4141int usb_drv_hc_connect(device_t *, unsigned int);
    4242
    43 /** Set endpoint properties (direction, type). */
    44 int usb_drv_set_endpoint_properties(device_t *, usb_endpoint_t,
    45     usb_transfer_type_t, usb_direction_t);
     43int usb_drv_async_interrupt_out(int, usb_endpoint_t,
     44    void *, size_t, usb_handle_t *);
     45int usb_drv_async_interrupt_in(int, usb_endpoint_t,
     46    void *, size_t, size_t *, usb_handle_t *);
    4647
    47 /* First variant - repeat transfer type. */
    48 int usb_drv_interrupt_out(device_t *, usb_endpoint_t,
    49     void *, size_t, usb_handle_t *);
    50 
    51 /* Second variant - let the HC determine transfer type by endpoint number. */
    52 int usb_drv_transfer_out(device_t *, usb_endpoint_t,
    53     void *, size_t, usb_handle_t *);
    54 
    55 
    56 /** Wait for usb_drv_transfer_* to complete. */
    57 int usb_drv_wait_for(usb_handle_t);
     48int usb_drv_async_wait_for(usb_handle_t);
    5849
    5950#endif
Note: See TracChangeset for help on using the changeset viewer.