Changeset f711f06 in mainline
- Timestamp:
- 2017-07-12T21:51:33Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c362127
- Parents:
- ce85fc8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/commands.c
rce85fc8 rf711f06 91 91 xhci_dump_trb(trb); 92 92 93 // TODO: Extract command trb pointer, switch by its type and handle it. 93 int code = XHCI_DWORD_EXTRACT(trb->status, 31, 24); 94 if (code != XHCI_TRBC_SUCCESS) 95 return EINVAL; // TODO: Find a better error code/handler. 96 97 xhci_trb_t *command = (xhci_trb_t *) XHCI_QWORD_EXTRACT(trb->parameter, 63, 4); 98 switch(TRB_TYPE(*command)) { 99 default: 100 // TODO: 101 break; 102 } 94 103 95 104 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.