Changeset 7034be15 in mainline for uspace/lib/usb/hcdhubd.h


Ignore:
Timestamp:
2010-11-19T23:00:31Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e27595b
Parents:
91db50ac
Message:

Various changes to HC driver framework API

Also, the root driver only registers VHC as its only child to clean-up
debug output from devman.

File:
1 edited

Legend:

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

    r91db50ac r7034be15  
    8080/** Callback for OUT transfers. */
    8181typedef void (*usb_hcd_transfer_callback_out_t)
    82     (usb_hc_device_t *, usb_hcd_attached_device_info_t *,
    83     usb_hc_endpoint_info_t *,
    84     usb_transaction_outcome_t, void *);
     82    (usb_hc_device_t *, usb_transaction_outcome_t, void *);
    8583
    8684/** Callback for IN transfers. */
    8785typedef void (*usb_hcd_transfer_callback_in_t)
    88     (usb_hc_device_t *, usb_hcd_attached_device_info_t *,
    89     usb_hc_endpoint_info_t *,
    90     size_t, usb_transaction_outcome_t, void *);
     86    (usb_hc_device_t *, size_t, usb_transaction_outcome_t, void *);
    9187
    9288
     
    158154 */
    159155
    160 int usb_hcd_local_set_endpoint_properties(usb_hc_device_t *, usb_target_t,
    161     usb_transfer_type_t, usb_direction_t);
    162156
    163 /* First variant - repeat transfer type. */
    164 int usb_hcd_local_transfer_interrupt_in(usb_hc_device_t *, usb_target_t,
     157int usb_hc_async_interrupt_out(usb_hc_device_t *, usb_target_t,
     158    void *, size_t, usb_handle_t *);
     159int usb_hc_async_interrupt_in(usb_hc_device_t *, usb_target_t,
    165160    void *, size_t, size_t *, usb_handle_t *);
    166161
    167 /* Second variant - determine transfer type from endpoint properties. */
    168 int usb_hcd_local_transfer_in(usb_hc_device_t *, usb_target_t,
    169     void *, size_t, size_t *, usb_handle_t *);
    170 
    171 
    172 int usb_hcd_local_wait_for(usb_handle_t);
     162int usb_hc_async_wait_for(usb_handle_t);
    173163
    174164
Note: See TracChangeset for help on using the changeset viewer.