Changeset e50cd7f in mainline for uspace/drv/vhc/connhost.c
- Timestamp:
- 2011-04-17T19:17:55Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63517c2, cfbbe1d3
- Parents:
- ef354b6 (diff), 8595577b (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/vhc/connhost.c
ref354b6 re50cd7f 257 257 258 258 static int interrupt_out(ddf_fun_t *fun, usb_target_t target, 259 size_t max_packet_size,260 259 void *data, size_t size, 261 260 usbhc_iface_transfer_out_callback_t callback, void *arg) … … 267 266 268 267 static int interrupt_in(ddf_fun_t *fun, usb_target_t target, 269 size_t max_packet_size,270 268 void *data, size_t size, 271 269 usbhc_iface_transfer_in_callback_t callback, void *arg) … … 277 275 278 276 static int control_write(ddf_fun_t *fun, usb_target_t target, 279 size_t max_packet_size,280 277 void *setup_packet, size_t setup_packet_size, 281 278 void *data, size_t data_size, … … 295 292 296 293 static int control_read(ddf_fun_t *fun, usb_target_t target, 297 size_t max_packet_size,298 294 void *setup_packet, size_t setup_packet_size, 299 295 void *data, size_t data_size, … … 328 324 } 329 325 330 static int reserve_default_address(ddf_fun_t *fun, usb_speed_t ignored)331 {332 usb_address_keeping_reserve_default(&addresses);333 return EOK;334 }335 336 static int release_default_address(ddf_fun_t *fun)337 {338 usb_address_keeping_release_default(&addresses);339 return EOK;340 }341 342 326 static int request_address(ddf_fun_t *fun, usb_speed_t ignored, 343 327 usb_address_t *address) … … 392 376 393 377 usbhc_iface_t vhc_iface = { 394 .reserve_default_address = reserve_default_address,395 .release_default_address = release_default_address,396 378 .request_address = request_address, 397 379 .bind_address = bind_address,
Note:
See TracChangeset
for help on using the changeset viewer.