Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/transfer_list.c

    r8064c2f6 r9d58539  
    3434 */
    3535
    36 #include <assert.h>
    3736#include <errno.h>
     37#include <usb/debug.h>
    3838#include <libarch/barrier.h>
    39 #include <sys/types.h>
    40 #include <usb/debug.h>
    41 #include <usb/host/usb_transfer_batch.h>
    42 
    43 #include "utils/malloc32.h"
    44 #include "hw_struct/link_pointer.h"
     39
    4540#include "transfer_list.h"
    4641
    4742static void transfer_list_remove_batch(
    4843    transfer_list_t *instance, uhci_transfer_batch_t *uhci_batch);
    49 
     44/*----------------------------------------------------------------------------*/
    5045/** Initialize transfer list structures.
    5146 *
     
    7469        return EOK;
    7570}
    76 
     71/*----------------------------------------------------------------------------*/
    7772/** Dispose transfer list structures.
    7873 *
     
    10297        qh_set_next_qh(instance->queue_head, next->queue_head);
    10398}
    104 
     99/*----------------------------------------------------------------------------*/
    105100/** Add transfer batch to the list and queue.
    106101 *
     
    149144        fibril_mutex_unlock(&instance->guard);
    150145}
    151 
     146/*----------------------------------------------------------------------------*/
    152147/** Add completed batches to the provided list.
    153148 *
     
    176171        fibril_mutex_unlock(&instance->guard);
    177172}
    178 
     173/*----------------------------------------------------------------------------*/
    179174/** Walk the list and finish all batches with EINTR.
    180175 *
     
    193188        fibril_mutex_unlock(&instance->guard);
    194189}
    195 
     190/*----------------------------------------------------------------------------*/
    196191/** Remove a transfer batch from the list and queue.
    197192 *
Note: See TracChangeset for help on using the changeset viewer.