Changeset 42bc933 in mainline for uspace/drv/bus/usb/xhci/transfers.h


Ignore:
Timestamp:
2017-10-09T16:27:02Z (8 years ago)
Author:
Michal Staruch <salmelu@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac18b08
Parents:
a0be5d0
Message:

Dummy for bulk transfers (need to support streams)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/transfers.h

    ra0be5d0 r42bc933  
    3737#include "trb_ring.h"
    3838
    39 /*
    40 
    41 typedef struct xhci_command {
    42         link_t link;
    43 
    44         xhci_trb_t trb;
    45         uintptr_t trb_phys;
    46 
    47         uint32_t slot_id;
    48         uint32_t status;
    49 
    50         bool completed;
    51 
    52         fibril_mutex_t completed_mtx;
    53         fibril_condvar_t completed_cv;
    54 } xhci_cmd_t;
    55 */
    56 
    5739typedef struct {
    5840        link_t link;
     
    6951void xhci_transfer_fini(xhci_transfer_t*);
    7052int xhci_schedule_control_transfer(xhci_hc_t*, usb_transfer_batch_t*);
     53int xhci_schedule_bulk_transfer(xhci_hc_t*, usb_transfer_batch_t*);
    7154int xhci_handle_transfer_event(xhci_hc_t*, xhci_trb_t*);
Note: See TracChangeset for help on using the changeset viewer.