Changes in uspace/drv/bus/usb/vhc/main.c [58563585:867b375] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/vhc/main.c
r58563585 r867b375 89 89 90 90 /* 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); 93 92 if (ret != EOK) { 94 93 usb_log_error("Failed to init HCD structures: %s.\n", … … 98 97 } 99 98 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); 101 100 102 101 /* Add virtual hub device */ … … 112 111 * needs to be ready at this time. 113 112 */ 114 ret = hcd_ ddf_setup_root_hub(dev);113 ret = hcd_setup_virtual_root_hub(dev_to_hcd(dev), dev); 115 114 if (ret != EOK) { 116 115 usb_log_error("Failed to init VHC root hub: %s\n",
Note:
See TracChangeset
for help on using the changeset viewer.