Changeset eb1a2f4 in mainline for uspace/drv/uhci-hcd/batch.c
- Timestamp:
- 2011-02-22T23:30:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3b5d1535, a9c674e0
- Parents:
- dbe25f1 (diff), 664af708 (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
rdbe25f1 reb1a2f4 51 51 52 52 53 batch_t * batch_get(d evice_t *dev, usb_target_t target,53 batch_t * batch_get(ddf_fun_t *fun, usb_target_t target, 54 54 usb_transfer_type_t transfer_type, size_t max_packet_size, 55 55 dev_speed_t speed, char *buffer, size_t size, … … 128 128 instance->buffer_size = size; 129 129 instance->setup_size = setup_size; 130 instance-> dev = dev;130 instance->fun = fun; 131 131 instance->arg = arg; 132 132 instance->speed = speed; … … 291 291 err, instance->transfered_size); 292 292 293 instance->callback_in(instance-> dev,293 instance->callback_in(instance->fun, 294 294 err, instance->transfered_size, 295 295 instance->arg); … … 303 303 int err = instance->error; 304 304 usb_log_info("Callback OUT(%d): %d.\n", instance->transfer_type, err); 305 instance->callback_out(instance-> dev,305 instance->callback_out(instance->fun, 306 306 err, instance->arg); 307 307 } … … 334 334 { 335 335 assert(instance); 336 uhci_t *hc = dev_to_uhci(instance->dev);336 uhci_t *hc = fun_to_uhci(instance->fun); 337 337 assert(hc); 338 338 return uhci_schedule(hc, instance);
Note:
See TracChangeset
for help on using the changeset viewer.