Changes in uspace/drv/ohci/batch.c [c9dc471:d6522dd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/batch.c
rc9dc471 rd6522dd 161 161 usb_log_debug("Batch(%p) found error TD(%d):%x.\n", 162 162 instance, i, data->tds[i]->status); 163 /* Make sure TD queue is empty (one TD),164 * ED should be marked as halted */165 data->ed->td_tail =166 (data->ed->td_head & ED_TDTAIL_PTR_MASK);167 ++i;168 163 break; 169 164 } … … 174 169 assert(hcd_ep); 175 170 hcd_ep->td = data->tds[i]; 176 /* Clear possible ED HALT */177 data->ed->td_head &= ~ED_TDHEAD_HALTED_FLAG;178 uint32_t pa = addr_to_phys(hcd_ep->td);179 assert(pa == (data->ed->td_head & ED_TDHEAD_PTR_MASK));180 assert(pa == (data->ed->td_tail & ED_TDTAIL_PTR_MASK));181 171 182 172 return true;
Note:
See TracChangeset
for help on using the changeset viewer.