Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/vhc/hubops.c

    r56b962d r4b4c797  
    6565    void *buffer, size_t size, size_t *actual_size);
    6666
     67/** Standard USB requests. */
     68static usbvirt_standard_device_request_ops_t standard_request_ops = {
     69        .on_get_status = NULL,
     70        .on_clear_feature = NULL,
     71        .on_set_feature = NULL,
     72        .on_set_address = NULL,
     73        .on_get_descriptor = on_get_descriptor,
     74        .on_set_descriptor = NULL,
     75        .on_get_configuration = NULL,
     76        .on_set_configuration = NULL,
     77        .on_get_interface = NULL,
     78        .on_set_interface = NULL,
     79        .on_synch_frame = NULL
     80};
     81
    6782/** Hub operations. */
    6883usbvirt_device_ops_t hub_ops = {
    69         .on_standard_request[USB_DEVREQ_GET_DESCRIPTOR] = on_get_descriptor,
     84        .standard_request_ops = &standard_request_ops,
    7085        .on_class_device_request = on_class_request,
    7186        .on_data = NULL,
Note: See TracChangeset for help on using the changeset viewer.