Changes in uspace/lib/nic/src/nic_ev.c [7858acbf:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/src/nic_ev.c
r7858acbf rb7fd2a0 42 42 43 43 /** Device address changed. */ 44 int nic_ev_addr_changed(async_sess_t *sess, const nic_address_t *addr)44 errno_t nic_ev_addr_changed(async_sess_t *sess, const nic_address_t *addr) 45 45 { 46 46 async_exch_t *exch = async_exchange_begin(sess); … … 48 48 ipc_call_t answer; 49 49 aid_t req = async_send_0(exch, NIC_EV_ADDR_CHANGED, &answer); 50 sysarg_t retval = async_data_write_start(exch, addr,50 errno_t retval = async_data_write_start(exch, addr, 51 51 sizeof(nic_address_t)); 52 52 … … 63 63 64 64 /** Device state changed. */ 65 int nic_ev_device_state(async_sess_t *sess, sysarg_t state)65 errno_t nic_ev_device_state(async_sess_t *sess, sysarg_t state) 66 66 { 67 int rc;67 errno_t rc; 68 68 69 69 async_exch_t *exch = async_exchange_begin(sess); … … 75 75 76 76 /** Frame received. */ 77 int nic_ev_received(async_sess_t *sess, void *data, size_t size)77 errno_t nic_ev_received(async_sess_t *sess, void *data, size_t size) 78 78 { 79 79 async_exch_t *exch = async_exchange_begin(sess); … … 81 81 ipc_call_t answer; 82 82 aid_t req = async_send_0(exch, NIC_EV_RECEIVED, &answer); 83 sysarg_t retval = async_data_write_start(exch, data, size);83 errno_t retval = async_data_write_start(exch, data, size); 84 84 85 85 async_exchange_end(exch);
Note:
See TracChangeset
for help on using the changeset viewer.