Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/endpoint_list.c

    r9d58539 r0d4b110  
    3434 */
    3535
     36#include <assert.h>
    3637#include <errno.h>
     38#include <libarch/barrier.h>
     39
    3740#include <usb/debug.h>
    38 #include <libarch/barrier.h>
     41
     42#include "utils/malloc32.h"
    3943#include "endpoint_list.h"
    4044
     
    6569        return EOK;
    6670}
    67 /*----------------------------------------------------------------------------*/
     71
    6872/** Set the next list in transfer list chain.
    6973 *
     
    8084        ed_append_ed(instance->list_head, next->list_head);
    8185}
    82 /*----------------------------------------------------------------------------*/
     86
    8387/** Add endpoint to the list and queue.
    8488 *
     
    132136        fibril_mutex_unlock(&instance->guard);
    133137}
    134 /*----------------------------------------------------------------------------*/
     138
    135139/** Remove endpoint from the list and queue.
    136140 *
     
    162166                qpos = "NOT FIRST";
    163167        }
    164         assert((prev_ed->next & ED_NEXT_PTR_MASK) == addr_to_phys(ep->ed));
     168        assert(ed_next(prev_ed) == addr_to_phys(ep->ed));
    165169        prev_ed->next = ep->ed->next;
    166170        /* Make sure ED is updated */
Note: See TracChangeset for help on using the changeset viewer.