Changeset 9ee13a7 in mainline for uspace/drv/bus/usb/xhci/hc.c
- Timestamp:
- 2017-08-09T17:05:08Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d31705d
- Parents:
- 6fa91e4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
r6fa91e4c r9ee13a7 367 367 xhci_free_command(cmd); 368 368 369 for (int i = 0; i < 10; ++i) {370 xhci_cmd_t *cmd2 = xhci_alloc_command();371 xhci_send_enable_slot_command(hc, cmd2);372 xhci_wait_for_command(cmd2, 1000000);373 usb_log_error("Enabled slot ID: %u.", cmd2->slot_id);374 xhci_free_command(cmd2);375 }376 377 369 return EOK; 378 370 }
Note:
See TracChangeset
for help on using the changeset viewer.