Changes in uspace/drv/bus/usb/ohci/endpoint_list.c [0d4b110:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/endpoint_list.c
r0d4b110 r9d58539 34 34 */ 35 35 36 #include <assert.h>37 36 #include <errno.h> 37 #include <usb/debug.h> 38 38 #include <libarch/barrier.h> 39 40 #include <usb/debug.h>41 42 #include "utils/malloc32.h"43 39 #include "endpoint_list.h" 44 40 … … 69 65 return EOK; 70 66 } 71 67 /*----------------------------------------------------------------------------*/ 72 68 /** Set the next list in transfer list chain. 73 69 * … … 84 80 ed_append_ed(instance->list_head, next->list_head); 85 81 } 86 82 /*----------------------------------------------------------------------------*/ 87 83 /** Add endpoint to the list and queue. 88 84 * … … 136 132 fibril_mutex_unlock(&instance->guard); 137 133 } 138 134 /*----------------------------------------------------------------------------*/ 139 135 /** Remove endpoint from the list and queue. 140 136 * … … 166 162 qpos = "NOT FIRST"; 167 163 } 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)); 169 165 prev_ed->next = ep->ed->next; 170 166 /* Make sure ED is updated */
Note:
See TracChangeset
for help on using the changeset viewer.