Changeset cde999a in mainline for uspace/lib/nic
- Timestamp:
- 2018-01-04T20:22:51Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3d95c9d, 84a1a54
- Parents:
- 3c7702c0
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:22:51)
- Location:
- uspace/lib/nic
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/include/nic.h
r3c7702c0 rcde999a 87 87 /** 88 88 * The handler for transitions between driver states. 89 * If the handler returns negativeerror code, the transition between89 * If the handler returns error code, the transition between 90 90 * states is canceled (the state is not changed). 91 91 * … … 93 93 * 94 94 * @return EOK If everything is all right. 95 * @return negativeerror code on error.95 * @return error code on error. 96 96 */ 97 97 typedef int (*state_change_handler)(nic_t *); -
uspace/lib/nic/src/nic_driver.c
r3c7702c0 rcde999a 241 241 * @param[out] resources Parsed lists of resources. 242 242 * 243 * @return EOK or negativeerror code243 * @return EOK or an error code 244 244 */ 245 245 int nic_get_resources(nic_t *nic_data, hw_res_list_parsed_t *resources) -
uspace/lib/nic/src/nic_impl.c
r3c7702c0 rcde999a 189 189 * @param fun 190 190 * 191 * @return EOK On success, or negativeerror code.191 * @return EOK On success, or an error code. 192 192 */ 193 193 int nic_callback_create_impl(ddf_fun_t *fun)
Note:
See TracChangeset
for help on using the changeset viewer.