Ignore:
Timestamp:
2010-10-22T14:57:03Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7a7bfeb3
Parents:
954ea70
Message:

VHCD handles new methods

Not completely, though. Will finish later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/usb/hcd/virtual/hc.h

    r954ea70 rb8a3cda  
    3737
    3838#include <usb/hcd.h>
     39#include <usbvirt/ids.h>
    3940
    4041/** Callback after transaction is sent to USB.
     
    5253        /** Linked-list link. */
    5354        link_t link;
     55        /** Transaction type. */
     56        usbvirt_transaction_type_t type;
    5457        /** Device address. */
    5558        usb_target_t target;
    5659        /** Direction of the transaction. */
    5760        usb_direction_t direction;
    58         /** Transfer type. */
    59         usb_transfer_type_t type;
    6061        /** Transaction data buffer. */
    6162        void * buffer;
     
    7071void hc_manager(void);
    7172
    72 void hc_add_transaction_to_device(usb_transfer_type_t type, usb_target_t target,
     73void hc_add_transaction_to_device(bool setup, usb_target_t target,
    7374    void * buffer, size_t len,
    7475    hc_transaction_done_callback_t callback, void * arg);
    7576
    76 void hc_add_transaction_from_device(usb_transfer_type_t type, usb_target_t target,
     77void hc_add_transaction_from_device(usb_target_t target,
    7778    void * buffer, size_t len,
    7879    hc_transaction_done_callback_t callback, void * arg);
    7980
    80 int hc_fillin_transaction_from_device(usb_transfer_type_t type, usb_target_t target,
     81int hc_fillin_transaction_from_device(usb_target_t target,
    8182    void * buffer, size_t len);
    8283
Note: See TracChangeset for help on using the changeset viewer.