;;CAN200.INF
;--------- Version Section ---------------------------------------------------
[Version]
Signature="$Windows 95$"
Provider=%ProviderName%
Class=CAN-200
ClassGUID={12A2E7CE-E245-48a4-BB70-8A083EAC9D86}
DriverVer=06/29/2005,0.0.1.04

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
;[SourceDisksNames]
;1 = "ELCUS Install Disk",Disk1,,

;[SourceDisksFiles]
;can200.sys = 1,,

;--------- ClassInstall/ClassInstall32 Section -------------------------------
; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"0"

;--------- DestinationDirs Section -------------------------------------------
[DestinationDirs]
CAN200_Files_Driver = 10,System32\Drivers

;--------- Manufacturer and Models Sections ----------------------------------
[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%CAN-PC%=CAN-PC.Install,*CAN0001
%CAN-104%=CAN-104.Install,*CAN0002
%CAN-MP%=CAN-MP.Install,*CAN0003
%CAN-PCI%=CAN-PCI.Install, PCI\VEN_10b5&DEV_9030&SUBSYS_0301e1c5&REV_00


;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------
[CAN-PC.Install]
CopyFiles=CAN200_Files_Driver
AddReg=CAN200_9X_AddReg
LogConfig=CAN-PC_1

[CAN-104.Install]
CopyFiles=CAN200_Files_Driver
AddReg=CAN200_9X_AddReg
LogConfig=CAN-104_1

[CAN-MP.Install]
CopyFiles=CAN200_Files_Driver
AddReg=CAN200_9X_AddReg
LogConfig=CAN-MP_1

[CAN-PCI.Install]
CopyFiles=CAN200_Files_Driver
AddReg=CAN200_9X_AddReg

[CAN200_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,can200.sys
;HKR, "Parameters", "BreakOnEntry", 0x00010001, 0
HKR, "Parameters", "DeviceBus", 0x00010001, 0

; --------- Windows NT -----------------
[CAN-PC.Install.NT]
CopyFiles=CAN200_Files_Driver
AddReg=CAN200_NT_AddReg
LogConfig=CAN-PC_1

[CAN-104.Install.NT]
CopyFiles=CAN200_Files_Driver
AddReg=CAN200_NT_AddReg
LogConfig=CAN-104_1

[CAN-MP.Install.NT]
CopyFiles=CAN200_Files_Driver
AddReg=CAN200_NT_AddReg
LogConfig=CAN-MP_1

[CAN-PCI.Install.NT]
CopyFiles=CAN200_Files_Driver
AddReg=CAN200_NT_AddReg

[CAN-PC.Install.NT.Services]
Addservice = can200pc, 0x00000002, CAN200_AddService

[CAN-104.Install.NT.Services]
Addservice = can200pc, 0x00000002, CAN200_AddService

[CAN-MP.Install.NT.Services]
Addservice = can200pc, 0x00000002, CAN200_AddService

[CAN-PCI.Install.NT.Services]
Addservice = can200pc, 0x00000002, CAN200_AddService

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

[CAN200_NT_AddReg]
;HKLM, "System\CurrentControlSet\Services\CAN200PC\Parameters",\
;        "BreakOnEntry", 0x00010001, 0
HKLM, "System\CurrentControlSet\Services\CAN200PC\Parameters",\
        "DeviceBus", 0x00010001, 0

; ------ Logical Config (common) -------
[CAN-PC_1]
ConfigPriority=HARDRECONFIG
IOConfig=100-11F(3ff::),120-13F(3ff::),140-15F(3ff::),160-17F(3ff::),180-19F(3ff::),1A0-1BF(3ff::),1C0-1DF(3ff::),1E0-1FF(3ff::)
IOConfig=120-13F(3ff::),140-15F(3ff::),160-17F(3ff::),180-19F(3ff::),1A0-1BF(3ff::),1C0-1DF(3ff::),1E0-1FF(3ff::),100-11F(3ff::)
IRQConfig=3,4,5,6,7,9

[CAN-104_1]
ConfigPriority=HARDRECONFIG
IOConfig=100-11F(3ff::),120-13F(3ff::),140-15F(3ff::),160-17F(3ff::),180-19F(3ff::),1A0-1BF(3ff::),1C0-1DF(3ff::),1E0-1FF(3ff::)
IOConfig=120-13F(3ff::),140-15F(3ff::),160-17F(3ff::),180-19F(3ff::),1A0-1BF(3ff::),1C0-1DF(3ff::),1E0-1FF(3ff::),100-11F(3ff::)
IRQConfig=3,4,5,6,7,9,10,11,12,14,15

[CAN-MP_1]
ConfigPriority=HARDRECONFIG
IOConfig=100-11F(3ff::),120-13F(3ff::),140-15F(3ff::),160-17F(3ff::),180-19F(3ff::),1A0-1BF(3ff::),1C0-1DF(3ff::),1E0-1FF(3ff::)
IOConfig=120-13F(3ff::),140-15F(3ff::),160-17F(3ff::),180-19F(3ff::),1A0-1BF(3ff::),1C0-1DF(3ff::),1E0-1FF(3ff::),100-11F(3ff::)
IRQConfig=3,4,5,6,7,9

; --------- Files (common) -------------
[CAN200_Files_Driver]
can200.sys

;--------- Strings Section ---------------------------------------------------
[Strings]
ProviderName="ELCUS ELECTRONIC CO."
MfgName="ELCUS ELECTRONIC CO."
CAN-PC="ELCUS CAN-200PC Dual CAN Controller"
CAN-104="ELCUS CAN-200PC104 Dual CAN Controller"
CAN-MP="ELCUS CAN-200MP Dual CAN Controller"
CAN-PCI="ELCUS CAN-200PCI Dual CAN Controller"
DeviceClassName="CAN-200"
SvcDesc="CAN200PC"
