Changeset ffa2c8ef in mainline for uspace/srv/hid/kbd/port/chardev.c
- Timestamp:
- 2011-01-29T11:36:08Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46b881c
- Parents:
- 64d2b10
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/chardev.c
r64d2b10 rffa2c8ef 35 35 */ 36 36 37 #include <ipc/ipc.h>38 37 #include <ipc/char.h> 39 38 #include <async.h> … … 91 90 92 91 /* NB: The callback connection is slotted for removal */ 93 sysarg_t taskhash; 94 sysarg_t phonehash; 95 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 92 if (async_connect_to_me(dev_phone, 0, 0, 0, kbd_port_events) != 0) { 96 93 printf(NAME ": Failed to create callback from device\n"); 97 94 return -1; 98 95 } 99 100 async_new_connection(taskhash, phonehash, 0, NULL, kbd_port_events);101 96 102 97 return 0; … … 136 131 retval = ENOENT; 137 132 } 138 ipc_answer_0(callid, retval);133 async_answer_0(callid, retval); 139 134 } 140 135 }
Note:
See TracChangeset
for help on using the changeset viewer.