Changes in uspace/lib/drv/generic/remote_nic.c [6d8455d:9cd8165] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_nic.c
r6d8455d r9cd8165 63 63 } 64 64 65 static void remote_nic_connect_to_nil(ddf_fun_t *dev, void *iface, 66 ipc_callid_t callid, ipc_call_t *call) 67 { 68 nic_iface_t *nic_iface = (nic_iface_t *) iface; 69 assert(nic_iface->connect_to_nil); 70 71 services_t nil_service = (services_t) IPC_GET_ARG2(*call); 72 nic_device_id_t device_id = (nic_device_id_t) IPC_GET_ARG3(*call); 73 74 int rc = nic_iface->connect_to_nil(dev, nil_service, device_id); 65 static void remote_nic_callback_create(ddf_fun_t *dev, void *iface, 66 ipc_callid_t callid, ipc_call_t *call) 67 { 68 nic_iface_t *nic_iface = (nic_iface_t *) iface; 69 assert(nic_iface->callback_create); 70 71 int rc = nic_iface->callback_create(dev); 75 72 async_answer_0(callid, rc); 76 73 } … … 1203 1200 static remote_iface_func_ptr_t remote_nic_iface_ops[] = { 1204 1201 &remote_nic_send_frame, 1205 &remote_nic_c onnect_to_nil,1202 &remote_nic_callback_create, 1206 1203 &remote_nic_get_state, 1207 1204 &remote_nic_set_state,
Note:
See TracChangeset
for help on using the changeset viewer.