Changeset 984a9ba in mainline for uspace/drv/hid/ps2mouse/ps2mouse.c
- Timestamp:
- 2018-07-05T09:34:09Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63d46341
- Parents:
- 76f566d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/ps2mouse/ps2mouse.c
r76f566d r984a9ba 104 104 static errno_t polling_intellimouse(void *); 105 105 static errno_t probe_intellimouse(ps2_mouse_t *, bool); 106 static void default_connection_handler(ddf_fun_t *, cap_call_handle_t,ipc_call_t *);106 static void default_connection_handler(ddf_fun_t *, ipc_call_t *); 107 107 108 108 /** ps/2 mouse driver ops. */ … … 401 401 /** Default handler for IPC methods not handled by DDF. 402 402 * 403 * @param fun Device function handling the call. 404 * @param icall_handle Call handle. 405 * @param icall Call data. 406 */ 407 void default_connection_handler(ddf_fun_t *fun, cap_call_handle_t icall_handle, 408 ipc_call_t *icall) 403 * @param fun Device function handling the call. 404 * @param icall Call data. 405 * 406 */ 407 void default_connection_handler(ddf_fun_t *fun, ipc_call_t *icall) 409 408 { 410 409 const sysarg_t method = IPC_GET_IMETHOD(*icall); … … 423 422 ddf_msg(LVL_WARN, 424 423 "Failed creating client callback session"); 425 async_answer_0(icall _handle, EAGAIN);424 async_answer_0(icall, EAGAIN); 426 425 break; 427 426 } … … 429 428 mouse->client_sess = sess; 430 429 ddf_msg(LVL_DEBUG, "Set client session"); 431 async_answer_0(icall _handle, EOK);430 async_answer_0(icall, EOK); 432 431 } else { 433 432 ddf_msg(LVL_ERROR, "Client session already set"); 434 async_answer_0(icall _handle, ELIMIT);433 async_answer_0(icall, ELIMIT); 435 434 } 436 435 break; 437 436 default: 438 437 ddf_msg(LVL_ERROR, "Unknown method: %d.", (int)method); 439 async_answer_0(icall _handle, EINVAL);438 async_answer_0(icall, EINVAL); 440 439 break; 441 440 }
Note:
See TracChangeset
for help on using the changeset viewer.