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