;;/*********************************************************************
;;
;;  Tango USB High-Speed Device Driver (MCS7820/40 chipset)
;;
;;  Ms24Comp_TANGOUSB.inf: Installation Script for Tango USB Devices
;;
;;  Target OS : 64-Bit Windows
;;
;;*********************************************************************/

[Version]
Signature=$Windows NT$
Class=MultiPortSerial
ClassGuid={50906CB8-BA12-11D1-BF5D-0000F805F530}
Provider=%ProviderName%
DriverVer=10/22/2018,9.4.1.0
CatalogFile=ms24comp_tangousb_x64.cat

[Manufacturer]
%MfgName%=MosQuadCompDeviceList,NTamd64

[SourceDisksNames]
1=%DiskName%,,0
2=%MosQuadComp.DiskName%,,,

[SourceDisksFiles]
mos24ser_TANGOUSB.sys=1,,
Mos24Serial_TANGOUSB.EXE=1,,
Mos24SerPropPage_TANGOUSB.dll=1,,
QuadCoInst_TANGOUSB.dll=1,,

;[SourceDisksNames]
;2=%MosQuadComp.DiskName%,,,

[DestinationDirs]
DefaultDestDir=11        ;LDID_SYS
MosQuadComp.NT.CopyFiles=12        ;DIRID_DRIVERS
SupportingFiles.Copy=11

[MosQuadCompDeviceList.NTamd64]

;%MosQuadComp.DevName%=MosQuadComp,USB\VID_9710&PID_7820
;%MosQuadComp.DevName%=MosQuadComp,USB\VID_9710&PID_7840
;%MosQuadComp.DevName%=MosQuadComp,USB\VID_%VID%&PID_%PID%
%MosQuadComp.DevName%=MosQuadComp,USB\VID_1C94&PID_0076

[MosQuadComp.NT]
AddReg=MosQuadComp.NT.AddReg
CopyFiles=MosQuadComp.NT.CopyFiles,SupportingFiles.Copy
CopyINF = mos24ser_TANGOUSB.inf

[MosQuadComp.NT.CopyFiles]	
mos24ser_TANGOUSB.sys

[MosQuadComp.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,mos24ser_TANGOUSB.sys
HKR,, "PORTHWID", , "TANGOUSB\QUAD_SERIAL_INTERFACE"
HKR,, "CUSTNAME", , %CUSTNAME%
HKR,, "VID_PID_CUSTOMER", , "1C94_0076_TANGOUSB"

[MosQuadComp.NT.Services]
AddService=mos24ser_TANGOUSB,2,MosQuadComp.NT.AddService

[MosQuadComp.NT.Service.AddReg]
;DebugLevel is valid 0 - 3
HKR,"Parameters", "DebugLevel", 0x10001, 0
HKR,"Parameters", "EXT_INTERRUPT_VAR", 0x10001, 0
HKR,"Parameters", "WaitCount", 0x10001, 0
HKR,"Parameters", "ClockStartReg", 0x10001, 0
HKR,"Parameters", "ClockMultiReg", 0x10001, 64
HKR,"Parameters", "PLL_N_REGs", 0x10001, 2
HKR,"Parameters", "PLL_M_REGs", 0x10001, 1
HKR,"Parameters", "CLK_MUX_REGs", 0x10001, 1
HKR,"Parameters", "EXTERNAL_CLOCK", 0x00010000 , "33.0"
HKR,"Parameters", "SafeRemovalIcon", 0x10001, 1

[MosQuadComp.NT.AddService]
DisplayName    = %CUSTNAME%%mos24ser.ServiceName%
ServiceType    = 1           ; SERVICE_KERNEL_DRIVER
StartType      = 3           ; SERVICE_DEMAND_START
ErrorControl   = 0           ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\mos24ser_TANGOUSB.sys
LoadOrderGroup = Base
AddReg=MosQuadComp.NT.Service.AddReg

[SupportingFiles.Copy]
Mos24Serial_TANGOUSB.EXE
Mos24SerPropPage_TANGOUSB.dll
QuadCoInst_TANGOUSB.dll

[Strings]
ProviderName="Maerzhaeuser Wetzlar GmbH & Co. KG"
MfgName="Maerzhaeuser Wetzlar GmbH & Co. KG"
DiskName="CD Tango"
MosQuadComp.DevName="Tango USB-Controller"
mos24ser.ServiceName="Tango USB-Port Driver"
MosQuadComp.DiskName = "CD Tango"
CUSTNAME = "TANGOUSB"
VID = "1C94"
PID = "0076" ;7840

;-----------------------------------
; END OF FILE
;-----------------------------------