Changeset 26408 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Feb 10, 2010 1:49:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r26307 r26408 38 38 39 39 /* Options */ 40 #define E1K_INIT_RA0 41 #define E1K_LSC_ON_SLU 40 42 #define E1K_ITR_ENABLED 41 43 //#define E1K_GLOBAL_MUTEX … … 1620 1622 memset(pState->auRegs, 0, sizeof(pState->auRegs)); 1621 1623 memset(pState->aRecAddr.au32, 0, sizeof(pState->aRecAddr.au32)); 1624 #ifdef E1K_INIT_RA0 1625 memcpy(pState->aRecAddr.au32, pState->macConfigured.au8, 1626 sizeof(pState->macConfigured.au8)); 1627 pState->aRecAddr.array[0].ctl |= RA_CTL_AV; 1628 #endif /* E1K_INIT_RA0 */ 1622 1629 STATUS = 0x0081; /* SPEED=10b (1000 Mb/s), FD=1b (Full Duplex) */ 1623 1630 EECD = 0x0100; /* EE_PRES=1b (EEPROM present) */ … … 2097 2104 { 2098 2105 if ( (value & CTRL_SLU) 2099 && pState->fCableConnected) 2106 && pState->fCableConnected 2107 && !(STATUS & STATUS_LU)) 2100 2108 { 2101 2109 /* The driver indicates that we should bring up the link */ 2102 2110 STATUS |= STATUS_LU; 2111 #ifdef E1K_LSC_ON_SLU 2112 Phy::setLinkStatus(&pState->phy, true); 2113 e1kRaiseInterrupt(pState, VERR_SEM_BUSY, ICR_LSC); 2114 #endif /* E1K_LSC_ON_SLU */ 2103 2115 } 2104 2116 if (value & CTRL_VME)
Note:
See TracChangeset
for help on using the changeset viewer.