Changeset 09daa8b in mainline for uspace/lib/usb
- Timestamp:
- 2011-03-20T21:50:20Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fd9f6e4c
- Parents:
- 59e01689
- Location:
- uspace/lib/usb
- Files:
-
- 2 edited
-
include/usb/devdrv.h (modified) (1 diff)
-
src/devdrv.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/devdrv.h
r59e01689 r09daa8b 79 79 */ 80 80 const char *name; 81 /** Expected endpoints description. */ 81 /** Expected endpoints description, excluding default control endpoint. 82 * 83 * It MUST be of size expected_enpoints_count(excluding default ctrl) + 1 84 * where the last record MUST BE NULL, otherwise catastrophic things may 85 * happen. 86 */ 82 87 usb_endpoint_description_t **endpoints; 83 88 /** Driver ops. */ -
uspace/lib/usb/src/devdrv.c
r59e01689 r09daa8b 206 206 * @return Error code. 207 207 */ 208 static int initialize_pipes(usb_d river_t *drv, usb_device_t *dev)208 static int initialize_pipes(usb_device_t *dev) 209 209 { 210 210 int rc; … … 284 284 dev->driver_data = NULL; 285 285 286 rc = initialize_pipes(d river, dev);286 rc = initialize_pipes(dev); 287 287 if (rc != EOK) { 288 288 free(dev);
Note:
See TracChangeset
for help on using the changeset viewer.
