Changes in uspace/drv/nic/e1k/e1k.c [807be7e:6eab537d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
r807be7e r6eab537d 49 49 #include <nic.h> 50 50 #include <ops/nic.h> 51 #include <pcapdump_iface.h> 51 52 #include "e1k.h" 52 53 … … 174 175 /** Lock for EEPROM access */ 175 176 fibril_mutex_t eeprom_lock; 177 176 178 } e1000_t; 177 179 … … 1189 1191 if (frame != NULL) { 1190 1192 memcpy(frame->data, e1000->rx_frame_virt[next_tail], frame_size); 1193 1191 1194 nic_received_frame(nic, frame); 1192 1195 } else { … … 2203 2206 goto err_add_to_cat; 2204 2207 2208 rc = ddf_fun_add_to_category(fun, "pcap"); 2209 if (rc != EOK) { 2210 ddf_msg(LVL_ERROR, "Failed adding function to category pcap"); 2211 goto err_add_to_cat; 2212 } 2213 2205 2214 return EOK; 2206 2215 … … 2366 2375 2367 2376 memcpy(e1000->tx_frame_virt[tdt], data, size); 2368 2369 2377 tx_descriptor_addr->phys_addr = PTR_TO_U64(e1000->tx_frame_phys[tdt]); 2370 2378 tx_descriptor_addr->length = size;
Note:
See TracChangeset
for help on using the changeset viewer.