Ignore:
File:
1 edited

Legend:

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

    r76fbd9a r57e06ef  
    6565        return EOK;
    6666}
    67 
     67/*----------------------------------------------------------------------------*/
    6868/** Set the next list in transfer list chain.
    6969 *
     
    8080        ed_append_ed(instance->list_head, next->list_head);
    8181}
    82 
     82/*----------------------------------------------------------------------------*/
    8383/** Add endpoint to the list and queue.
    8484 *
     
    132132        fibril_mutex_unlock(&instance->guard);
    133133}
    134 
     134/*----------------------------------------------------------------------------*/
    135135/** Remove endpoint from the list and queue.
    136136 *
     
    162162                qpos = "NOT FIRST";
    163163        }
    164         assert(ed_next(prev_ed) == addr_to_phys(ep->ed));
     164        assert((prev_ed->next & ED_NEXT_PTR_MASK) == addr_to_phys(ep->ed));
    165165        prev_ed->next = ep->ed->next;
    166166        /* Make sure ED is updated */
Note: See TracChangeset for help on using the changeset viewer.