Changeset 63369 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Aug 12, 2016 4:45:31 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000Phy.cpp
r62632 r63369 51 51 /* Internals */ 52 52 namespace Phy { 53 #if defined(LOG_ENABLED) && !defined(PHY_UNIT_TEST) 53 54 /** Retrieves state name by id */ 54 55 static const char * getStateName(uint16_t u16State); 56 #endif 55 57 /** Look up register index by address. */ 56 58 static int lookupRegister(uint32_t u32Address); … … 478 480 } 479 481 482 #if defined(LOG_ENABLED) && !defined(PHY_UNIT_TEST) 480 483 static const char * Phy::getStateName(uint16_t u16State) 481 484 { … … 493 496 return (u16State < RT_ELEMENTS(pcszState)) ? pcszState[u16State] : "<invalid>"; 494 497 } 498 #endif 495 499 496 500 bool Phy::readMDIO(PPHY pPhy) -
trunk/src/VBox/Devices/Network/DrvTAP.cpp
r63218 r63369 169 169 PCPDMNETWORKGSO pGso, PPPDMSCATTERGATHER ppSgBuf) 170 170 { 171 RT_NOREF(pInterface); 172 #ifdef VBOX_STRICT 171 173 PDRVTAP pThis = PDMINETWORKUP_2_DRVTAP(pInterface); 172 174 Assert(RTCritSectIsOwner(&pThis->XmitLock)); 175 #endif 173 176 174 177 /* … … 214 217 static DECLCALLBACK(int) drvTAPNetworkUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) 215 218 { 219 RT_NOREF(pInterface); 220 #ifdef VBOX_STRICT 216 221 PDRVTAP pThis = PDMINETWORKUP_2_DRVTAP(pInterface); 217 222 Assert(RTCritSectIsOwner(&pThis->XmitLock)); 223 #endif 224 218 225 if (pSgBuf) 219 226 { -
trunk/src/VBox/Devices/Network/DrvVDE.cpp
r63211 r63369 138 138 PCPDMNETWORKGSO pGso, PPPDMSCATTERGATHER ppSgBuf) 139 139 { 140 RT_NOREF(pInterface); 141 #ifdef VBOX_STRICT 140 142 PDRVVDE pThis = PDMINETWORKUP_2_DRVVDE(pInterface); 141 143 Assert(RTCritSectIsOwner(&pThis->XmitLock)); 144 #endif 142 145 143 146 /* … … 183 186 static DECLCALLBACK(int) drvVDENetworkUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf) 184 187 { 188 RT_NOREF(pInterface); 189 #ifdef VBOX_STRICT 185 190 PDRVVDE pThis = PDMINETWORKUP_2_DRVVDE(pInterface); 186 191 Assert(RTCritSectIsOwner(&pThis->XmitLock)); 192 #endif 187 193 if (pSgBuf) 188 194 {
Note:
See TracChangeset
for help on using the changeset viewer.