Changeset 62618 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jul 28, 2016 11:23:36 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109188
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000Phy.cpp
r62511 r62618 174 174 static void Phy::regWriteForbidden(PPHY pPhy, uint32_t index, uint16_t u16Value) 175 175 { 176 RT_NOREF_PV(pPhy); RT_NOREF_PV(index); RT_NOREF_PV(u16Value); 176 177 PhyLog(("PHY#%d At %02d write attempted to read-only '%s'\n", 177 178 pPhy->iInstance, s_regMap[index].u32Address, s_regMap[index].pszName)); … … 189 190 static uint16_t Phy::regReadUnimplemented(PPHY pPhy, uint32_t index) 190 191 { 192 RT_NOREF_PV(pPhy); RT_NOREF_PV(index); 191 193 PhyLog(("PHY#%d At %02d read attempted from unimplemented '%s'\n", 192 194 pPhy->iInstance, s_regMap[index].u32Address, s_regMap[index].pszName)); … … 204 206 static void Phy::regWriteUnimplemented(PPHY pPhy, uint32_t index, uint16_t u16Value) 205 207 { 208 RT_NOREF_PV(pPhy); RT_NOREF_PV(index); RT_NOREF_PV(u16Value); 206 209 PhyLog(("PHY#%d At %02d write attempted to unimplemented '%s'\n", 207 210 pPhy->iInstance, s_regMap[index].u32Address, s_regMap[index].pszName)); … … 441 444 static uint16_t Phy::regReadPSTATUS(PPHY pPhy, uint32_t index) 442 445 { 446 RT_NOREF_PV(pPhy); RT_NOREF_PV(index); 447 443 448 /* Read latched value */ 444 449 uint16_t u16 = REG(PSTATUS); … … 459 464 static uint16_t Phy::regReadGSTATUS(PPHY pPhy, uint32_t index) 460 465 { 466 RT_NOREF_PV(pPhy); RT_NOREF_PV(index); 467 461 468 /* 462 469 * - Link partner is capable of 1000BASE-T half duplex -
trunk/src/VBox/Devices/Network/DevVirtioNet.cpp
r62511 r62618 292 292 DECLINLINE(int) vnetCsRxEnter(PVNETSTATE pThis, int rcBusy) 293 293 { 294 RT_NOREF_PV(pThis); 295 RT_NOREF_PV(rcBusy); 294 296 // STAM_PROFILE_START(&pThis->CTXSUFF(StatCsRx), a); 295 297 // int rc = PDMCritSectEnter(&pThis->csRx, rcBusy); … … 301 303 DECLINLINE(void) vnetCsRxLeave(PVNETSTATE pThis) 302 304 { 305 RT_NOREF_PV(pThis); 303 306 // PDMCritSectLeave(&pThis->csRx); 304 307 } … … 367 370 static DECLCALLBACK(uint32_t) vnetIoCb_GetHostFeatures(void *pvState) 368 371 { 372 RT_NOREF_PV(pvState); 373 369 374 /* We support: 370 375 * - Host-provided MAC address … … 398 403 static DECLCALLBACK(uint32_t) vnetIoCb_GetHostMinimalFeatures(void *pvState) 399 404 { 405 RT_NOREF_PV(pvState); 400 406 return VNET_F_MAC; 401 407 }
Note:
See TracChangeset
for help on using the changeset viewer.