Changes in uspace/lib/nic/src/nic_driver.c [6d8455d:fbcdeb8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/src/nic_driver.c
r6d8455d rfbcdeb8 114 114 if (!iface->set_state) 115 115 iface->set_state = nic_set_state_impl; 116 if (!iface->send_ frame)117 iface->send_ frame = nic_send_frame_impl;116 if (!iface->send_message) 117 iface->send_message = nic_send_message_impl; 118 118 if (!iface->connect_to_nil) 119 119 iface->connect_to_nil = nic_connect_to_nil_impl; … … 168 168 * 169 169 * @param nic_data 170 * @param sffunc Function handling the send_framerequest171 */ 172 void nic_set_ send_frame_handler(nic_t *nic_data, send_frame_handler sffunc)173 { 174 nic_data-> send_frame = sffunc;170 * @param wpfunc Function handling the write_packet request 171 */ 172 void nic_set_write_packet_handler(nic_t *nic_data, write_packet_handler wpfunc) 173 { 174 nic_data->write_packet = wpfunc; 175 175 } 176 176 … … 765 765 nic_data->poll_mode = NIC_POLL_IMMEDIATE; 766 766 nic_data->default_poll_mode = NIC_POLL_IMMEDIATE; 767 nic_data-> send_frame= NULL;767 nic_data->write_packet = NULL; 768 768 nic_data->on_activating = NULL; 769 769 nic_data->on_going_down = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.