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