Changeset 503ce85 in mainline for uspace/drv/nic/e1k/e1k.c
- Timestamp:
- 2025-08-03T09:03:10Z (7 months ago)
- Children:
- adbd7e1
- Parents:
- 5caad1d (diff), 46e2152 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/drv/nic/e1k/e1k.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
r5caad1d r503ce85 175 175 /** Lock for EEPROM access */ 176 176 fibril_mutex_t eeprom_lock; 177 177 178 } e1000_t; 178 179 … … 1192 1193 if (frame != NULL) { 1193 1194 memcpy(frame->data, e1000->rx_frame_virt[next_tail], frame_size); 1195 1194 1196 nic_received_frame(nic, frame); 1195 1197 } else { … … 2201 2203 goto err_fun_bind; 2202 2204 2203 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC); 2204 if (rc != EOK) 2205 goto err_add_to_cat; 2206 2205 rc = nic_fun_add_to_cats(fun); 2206 if (rc != EOK) { 2207 ddf_msg(LVL_ERROR, "Failed adding function to categories"); 2208 ddf_fun_unbind(fun); 2209 return rc; 2210 } 2207 2211 return EOK; 2208 2212 2209 err_add_to_cat:2210 ddf_fun_unbind(fun);2211 2213 err_fun_bind: 2212 2214 err_rx_structure: … … 2388 2390 2389 2391 memcpy(e1000->tx_frame_virt[tdt], data, size); 2390 2391 2392 tx_descriptor_addr->phys_addr = PTR_TO_U64(e1000->tx_frame_phys[tdt]); 2392 2393 tx_descriptor_addr->length = size;
Note:
See TracChangeset
for help on using the changeset viewer.
