Changeset 44537 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Feb 5, 2013 9:31:10 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83586
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r44536 r44537 6439 6439 6440 6440 /** 6441 * @callback_method_impl{FNSSMDEVSAVEPREP }6441 * @callback_method_impl{FNSSMDEVSAVEPREP,Synchronize.} 6442 6442 */ 6443 6443 static DECLCALLBACK(int) e1kSavePrep(PPDMDEVINS pDevIns, PSSMHANDLE pSSM) … … 6475 6475 6476 6476 /** 6477 * @callback_method_impl{FNSSMDEVSAVEEXE c}6477 * @callback_method_impl{FNSSMDEVSAVEEXEC} 6478 6478 */ 6479 6479 static DECLCALLBACK(int) e1kSaveExec(PPDMDEVINS pDevIns, PSSMHANDLE pSSM) … … 7406 7406 pThis->INetworkConfig.pfnSetLinkState = e1kSetLinkState; 7407 7407 7408 7409 7408 /* 7410 7409 * Validate configuration. … … 7464 7463 Assert(pThis->cMsLinkUpDelay <= 300000); /* less than 5 minutes */ 7465 7464 if (pThis->cMsLinkUpDelay > 5000) 7466 { 7467 LogRel(("%s WARNING! Link up delay is set to %u seconds!\n", 7468 INSTANCE(pThis), pThis->cMsLinkUpDelay / 1000)); 7469 } 7465 LogRel(("%s WARNING! Link up delay is set to %u seconds!\n", INSTANCE(pThis), pThis->cMsLinkUpDelay / 1000)); 7470 7466 else if (pThis->cMsLinkUpDelay == 0) 7471 {7472 7467 LogRel(("%s WARNING! Link up delay is disabled!\n", INSTANCE(pThis))); 7473 }7474 7468 7475 7469 E1kLog(("%s Chip=%s LinkUpDelay=%ums EthernetCRC=%s GSO=%s\n", INSTANCE(pThis), … … 7485 7479 Phy::setLinkStatus(&pThis->phy, pThis->fCableConnected); 7486 7480 7487 /* Initialize critical sections. */ 7481 /* Initialize critical sections. We do our own locking. */ 7482 rc = PDMDevHlpSetDeviceCritSect(pDevIns, PDMDevHlpCritSectGetNop(pDevIns)); 7483 AssertRCReturn(rc, rc); 7484 7488 7485 rc = PDMDevHlpCritSectInit(pDevIns, &pThis->cs, RT_SRC_POS, "%s", pThis->szInstance); 7489 7486 if (RT_FAILURE(rc)) … … 7508 7505 /* Set PCI config registers */ 7509 7506 e1kConfigurePCI(pThis->pciDevice, pThis->eChip); 7507 7510 7508 /* Register PCI device */ 7511 7509 rc = PDMDevHlpPCIRegister(pDevIns, &pThis->pciDevice);
Note:
See TracChangeset
for help on using the changeset viewer.