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/srv/hw/bus/cuda_adb/cuda_adb.c

    r9536e6e r41811af  
    4848#include <ipc/adb.h>
    4949#include <async.h>
     50#include <async_obsolete.h>
    5051#include <assert.h>
    5152#include "cuda_adb.h"
     53
     54// FIXME: remove this header
     55#include <kernel/ipc/ipc_methods.h>
    5256
    5357#define NAME "cuda_adb"
     
    219223                callid = async_get_call(&call);
    220224                method = IPC_GET_IMETHOD(call);
    221                 switch (method) {
    222                 case IPC_M_PHONE_HUNGUP:
     225               
     226                if (!method) {
    223227                        /* The other side has hung up. */
    224228                        async_answer_0(callid, EOK);
    225229                        return;
     230                }
     231               
     232                switch (method) {
    226233                case IPC_M_CONNECT_TO_ME:
    227234                        if (adb_dev[dev_addr].client_phone != -1) {
     
    479486                return;
    480487
    481         async_msg_1(adb_dev[dev_addr].client_phone, ADB_REG_NOTIF, reg_val);
     488        async_obsolete_msg_1(adb_dev[dev_addr].client_phone, ADB_REG_NOTIF, reg_val);
    482489}
    483490
Note: See TracChangeset for help on using the changeset viewer.