Changeset c2245a3 in mainline for uspace/lib/usbhost/include/usb/host/hcd.h
- Timestamp:
- 2011-11-10T20:03:48Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- fa76f81
- Parents:
- 27ca3a3 (diff), 747ef72 (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/lib/usbhost/include/usb/host/hcd.h
r27ca3a3 rc2245a3 68 68 * @param bw_count Bandwidth compute function, passed to endpoint manager. 69 69 */ 70 static inline void hcd_init(hcd_t *hcd, size_t bandwidth,70 static inline void hcd_init(hcd_t *hcd, usb_speed_t max_speed, size_t bandwidth, 71 71 size_t (*bw_count)(usb_speed_t, usb_transfer_type_t, size_t, size_t)) 72 72 { 73 73 assert(hcd); 74 usb_device_manager_init(&hcd->dev_manager );74 usb_device_manager_init(&hcd->dev_manager, max_speed); 75 75 usb_endpoint_manager_init(&hcd->ep_manager, bandwidth, bw_count); 76 76 hcd->private_data = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.