Changeset 26e7d6d in mainline for uspace/lib/net/il/il_skel.c
- Timestamp:
- 2011-09-19T16:31:00Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a347a11
- Parents:
- 3842a955 (diff), 086290d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/il/il_skel.c
r3842a955 r26e7d6d 38 38 #include <bool.h> 39 39 #include <errno.h> 40 #include <ns.h> 40 41 #include <il_skel.h> 41 42 #include <net_interface.h> 42 43 #include <net/modules.h> 43 44 // FIXME: remove this header45 #include <kernel/ipc/ipc_methods.h>46 44 47 45 /** Default thread for new connections. … … 99 97 * @return Other error codes as defined for the il_initialize() 100 98 * function. 101 * @return Other error codes as defined for the REGISTER_ME() macro102 * function.103 99 * 104 100 */ 105 int il_module_start( int service)101 int il_module_start(sysarg_t service) 106 102 { 107 103 async_set_client_connection(il_client_connection); 108 int net_phone= net_connect_module();109 if ( net_phone < 0)110 return net_phone;104 async_sess_t *sess = net_connect_module(); 105 if (!sess) 106 return ENOENT; 111 107 112 108 int rc = pm_init(); … … 114 110 return rc; 115 111 116 rc = il_initialize( net_phone);112 rc = il_initialize(sess); 117 113 if (rc != EOK) 118 114 goto out; 119 115 120 rc = async_connect_to_me(PHONE_NS, service, 0, 0, NULL, NULL);116 rc = service_register(service); 121 117 if (rc != EOK) 122 118 goto out;
Note:
See TracChangeset
for help on using the changeset viewer.