;/*++
;
;Copyright (c) 2008-2010 Telecom Inc.
;
;Module Name:
;
;    WINMUX.INF
;
;Abstract:
;
;    INF file for installing toaster class with upper and lower filters and
;    toaster device driver with upper and lower filters.
;    Note: In order for the Upper and Lower filter entry for the class to be 
;          added to the registry, you must remove the existing Toaster class 
;	   key from the registry if you had previously installed Toaster class. 
;	   Otherwise the setup ignores AddReg section
;	   if it finds the toaster class guid in the registy.
;
;
;--*/


[Version]
Signature   = "$WINDOWS NT$"
Class       = Ports
CLASSGUID   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider    = %VENDOR%
CatalogFile = USB_WinMux_T.cat
DriverVer   = 01/12/2012, 1.0.0

; ==============================================================
; ================= Control Flags Sections =====================
; ==============================================================
[ControlFlags]
ExcludeFromSelect = *

; ================= Class section =====================

;*****************************************
; Toaster Device  Install Section
;*****************************************

[Manufacturer]
%VENDOR% = Standard, NTia64, NTamd64

[Standard]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%DeviceName.AT%    = DriverInstall, USB\VID_19D2&PID_FFDD&MI_04
%DeviceName.VOICE% = DriverInstall, USB\VID_19D2&PID_FFDD&MI_05
%DeviceName.LBS%   = DriverInstall, USB\VID_19D2&PID_FFDD&MI_06
%DeviceName.AT%    = DriverInstall, USB\VID_15EB&PID_0101&MI_04
%DeviceName.VOICE% = DriverInstall, USB\VID_15EB&PID_0101&MI_05
%DeviceName.LBS%   = DriverInstall, USB\VID_15EB&PID_0101&MI_06

[Standard.NTia64]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%DeviceName.AT%    = DriverInstall, USB\VID_19D2&PID_FFDD&MI_04
%DeviceName.VOICE% = DriverInstall, USB\VID_19D2&PID_FFDD&MI_05
%DeviceName.LBS%   = DriverInstall, USB\VID_19D2&PID_FFDD&MI_06
%DeviceName.AT%    = DriverInstall, USB\VID_15EB&PID_0101&MI_04
%DeviceName.VOICE% = DriverInstall, USB\VID_15EB&PID_0101&MI_05
%DeviceName.LBS%   = DriverInstall, USB\VID_15EB&PID_0101&MI_06

[Standard.NTamd64]
; DisplayName       		Section           DeviceId
; -----------       		-------           --------
%DeviceName.AT%    = DriverInstall, USB\VID_19D2&PID_FFDD&MI_04
%DeviceName.VOICE% = DriverInstall, USB\VID_19D2&PID_FFDD&MI_05
%DeviceName.LBS%   = DriverInstall, USB\VID_19D2&PID_FFDD&MI_06
%DeviceName.AT%    = DriverInstall, USB\VID_15EB&PID_0101&MI_04
%DeviceName.VOICE% = DriverInstall, USB\VID_15EB&PID_0101&MI_05
%DeviceName.LBS%   = DriverInstall, USB\VID_15EB&PID_0101&MI_06

[DriverInstall.NT]
CopyFiles = DriverInstall.NT.Copy

[DriverInstall.NT.HW]
AddReg = DriverInstall.NT.HW.AddReg
AddReg = All, USB

[DriverInstall.NT.Copy]
USB_WinMux_T.sys

[DriverInstall.NT.HW.AddReg]

[USB]
HKR ,, PortSubClass, 1, 01
HKR ,, EnumPropPages32,, "MsPorts.dll, SerialPortPropPageProvider"
HKR ,, ViaUsbMUXConfig, 0x00010001, 0x00000001				;overflow continue enable

[All]
HKR ,, NTMPDriver ,, USB_WinMux_T.sys

;-------------- Service installation
[DriverInstall.NT.Services]
AddService = USB_WinMux_T, 0x00000002, DriverService

; -------------- Toaster Driver install sections
[DriverService]
DisplayName    = %SERVICENAME%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\USB_WinMux_T.sys

[DestinationDirs]
DefaultDestDir = 12

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

[SourceDisksFiles]
USB_WinMux_T.sys = 1,,

[Strings]
VENDOR				= "ZTE"
DEVICENAME.AT       = "ZTE Service Port FFDD"
DEVICENAME.VOICE    = "ZTE Voice Port FFDD"
DEVICENAME.LBS      = "Telecom LBS Port"   
SERVICENAME			= "EVDO Telecom USB MUX Serial Port"
SOURCE_DISKS_NAMES  = "Telecom\\USB Drivers\\USB_WinMux_T"