Changeset a46e56b in mainline for uspace/drv/hid/atkbd/atkbd.c
- Timestamp:
- 2018-03-22T06:49:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77f0a1d
- Parents:
- 3e242d2
- git-author:
- Jakub Jermar <jakub@…> (2018-03-21 23:29:06)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-22 06:49:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/atkbd/atkbd.c
r3e242d2 ra46e56b 293 293 * 294 294 * @param fun Device function handling the call. 295 * @param icall idCall id.295 * @param icall_handle Call id. 296 296 * @param icall Call data. 297 297 * 298 298 */ 299 299 static void default_connection_handler(ddf_fun_t *fun, 300 cap_call_handle_t icall id, ipc_call_t *icall)300 cap_call_handle_t icall_handle, ipc_call_t *icall) 301 301 { 302 302 const sysarg_t method = IPC_GET_IMETHOD(*icall); … … 306 306 switch (method) { 307 307 case KBDEV_SET_IND: 308 async_answer_0(icall id, ENOTSUP);308 async_answer_0(icall_handle, ENOTSUP); 309 309 break; 310 310 /* … … 319 319 ddf_msg(LVL_WARN, 320 320 "Failed creating callback session"); 321 async_answer_0(icall id, EAGAIN);321 async_answer_0(icall_handle, EAGAIN); 322 322 break; 323 323 } … … 326 326 kbd->client_sess = sess; 327 327 ddf_msg(LVL_DEBUG, "Set client session"); 328 async_answer_0(icall id, EOK);328 async_answer_0(icall_handle, EOK); 329 329 } else { 330 330 ddf_msg(LVL_ERROR, "Client session already set"); 331 async_answer_0(icall id, ELIMIT);331 async_answer_0(icall_handle, ELIMIT); 332 332 } 333 333 … … 335 335 default: 336 336 ddf_msg(LVL_ERROR, "Unknown method: %d.", (int)method); 337 async_answer_0(icall id, EINVAL);337 async_answer_0(icall_handle, EINVAL); 338 338 break; 339 339 }
Note:
See TracChangeset
for help on using the changeset viewer.