VirtualBox

Changeset 49844 in vbox


Ignore:
Timestamp:
Dec 9, 2013 2:27:00 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91188
Message:

DevE1000: if we disable the link state, always disable phy even if STATUS_LU was not set

File:
1 edited

Legend:

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

    r49493 r49844  
    25452545    E1kLog(("%s Link is down\n", pThis->szPrf));
    25462546    STATUS &= ~STATUS_LU;
    2547     Phy::setLinkStatus(&pThis->phy, false);
    25482547    e1kRaiseInterrupt(pThis, VERR_SEM_BUSY, ICR_LSC);
    25492548    if (pThis->pDrvR3)
     
    64906489        case PDMNETWORKLINKSTATE_DOWN:
    64916490            pThis->fCableConnected = false;
     6491            /* Always set the phy link state to down, regardless of the STATUS_LU bit.
     6492             * We might have to set the link state before the driver initializes us. */
     6493            Phy::setLinkStatus(&pThis->phy, false);
    64926494            /* If link was up, bring it down. */
    64936495            if (STATUS & STATUS_LU)
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