Changeset e9e24f2 in mainline for uspace/drv/bus/usb/xhci/hc.c
- Timestamp:
- 2017-10-05T17:17:09Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ae03552e
- Parents:
- 078e0e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
r078e0e6 re9e24f2 43 43 #include "hw_struct/trb.h" 44 44 #include "commands.h" 45 #include "transfers.h" 46 #include "trb_ring.h" 45 47 46 48 /** … … 457 459 switch (batch->ep->transfer_type) { 458 460 case USB_TRANSFER_CONTROL: 459 /* TODO: Send setup stage TRB. */ 460 /* TODO: Optionally, send data stage TRB followed by zero or 461 more normal TRB's. */ 462 /* TODO: Send status stage TRB. */ 463 /* TODO: Ring the appropriate doorbell. */ 461 xhci_schedule_control_transfer(hc, batch); 464 462 break; 465 463 case USB_TRANSFER_ISOCHRONOUS: … … 482 480 [XHCI_TRB_TYPE_COMMAND_COMPLETION_EVENT] = &xhci_handle_command_completion, 483 481 [XHCI_TRB_TYPE_PORT_STATUS_CHANGE_EVENT] = &xhci_handle_port_status_change_event, 482 [XHCI_TRB_TYPE_TRANSFER_EVENT] = &xhci_handle_transfer_event, 484 483 }; 485 484
Note:
See TracChangeset
for help on using the changeset viewer.