Changeset 25986 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jan 23, 2010 1:32:03 AM (15 years ago)
- Location:
- trunk/src/VBox/Devices/Network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevE1000.cpp
r25985 r25986 5070 5070 } 5071 5071 pState->pDrv = PDMIBASE_QUERY_INTERFACE(pState->pDrvBase, PDMINETWORKCONNECTOR); 5072 if (!pState->pDrv) 5073 { 5074 AssertMsgFailed(("%s Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n")); 5075 return VERR_PDM_MISSING_INTERFACE_BELOW; 5076 } 5072 AssertMsgReturn(pState->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"), 5073 VERR_PDM_MISSING_INTERFACE_BELOW); 5077 5074 } 5078 5075 else if (rc == VERR_PDM_NO_ATTACHED_DRIVER) … … 5287 5284 } 5288 5285 pState->pDrv = PDMIBASE_QUERY_INTERFACE(pState->pDrvBase, PDMINETWORKCONNECTOR); 5289 if (!pState->pDrv) 5290 { 5291 AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n")); 5292 rc = VERR_PDM_MISSING_INTERFACE_BELOW; 5293 } 5286 AssertMsgStmt(pState->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"), 5287 rc = VERR_PDM_MISSING_INTERFACE_BELOW); 5294 5288 } 5295 5289 else if (rc == VERR_PDM_NO_ATTACHED_DRIVER) -
trunk/src/VBox/Devices/Network/DevINIP.cpp
r25985 r25986 531 531 if (!pThis->pDrv) 532 532 { 533 AssertMsgFailed(("Failed to obtain the PDMIN TERFACE_NETWORK_CONNECTOR interface!\n"));533 AssertMsgFailed(("Failed to obtain the PDMINETWORKCONNECTOR interface!\n")); 534 534 rc = VERR_PDM_MISSING_INTERFACE_BELOW; 535 535 goto out; -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r25985 r25986 4821 4821 } 4822 4822 pThis->pDrv = PDMIBASE_QUERY_INTERFACE(pThis->pDrvBase, PDMINETWORKCONNECTOR); 4823 if (!pThis->pDrv) 4824 { 4825 AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n")); 4826 rc = VERR_PDM_MISSING_INTERFACE_BELOW; 4827 } 4823 AssertMsgStmt(pThis->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"), 4824 rc = VERR_PDM_MISSING_INTERFACE_BELOW); 4828 4825 } 4829 4826 else if (rc == VERR_PDM_NO_ATTACHED_DRIVER) … … 5213 5210 } 5214 5211 pThis->pDrv = PDMIBASE_QUERY_INTERFACE(pThis->pDrvBase, PDMINETWORKCONNECTOR); 5215 if (!pThis->pDrv) 5216 { 5217 AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n")); 5218 return VERR_PDM_MISSING_INTERFACE_BELOW; 5219 } 5212 AssertMsgReturn(pThis->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"), 5213 VERR_PDM_MISSING_INTERFACE_BELOW); 5220 5214 } 5221 5215 else if (rc == VERR_PDM_NO_ATTACHED_DRIVER) -
trunk/src/VBox/Devices/Network/DevVirtioNet.cpp
r25981 r25986 1563 1563 } 1564 1564 pState->pDrv = PDMIBASE_QUERY_INTERFACE(pState->pDrvBase, PDMINETWORKCONNECTOR); 1565 if (!pState->pDrv) 1566 { 1567 AssertMsgFailed(("%s Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n")); 1568 return VERR_PDM_MISSING_INTERFACE_BELOW; 1569 } 1565 AssertMsgReturn(pState->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"), 1566 VERR_PDM_MISSING_INTERFACE_BELOW); 1570 1567 } 1571 1568 else if (rc == VERR_PDM_NO_ATTACHED_DRIVER) … … 1744 1741 } 1745 1742 pState->pDrv = PDMIBASE_QUERY_INTERFACE(pState->pDrvBase, PDMINETWORKCONNECTOR); 1746 if (!pState->pDrv) 1747 { 1748 AssertMsgFailed(("Failed to obtain the PDMINTERFACE_NETWORK_CONNECTOR interface!\n")); 1749 rc = VERR_PDM_MISSING_INTERFACE_BELOW; 1750 } 1743 AssertMsgStmt(pState->pDrv, ("Failed to obtain the PDMINETWORKCONNECTOR interface!\n"), 1744 rc = VERR_PDM_MISSING_INTERFACE_BELOW); 1751 1745 } 1752 1746 else if (rc == VERR_PDM_NO_ATTACHED_DRIVER)
Note:
See TracChangeset
for help on using the changeset viewer.