Changeset 00aece0 in mainline for uspace/drv/bus/usb/vhc/main.c
- Timestamp:
- 2012-02-18T16:47:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4449c6c
- Parents:
- bd5f3b7 (diff), f943dd3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/vhc/main.c
rbd5f3b7 r00aece0 58 58 }; 59 59 60 static int vhc_ add_device(ddf_dev_t *dev)60 static int vhc_dev_add(ddf_dev_t *dev) 61 61 { 62 62 static int vhc_count = 0; … … 73 73 } 74 74 data->magic = 0xDEADBEEF; 75 rc = usb_endpoint_manager_init(&data->ep_manager, (size_t) -1); 75 rc = usb_endpoint_manager_init(&data->ep_manager, (size_t) -1, 76 bandwidth_count_usb11); 76 77 if (rc != EOK) { 77 78 usb_log_fatal("Failed to initialize endpoint manager.\n"); … … 79 80 return rc; 80 81 } 81 usb_device_ keeper_init(&data->dev_keeper);82 usb_device_manager_init(&data->dev_manager, USB_SPEED_MAX); 82 83 83 84 ddf_fun_t *hc = ddf_fun_create(dev, fun_exposed, "hc"); … … 130 131 131 132 static driver_ops_t vhc_driver_ops = { 132 . add_device = vhc_add_device,133 .dev_add = vhc_dev_add, 133 134 }; 134 135
Note:
See TracChangeset
for help on using the changeset viewer.