Ignore:
File:
1 edited

Legend:

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

    r0d4b110 r9d58539  
    3434 */
    3535
    36 #include <assert.h>
    3736#include <errno.h>
     37#include <usb/debug.h>
    3838#include <libarch/barrier.h>
    39 
    40 #include <usb/debug.h>
    41 
    42 #include "utils/malloc32.h"
    4339#include "endpoint_list.h"
    4440
     
    6965        return EOK;
    7066}
    71 
     67/*----------------------------------------------------------------------------*/
    7268/** Set the next list in transfer list chain.
    7369 *
     
    8480        ed_append_ed(instance->list_head, next->list_head);
    8581}
    86 
     82/*----------------------------------------------------------------------------*/
    8783/** Add endpoint to the list and queue.
    8884 *
     
    136132        fibril_mutex_unlock(&instance->guard);
    137133}
    138 
     134/*----------------------------------------------------------------------------*/
    139135/** Remove endpoint from the list and queue.
    140136 *
     
    166162                qpos = "NOT FIRST";
    167163        }
    168         assert(ed_next(prev_ed) == addr_to_phys(ep->ed));
     164        assert((prev_ed->next & ED_NEXT_PTR_MASK) == addr_to_phys(ep->ed));
    169165        prev_ed->next = ep->ed->next;
    170166        /* Make sure ED is updated */
Note: See TracChangeset for help on using the changeset viewer.