Changeset 4192d3d6 in mainline for uspace/drv/uhci-hcd/uhci_struct/transfer_descriptor.c
- Timestamp:
- 2011-02-07T11:20:22Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- da17cf0
- Parents:
- 4d73d71
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/uhci_struct/transfer_descriptor.c
r4d73d71 r4192d3d6 32 32 * @brief UHCI driver 33 33 */ 34 #include <errno.h> 34 35 #include <usb/debug.h> 35 36 … … 44 45 instance->next = 45 46 0 | LINK_POINTER_TERMINATE_FLAG; 46 47 47 48 48 assert(size < 1024); … … 110 110 return USB_OUTCOME_OK; 111 111 } 112 112 /*----------------------------------------------------------------------------*/ 113 int transfer_descriptor_status(transfer_descriptor_t *instance) 114 { 115 assert(instance); 116 if (convert_outcome(instance->status)) 117 return EINVAL; //TODO: use sane error value here 118 return EOK; 119 } 120 /*----------------------------------------------------------------------------*/ 113 121 void transfer_descriptor_fini(transfer_descriptor_t *instance) 114 122 {
Note:
See TracChangeset
for help on using the changeset viewer.
