Changeset 9b2f69e in mainline for uspace/drv/bus/usb/xhci/hc.c
- Timestamp:
- 2017-10-15T20:08:16Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b7db009
- Parents:
- 816f5f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
r816f5f4 r9b2f69e 201 201 } 202 202 203 if ((err = xhci_trb_ring_init(&hc->command_ring , hc)))203 if ((err = xhci_trb_ring_init(&hc->command_ring))) 204 204 goto err_dcbaa_virt; 205 205 206 if ((err = xhci_event_ring_init(&hc->event_ring , hc)))206 if ((err = xhci_event_ring_init(&hc->event_ring))) 207 207 goto err_cmd_ring; 208 208 … … 462 462 assert(batch); 463 463 464 usb_log_debug2("E P(%d:%d) started %s transfer of size %lu.",464 usb_log_debug2("Endpoint(%d:%d) started %s transfer of size %lu.", 465 465 batch->ep->target.address, batch->ep->target.endpoint, 466 466 usb_str_transfer_type(batch->ep->transfer_type), … … 482 482 return xhci_schedule_bulk_transfer(hc, batch); 483 483 case USB_TRANSFER_INTERRUPT: 484 /* TODO: Implement me. */ 485 usb_log_error("Interrupt transfers are not yet implemented!"); 486 return ENOTSUP; 484 return xhci_schedule_interrupt_transfer(hc, batch); 487 485 } 488 486
Note:
See TracChangeset
for help on using the changeset viewer.