Changeset 6bba41d in mainline for uspace/drv/bus/usb/uhci/uhci_batch.h
- Timestamp:
- 2011-12-06T12:28:02Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad91b806
- Parents:
- 5cfcc64
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci_batch.h
r5cfcc64 r6bba41d 61 61 62 62 uhci_transfer_batch_t * uhci_transfer_batch_get(usb_transfer_batch_t *batch); 63 void uhci_transfer_batch_ call_dispose(uhci_transfer_batch_t *uhci_batch);63 void uhci_transfer_batch_finish_dispose(uhci_transfer_batch_t *uhci_batch); 64 64 bool uhci_transfer_batch_is_complete(uhci_transfer_batch_t *uhci_batch); 65 65 … … 82 82 } 83 83 /*----------------------------------------------------------------------------*/ 84 static inline void uhci_transfer_batch_abort( 85 uhci_transfer_batch_t *uhci_batch) 86 { 87 assert(uhci_batch); 88 assert(uhci_batch->usb_batch); 89 uhci_batch->usb_batch->error = EINTR; 90 uhci_batch->usb_batch->transfered_size = 0; 91 uhci_transfer_batch_finish_dispose(uhci_batch); 92 } 93 /*----------------------------------------------------------------------------*/ 84 94 static inline uhci_transfer_batch_t *uhci_transfer_batch_from_link(link_t *l) 85 95 {
Note:
See TracChangeset
for help on using the changeset viewer.