Changeset f18d82f0 in mainline for uspace/drv/bus/usb/uhci/uhci_batch.c
- Timestamp:
- 2011-08-31T21:45:59Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c10e51
- Parents:
- 70fb822
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci_batch.c
r70fb822 rf18d82f0 66 66 assert(uhci_batch); 67 67 assert(uhci_batch->usb_batch); 68 /* Copy data unless we are sure we sent it */ 69 if (uhci_batch->usb_batch->ep->direction != USB_DIRECTION_OUT) { 70 memcpy(uhci_batch->usb_batch->buffer, 71 uhci_transfer_batch_data_buffer(uhci_batch), 72 uhci_batch->usb_batch->buffer_size); 73 } 74 if (uhci_batch->usb_batch->callback_out) 75 usb_transfer_batch_call_out(uhci_batch->usb_batch); 76 if (uhci_batch->usb_batch->callback_in) 77 usb_transfer_batch_call_in(uhci_batch->usb_batch); 68 usb_transfer_batch_finish(uhci_batch->usb_batch, 69 uhci_transfer_batch_data_buffer(uhci_batch), 70 uhci_batch->usb_batch->buffer_size); 78 71 uhci_transfer_batch_dispose(uhci_batch); 79 72 }
Note:
See TracChangeset
for help on using the changeset viewer.