Changeset a852181 in mainline for uspace/srv/net/il/arp/arp_module.c
- Timestamp:
- 2010-11-03T21:45:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 02314f8
- Parents:
- 4ef32e0c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp_module.c
r4ef32e0c ra852181 41 41 #include <async.h> 42 42 #include <stdio.h> 43 #include <err .h>43 #include <errno.h> 44 44 45 45 #include <ipc/ipc.h> … … 66 66 int il_module_start_standalone(async_client_conn_t client_connection) 67 67 { 68 ERROR_DECLARE; 68 ipcarg_t phonehash; 69 int rc; 69 70 70 71 async_set_client_connection(client_connection); 71 72 arp_globals.net_phone = net_connect_module(); 72 ERROR_PROPAGATE(pm_init());73 73 74 ipcarg_t phonehash; 75 if (ERROR_OCCURRED(arp_initialize(client_connection)) || 76 ERROR_OCCURRED(REGISTER_ME(SERVICE_ARP, &phonehash))) { 74 rc = pm_init(); 75 if (rc != EOK) 76 return rc; 77 78 rc = arp_initialize(client_connection); 79 if (rc != EOK) { 77 80 pm_destroy(); 78 return ERROR_CODE; 81 return rc; 82 } 83 84 rc = REGISTER_ME(SERVICE_ARP, &phonehash); 85 if (rc != EOK) { 86 pm_destroy(); 87 return rc; 79 88 } 80 89
Note:
See TracChangeset
for help on using the changeset viewer.