[MLX4] added new Registry parameter for number of FC_EXCHs and added a sanity check...
[mirror/winof/.git] / hw / mlx4 / kernel / bus / drv / mlx4_bus.inx
index b6ce7e0..2741df1 100644 (file)
@@ -48,15 +48,15 @@ HKR,,SilentInstall,,1
 \r
 [SourceDisksFiles.x86]\r
 mlx4_bus.sys = 1,,\r
-wdfcoinstaller01007.dll = 1,,\r
+wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll = 1,,\r
 \r
 [SourceDisksFiles.amd64]\r
 mlx4_bus.sys = 1,,\r
-wdfcoinstaller01007.dll = 1,,\r
+wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll = 1,,\r
 \r
 [SourceDisksFiles.ia64]\r
 mlx4_bus.sys = 1,,\r
-wdfcoinstaller01007.dll = 1,,\r
+wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll = 1,,\r
 \r
 ;*****************************************\r
 ; Mlx4Bus  Install Section\r
@@ -77,6 +77,7 @@ wdfcoinstaller01007.dll = 1,,
 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
+%MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
 \r
 [MLX4BUS.DeviceSection.ntamd64]\r
@@ -88,6 +89,7 @@ wdfcoinstaller01007.dll = 1,,
 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
+%MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
 \r
 [MLX4BUS.DeviceSection.ntia64]\r
@@ -99,6 +101,7 @@ wdfcoinstaller01007.dll = 1,,
 %MT26428.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_673c\r
 %MT26448.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6750\r
 %MT26458.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_675A\r
+%MT26468.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_6764\r
 %MT00401.DeviceDesc%=MLX4BUS.DDInstall, PCI\VEN_15B3&DEV_0191\r
 \r
 [MLX4BUS.DDInstall.ntx86.hw]\r
@@ -138,12 +141,15 @@ HKR,"Interrupt Management\Affinity Policy",DevicePriority,0x00010001,0x3
 \r
 [MLX4BUS.DDInstall.ntx86]\r
 CopyFiles = MLX4BUS.CopyFiles\r
+AddReg    = MLX4BUS.SoftwareReg\r
 \r
 [MLX4BUS.DDInstall.ntamd64]\r
 CopyFiles = MLX4BUS.CopyFiles\r
+AddReg    = MLX4BUS.SoftwareReg\r
 \r
 [MLX4BUS.DDInstall.ntia64]\r
 CopyFiles = MLX4BUS.CopyFiles\r
+AddReg    = MLX4BUS.SoftwareReg\r
 \r
 [MLX4BUS.DDInstall.ntx86.Services]\r
 AddService = mlx4_bus,%SPSVCINST_ASSOCSERVICE%,MLX4BUS.ServiceInstall,MLX4BUS.EventLog\r
@@ -178,6 +184,9 @@ AddReg = MLX4BUS.AddEventLogReg
 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mlx4_bus.sys"\r
 HKR, , TypesSupported,   0x00010001, 7\r
 \r
+[MLX4BUS.SoftwareReg]\r
+HKR,"Parameters","PortType",%REG_SZ%,"ib,ib"\r
+\r
 [MLX4BUS.ParamsReg]\r
 HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens\r
 HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system \r
@@ -190,14 +199,15 @@ HKR,"Parameters","LogNumCq",%REG_DWORD%,0x00000010
 HKR,"Parameters","LogNumMcg",%REG_DWORD%,0x0000000D\r
 HKR,"Parameters","LogNumMpt",%REG_DWORD%,0x00000012\r
 HKR,"Parameters","LogNumMtt",%REG_DWORD%,0x00000014\r
-HKR,"Parameters","EnableQoS",%REG_DWORD%,0x00000001\r
+HKR,"Parameters","EnableQoS",%REG_DWORD%,0x00000000\r
 HKR,"Parameters","BlockMcastLoopBack",%REG_DWORD%,0x00000000\r
 HKR,"Parameters","InterruptFromFirstPacket",%REG_DWORD%,0x00000001\r
 \r
-HKR,"Parameters","NumMac",%REG_DWORD%,0x00000001\r
+HKR,"Parameters","NumMac",%REG_DWORD%,0x00000000\r
 HKR,"Parameters","NumVlan",%REG_DWORD%,0x00000000\r
 HKR,"Parameters","UsePrio",%REG_DWORD%,0x00000000\r
-HKR,"Parameters","PortType",%REG_SZ%,"ib,ib"\r
+HKR,"Parameters","NumFcExch",%REG_DWORD%,0x00000000\r
+\r
 \r
 \r
 HKLM,"System\CurrentControlSet\Control\WMI\GlobalLogger\E51BB6E2-914A-4e21-93C0-192F4801BBFF","Flags",%REG_DWORD%,0xffff\r
@@ -220,10 +230,10 @@ AddReg=Wdf_CoInstaller_AddReg
 CopyFiles=Wdf_CoInstaller_CopyFiles\r
 \r
 [Wdf_CoInstaller_AddReg]\r
-HKR,,CoInstallers32,0x00010000, "wdfcoinstaller01007.dll,WdfCoInstaller"\r
+HKR,,CoInstallers32,0x00010000, "wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"\r
 \r
 [Wdf_CoInstaller_CopyFiles]\r
-wdfcoinstaller01007.dll\r
+wdfcoinstaller$KMDFCOINSTALLERVERSION$.dll\r
 \r
 [MLX4BUS.DDInstall.ntx86.Wdf]\r
 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
@@ -235,7 +245,7 @@ KmdfService = mlx4_bus, mlx4_bus_wdfsect
 KmdfService = mlx4_bus, mlx4_bus_wdfsect\r
 \r
 [mlx4_bus_wdfsect]\r
-KmdfLibraryVersion = 1.7\r
+KmdfLibraryVersion = $KMDFVERSION$\r
 \r
 \r
 ;*****************************************\r
@@ -253,6 +263,7 @@ MT26418.DeviceDesc="ConnectX (MT26418) - Mellanox ConnectX DDR PCI Gen2 Channel
 MT26428.DeviceDesc="ConnectX (MT26428) - Mellanox ConnectX QDR PCI Gen2 Channel Adapter"\r
 MT26448.DeviceDesc="ConnectX (MT26448) - Mellanox ConnectX Ethernet PCI Gen2 Adapter"\r
 MT26458.DeviceDesc="ConnectX (MT26458) - Mellanox ConnectX Ethernet PCI Gen2 Adapter"\r
+MT26468.DeviceDesc="ConnectX (MT26468) - Mellanox ConnectX B0 Ethernet PCI Gen2 Adapter"\r
 MT00401.DeviceDesc="ConnectX (MT00401) - Mellanox ConnectX Channel Adapter in Flash Recovery Mode"\r
 DiskId = "Mellanox Mlx4 Bus installation disk"\r
 SPSVCINST_NULL = 0x0\r