Changes between Version 24 and Version 25 of DeviceDrivers
- Timestamp:
- 2011-11-16T22:47:22Z (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeviceDrivers
v24 v25 185 185 }}} 186 186 187 Add match ID to an inner function. The match ID determines which driver will be attached to the child device. ''ddf_fun_add_match_id'' can only be called on an unbound inner function. If returns EOK on success or negative error code. 188 189 As an example, for an automatically enumerated bus the match ID could consist of bus type/name, vendor ID and device ID. 190 187 191 ==== ddf_fun_add_to_category ==== 188 192 … … 190 194 int ddf_fun_add_to_category(ddf_fun_t *fun, const char *cat_name) 191 195 }}} 196 197 Add exposed function ''fun'' (more precisely the service which the function is exposed through) to the Location Service category ''name''. This allows clients to locate the function by type. For example, the ''keyboard'' category is used for keyboard devices and ''mouse'' category is used for mice (pointing devices). ''ddf_fun_add_to_category'' can only be called on bound exposed functions. It returns EOK on success or negative error code. 192 198 193 199 ==== ddf_fun_bind ====