Changes in uspace/drv/nic/e1k/e1k.c [e86b8f0:5cc9eba] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
re86b8f0 r5cc9eba 1402 1402 fibril_mutex_unlock(&e1000->rx_lock); 1403 1403 return EOK; 1404 1404 1405 error: 1405 1406 for (i = 0; i < E1000_RX_FRAME_COUNT; i++) { … … 1410 1411 } 1411 1412 } 1413 1412 1414 if (e1000->rx_frame_phys != NULL) { 1413 1415 free(e1000->rx_frame_phys); 1414 1416 e1000->rx_frame_phys = NULL; 1415 1417 } 1418 1416 1419 if (e1000->rx_frame_virt != NULL) { 1417 1420 free(e1000->rx_frame_virt); 1418 1421 e1000->rx_frame_phys = NULL; 1419 1422 } 1423 1420 1424 return rc; 1421 1425 } … … 1642 1646 e1000->tx_frame_phys = NULL; 1643 1647 } 1648 1644 1649 dmamem_unmap_anonymous(e1000->tx_ring_virt); 1645 1650 }
Note:
See TracChangeset
for help on using the changeset viewer.