Changeset 474afc9 in mainline for uspace/srv/hid/kbd/port/adb.c


Ignore:
Timestamp:
2011-02-04T22:40:13Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4d73d71
Parents:
89acf204 (diff), e29e09cf (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:

development branch changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/kbd/port/adb.c

    r89acf204 r474afc9  
    3535 */
    3636
    37 #include <ipc/ipc.h>
    3837#include <ipc/adb.h>
    3938#include <async.h>
     
    7170
    7271        /* NB: The callback connection is slotted for removal */
    73         sysarg_t taskhash;
    74         sysarg_t phonehash;
    75         if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) {
     72        if (async_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events) != 0) {
    7673                printf(NAME ": Failed to create callback from device\n");
    7774                return false;
    7875        }
    79 
    80         async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events);
    8176
    8277        return 0;
     
    116111                        retval = ENOENT;
    117112                }
    118                 ipc_answer_0(callid, retval);
     113                async_answer_0(callid, retval);
    119114        }
    120115}
Note: See TracChangeset for help on using the changeset viewer.