Changeset 4fec9ee in mainline for uspace/drv/uhci-hcd/batch.c
- Timestamp:
- 2011-03-18T16:17:24Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 00b13408
- Parents:
- 4f66cc7b (diff), d8e61b0d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/batch.c
r4f66cc7b r4fec9ee 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 /*----------------------------------------------------------------------------*/ 155 167 /** Check batch TDs for activity. 156 168 * … … 251 263 assert(instance); 252 264 /* We are data out, we are supposed to provide data */ 253 memcpy(instance->transport_buffer, instance->buffer, instance->buffer_size); 265 memcpy(instance->transport_buffer, instance->buffer, 266 instance->buffer_size); 254 267 batch_data(instance, USB_PID_OUT); 255 268 instance->next_step = batch_call_out_and_dispose; … … 281 294 assert(instance); 282 295 /* We are data out, we are supposed to provide data */ 283 memcpy(instance->transport_buffer, instance->buffer, instance->buffer_size); 296 memcpy(instance->transport_buffer, instance->buffer, 297 instance->buffer_size); 284 298 batch_data(instance, USB_PID_OUT); 285 299 instance->next_step = batch_call_out_and_dispose;
Note:
See TracChangeset
for help on using the changeset viewer.