Changes in uspace/srv/hw/char/i8042/i8042.c [79ae36dd:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/char/i8042/i8042.c
r79ae36dd rffa2c8ef 41 41 #include <devmap.h> 42 42 #include <async.h> 43 #include <async_obsolete.h>44 43 #include <unistd.h> 45 44 #include <sysinfo.h> … … 47 46 #include <errno.h> 48 47 #include <inttypes.h> 48 49 49 #include "i8042.h" 50 51 // FIXME: remove this header52 #include <kernel/ipc/ipc_methods.h>53 50 54 51 #define NAME "i8042" … … 250 247 callid = async_get_call(&call); 251 248 method = IPC_GET_IMETHOD(call); 252 253 if (!method) {249 switch (method) { 250 case IPC_M_PHONE_HUNGUP: 254 251 /* The other side has hung up. */ 255 252 async_answer_0(callid, EOK); 256 253 return; 257 }258 259 switch (method) {260 254 case IPC_M_CONNECT_TO_ME: 261 255 printf(NAME ": creating callback connection\n"); … … 306 300 307 301 if (i8042_port[devid].client_phone != -1) { 308 async_ obsolete_msg_1(i8042_port[devid].client_phone,302 async_msg_1(i8042_port[devid].client_phone, 309 303 IPC_FIRST_USER_METHOD, data); 310 304 }
Note:
See TracChangeset
for help on using the changeset viewer.