Changes in uspace/srv/devman/drv_conn.c [96ef672:acb8766e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/drv_conn.c
r96ef672 racb8766e 49 49 #include <io/log.h> 50 50 #include <ipc/devman.h> 51 #include <ipc/driver.h> 51 52 #include <loc.h> 52 53 … … 101 102 driver->name); 102 103 fibril_mutex_unlock(&driver->driver_mutex); 103 async_answer_0(callid, EEXIST );104 async_answer_0(callid, EEXISTS); 104 105 return NULL; 105 106 } … … 130 131 } 131 132 /* FIXME: Work around problem with callback sessions */ 132 async_sess_args_set(driver->sess, INTERFACE_DDF_DEVMAN, 0, 0);133 async_sess_args_set(driver->sess, DRIVER_DEVMAN, 0, 0); 133 134 134 135 log_msg(LOG_DEFAULT, LVL_NOTE, … … 278 279 fibril_rwlock_write_unlock(&tree->rwlock); 279 280 dev_del_ref(pdev); 280 async_answer_0(callid, EEXIST );281 async_answer_0(callid, EEXISTS); 281 282 printf(NAME ": Warning, driver tried to register `%s' twice.\n", 282 283 fun_name); … … 544 545 if (fun->service_id != 0) { 545 546 /* Unregister from location service */ 546 rc = loc_ unregister_tree_function(fun, &device_tree);547 rc = loc_service_unregister(fun->service_id); 547 548 if (rc != EOK) { 548 549 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed unregistering tree " … … 586 587 587 588 /** Function for handling connections from a driver to the device manager. */ 588 void devman_connection_driver(ipc_callid_t iid, ipc_call_t *icall , void *arg)589 void devman_connection_driver(ipc_callid_t iid, ipc_call_t *icall) 589 590 { 590 591 client_t *client;
Note:
See TracChangeset
for help on using the changeset viewer.