Changeset 933b0d7 in mainline for uspace/lib/usbhost/include/usb/host/hcd.h
- Timestamp:
- 2011-09-07T11:38:57Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d394f1b8
- Parents:
- 7099861
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/hcd.h
r7099861 r933b0d7 53 53 }; 54 54 /*----------------------------------------------------------------------------*/ 55 static inline int hcd_init(hcd_t *hcd, size_t bandwidth) 55 static inline int hcd_init(hcd_t *hcd, size_t bandwidth, 56 size_t (*bw_count)(usb_speed_t, usb_transfer_type_t, size_t, size_t)) 56 57 { 57 58 assert(hcd); 58 59 usb_device_keeper_init(&hcd->dev_manager); 59 return usb_endpoint_manager_init(&hcd->ep_manager, bandwidth );60 return usb_endpoint_manager_init(&hcd->ep_manager, bandwidth, bw_count); 60 61 } 61 62 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.