- Timestamp:
- Nov 29, 2010 5:43:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r33595 r34483 5420 5420 5421 5421 /** 5422 * @copydoc FNPDMDEVRESET 5423 */ 5424 static DECLCALLBACK(void) e1kReset(PPDMDEVINS pDevIns) 5425 { 5426 E1KSTATE *pState = PDMINS_2_DATA(pDevIns, E1KSTATE*); 5427 e1kCancelTimer(pState, pState->CTX_SUFF(pIntTimer)); 5428 e1kCancelTimer(pState, pState->CTX_SUFF(pLUTimer)); 5429 e1kXmitFreeBuf(pState); 5430 pState->u16TxPktLen = 0; 5431 pState->fIPcsum = false; 5432 pState->fTCPcsum = false; 5433 pState->fIntMaskUsed = false; 5434 pState->fDelayInts = false; 5435 pState->fLocked = false; 5436 pState->u64AckedAt = 0; 5437 e1kHardReset(pState); 5438 } 5439 5440 /** 5422 5441 * @copydoc FNPDMDEVSUSPEND 5423 5442 */ … … 5963 5982 NULL, 5964 5983 /* Reset notification - optional. */ 5965 NULL,5984 e1kReset, 5966 5985 /* Suspend notification - optional. */ 5967 5986 e1kSuspend,
Note:
See TracChangeset
for help on using the changeset viewer.