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