; -- MLX5MUX.INF --
;
; Mellanox MUX INF file
;
; Copyright (C) Mellanox Technologies, Ltd. 2001-2021. ALL RIGHTS RESERVED

[Version]
Signature 	= "$Windows NT$"
Class 		= Net
ClassGUID 	= {4d36e972-e325-11ce-bfc1-08002be10318}
Provider 	= %Mlnx%
DriverVer = 10/19/2023,23.10.26252.0
CatalogFile = MLX5MUX.cat

[ControlFlags]
ExcludeFromSelect = MLNX_MLX5MUX

[Manufacturer]
%Mlnx% = MLNX,NTamd64

[MLNX.NTamd64]
%MLX5MUX_Desc% = MLX5MUX.ndi, MLNX_MLX5MUX

[MLX5MUX.ndi]
AddReg  = MLX5MUX.ndi.AddReg
Characteristics = 0xA1 ;NCF_NOT_USER_REMOVABLE | NCF_VIRTUAL | NCF_HAS_UI
copyfiles       = MUXP.CopyFiles.sys
*IfType         = 6             ; IF_TYPE_ETHERNET_CSMACD
*MediaType      = 0             ; NdisMedium802_3
*PhysicalMediaType = 0          ; NdisPhysicalMediumUnspecified

[SourceDisksNames]
1=%DiskDescription%,"",,

[SourceDisksFiles]
mlx5mux.sys = 1
mlx5mux.dll = 1

[DestinationDirs]
DefaultDestDir      = 12
MUXP.CopyFiles.DLL  = 11   ; %windir%\System32
MUXP.CopyFiles.Sys  = 12   ; %windir%\System32\drivers
WctxtuneCopyFiles   = 11


[MUXP.CopyFiles.Sys]
mlx5mux.sys,,,2

[MUXP.CopyFiles.DLL]
mlx5mux.dll,,,2

[MLX5MUX.ndi.AddReg]
HKR, Ndi, Service,  0,  MLX5MUX
HKR, Ndi, HelpText, 0,  "%MLX5MUX_HELP%"
HKR, Ndi\Interfaces,    UpperRange, 0,  "ndis5"
HKR, Ndi\Interfaces,    LowerRange, 0,  "nolower"

HKR, Ndi\config\VlanID,     ParamDesc,       0, %VlanID%
HKR, Ndi\config\VlanID,     default,         0, "1"
HKR, Ndi\config\VlanID,     type,            0, "long"
HKR, Ndi\config\VlanID,     min,             0, "1"
HKR, Ndi\config\VlanID,     max,             0, "4095"
HKR, Ndi\config\VlanID,     step,            0, "1"
HKR, Ndi\config\VlanID,     base,            0, "10"

HKR, Ndi\config\Priority,     ParamDesc,       0, %VlanPriority%
HKR, Ndi\config\Priority,     default,         0, "0"
HKR, Ndi\config\Priority,     type,            0, "long"
HKR, Ndi\config\Priority,     min,             0, "0"
HKR, Ndi\config\Priority,     max,             0, "7"
HKR, Ndi\config\Priority,     step,            0, "1"
HKR, Ndi\config\Priority,     base,            0, "10"

[MLX5MUX.ndi.Services]
AddService = MLX5MUX, 2, MLX5MUX.AddService

[MLX5MUX.AddService]
DisplayName     = %MLX5MUX_Desc%
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\mlx5mux.sys
Description     = %MLX5MUX_Desc%

[Strings]
Mlnx = "Mellanox"
MLX5MUX_Desc = "Mellanox Virtual Miniport Driver"
MLX5MUX_HELP = "Mellanox Virtual Miniport Instance"
DiskDescription = "Mellanox Virtual Miniport Driver"
VlanID = "VLAN ID"
VlanPriority = "Priority"


