Changeset eaf5e86 in mainline for uspace/drv/bus/usb/xhci/rh.c
- Timestamp:
- 2017-10-11T13:18:54Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63adb18
- Parents:
- ac18b08
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/rh.c
rac18b08 reaf5e86 1 1 /* 2 * Copyright (c) 2017 Michal Staruch2 n * Copyright (c) 2017 Michal Staruch 3 3 * All rights reserved. 4 4 * … … 317 317 */ 318 318 static int req_clear_hub_feature(usbvirt_device_t *device, 319 320 319 const usb_device_request_setup_packet_t *setup_packet, 320 uint8_t *data, size_t *act_size) 321 321 { 322 322 /* TODO: Implement me! */ … … 337 337 */ 338 338 static int req_get_port_status(usbvirt_device_t *device, 339 340 339 const usb_device_request_setup_packet_t *setup_packet, 340 uint8_t *data, size_t *act_size) 341 341 { 342 342 xhci_rh_t *hub = virthub_get_data(device); … … 380 380 */ 381 381 static int req_clear_port_feature(usbvirt_device_t *device, 382 383 382 const usb_device_request_setup_packet_t *setup_packet, 383 uint8_t *data, size_t *act_size) 384 384 { 385 385 xhci_rh_t *hub = virthub_get_data(device); … … 437 437 */ 438 438 static int req_set_port_feature(usbvirt_device_t *device, 439 440 439 const usb_device_request_setup_packet_t *setup_packet, 440 uint8_t *data, size_t *act_size) 441 441 { 442 442 xhci_rh_t *hub = virthub_get_data(device); … … 478 478 */ 479 479 static int req_status_change_handler(usbvirt_device_t *device, 480 481 480 usb_endpoint_t endpoint, usb_transfer_type_t tr_type, 481 void *buffer, size_t buffer_size, size_t *actual_size) 482 482 { 483 483 xhci_rh_t *hub = virthub_get_data(device); … … 574 574 /** Virtual XHCI root hub ops */ 575 575 static usbvirt_device_ops_t ops = { 576 577 576 .control = control_transfer_handlers, 577 .data_in[HUB_STATUS_CHANGE_PIPE] = req_status_change_handler, 578 578 }; 579 579
Note:
See TracChangeset
for help on using the changeset viewer.