Changeset a61ddcf4 in mainline
- Timestamp:
- 2012-02-26T09:10:05Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1d68621
- Parents:
- c4f318d6 (diff), b64fbc9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/drv/bus/usb/uhci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/transfer_list.c
rc4f318d6 ra61ddcf4 110 110 assert(instance); 111 111 assert(uhci_batch); 112 usb_log_debug2(" Queue %s: Adding batch(%p).\n", instance->name,113 uhci_batch->usb_batch );112 usb_log_debug2("Batch %p adding to queue %s.\n", 113 uhci_batch->usb_batch, instance->name); 114 114 115 115 fibril_mutex_lock(&instance->guard); … … 139 139 list_append(&uhci_batch->link, &instance->batch_list); 140 140 141 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " scheduled in queue %s.\n",142 uhci_batch, USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch),143 instance->name);141 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT 142 " scheduled in queue %s.\n", uhci_batch->usb_batch, 143 USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch), instance->name); 144 144 fibril_mutex_unlock(&instance->guard); 145 145 } … … 205 205 assert(fibril_mutex_is_locked(&instance->guard)); 206 206 207 usb_log_debug2(" Queue %s: removing batch(%p).\n",208 instance->name, uhci_batch->usb_batch);207 usb_log_debug2("Batch %p removing from queue %s.\n", 208 uhci_batch->usb_batch, instance->name); 209 209 210 210 /* Assume I'm the first */ … … 228 228 list_remove(&uhci_batch->link); 229 229 usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " removed (%s) " 230 "from %s, next: %x.\n", 231 uhci_batch,USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch),230 "from %s, next: %x.\n", uhci_batch->usb_batch, 231 USB_TRANSFER_BATCH_ARGS(*uhci_batch->usb_batch), 232 232 qpos, instance->name, uhci_batch->qh->next); 233 233 } -
uspace/drv/bus/usb/uhci/uhci_batch.c
rc4f318d6 ra61ddcf4 174 174 assert(uhci_batch->usb_batch->ep != NULL); 175 175 176 usb_log_debug("Batch (%p) found error TD(%zu):%"176 usb_log_debug("Batch %p found error TD(%zu->%p):%" 177 177 PRIx32 ".\n", uhci_batch->usb_batch, i, 178 uhci_batch->tds[i].status);178 &uhci_batch->tds[i], uhci_batch->tds[i].status); 179 179 td_print_status(&uhci_batch->tds[i]); 180 180
Note:
See TracChangeset
for help on using the changeset viewer.