Changeset d527a4e in mainline
- Timestamp:
- 2011-04-02T16:23:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4d946647
- Parents:
- 0053fa38
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/hc.c
r0053fa38 rd527a4e 241 241 ret = bandwidth_init(&instance->bandwidth, BANDWIDTH_AVAILABLE_USB11, 242 242 bandwidth_count_usb11); 243 assert(ret == true);243 assert(ret == EOK); 244 244 245 245 return EOK; -
uspace/lib/usb/src/host/bandwidth.c
r0053fa38 rd527a4e 127 127 instance->free = bandwidth; 128 128 instance->usage_fnc = usage_fnc; 129 return129 bool ht = 130 130 hash_table_create(&instance->reserved, BUCKET_COUNT, MAX_KEYS, &op); 131 return ht ? EOK : ENOMEM; 131 132 } 132 133 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.