Changes in uspace/srv/hid/kbd/port/chardev.c [ffa2c8ef:3c22f70] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/chardev.c
rffa2c8ef r3c22f70 35 35 */ 36 36 37 #include <ipc/ipc.h> 37 38 #include <ipc/char.h> 38 39 #include <async.h> … … 90 91 91 92 /* 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) { 93 96 printf(NAME ": Failed to create callback from device\n"); 94 97 return -1; 95 98 } 99 100 async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events); 96 101 97 102 return 0; … … 131 136 retval = ENOENT; 132 137 } 133 async_answer_0(callid, retval);138 ipc_answer_0(callid, retval); 134 139 } 135 140 }
Note:
See TracChangeset
for help on using the changeset viewer.