Changeset 22369 in vbox
- Timestamp:
- Aug 20, 2009 12:46:53 PM (15 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r22218 r22369 4303 4303 if (fNewUp) 4304 4304 { 4305 E1kLog(("%s Link is up\n", INSTANCE(pState))); 4306 STATUS |= STATUS_LU; 4307 Phy::setLinkStatus(&pState->phy, true); 4305 E1kLog(("%s Link will be up in approximately 5 secs\n", INSTANCE(pState))); 4306 STATUS &= ~STATUS_LU; 4307 Phy::setLinkStatus(&pState->phy, false); 4308 e1kRaiseInterrupt(pState, ICR_LSC); 4309 /* Restore the link back in 5 second. */ 4310 e1kArmTimer(pState, pState->pLUTimer, 5000000); 4308 4311 } 4309 4312 else -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r21969 r22369 4631 4631 if (fLinkUp) 4632 4632 { 4633 /* connect */ 4634 pThis->aCSR[0] &= ~(RT_BIT(15) | RT_BIT(13)); /* ERR | CERR - probably not 100% correct either... */ 4635 pThis->Led.Actual.s.fError = 0; 4633 /* connect with a delay of 5 seconds */ 4634 pThis->fLinkTempDown = true; 4635 pThis->cLinkDownReported = 0; 4636 pThis->aCSR[0] |= RT_BIT(15) | RT_BIT(13); /* ERR | CERR (this is probably wrong) */ 4637 pThis->Led.Asserted.s.fError = pThis->Led.Actual.s.fError = 1; 4638 int rc = TMTimerSetMillies(pThis->pTimerRestore, 5000); 4639 AssertRC(rc); 4636 4640 } 4637 4641 else
Note:
See TracChangeset
for help on using the changeset viewer.