;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;
;;  FILE : Mos24Ser.inf
;;  OS SUPPORTED : WIN2000/XP 
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[version]
LayoutFile=layout.inf
Signature="$WINDOWS NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%ProviderName%
DriverVer=10/22/2018,9.3.6.0
CatalogFile=mos24ser.cat

[DestinationDirs]
DefaultDestDir  = 11        ;LDID_SYS
Inf.Copy=17

[SourceDiskFiles]
; 1 = Disk Number
Ms24Comp.inf=1
Mos24Ser.inf=1


[SourceDisksNames]
1=%DiskName%,"Ms24Comp.inf",0


[ControlFlags]


;===============================
; Driver Installation
;===============================
[Manufacturer]
%MfgName%=MosQuadPortsList

;
; Manufacturer Name Section
;
[MosQuadPortsList]
%MosQuadPort.ComPortName%=ComPort.NT,MOSCHIP\QUAD_SERIAL_INTERFACE


;----------------------------------------
; COM Port Install
;----------------------------------------
[ComPort.NT]
AddReg=ComPort.NT.AddReg
SyssetupPnPFlags = 1

[ComPort.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,mos24ser.sys

;DebugLevel is valid 0 - 3
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "DebugLevel", 0x10001, 0
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "EXT_INTERRUPT_VAR", 0x10001, 0
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "WaitCount", 0x10001, 0
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "ClockStartReg", 0x10001, 0
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "ClockMultiReg", 0x10001, 64
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "PLL_N_REGs", 0x10001, 2
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "PLL_M_REGs", 0x10001, 1
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "CLK_MUX_REGs", 0x10001, 1
HKLM,"System\CurrentControlSet\Services\mos24ser\Parameters", "EXTERNAL_CLOCK", 0x00010000 , "33.0"

;RegMaxTxPacketSize is valid 32 - 512K
HKR,, "RegMaxTxPacketSize", 0x10001, 512

;RegMaxTxPacketSize is valid 64 - 512K
HKR,, "RegMaxRxPacketSize", 0x10001, 1024

;RegUsbReadMaxPolls is valid 1 - 10
HKR,, "RegUsbReadMaxPolls", 0x10001, 1

;RegUsbStatusMaxPolls is valid 1 - 10
HKR,, "RegUsbStatusMaxPolls", 0x10001, 1

;RegEnableHwFlowControl is valid 0 - 1
HKR,, "RegEnableHwFlowControl", 0x10001, 0

HKR,, "DeviceControlReg0",	 0x10001, 01
HKR,, "DeviceControlReg1",	 0x10001, 05
HKR,, "DeviceControlReg2",	 0x10001, 36
HKR,, "MaskBaudsLowToHigh",	 0x10001, 1
HKR,, "WriteDCR",		 0x10001, 1
HKR,, "ControlReg",		 0x10001, 0
HKR,, "RS485EN",		 0x10001, 0
HKR,, "IrDA",			 0x10001, 0
HKR,, "DLL"	,		 0x10001, 1
HKR,, "DLM"	,		 0x10001, 0
HKR,, "CLK_SEL_REG",		 0x10001, 4
HKR,, "RxSAMP",			 0x10001, 7
HKR,, "ZLP",			 0x10001, 255
HKR,, "ZLP_ENABLE",		 0x10001, 1
HKR,, "THR1",			 0x10001, 0
HKR,, "THR2",			 0x10001, 1
HKR,, "ICG",			 0x10001, 0


HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,EnumPropPages32,,"Mos24SerPropPage.dll,MosUSBSerPropPageProvider"
HKR,,PortSubClass,1,01

[ComPort.NT.HW]
AddReg=ComPort.NT.HW.AddReg

[ComPort.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"

[ComPort.NT.Services]
AddService=mos24ser,2,ComPort.NT.AddService
AddService= Serenum,,Serenum_Service_Inst

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


; -------------- Serenum Driver install section
[Serenum_Service_Inst]
DisplayName    = %Serenum.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\serenum.sys
LoadOrderGroup = PNP Filter

;----------------------------------------------
; User readable strings
;----------------------------------------------
[Strings]
ProviderName="Maerzhaeuser Wetzlar GmbH & Co. KG"
MfgName="Maerzhaeuser Wetzlar GmbH & Co. KG"
DiskName="CD Tango"
MosQuadComp.DevName="Tango USB-Port"
mos24ser.ServiceName="Tango USB-Port Driver"
PortsClassName = "Ports (COM)"
MosQuadPort.ComPortName="Tango USB-Port"
Serenum.SVCDESC = "Serenum Filter Driver"
Enumerator = "Serial Enumerator"

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