Changeset 41811af in mainline for uspace/lib/net/generic/generic.c


Ignore:
Timestamp:
2011-06-10T10:14:26Z (14 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:
ab547063
Parents:
9536e6e (diff), 390d80d (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

File:
1 edited

Legend:

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

    r9536e6e r41811af  
    3737#include <generic.h>
    3838#include <async.h>
     39#include <async_obsolete.h>
    3940#include <ipc/services.h>
    4041#include <net/device.h>
     
    5657    int state, services_t target)
    5758{
    58         async_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,
     59        async_obsolete_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,
    5960            (sysarg_t) state, target);
    6061       
     
    7879    int arg2, services_t service)
    7980{
    80         return (int) async_req_3_0(phone, (sysarg_t) message,
     81        return (int) async_obsolete_req_3_0(phone, (sysarg_t) message,
    8182            (sysarg_t) device_id, (sysarg_t) arg2, (sysarg_t) service);
    8283}
     
    107108
    108109        /* Request the address */
    109         message_id = async_send_1(phone, (sysarg_t) message,
     110        message_id = async_obsolete_send_1(phone, (sysarg_t) message,
    110111            (sysarg_t) device_id, NULL);
    111112        string = measured_strings_return(phone, address, data, 1);
     
    145146        sysarg_t suffix;
    146147       
    147         sysarg_t result = async_req_1_4(phone, (sysarg_t) message,
     148        sysarg_t result = async_obsolete_req_1_4(phone, (sysarg_t) message,
    148149            (sysarg_t) device_id, &addr_len, &prefix, &content, &suffix);
    149150       
     
    172173{
    173174        if (error) {
    174                 async_msg_4(phone, (sysarg_t) message, (sysarg_t) device_id,
     175                async_obsolete_msg_4(phone, (sysarg_t) message, (sysarg_t) device_id,
    175176                    (sysarg_t) packet_id, (sysarg_t) target, (sysarg_t) error);
    176177        } else {
    177                 async_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,
     178                async_obsolete_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,
    178179                    (sysarg_t) packet_id, (sysarg_t) target);
    179180        }
     
    198199{
    199200        if (error) {
    200                 async_msg_4(phone, (sysarg_t) message, (sysarg_t) device_id,
     201                async_obsolete_msg_4(phone, (sysarg_t) message, (sysarg_t) device_id,
    201202                    (sysarg_t) packet_id, (sysarg_t) sender, (sysarg_t) error);
    202203        } else {
    203                 async_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,
     204                async_obsolete_msg_3(phone, (sysarg_t) message, (sysarg_t) device_id,
    204205                    (sysarg_t) packet_id, (sysarg_t) sender);
    205206        }
     
    243244
    244245        /* Request the translation */
    245         message_id = async_send_3(phone, (sysarg_t) message,
     246        message_id = async_obsolete_send_3(phone, (sysarg_t) message,
    246247            (sysarg_t) device_id, (sysarg_t) count, (sysarg_t) service, NULL);
    247248        measured_strings_send(phone, configuration, count);
Note: See TracChangeset for help on using the changeset viewer.