Changes in uspace/lib/c/generic/device/nic.c [9cd8165:cf9cb36] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/device/nic.c
r9cd8165 rcf9cb36 81 81 * 82 82 */ 83 int nic_callback_create(async_sess_t *dev_sess, async_client_conn_t cfun,84 void *carg)83 int nic_callback_create(async_sess_t *dev_sess, nic_device_id_t device_id, 84 async_client_conn_t cfun, void *carg) 85 85 { 86 86 ipc_call_t answer; … … 89 89 90 90 async_exch_t *exch = async_exchange_begin(dev_sess); 91 aid_t req = async_send_ 1(exch, DEV_IFACE_ID(NIC_DEV_IFACE),92 NIC_CALLBACK_CREATE, &answer);91 aid_t req = async_send_2(exch, DEV_IFACE_ID(NIC_DEV_IFACE), 92 NIC_CALLBACK_CREATE, device_id, &answer); 93 93 94 94 rc = async_connect_to_me(exch, 0, 0, 0, cfun, carg);
Note:
See TracChangeset
for help on using the changeset viewer.