Changeset 2ca5a198 in mainline
- Timestamp:
- 2018-01-31T22:45:41Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 73a5857
- Parents:
- 0247bd2
- Location:
- uspace/drv/bus/usb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_batch.c
r0247bd2 r2ca5a198 139 139 } 140 140 141 assert(batch_setup[ehci_batch->base.ep->transfer_type]); 141 if (!batch_setup[ehci_batch->base.ep->transfer_type]) 142 return ENOTSUP; 143 142 144 batch_setup[ehci_batch->base.ep->transfer_type](ehci_batch); 143 145 -
uspace/drv/bus/usb/ohci/ohci_batch.c
r0247bd2 r2ca5a198 149 149 memcpy(ohci_batch->device_buffer, usb_batch->setup.buffer, setup_size); 150 150 /* Copy generic data */ 151 if (usb_batch-> ep->direction != USB_DIRECTION_IN)151 if (usb_batch->dir == USB_DIRECTION_OUT) 152 152 memcpy( 153 153 ohci_batch->device_buffer + setup_size,
Note:
See TracChangeset
for help on using the changeset viewer.