Ignore:
File:
1 edited

Legend:

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

    rffa2c8ef r3c22f70  
    3535 */
    3636
     37#include <ipc/ipc.h>
    3738#include <ipc/char.h>
    3839#include <async.h>
     
    9091
    9192        /* NB: The callback connection is slotted for removal */
    92         if (async_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events) != 0) {
     93        sysarg_t taskhash;
     94        sysarg_t phonehash;
     95        if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) {
    9396                printf(NAME ": Failed to create callback from device\n");
    9497                return -1;
    9598        }
     99
     100        async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events);
    96101
    97102        return 0;
     
    131136                        retval = ENOENT;
    132137                }
    133                 async_answer_0(callid, retval);
     138                ipc_answer_0(callid, retval);
    134139        }
    135140}
Note: See TracChangeset for help on using the changeset viewer.