Changeset 867e6735 in mainline for uspace/drv/vhc/connhost.c
- Timestamp:
- 2011-02-18T19:55:39Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 228f251
- Parents:
- 72363a1 (diff), b6c7da6 (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
r72363a1 r867e6735 276 276 277 277 static int interrupt_out(device_t *dev, usb_target_t target, 278 size_t max_packet_size, 278 279 void *data, size_t size, 279 280 usbhc_iface_transfer_out_callback_t callback, void *arg) … … 285 286 286 287 static int interrupt_in(device_t *dev, usb_target_t target, 288 size_t max_packet_size, 287 289 void *data, size_t size, 288 290 usbhc_iface_transfer_in_callback_t callback, void *arg) … … 294 296 295 297 static int control_write_setup(device_t *dev, usb_target_t target, 298 size_t max_packet_size, 296 299 void *data, size_t size, 297 300 usbhc_iface_transfer_out_callback_t callback, void *arg) … … 303 306 304 307 static int control_write_data(device_t *dev, usb_target_t target, 308 size_t max_packet_size, 305 309 void *data, size_t size, 306 310 usbhc_iface_transfer_out_callback_t callback, void *arg) … … 320 324 321 325 static int control_write(device_t *dev, usb_target_t target, 326 size_t max_packet_size, 322 327 void *setup_packet, size_t setup_packet_size, 323 328 void *data, size_t data_size, … … 337 342 338 343 static int control_read_setup(device_t *dev, usb_target_t target, 344 size_t max_packet_size, 339 345 void *data, size_t size, 340 346 usbhc_iface_transfer_out_callback_t callback, void *arg) … … 346 352 347 353 static int control_read_data(device_t *dev, usb_target_t target, 354 size_t max_packet_size, 348 355 void *data, size_t size, 349 356 usbhc_iface_transfer_in_callback_t callback, void *arg) … … 363 370 364 371 static int control_read(device_t *dev, usb_target_t target, 372 size_t max_packet_size, 365 373 void *setup_packet, size_t setup_packet_size, 366 374 void *data, size_t data_size, … … 382 390 383 391 384 static int reserve_default_address(device_t *dev )392 static int reserve_default_address(device_t *dev, usb_speed_t ignored) 385 393 { 386 394 usb_address_keeping_reserve_default(&addresses); … … 394 402 } 395 403 396 static int request_address(device_t *dev, usb_address_t *address) 404 static int request_address(device_t *dev, usb_speed_t ignored, 405 usb_address_t *address) 397 406 { 398 407 usb_address_t addr = usb_address_keeping_request(&addresses);
Note:
See TracChangeset
for help on using the changeset viewer.