Ignore:
File:
1 edited

Legend:

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

    r7dfc06fa rb7d8fd9  
    6666 *   - argument #1 is target address
    6767 *   - argument #2 is target endpoint
     68 *   - argument #3 is max packet size of the endpoint
    6869 * - this call is immediately followed by IPC data read (async version)
    6970 * - the call is not answered until the device returns some data (or until
     
    201202
    202203/** Out transfer processing function prototype. */
    203 typedef int (*usbhc_iface_transfer_out_t)(ddf_fun_t *, usb_target_t,
     204typedef int (*usbhc_iface_transfer_out_t)(ddf_fun_t *, usb_target_t, size_t,
    204205    void *, size_t,
    205206    usbhc_iface_transfer_out_callback_t, void *);
     
    209210
    210211/** In transfer processing function prototype. */
    211 typedef int (*usbhc_iface_transfer_in_t)(ddf_fun_t *, usb_target_t,
     212typedef int (*usbhc_iface_transfer_in_t)(ddf_fun_t *, usb_target_t, size_t,
    212213    void *, size_t,
    213214    usbhc_iface_transfer_in_callback_t, void *);
     
    233234
    234235        int (*control_write)(ddf_fun_t *, usb_target_t,
     236            size_t,
    235237            void *, size_t, void *, size_t,
    236238            usbhc_iface_transfer_out_callback_t, void *);
    237239
    238240        int (*control_read)(ddf_fun_t *, usb_target_t,
     241            size_t,
    239242            void *, size_t, void *, size_t,
    240243            usbhc_iface_transfer_in_callback_t, void *);
Note: See TracChangeset for help on using the changeset viewer.