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


Ignore:
Timestamp:
2019-02-06T13:25:12Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
95a47b0
Parents:
eb13ef8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 14:10:59)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Mechanically lowercase IPC_SET_*/IPC_GET_*

File:
1 edited

Legend:

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

    reb13ef8 rfafb8e5  
    169169
    170170        async_get_call(&call);
    171         if (DEVMAN_ADD_MATCH_ID != IPC_GET_IMETHOD(&call)) {
     171        if (DEVMAN_ADD_MATCH_ID != ipc_get_imethod(&call)) {
    172172                log_msg(LOG_DEFAULT, LVL_ERROR,
    173173                    "Invalid protocol when trying to receive match id.");
     
    185185        async_answer_0(&call, EOK);
    186186
    187         match_id->score = IPC_GET_ARG1(&call);
     187        match_id->score = ipc_get_arg1(&call);
    188188
    189189        char *match_id_str;
     
    230230static void devman_add_function(ipc_call_t *call)
    231231{
    232         fun_type_t ftype = (fun_type_t) IPC_GET_ARG1(call);
    233         devman_handle_t dev_handle = IPC_GET_ARG2(call);
    234         sysarg_t match_count = IPC_GET_ARG3(call);
     232        fun_type_t ftype = (fun_type_t) ipc_get_arg1(call);
     233        devman_handle_t dev_handle = ipc_get_arg2(call);
     234        sysarg_t match_count = ipc_get_arg3(call);
    235235        dev_tree_t *tree = &device_tree;
    236236
     
    330330static void devman_add_function_to_cat(ipc_call_t *call)
    331331{
    332         devman_handle_t handle = IPC_GET_ARG1(call);
     332        devman_handle_t handle = ipc_get_arg1(call);
    333333        category_id_t cat_id;
    334334        errno_t rc;
     
    385385        log_msg(LOG_DEFAULT, LVL_DEBUG, "devman_drv_fun_online()");
    386386
    387         fun = find_fun_node(&device_tree, IPC_GET_ARG1(icall));
     387        fun = find_fun_node(&device_tree, ipc_get_arg1(icall));
    388388        if (fun == NULL) {
    389389                async_answer_0(icall, ENOENT);
     
    425425        errno_t rc;
    426426
    427         fun = find_fun_node(&device_tree, IPC_GET_ARG1(icall));
     427        fun = find_fun_node(&device_tree, ipc_get_arg1(icall));
    428428        if (fun == NULL) {
    429429                async_answer_0(icall, ENOENT);
     
    458458static void devman_remove_function(ipc_call_t *call)
    459459{
    460         devman_handle_t fun_handle = IPC_GET_ARG1(call);
     460        devman_handle_t fun_handle = ipc_get_arg1(call);
    461461        dev_tree_t *tree = &device_tree;
    462462        errno_t rc;
     
    602602                async_get_call(&call);
    603603
    604                 if (!IPC_GET_IMETHOD(&call)) {
     604                if (!ipc_get_imethod(&call)) {
    605605                        async_answer_0(&call, EOK);
    606606                        break;
    607607                }
    608608
    609                 if (IPC_GET_IMETHOD(&call) != DEVMAN_DRIVER_REGISTER) {
     609                if (ipc_get_imethod(&call) != DEVMAN_DRIVER_REGISTER) {
    610610                        fibril_mutex_lock(&client->mutex);
    611611                        driver = client->driver;
     
    618618                }
    619619
    620                 switch (IPC_GET_IMETHOD(&call)) {
     620                switch (ipc_get_imethod(&call)) {
    621621                case DEVMAN_DRIVER_REGISTER:
    622622                        fibril_mutex_lock(&client->mutex);
Note: See TracChangeset for help on using the changeset viewer.