Changeset eff60ca in mainline for uspace/drv/bus/usb/xhci/commands.c
- Timestamp:
- 2017-07-23T21:42:19Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60f7c590
- Parents:
- 2e7692f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/commands.c
r2e7692f reff60ca 408 408 command->slot_id = slot_id; 409 409 410 usb_log_debug2("Completed command trb:"); 411 xhci_dump_trb(command_trb); 410 usb_log_debug2("Completed command trb: %s", xhci_trb_str_type(TRB_TYPE(*command_trb))); 412 411 if (TRB_TYPE(*command_trb) != XHCI_TRB_TYPE_NO_OP_CMD) { 413 412 if (code != XHCI_TRBC_SUCCESS) { … … 441 440 break; 442 441 default: 443 usb_log_debug2("Unsupported command trb."); 444 xhci_dump_trb(command_trb); 442 usb_log_debug2("Unsupported command trb: %s", xhci_trb_str_type(TRB_TYPE(*command_trb))); 445 443 446 444 command->completed = true; … … 451 449 452 450 if (!command->has_owner) { 451 usb_log_debug2("Command has no owner, deallocating."); 453 452 xhci_free_command(command); 454 453 } else { 454 usb_log_debug2("Command has owner, don't forget to deallocate!"); 455 455 /* Copy the trb for later use so that we can free space on the cmd ring. */ 456 456 command->trb = malloc32(sizeof(xhci_trb_t));
Note:
See TracChangeset
for help on using the changeset viewer.