Changeset a1732929 in mainline for uspace/drv/bus/usb/uhci/transfer_list.c
- Timestamp:
- 2018-01-15T17:04:34Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ff99e8
- Parents:
- c1a966e
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:32)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/transfer_list.c
rc1a966e ra1732929 59 59 instance->queue_head = malloc32(sizeof(qh_t)); 60 60 if (!instance->queue_head) { 61 usb_log_error("Failed to allocate queue head. \n");61 usb_log_error("Failed to allocate queue head."); 62 62 return ENOMEM; 63 63 } 64 64 const uint32_t queue_head_pa = addr_to_phys(instance->queue_head); 65 usb_log_debug2("Transfer list %s setup with QH: %p (%#" PRIx32" ). \n",65 usb_log_debug2("Transfer list %s setup with QH: %p (%#" PRIx32" ).", 66 66 name, instance->queue_head, queue_head_pa); 67 67 … … 120 120 fibril_mutex_unlock(&ep->guard); 121 121 122 usb_log_debug2("Batch %p adding to queue %s. \n",122 usb_log_debug2("Batch %p adding to queue %s.", 123 123 uhci_batch, instance->name); 124 124 … … 150 150 151 151 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT 152 " scheduled in queue %s. \n", uhci_batch,152 " scheduled in queue %s.", uhci_batch, 153 153 USB_TRANSFER_BATCH_ARGS(uhci_batch->base), instance->name); 154 154 fibril_mutex_unlock(&instance->guard); … … 213 213 assert(fibril_mutex_is_locked(&instance->guard)); 214 214 215 usb_log_debug2("Batch %p removing from queue %s. \n",215 usb_log_debug2("Batch %p removing from queue %s.", 216 216 uhci_batch, instance->name); 217 217 … … 236 236 list_remove(&uhci_batch->link); 237 237 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " removed (%s) " 238 "from %s, next: %x. \n", uhci_batch,238 "from %s, next: %x.", uhci_batch, 239 239 USB_TRANSFER_BATCH_ARGS(uhci_batch->base), 240 240 qpos, instance->name, uhci_batch->qh->next);
Note:
See TracChangeset
for help on using the changeset viewer.