Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c0e4b5b2 in mainline for uspace/drv/bus/usb/vhc/main.c


Ignore:
Timestamp:
2017-10-13T09:38:32Z (4 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master
Children:
5995383c
Parents:
741bcdeb
Message:

usbhost refactoring: vhc

Now, please, review.

File:
1 edited

Legend:

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

    r741bcdeb rc0e4b5b2  
    8989
    9090        /* Initialize generic structures */
    91         ret = hcd_ddf_setup_hc(dev, USB_SPEED_FULL,
    92             BANDWIDTH_AVAILABLE_USB11, bandwidth_count_usb11);
     91        ret = hcd_ddf_setup_hc(dev);
    9392        if (ret != EOK) {
    9493                usb_log_error("Failed to init HCD structures: %s.\n",
     
    9897        }
    9998
    100         hcd_set_implementation(dev_to_hcd(dev), data, &vhc_hc_ops);
     99        hcd_set_implementation(dev_to_hcd(dev), data, &vhc_hc_ops, &data->bus.base);
    101100
    102101        /* Add virtual hub device */
Note: See TracChangeset for help on using the changeset viewer.