Changeset ff381a7 in mainline for uspace/srv/devman/drv_conn.c


Ignore:
Timestamp:
2015-11-02T20:54:19Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8513177
Parents:
3feeab2 (diff), 5265eea4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/drv_conn.c

    r3feeab2 rff381a7  
    4949#include <io/log.h>
    5050#include <ipc/devman.h>
    51 #include <ipc/driver.h>
    5251#include <loc.h>
    5352
     
    102101                    driver->name);
    103102                fibril_mutex_unlock(&driver->driver_mutex);
    104                 async_answer_0(callid, EEXISTS);
     103                async_answer_0(callid, EEXIST);
    105104                return NULL;
    106105        }
     
    131130        }
    132131        /* 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);
    134133       
    135134        log_msg(LOG_DEFAULT, LVL_NOTE,
     
    279278                fibril_rwlock_write_unlock(&tree->rwlock);
    280279                dev_del_ref(pdev);
    281                 async_answer_0(callid, EEXISTS);
     280                async_answer_0(callid, EEXIST);
    282281                printf(NAME ": Warning, driver tried to register `%s' twice.\n",
    283282                    fun_name);
     
    587586
    588587/** Function for handling connections from a driver to the device manager. */
    589 void devman_connection_driver(ipc_callid_t iid, ipc_call_t *icall)
     588void devman_connection_driver(ipc_callid_t iid, ipc_call_t *icall, void *arg)
    590589{
    591590        client_t *client;
Note: See TracChangeset for help on using the changeset viewer.