Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/main.c

    r867b375 r58563585  
    8989
    9090        /* Initialize generic structures */
    91         ret = hcd_ddf_setup_hc(dev);
     91        ret = hcd_ddf_setup_hc(dev, USB_SPEED_FULL,
     92            BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11);
    9293        if (ret != EOK) {
    9394                usb_log_error("Failed to init HCD structures: %s.\n",
     
    9798        }
    9899
    99         hcd_set_implementation(dev_to_hcd(dev), data, &vhc_hc_ops, &data->bus.base);
     100        hcd_set_implementation(dev_to_hcd(dev), data, &vhc_hc_ops);
    100101
    101102        /* Add virtual hub device */
     
    111112         * needs to be ready at this time.
    112113         */
    113         ret = hcd_setup_virtual_root_hub(dev_to_hcd(dev), dev);
     114        ret = hcd_ddf_setup_root_hub(dev);
    114115        if (ret != EOK) {
    115116                usb_log_error("Failed to init VHC root hub: %s\n",
Note: See TracChangeset for help on using the changeset viewer.