Changeset bbce2c2 in mainline for uspace/lib/drv/include/usbhc_iface.h


Ignore:
Timestamp:
2011-09-14T20:27:33Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f58ef61
Parents:
bdd8ad2f
Message:

usb: Remove unused iface functions, rename DATA_READ/DATA_WRITE ⇒ READ/WRITE

File:
1 edited

Legend:

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

    rbdd8ad2f rbbce2c2  
    150150        IPC_M_USBHC_UNREGISTER_ENDPOINT,
    151151
    152         /** Issue control WRITE transfer.
    153          * See explanation at usb_iface_funcs_t (OUT transaction) for
    154          * call parameters.
    155          * This call is immediately followed by two IPC data writes
    156          * from the caller (setup packet and actual data).
    157          */
    158         IPC_M_USBHC_CONTROL_WRITE,
    159 
    160         /** Issue control READ transfer.
    161          * See explanation at usb_iface_funcs_t (IN transaction) for
    162          * call parameters.
    163          * This call is immediately followed by IPC data write from the caller
    164          * (setup packet) and IPC data read (buffer that was read).
    165          */
    166         IPC_M_USBHC_CONTROL_READ,
    167 
    168152        /** Get data from device.
    169153         * See explanation at usb_iface_funcs_t (IN transaction).
    170154         */
    171         IPC_M_USBHC_DATA_READ,
     155        IPC_M_USBHC_READ,
    172156
    173157        /** Send data to device.
    174158         * See explanation at usb_iface_funcs_t (OUT transaction).
    175159         */
    176         IPC_M_USBHC_DATA_WRITE,
     160        IPC_M_USBHC_WRITE,
    177161} usbhc_iface_funcs_t;
    178162
    179163/** Callback for outgoing transfer. */
    180 typedef void (*usbhc_iface_transfer_out_callback_t)(ddf_fun_t *,
    181     int, void *);
     164typedef void (*usbhc_iface_transfer_out_callback_t)(ddf_fun_t *, int, void *);
    182165
    183166/** Callback for incoming transfer. */
Note: See TracChangeset for help on using the changeset viewer.