Changeset a861ccb3 in mainline
- Timestamp:
- 2014-07-25T17:56:39Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad22fa4
- Parents:
- ffa96c2
- Location:
- uspace/lib/drv
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
rffa96c2 ra861ccb3 36 36 /** @file 37 37 */ 38 39 #define _DDF_DATA_IMPLANT40 38 41 39 #include <assert.h> … … 596 594 } 597 595 598 /** Implant foreign driver-specific device data.599 *600 * XXX This is used to transition USB to new interface. Do not use601 * in new code. Use of this function must be removed.602 */603 void ddf_fun_data_implant(ddf_fun_t *fun, void *data)604 {605 assert(fun->driver_data == NULL);606 fun->driver_data = data;607 }608 609 596 /** Return driver-specific device data. */ 610 597 void *ddf_dev_data_get(ddf_dev_t *dev) -
uspace/lib/drv/include/ddf/driver.h
rffa96c2 ra861ccb3 111 111 } driver_t; 112 112 113 /** XXX Only to transition USB */114 #ifdef _DDF_DATA_IMPLANT115 extern void ddf_fun_data_implant(ddf_fun_t *, void *);116 #endif117 118 113 extern int ddf_driver_main(const driver_t *); 119 114
Note:
See TracChangeset
for help on using the changeset viewer.