Changes in uspace/drv/nic/e1k/e1k.c [e86b8f0:d81eaf94] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
re86b8f0 rd81eaf94 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 } … … 2052 2057 case E1000_82545: 2053 2058 case E1000_82546: 2054 case E1000_82572:2055 2059 e1000->info.eerd_start = 0x01; 2056 2060 e1000->info.eerd_done = 0x10; … … 2059 2063 break; 2060 2064 case E1000_82547: 2065 case E1000_82572: 2061 2066 case E1000_80003ES2: 2062 2067 e1000->info.eerd_start = 0x01;
Note:
See TracChangeset
for help on using the changeset viewer.