Changeset 7711296 in mainline
- Timestamp:
- 2011-11-30T16:08:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f9776ae5
- Parents:
- 9dbfd288
- Location:
- uspace/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/src/hub.c
r9dbfd288 r7711296 227 227 return EINVAL; 228 228 229 // FIXME: this is awful, we are accessing directly the structure.230 229 // TODO: Why not use provided connection? 231 usb_hc_connection_t hc_conn = { 232 .hc_handle = connection->hc_handle, 233 .hc_sess = NULL 234 }; 230 usb_hc_connection_t hc_conn; 231 usb_hc_connection_initialize(&hc_conn, connection->hc_handle); 235 232 236 233 int rc; -
uspace/lib/usbhost/include/usb/host/hcd.h
r9dbfd288 r7711296 63 63 /*----------------------------------------------------------------------------*/ 64 64 /** Initialize hcd_t structure. 65 * Initializes device and endpoint managers. Sets data nd hook pointer to NULL.65 * Initializes device and endpoint managers. Sets data and hook pointer to NULL. 66 66 * @param hcd hcd_t structure to initialize, non-null. 67 67 * @param bandwidth Available bandwidth, passed to endpoint manager.
Note:
See TracChangeset
for help on using the changeset viewer.