Changeset 7bdcc45 in mainline for uspace/lib/c/generic/devman.c


Ignore:
Timestamp:
2010-12-16T16:38:49Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7837101
Parents:
8e58f94 (diff), eb221e5 (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/lib/c/generic/devman.c

    r8e58f94 r7bdcc45  
    9595        aid_t req = async_send_2(phone, DEVMAN_DRIVER_REGISTER, 0, 0, &answer);
    9696       
    97         ipcarg_t retval = async_data_write_start(phone, name, str_size(name));
     97        sysarg_t retval = async_data_write_start(phone, name, str_size(name));
    9898        if (retval != EOK) {
    9999                async_wait_for(req, NULL);
     
    104104        async_set_client_connection(conn);
    105105       
    106         ipcarg_t callback_phonehash;
     106        sysarg_t callback_phonehash;
    107107        ipc_connect_to_me(phone, 0, 0, 0, &callback_phonehash);
    108108        async_wait_for(req, &retval);
     
    116116{
    117117        ipc_call_t answer;
    118         async_send_1(phone, DEVMAN_ADD_MATCH_ID, match_id->score, &answer);
     118        aid_t req = async_send_1(phone, DEVMAN_ADD_MATCH_ID, match_id->score, &answer);
    119119        int retval = async_data_write_start(phone, match_id->id, str_size(match_id->id));
    120         return retval; 
     120        async_wait_for(req, NULL);
     121        return retval;
    121122}
    122123
     
    154155        aid_t req = async_send_2(phone, DEVMAN_ADD_CHILD_DEVICE, parent_handle, match_count, &answer);
    155156
    156         ipcarg_t retval = async_data_write_start(phone, name, str_size(name));
     157        sysarg_t retval = async_data_write_start(phone, name, str_size(name));
    157158        if (retval != EOK) {
    158159                async_wait_for(req, NULL);
     
    191192        aid_t req = async_send_1(phone, DEVMAN_ADD_DEVICE_TO_CLASS, devman_handle, &answer);
    192193       
    193         ipcarg_t retval = async_data_write_start(phone, class_name, str_size(class_name));
     194        sysarg_t retval = async_data_write_start(phone, class_name, str_size(class_name));
    194195        if (retval != EOK) {
    195196                async_wait_for(req, NULL);
     
    267268            &answer);
    268269       
    269         ipcarg_t retval = async_data_write_start(phone, pathname, str_size(pathname));
     270        sysarg_t retval = async_data_write_start(phone, pathname, str_size(pathname));
    270271        if (retval != EOK) {
    271272                async_wait_for(req, NULL);
Note: See TracChangeset for help on using the changeset viewer.