; Mellanox Technologies InfiniBand HCAs.
; Copyright 2012 Mellanox Technologies all Rights Reserved.

;*****************************************
; Identitification section
;*****************************************

[Version]
Signature="$WINDOWS NT$"
Class=Net
ClassGuid={4D36E972-E325-11CE-BFC1-08002BE10318}

Provider=%MLX%
; must be synchronized with bus\drv.c
DriverVer=09/23/2012,4.2.11011
CatalogFile=mlx4u.cat


;*****************************************
; Destination directory section
;*****************************************

[DestinationDirs]
DefaultDestDir = 11 ; system32 path
MLX4_U.CopyFiles = 11
MLX4_ND_Coinstaller.CopyFiles = 11
MLX4_U.CopyFilesWOW = 16425


;*****************************************
; Special section to trigger install when there is no phys device.
;*****************************************

[Manufacturer]
%MLX%=MLX,NTamd64

[MLX]
%MLX4_U_DESC%=MLX4_U.DDInstall, VMBUS\{697925A7-84F0-4ED9-A9E8-76A941E72EB1}

[MLX.NTamd64]
%MLX4_U_DESC%=MLX4_U.DDInstall, VMBUS\{697925A7-84F0-4ED9-A9E8-76A941E72EB1}

[MLX4_U.DDInstall]
Characteristics=0x14        ;NCF_NO_SERVICE|NCF_PHYSICAL
BusType=0x0                 ; Internal
CopyFiles = MLX4_U.CopyFiles
CopyFiles = MLX4_U.CopyFilesWOW

;DDInstall.HW Section
[MLX4_U.DDInstall.HW]

[MLX4_U.DDInstall.CoInstallers]
CopyFiles = MLX4_ND_Coinstaller.CopyFiles
AddReg = MLX4_ND_Coinstaller.AddReg


;*****************************************
; Device Install section
;*****************************************

[MLX4_U.CopyFiles]
ndinstall.exe,,2
mlx4u.dll,,2
mlx4nd.dll,,2

[MLX4_U.CopyFilesWOW]
mlx4u.dll,mlx4u32.dll,,2
mlx4nd.dll,mlx4nd32.dll,,2

[MLX4_ND_Coinstaller.CopyFiles]
mlx4nd_coinstaller.dll,,2

[MLX4_ND_Coinstaller.AddReg]
HKR,,CoInstallers32,0x00010000,"mlx4nd_coinstaller.dll,CoInstaller"

[SourceDisksNames.amd64]
1=%DiskId%,,,""

[SourceDisksFiles.amd64]
ndinstall.exe= 1,,
mlx4u.dll = 1,,
mlx4nd.dll = 1,,
mlx4u32.dll = 1,,
mlx4nd32.dll = 1,,
mlx4nd_coinstaller.dll = 1,,

;*****************************************
; Mlx4Bus  Install Section
;*****************************************

[DefaultInstall]
CopyFiles = MLX4_U.CopyFiles
CopyFiles = MLX4_U.CopyFilesWOW


;*****************************************
; Strings
;*****************************************

[Strings]
MSFT = "Microsoft Corporation"
MLX="Mellanox Technologies Ltd."
MLX4_U_DESC="Mellanox User Mode Network Components"

REG_DWORD_NO_CLOBBER   = 0x00010003
REG_MULTI_SZ	       = 0x00010000

REG_MULTI_SZ_NO_CLOBBER = 0x00010002
REG_MULTI_SZ_APPEND    = 0x00010008
DIRID_SYSTEM           = 11
DIRID_DRIVERS          = 12
