; Portions Copyright (c) 2007 ITE Tech. Inc.

; This INF is designed for installation as part of the NT CD.  To change it to
; floppy based install, comment out any lines ending with "; CD only"
; and uncomment all lines ending with "; floppy only"

[Version]
Signature   = "$Windows NT$"
Provider    = %ITE%
Class       = Infrared
ClassGUID   = {6bdd1fc5-810f-11d0-BEC7-08002BE2092F}
DriverVer   = 05/01/2009,1.02.0000.0
CatalogFile = ITEirda.cat

[SourceDisksNames]		; floppy only
1 = %MediaDescription%,,			; floppy only

[SourceDisksFiles]		; floppy only
ITEirda.sys = 1			; floppy only

[DestinationDirs]
;
;  Specify destination directories for groups of files.
;  '12' indicates the Windows drivers directory.
;  '17' indicates the Windows Inf directory.
;
DefaultDestDir=12

[ITE_CopySys]
;
;  This section lists the source and destination names of files that need
;  to be copied to the user's drive.  The destination directory is given
;  in the [DestinationDirs] section above.
;
ITEirda.sys,,,2 ; Do not Skip File

[ControlFlags]
ExcludeFromSelect= *ITE8706


[Manufacturer]
;
;  Specify a name and devices section for each supported manufacturer that
;  makes products of this class.
;
%ITE% = ITE_Devices, Ntamd64, Ntia64

[ITE_Devices]
;
;  This section describes the devices of this class made by a particular
;  manufacturer.
;  The first descriptor, delimited by '%', is a symbolic string whose actual
;  value is given in the [Strings] section below.
;
%ITE8706.DeviceDesc% = ITE8706_ndi,*ITE8706

[ITE_Devices.Ntamd64]
;
;  This section describes the devices of this class made by a particular
;  manufacturer.
;  The first descriptor, delimited by '%', is a symbolic string whose actual
;  value is given in the [Strings] section below.
;
%ITE8706.DeviceDesc% = ITE8706_ndi,*ITE8706

[ITE_Devices.Ntia64]
;
;  This section describes the devices of this class made by a particular
;  manufacturer.
;  The first descriptor, delimited by '%', is a symbolic string whose actual
;  value is given in the [Strings] section below.
;
%ITE8706.DeviceDesc% = ITE8706_ndi,*ITE8706

[ITE8706_ndi]
DelReg      = ITE_DelReg
AddReg      = ITE_AddReg,*ITE8706_AddReg,Dongle_Addreg,Speed_Addreg,Help_AddReg
BusType     = 14	;PNP
Characteristics = 0x4  ; ITE_PHYSICAL
CopyFiles   = ITE_CopySys
;LogConfig=DriverConfig

;[DriverConfig]
;ConfigPriority=HARDRECONFIG
;IOConfig=300-315(3ff::)
;IRQConfig=3,4,5,7,9,10,11
;DMAConfig=0,1

[ITE8706_ndi.Services]
AddService= ITEIRDA, 2, ITEIRDA.AddService, common.EventLog

;[ITE8706_ndi.Coinstallers]
;DelReg=ITE_DelCoinstallers




[ITE_AddReg]
; Interfaces
HKR, Ndi,            Service,       0, "ITEIRDA"
HKR, NDI\Interfaces, DefUpper,      0, ndisirda
HKR, NDI\Interfaces, UpperRange,    0, ndisirda
HKR, Ndi\Interfaces, DefLower,      0, nolower
HKR, Ndi\Interfaces, LowerRange,    0, nolower
HKR, Ndi,            RequiredAll,   0, "MS_IrDA"

[*ITE8706_AddReg]
HKR,,BoardType,0,"3"
HKR,NDI\params\Dongle_A_Type,default,,"3"
HKR,NDI\params\MaxConnectRate,default,,"4000000"


[Dongle_Addreg]
;
; These entries allow the user to select the Configuration Register
; Base Address that the IR108 driver uses from network properties
; dialog box AFTER INSTALLATION (under the 'Advanced' options).
; The user's selection is recorded in the registry and then read out
; by the ITEirda.sys driver at boot time.
;

HKR,NDI\params\Dongle_A_Type,ParamDesc,,%Dongle_A%
HKR,NDI\params\Dongle_A_Type,flag,1,20,00,00,00
;HKR,NDI\params\Dongle_A_Type,default,,"5"
HKR,NDI\params\Dongle_A_Type,type,,enum
HKR,NDI\params\Dongle_A_Type\enum,"0",,%DongleType_0%
HKR,NDI\params\Dongle_A_Type\enum,"1",,%DongleType_1%
HKR,NDI\params\Dongle_A_Type\enum,"2",,%DongleType_2%
HKR,NDI\params\Dongle_A_Type\enum,"3",,%DongleType_3%
HKR,NDI\params\Dongle_A_Type\enum,"4",,%DongleType_4%
HKR,NDI\params\Dongle_A_Type\enum,"5",,%DongleType_5%
HKR,NDI\params\Dongle_A_Type\enum,"6",,%DongleType_6%
HKR,NDI\params\Dongle_A_Type\enum,"7",,%DongleType_7%
HKR,NDI\params\Dongle_A_Type\enum,"8",,%DongleType_8%
HKR,NDI\params\Dongle_A_Type\enum,"9",,%DongleType_9%
HKR,NDI\params\Dongle_A_Type\enum,"10",,%DongleType_10%
HKR,NDI\params\Dongle_A_Type\enum,"11",,%DongleType_11%

HKR,NDI\params\Dongle_B_Type,ParamDesc,,%Dongle_B%
HKR,NDI\params\Dongle_B_Type,flag,1,20,00,00,00
HKR,NDI\params\Dongle_B_Type,default,,"0"
HKR,NDI\params\Dongle_B_Type,type,,enum
HKR,NDI\params\Dongle_B_Type\enum,"0",,%DongleType_0%
HKR,NDI\params\Dongle_B_Type\enum,"1",,%DongleType_1%
HKR,NDI\params\Dongle_B_Type\enum,"2",,%DongleType_2%
HKR,NDI\params\Dongle_B_Type\enum,"3",,%DongleType_3%
HKR,NDI\params\Dongle_B_Type\enum,"4",,%DongleType_4%
HKR,NDI\params\Dongle_B_Type\enum,"5",,%DongleType_5%
HKR,NDI\params\Dongle_B_Type\enum,"6",,%DongleType_6%
HKR,NDI\params\Dongle_B_Type\enum,"7",,%DongleType_7%
HKR,NDI\params\Dongle_B_Type\enum,"8",,%DongleType_8%
HKR,NDI\params\Dongle_B_Type\enum,"9",,%DongleType_9%
HKR,NDI\params\Dongle_B_Type\enum,"10",,%DongleType_10%
HKR,NDI\params\Dongle_B_Type\enum,"11",,%DongleType_11%

[Speed_Addreg]
;
; These entries allow the user to select the Configuration Register
; Base Address that the IR108 driver uses from network properties
; dialog box AFTER INSTALLATION (under the 'Advanced' options).
; The user's selection is recorded in the registry and then read out
; by the ITEirda.sys driver at boot time.
;

HKR,NDI\params\MaxConnectRate,ParamDesc,,%MaxConnectRate%
HKR,NDI\params\MaxConnectRate,type,,enum
HKR,NDI\params\MaxConnectRate\enum,"4000000",,"4,000,000 bps"
HKR,NDI\params\MaxConnectRate\enum,"1152000",,"1,152,000 bps"
HKR,NDI\params\MaxConnectRate\enum,"115200",, "  115,200 bps"
HKR,NDI\params\MaxConnectRate\enum,"57600",,  "   57,600 bps"
HKR,NDI\params\MaxConnectRate\enum,"38400",,  "   38,400 bps"
HKR,NDI\params\MaxConnectRate\enum,"19200",,  "   19,200 bps"
HKR,NDI\params\MaxConnectRate\enum,"9600",,   "    9,600 bps"

[TurnAroundTime_Addreg]
; Turnaround time will be used by future version of the driver.
;
; These entries allow the user to select the Minimum Turn Around Time.
; The default value is 1000 microseconds (1 ms)
; The selection is given using under the 'Advanced' options
; The user's selection is recorded in the registry and then read out
; by the ITEirda.sys driver at boot time.
;
HKR,NDI\params\MinimumTurnAroundTime,ParamDesc,,%TurnaroundTime%
HKR,NDI\params\MinimumTurnAroundTime,flag,1,20,00,00,00
HKR,NDI\params\MinimumTurnAroundTime,type,,enum
HKR,NDI\params\MinimumTurnAroundTime,default,,"1000"    ; 1 ms
HKR,NDI\params\MinimumTurnAroundTime\enum,"10000",,"10 ms"
HKR,NDI\params\MinimumTurnAroundTime\enum,"5000",," 5 ms"
HKR,NDI\params\MinimumTurnAroundTime\enum,"1000",," 1 ms"
HKR,NDI\params\MinimumTurnAroundTime\enum,"500",," 0.5 ms"


[Help_Addreg]
HKR,NDI,HelpText,0,%IRMINI_HELP%

[ITE_DelReg]
HKR,,EnumPropPages32

;[ITE_DelCoinstallers]
;HKR,,CoInstallers32

[ITEIRDA.AddService]
DisplayName	    = %ITEIRDA.ServiceDesc%
ServiceType	    = 1 ; %SERVICE_KERNEL_DRIVER%
StartType	    = 3 ; %SERVICE_DEMAND_START%
ErrorControl	= 1 ; %SERVICE_ERROR_NORMAL%
ServiceBinary	= %12%\ITEirda.sys        ;12=drivers directory
LoadOrderGroup	= NDIS

[common.EventLog]
AddReg = common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7



[Strings]
;
;  This section defines symbolic string constants for use in the rest
;  of the .inf script.  You should create and use symbols for all
;  translatable strings in order to make localization easier.
;  Also, spaces within strings elsewhere in the script confuse infedit.exe;
;  so use symbolic constants for any multi-word strings.
;
MediaDescription = "Sample IrDA miniport install disk"

IRMINI_HELP="The IrDA infrared port.  It can be used to establish wireless serial and network links to other computers."
ITEIRDA.ServiceDesc="ITE Infrared Device Driver"
ITE8706.DeviceDesc="IrDA Fast Infrared Port"

V_CLASSNAME="Infrared adapters"

ITE="ITE Tech. Inc."

Dongle_A="Infrared Transceiver A"
Dongle_B="Infrared Transceiver B"

DongleType_0="SIR Transceiver"
DongleType_1="HP HSDL-1100/2100"
DongleType_2="HP HSDL-2300/3600"
DongleType_3="IBM 31T1100"
DongleType_4="Sharp RY5HD01/KD01"
DongleType_5="Sharp RY6FD11E"
DongleType_6="Vishay TFDS-6000"
DongleType_7="Vishay TFDS-6500"
DongleType_8="Siemens IRMS/T6400"
DongleType_9="TI TSLM1100"
DongleType_10="IBM SC-20H2987"
DongleType_11="Dell T-97"

MaxConnectRate="Maxiumum Connect Rate"
TurnaroundTime="Minimum Turn Around Time"

