Changeset f2962621 in mainline for uspace/lib/c/generic/devman.c


Ignore:
Timestamp:
2010-12-17T10:14:01Z (13 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e5dc07
Parents:
9223dc5c (diff), 11658b64 (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 with usb/development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/devman.c

    r9223dc5c rf2962621  
    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);
     
    155155        aid_t req = async_send_2(phone, DEVMAN_ADD_CHILD_DEVICE, parent_handle, match_count, &answer);
    156156
    157         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));
    158158        if (retval != EOK) {
    159159                async_wait_for(req, NULL);
     
    192192        aid_t req = async_send_1(phone, DEVMAN_ADD_DEVICE_TO_CLASS, devman_handle, &answer);
    193193       
    194         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));
    195195        if (retval != EOK) {
    196196                async_wait_for(req, NULL);
     
    230230       
    231231        if (flags & IPC_FLAG_BLOCKING) {
    232                 phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_DEVMAN,
     232                phone = async_connect_me_to_blocking(PHONE_NS, SERVICE_DEVMAN,
    233233                    DEVMAN_CONNECT_TO_DEVICE, handle);
    234234        } else {
    235                 phone = ipc_connect_me_to(PHONE_NS, SERVICE_DEVMAN,
     235                phone = async_connect_me_to(PHONE_NS, SERVICE_DEVMAN,
    236236                    DEVMAN_CONNECT_TO_DEVICE, handle);
    237237        }
     
    268268            &answer);
    269269       
    270         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));
    271271        if (retval != EOK) {
    272272                async_wait_for(req, NULL);
Note: See TracChangeset for help on using the changeset viewer.