VirtualBox

Changeset 24430 in vbox


Ignore:
Timestamp:
Nov 6, 2009 9:38:12 AM (15 years ago)
Author:
vboxsync
Message:

E1000: forward-port of r54484 from 3.0 to HEAD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevE1000.cpp

    r24265 r24430  
    879879    /** All: Used for eliminating spurious interrupts. */
    880880    bool        fIntRaised;
    881     /** EMT: */
     881    /** EMT: false if the cable is disconnected by the GUI. */
    882882    bool        fCableConnected;
    883883    /** EMT: */
     
    20732073    else
    20742074    {
    2075         if (value & CTRL_SLU)
     2075        if (   (value & CTRL_SLU)
     2076            && pState->fCableConnected)
    20762077        {
    20772078            /* The driver indicates that we should bring up the link */
     
    43714372        {
    43724373            E1kLog(("%s Link will be up in approximately 5 secs\n", INSTANCE(pState)));
     4374            pState->fCableConnected = true;
    43734375            STATUS &= ~STATUS_LU;
    43744376            Phy::setLinkStatus(&pState->phy, false);
     
    43804382        {
    43814383            E1kLog(("%s Link is down\n", INSTANCE(pState)));
     4384            pState->fCableConnected = false;
    43824385            STATUS &= ~STATUS_LU;
    43834386            Phy::setLinkStatus(&pState->phy, false);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette