Changes in uspace/drv/uhci-hcd/batch.c [a963a68:17ceb72] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/batch.c
ra963a68 r17ceb72 153 153 } 154 154 /*----------------------------------------------------------------------------*/ 155 /** Mark batch as failed and continue with next step.156 *157 * @param[in] instance Batch structure to use.158 *159 */160 void batch_abort(batch_t *instance)161 {162 assert(instance);163 instance->error = EIO;164 instance->next_step(instance);165 }166 /*----------------------------------------------------------------------------*/167 155 /** Check batch TDs for activity. 168 156 * … … 263 251 assert(instance); 264 252 /* We are data out, we are supposed to provide data */ 265 memcpy(instance->transport_buffer, instance->buffer, 266 instance->buffer_size); 253 memcpy(instance->transport_buffer, instance->buffer, instance->buffer_size); 267 254 batch_data(instance, USB_PID_OUT); 268 255 instance->next_step = batch_call_out_and_dispose; … … 294 281 assert(instance); 295 282 /* We are data out, we are supposed to provide data */ 296 memcpy(instance->transport_buffer, instance->buffer, 297 instance->buffer_size); 283 memcpy(instance->transport_buffer, instance->buffer, instance->buffer_size); 298 284 batch_data(instance, USB_PID_OUT); 299 285 instance->next_step = batch_call_out_and_dispose;
Note:
See TracChangeset
for help on using the changeset viewer.