Changeset 6067284 in mainline for uspace/srv/net/nil/eth/eth_module.c
- Timestamp:
- 2010-10-27T19:51:12Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2b1040
- Parents:
- 30b2d02
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth_module.c
r30b2d02 r6067284 36 36 */ 37 37 38 #include "eth.h" 39 38 40 #include <async.h> 39 41 #include <stdio.h> … … 48 50 #include <nil_local.h> 49 51 50 #include "eth.h"51 52 52 int nil_module_start_standalone(async_client_conn_t client_connection) 53 53 { … … 59 59 60 60 ipcarg_t phonehash; 61 if (ERROR_OCCURRED(nil_initialize(net_phone)) 62 ||ERROR_OCCURRED(REGISTER_ME(SERVICE_ETHERNET, &phonehash))) {61 if (ERROR_OCCURRED(nil_initialize(net_phone)) || 62 ERROR_OCCURRED(REGISTER_ME(SERVICE_ETHERNET, &phonehash))) { 63 63 pm_destroy(); 64 64 return ERROR_CODE; … … 71 71 } 72 72 73 int nil_module_message_standalone(const char *name, ipc_callid_t callid, ipc_call_t *call, 74 ipc_call_t *answer, int *answer_count) 73 int 74 nil_module_message_standalone(const char *name, ipc_callid_t callid, 75 ipc_call_t *call, ipc_call_t *answer, int *answer_count) 75 76 { 76 77 return nil_message_standalone(name, callid, call, answer, answer_count);
Note:
See TracChangeset
for help on using the changeset viewer.