;
; Module Name : mdiagusb.inf
;
; Description : This file contains a Diag device
;
; Language : English (32bit and 64bit)
;
; Copyright (c) ASR International Ltd.


[Version]
Signature="$Windows NT$"
Class       = USBDevice
ClassGuid   = {88BAE032-5A81-49f0-BC3D-A4FF138216D6}
Provider=%ProviderName%
DriverVer=08/10/2021,2.0.2.0
PnpLockdown = 1
CatalogFile.NTx86 = MDiagUSB\mdiagusb_i386.cat
CatalogFile.NTamd64 = MDiagUSB\mdiagusb_amd64.cat


;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%=Marvell, NTx86, NTamd64


;------------------------------------NTx86------------------------------------
[Marvell.NTx86]
%DiagUSBOnComposite% = icatusb_DDI, USB\VID_1bc7&PID_7010&MI_02
%DiagUSBOnComposite% = icatusb_DDI, USB\VID_1bc7&PID_7011&MI_02
%DiagUSBOnComposite% = icatusb_DDI, USB\VID_1bc7&PID_701A&MI_02
%DiagUSBOnComposite% = icatusb_DDI, USB\VID_1bc7&PID_701B&MI_02

;------------------------------------NTamd64------------------------------------
[Marvell.NTamd64]
%DiagUSBOnComposite% = icatusb_DDI, USB\VID_1bc7&PID_7010&MI_02
%DiagUSBOnComposite% = icatusb_DDI, USB\VID_1bc7&PID_7011&MI_02
%DiagUSBOnComposite% = icatusb_DDI, USB\VID_1bc7&PID_701A&MI_02
%DiagUSBOnComposite% = icatusb_DDI, USB\VID_1bc7&PID_701B&MI_02

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------

[SourceDisksNames.x86]
1 = %InsDisk%,Disk1,,\MDiagUSB\i386

[SourceDisksNames.amd64]
1 = %InsDisk%,Disk1,,\MDiagUSB\amd64

[SourceDisksFiles]
mdiagusb.sys = 1,,

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
Files_Driver = 10,System32\Drivers

; --------- Windows NT -----------------

[icatusb_DDI.NT]
CopyFiles=Files_Driver
AddReg=icatusb_NT_AddReg

[icatusb_DDI.NT.Services]
Addservice = mdiagusb, 0x00000002, CommonAddService

[icatusb_DDI.NT.HW]
AddReg=icatusb.ClassGuidAddReg

[icatusb.ClassGuidAddReg]
;0C6DE300-4B24-4110-969C-C9AA785F9C53
HKR,,"Guid",%REG_BINARY%, 00,E3,6D,0C,24,4B,10,41,96,9C,C9,AA,78,5F,9C,53
HKR,,"Config",%REG_DWORD%, 1
HKR,,"Version",%REG_DWORD%, 1
HKR,,FriendlyName,%REG_SZ%,%DiagUSBOnComposite%

[icatusb_NT_AddReg]


; --------- AddService (common) -------------

[CommonAddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\mdiagusb.sys


; --------- Files (common) -------------

[Files_Driver]
mdiagusb.sys

;--------- Strings Section ---------------------------------------------------

[Strings]
;
; Non-Localizable Strings
;

REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001

MfgName            = "Telit"
ProviderName       = "Telit"
SvcDesc            = "USB Diag driver"
InsDisk            = "Telit USB Diag Installation Disk"
; Diag device name on single CP DKB or WB(TTC) Diag device name On DSDT DKB
DiagUSBOnComposite = "Telit Diag USB Device"
