Changes in uspace/srv/devman/drv_conn.c [b7fd2a0:cde999a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/drv_conn.c
rb7fd2a0 rcde999a 61 61 #include "main.h" 62 62 63 static errno_t init_running_drv(void *drv);63 static int init_running_drv(void *drv); 64 64 65 65 /** Register running driver. */ … … 72 72 73 73 /* Get driver name. */ 74 errno_t rc = async_data_write_accept((void **) &drv_name, true, 0, 0, 0, 0);74 int rc = async_data_write_accept((void **) &drv_name, true, 0, 0, 0, 0); 75 75 if (rc != EOK) { 76 76 async_answer_0(callid, rc); … … 163 163 * @return Zero on success, error code otherwise. 164 164 */ 165 static errno_t devman_receive_match_id(match_id_list_t *match_ids)165 static int devman_receive_match_id(match_id_list_t *match_ids) 166 166 { 167 167 match_id_t *match_id = create_match_id(); 168 168 ipc_callid_t callid; 169 169 ipc_call_t call; 170 errno_t rc = 0;170 int rc = 0; 171 171 172 172 callid = async_get_call(&call); … … 213 213 * @return Zero on success, error code otherwise. 214 214 */ 215 static errno_t devman_receive_match_ids(sysarg_t match_count,215 static int devman_receive_match_ids(sysarg_t match_count, 216 216 match_id_list_t *match_ids) 217 217 { 218 errno_t ret = EOK;218 int ret = EOK; 219 219 size_t i; 220 220 … … 255 255 256 256 char *fun_name = NULL; 257 errno_t rc = async_data_write_accept((void **)&fun_name, true, 0, 0, 0, 0);257 int rc = async_data_write_accept((void **)&fun_name, true, 0, 0, 0, 0); 258 258 if (rc != EOK) { 259 259 dev_del_ref(pdev); … … 332 332 devman_handle_t handle = IPC_GET_ARG1(*call); 333 333 category_id_t cat_id; 334 errno_t rc;334 int rc; 335 335 336 336 /* Get category name. */ … … 381 381 { 382 382 fun_node_t *fun; 383 errno_t rc;383 int rc; 384 384 385 385 log_msg(LOG_DEFAULT, LVL_DEBUG, "devman_drv_fun_online()"); … … 425 425 { 426 426 fun_node_t *fun; 427 errno_t rc;427 int rc; 428 428 429 429 fun = find_fun_node(&device_tree, IPC_GET_ARG1(*icall)); … … 462 462 devman_handle_t fun_handle = IPC_GET_ARG1(*call); 463 463 dev_tree_t *tree = &device_tree; 464 errno_t rc;464 int rc; 465 465 466 466 fun_node_t *fun = find_fun_node(&device_tree, fun_handle); … … 490 490 dev_node_t *dev = fun->child; 491 491 device_state_t dev_state; 492 errno_t gone_rc;492 int gone_rc; 493 493 494 494 dev_add_ref(dev); … … 575 575 * driver needed to be served by devman during the driver's initialization). 576 576 */ 577 static errno_t init_running_drv(void *drv)577 static int init_running_drv(void *drv) 578 578 { 579 579 driver_t *driver = (driver_t *) drv;
Note:
See TracChangeset
for help on using the changeset viewer.