Changeset 64740 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Nov 24, 2016 9:45:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r64684 r64740 70 70 * in init (see @bugref{8624}). 71 71 */ 72 #define E1K_INIT_LINKUP_DELAY (500 * 1000)72 //#define E1K_INIT_LINKUP_DELAY (500 * 1000) 73 73 /** @def E1K_IMS_INT_DELAY_NS 74 74 * E1K_IMS_INT_DELAY_NS prevents interrupt storms in Windows guests on enabling … … 2678 2678 && !(STATUS & STATUS_LU)) 2679 2679 { 2680 #ifdef E1K_INIT_LINKUP_DELAY 2680 2681 /* 2681 2682 * The driver indicates that we should bring up the link. Our default 5-second delay is too long, 2682 2683 * as Linux guests detect Tx hang after 2 seconds. Let's use 500 ms delay instead. */ 2683 2684 e1kArmTimer(pThis, pThis->CTX_SUFF(pLUTimer), E1K_INIT_LINKUP_DELAY); 2685 #else /* !E1K_INIT_LINKUP_DELAY */ 2686 /* Bring up the link immediately, no need for an interrupt though. */ 2687 STATUS |= STATUS_LU; 2688 Phy::setLinkStatus(&pThis->phy, true); 2689 #endif /* !E1K_INIT_LINKUP_DELAY */ 2684 2690 } 2685 2691 if (value & CTRL_VME)
Note:
See TracChangeset
for help on using the changeset viewer.