Changeset e29e09cf in mainline for uspace/srv/hid/adb_mouse/adb_dev.c
- Timestamp:
- 2011-02-04T21:00:56Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 474afc9, 960ff451
- Parents:
- 400575c5 (diff), 17aca1c (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/adb_mouse/adb_dev.c
r400575c5 re29e09cf 34 34 */ 35 35 36 #include <ipc/ipc.h>37 36 #include <ipc/adb.h> 38 37 #include <async.h> … … 68 67 69 68 /* NB: The callback connection is slotted for removal */ 70 sysarg_t taskhash; 71 sysarg_t phonehash; 72 if (ipc_connect_to_me(dev_phone, 0, 0, 0, &taskhash, &phonehash) != 0) { 69 if (async_connect_to_me(dev_phone, 0, 0, 0, adb_dev_events) != 0) { 73 70 printf(NAME ": Failed to create callback from device\n"); 74 71 return false; 75 72 } 76 77 async_new_connection(taskhash, phonehash, 0, NULL, adb_dev_events); 78 73 79 74 return 0; 80 75 } … … 100 95 retval = ENOENT; 101 96 } 102 ipc_answer_0(callid, retval);97 async_answer_0(callid, retval); 103 98 } 104 99 }
Note:
See TracChangeset
for help on using the changeset viewer.