Changeset 58ac3ec in mainline for uspace/drv/bus/usb/uhci/uhci_batch.h
- Timestamp:
- 2017-10-28T10:39:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 40a3bfa
- Parents:
- 8b8c164
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci_batch.h
r8b8c164 r58ac3ec 63 63 /** Data buffer, must be accessible by the UHCI hw */ 64 64 void *device_buffer; 65 /** Generic transfer data */66 usb_transfer_batch_t *usb_batch;67 65 /** List element */ 68 66 link_t link; … … 95 93 { 96 94 assert(uhci_batch); 97 assert(uhci_batch->usb_batch);98 95 return uhci_transfer_batch_setup_buffer(uhci_batch) + 99 96 (uhci_batch->base.ep->transfer_type == USB_TRANSFER_CONTROL ? USB_SETUP_PACKET_SIZE : 0); … … 108 105 { 109 106 assert(uhci_batch); 110 assert(uhci_batch->usb_batch); 111 uhci_batch->usb_batch->error = EINTR; 112 uhci_batch->usb_batch->transfered_size = 0; 107 uhci_batch->base.error = EINTR; 108 uhci_batch->base.transfered_size = 0; 113 109 usb_transfer_batch_finish(&uhci_batch->base); 114 110 }
Note:
See TracChangeset
for help on using the changeset viewer.