Changeset eff60ca in mainline for uspace/drv/bus/usb/xhci/hc.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/hc.c
r2e7692f reff60ca 357 357 // stuff, remove it. 358 358 xhci_cmd_t *cmd = xhci_alloc_command(); 359 xhci_dump_state(hc);360 359 xhci_send_no_op_command(hc, cmd); 361 360 xhci_wait_for_command(cmd, 1000000); 362 361 xhci_free_command(cmd); 363 364 xhci_dump_state(hc);365 362 366 363 for (int i = 0; i < 10; ++i) { … … 372 369 } 373 370 374 375 xhci_dump_trb(hc->event_ring.dequeue_trb);376 371 return EOK; 377 372 } … … 402 397 while (err != ENOENT) { 403 398 if (err == EOK) { 404 usb_log_debug2("Dequeued from event ring.");405 xhci_dump_trb(&trb);399 usb_log_debug2("Dequeued trb from event ring: %s", 400 xhci_trb_str_type(TRB_TYPE(trb))); 406 401 407 402 hc_handle_event(hc, &trb);
Note:
See TracChangeset
for help on using the changeset viewer.