Changeset 3bacee1 in mainline for uspace/drv/bus/usb/uhci/transfer_list.c
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/transfer_list.c
r76d0981d r3bacee1 66 66 } 67 67 const uint32_t queue_head_pa = addr_to_phys(instance->queue_head); 68 usb_log_debug2("Transfer list %s setup with QH: %p (%#" PRIx32 " ).",68 usb_log_debug2("Transfer list %s setup with QH: %p (%#" PRIx32 " ).", 69 69 name, instance->queue_head, queue_head_pa); 70 70 … … 203 203 fibril_mutex_lock(&instance->guard); 204 204 while (!list_empty(&instance->batch_list)) { 205 link_t * 205 link_t *const current = list_first(&instance->batch_list); 206 206 uhci_transfer_batch_t *batch = uhci_transfer_batch_from_link(current); 207 207 transfer_list_remove_batch(instance, batch); … … 240 240 qpos = "NOT FIRST"; 241 241 } 242 assert((prev_qh->next & LINK_POINTER_ADDRESS_MASK) 243 ==addr_to_phys(uhci_batch->qh));242 assert((prev_qh->next & LINK_POINTER_ADDRESS_MASK) == 243 addr_to_phys(uhci_batch->qh)); 244 244 prev_qh->next = uhci_batch->qh->next; 245 245
Note:
See TracChangeset
for help on using the changeset viewer.