Changes in uspace/srv/hw/irc/fhc/fhc.c [ffa2c8ef:acc7ce4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/irc/fhc/fhc.c
rffa2c8ef racc7ce4 29 29 /** @addtogroup fhc 30 30 * @{ 31 */ 32 33 /** 34 * @file fhc.c 35 * @brief FHC bus controller driver. 31 36 */ 32 37 33 /** 34 * @file fhc.c 35 * @brief FHC bus controller driver. 36 */ 37 38 #include <ipc/ipc.h> 38 39 #include <ipc/services.h> 39 40 #include <ipc/irc.h> … … 75 76 * Answer the first IPC_M_CONNECT_ME_TO call. 76 77 */ 77 async_answer_0(iid, EOK);78 ipc_answer_0(iid, EOK); 78 79 79 80 while (1) { … … 84 85 case IRC_ENABLE_INTERRUPT: 85 86 /* Noop */ 86 async_answer_0(callid, EOK);87 ipc_answer_0(callid, EOK); 87 88 break; 88 89 case IRC_CLEAR_INTERRUPT: … … 91 92 case FHC_UART_INR: 92 93 fhc_uart_virt[FHC_UART_ICLR] = 0; 93 async_answer_0(callid, EOK);94 ipc_answer_0(callid, EOK); 94 95 break; 95 96 default: 96 async_answer_0(callid, ENOTSUP);97 ipc_answer_0(callid, ENOTSUP); 97 98 break; 98 99 } 99 100 break; 100 101 default: 101 async_answer_0(callid, EINVAL);102 ipc_answer_0(callid, EINVAL); 102 103 break; 103 104 } … … 136 137 137 138 async_set_client_connection(fhc_connection); 138 service_register(SERVICE_FHC); 139 sysarg_t phonead; 140 ipc_connect_to_me(PHONE_NS, SERVICE_FHC, 0, 0, &phonead); 139 141 140 142 return true;
Note:
See TracChangeset
for help on using the changeset viewer.