Changes in uspace/drv/nic/e1k/e1k.c [d81eaf94:e86b8f0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/e1k/e1k.c
rd81eaf94 re86b8f0 1402 1402 fibril_mutex_unlock(&e1000->rx_lock); 1403 1403 return EOK; 1404 1405 1404 error: 1406 1405 for (i = 0; i < E1000_RX_FRAME_COUNT; i++) { … … 1411 1410 } 1412 1411 } 1413 1414 1412 if (e1000->rx_frame_phys != NULL) { 1415 1413 free(e1000->rx_frame_phys); 1416 1414 e1000->rx_frame_phys = NULL; 1417 1415 } 1418 1419 1416 if (e1000->rx_frame_virt != NULL) { 1420 1417 free(e1000->rx_frame_virt); 1421 1418 e1000->rx_frame_phys = NULL; 1422 1419 } 1423 1424 1420 return rc; 1425 1421 } … … 1646 1642 e1000->tx_frame_phys = NULL; 1647 1643 } 1648 1649 1644 dmamem_unmap_anonymous(e1000->tx_ring_virt); 1650 1645 } … … 2057 2052 case E1000_82545: 2058 2053 case E1000_82546: 2054 case E1000_82572: 2059 2055 e1000->info.eerd_start = 0x01; 2060 2056 e1000->info.eerd_done = 0x10; … … 2063 2059 break; 2064 2060 case E1000_82547: 2065 case E1000_82572:2066 2061 case E1000_80003ES2: 2067 2062 e1000->info.eerd_start = 0x01;
Note:
See TracChangeset
for help on using the changeset viewer.