Changeset a46e56b in mainline for uspace/drv/hid/ps2mouse/ps2mouse.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/ps2mouse/ps2mouse.c
r3e242d2 ra46e56b 400 400 * 401 401 * @param fun Device function handling the call. 402 * @param icall idCall id.402 * @param icall_handle Call id. 403 403 * @param icall Call data. 404 404 */ 405 405 void default_connection_handler(ddf_fun_t *fun, 406 cap_call_handle_t icall id, ipc_call_t *icall)406 cap_call_handle_t icall_handle, ipc_call_t *icall) 407 407 { 408 408 const sysarg_t method = IPC_GET_IMETHOD(*icall); … … 419 419 ddf_msg(LVL_WARN, 420 420 "Failed creating client callback session"); 421 async_answer_0(icall id, EAGAIN);421 async_answer_0(icall_handle, EAGAIN); 422 422 break; 423 423 } … … 425 425 mouse->client_sess = sess; 426 426 ddf_msg(LVL_DEBUG, "Set client session"); 427 async_answer_0(icall id, EOK);427 async_answer_0(icall_handle, EOK); 428 428 } else { 429 429 ddf_msg(LVL_ERROR, "Client session already set"); 430 async_answer_0(icall id, ELIMIT);430 async_answer_0(icall_handle, ELIMIT); 431 431 } 432 432 break; 433 433 default: 434 434 ddf_msg(LVL_ERROR, "Unknown method: %d.", (int)method); 435 async_answer_0(icall id, EINVAL);435 async_answer_0(icall_handle, EINVAL); 436 436 break; 437 437 }
Note:
See TracChangeset
for help on using the changeset viewer.