Changeset cfb79747 in mainline for uspace/lib/drv/generic/remote_nic.c
- Timestamp:
- 2012-02-14T22:06:15Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a31aad1
- Parents:
- 199112e4 (diff), e10d41a (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/drv/generic/remote_nic.c
r199112e4 rcfb79747 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.