Changeset bc38578 in mainline for uspace/srv/ethip/ethip.c
- Timestamp:
- 2012-02-06T16:12:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ceba4bed
- Parents:
- 06295a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ethip/ethip.c
r06295a9 rbc38578 106 106 } 107 107 108 nic->iplink_sid = sid; 109 108 110 rc = loc_category_get_id("iplink", &iplink_cat, IPC_FLAG_BLOCKING); 109 111 if (rc != EOK) { … … 128 130 static void ethip_client_conn(ipc_callid_t iid, ipc_call_t *icall, void *arg) 129 131 { 130 log_msg(LVL_DEBUG, "ethip_client_conn(%u)", (unsigned) IPC_GET_ARG1(*icall)); 131 if (0) iplink_conn(iid, icall, NULL); 132 ethip_nic_t *nic; 133 service_id_t sid; 134 135 sid = (service_id_t)IPC_GET_ARG1(*icall); 136 log_msg(LVL_DEBUG, "ethip_client_conn(%u)", (unsigned)sid); 137 nic = ethip_nic_find_by_iplink_sid(sid); 138 if (nic == NULL) { 139 log_msg(LVL_WARN, "Uknown service ID."); 140 return; 141 } 142 143 iplink_conn(iid, icall, &nic->iplink); 132 144 } 133 145
Note:
See TracChangeset
for help on using the changeset viewer.