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