Changeset 19a1800 in mainline for uspace/srv/hid/char_mouse/chardev.c
- Timestamp:
- 2011-03-01T22:20:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e24e7b1
- Parents:
- 976f546 (diff), ac8285d (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/char_mouse/chardev.c
r976f546 r19a1800 34 34 */ 35 35 36 #include <ipc/ipc.h>37 36 #include <ipc/char.h> 38 37 #include <async.h> … … 70 69 71 70 /* NB: The callback connection is slotted for removal */ 72 sysarg_t phonehash; 73 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &phonehash) != 0) { 71 if (async_connect_to_me(dev_phone, 0, 0, 0, chardev_events) != 0) { 74 72 printf(NAME ": Failed to create callback from device\n"); 75 73 return false; 76 74 } 77 78 async_new_connection(phonehash, 0, NULL, chardev_events);79 75 80 76 return 0; … … 114 110 retval = ENOENT; 115 111 } 116 ipc_answer_0(callid, retval);112 async_answer_0(callid, retval); 117 113 } 118 114 }
Note:
See TracChangeset
for help on using the changeset viewer.