Changeset 70922c2 in mainline for uspace/drv/nic/e1k/e1k.c


Ignore:
Timestamp:
2012-02-01T00:09:22Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ffcc5776
Parents:
cb3dbb63 (diff), 3d4750f (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.
Message:

Mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/e1k/e1k.c

    rcb3dbb63 r70922c2  
    14021402        fibril_mutex_unlock(&e1000->rx_lock);
    14031403        return EOK;
     1404       
    14041405error:
    14051406        for (i = 0; i < E1000_RX_FRAME_COUNT; i++) {
     
    14101411                }
    14111412        }
     1413       
    14121414        if (e1000->rx_frame_phys != NULL) {
    14131415                free(e1000->rx_frame_phys);
    14141416                e1000->rx_frame_phys = NULL;
    14151417        }
     1418       
    14161419        if (e1000->rx_frame_virt != NULL) {
    14171420                free(e1000->rx_frame_virt);
    14181421                e1000->rx_frame_phys = NULL;
    14191422        }
     1423       
    14201424        return rc;
    14211425}
     
    16421646                e1000->tx_frame_phys = NULL;
    16431647        }
     1648       
    16441649        dmamem_unmap_anonymous(e1000->tx_ring_virt);
    16451650}
     
    20522057        case E1000_82545:
    20532058        case E1000_82546:
    2054         case E1000_82572:
    20552059                e1000->info.eerd_start = 0x01;
    20562060                e1000->info.eerd_done = 0x10;
     
    20592063                break;
    20602064        case E1000_82547:
     2065        case E1000_82572:
    20612066        case E1000_80003ES2:
    20622067                e1000->info.eerd_start = 0x01;
Note: See TracChangeset for help on using the changeset viewer.