Changeset 15000 in vbox
- Timestamp:
- Dec 4, 2008 7:04:23 PM (16 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r14420 r15000 5089 5089 PDM_DEVREG_CLASS_NETWORK, 5090 5090 /* cMaxInstances */ 5091 4,5091 8, 5092 5092 /* cbInstance */ 5093 5093 sizeof(PCNetState), -
trunk/src/VBox/Main/ConsoleImpl2.cpp
r14828 r15000 958 958 rc = CFGMR3InsertNode(pDev, szInstance, &pInst); RC_CHECK(); 959 959 rc = CFGMR3InsertInteger(pInst, "Trusted", 1); /* boolean */ RC_CHECK(); 960 /* the first network card gets the PCI ID 3, the next 3 gets 8..10. */ 961 const unsigned iPciDeviceNo = !ulInstance ? 3 : ulInstance - 1 + 8; 960 /* the first network card gets the PCI ID 3, the next 3 gets 8..10, 961 * next 4 get 16..19. */ 962 unsigned iPciDeviceNo = 3; 963 if (ulInstance) 964 { 965 if (ulInstance < 4) 966 iPciDeviceNo = ulInstance - 1 + 8; 967 else 968 iPciDeviceNo = ulInstance - 4 + 16; 969 } 962 970 rc = CFGMR3InsertInteger(pInst, "PCIDeviceNo", iPciDeviceNo); RC_CHECK(); 963 971 Assert(!afPciDeviceNo[iPciDeviceNo]); -
trunk/src/VBox/Main/xml/VirtualBox-settings-common.xsd
r14698 r15000 590 590 <xsd:restriction base="xsd:unsignedInt"> 591 591 <xsd:minInclusive value="0"/> 592 <xsd:maxExclusive value=" 4"/>592 <xsd:maxExclusive value="8"/> 593 593 </xsd:restriction> 594 594 </xsd:simpleType>
Note:
See TracChangeset
for help on using the changeset viewer.