; lava650.INF
;
; WinXP(x64),Win2000 Installation file (.inf) for the LavaPort 650 PCI devices.
;
; (c) Copyright 2000 Lava Computer MFG Inc.
;

[Version]
Signature="$CHICAGO$"
Class=Ports
ClassGuid= {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%Mfg%

DriverVer=11:07 AM 10/01/04,8.00.00.1
;DriverVer=11:07 AM 6/12/00,5.00.2183.1

; Install class "Ports"
;----------------------------------------------------------
[ClassInstall]
AddReg=PortsClass.AddReg

[Manufacturer]
%Mfg%=Models
%Mfg%=Models,NTamd64

[DestinationDirs]
DefaultDestDir=12
DriversDestDir=11
DriverFile.Copy=12
PropPage.Copy=11
DriverFilex64.Copy=12
PropPagex64.Copy=11

[PortsClass.AddReg]
HKR,,,,%PortsClassName%

[ClassInstall32.NT]
AddReg=PortsClass.NT.AddReg

[PortsClass.NT.AddReg]
HKR,,,,%PortsClassName%
HKR,,Icon,,"-23"
HKR,,Installer32,,"MsPorts.Dll,PortsClassInstaller"

[Models]
%SSerial650PCI.DeviceDesc%=ComPort650,PCI\VEN_1407&DEV_0600
%DSerial650PCI_A.DeviceDesc%=ComPort650,MF\DPORT650PCI_A    ; DSerial650-PCI A
%DSerial650PCI_B.DeviceDesc%=ComPort650,MF\DPORT650PCI_B    ; DSerial650-PCI B
%Quad650PCI_A.DeviceDesc%=ComPort654,MF\QD650PCI_A    ; Quad 650 PCI A
%Quad650PCI_B.DeviceDesc%=ComPort654,MF\QD650PCI_B    ; Quad 650 PCI B
%Quad650PCI_C.DeviceDesc%=ComPort654,MF\QD650PCI_C    ; Quad 650 PCI C
%Quad650PCI_D.DeviceDesc%=ComPort654,MF\QD650PCI_D    ; Quad 650 PCI D
;%Quad950PCI_A.DeviceDesc%=ComPort954,MF\QD950PCI_A    ; Quad 950 PCI A
;%Quad950PCI_B.DeviceDesc%=ComPort954,MF\QD950PCI_B    ; Quad 950 PCI B
;%Quad950PCI_C.DeviceDesc%=ComPort954,MF\QD950PCI_C    ; Quad 950 PCI C
;%Quad950PCI_D.DeviceDesc%=ComPort954,MF\QD950PCI_D    ; Quad 950 PCI D
;%OCT950PCI_Port1.DeviceDesc%=ComPort954,MF\OS950PCI_1
;%OCT950PCI_Port2.DeviceDesc%=ComPort954,MF\OS950PCI_2
;%OCT950PCI_Port3.DeviceDesc%=ComPort954,MF\OS950PCI_3
;%OCT950PCI_Port4.DeviceDesc%=ComPort954,MF\OS950PCI_4
;%OCT950PCI_Port5.DeviceDesc%=ComPort954,MF\OS950PCI_5
;%OCT950PCI_Port6.DeviceDesc%=ComPort954,MF\OS950PCI_6
;%OCT950PCI_Port7.DeviceDesc%=ComPort954,MF\OS950PCI_7
;%OCT950PCI_Port8.DeviceDesc%=ComPort954,MF\OS950PCI_8

[Models.NTamd64]
%SSerial650PCI.DeviceDesc%=ComPort650x64,PCI\VEN_1407&DEV_0600
%DSerial650PCI_A.DeviceDesc%=ComPort650x64,MF\DPORT650PCI_A    ; DSerial650-PCI A
%DSerial650PCI_B.DeviceDesc%=ComPort650x64,MF\DPORT650PCI_B    ; DSerial650-PCI B
%Quad650PCI_A.DeviceDesc%=ComPort654x64,MF\QD650PCI_A    ; Quad 650 PCI A
%Quad650PCI_B.DeviceDesc%=ComPort654x64,MF\QD650PCI_B    ; Quad 650 PCI B
%Quad650PCI_C.DeviceDesc%=ComPort654x64,MF\QD650PCI_C    ; Quad 650 PCI C
%Quad650PCI_D.DeviceDesc%=ComPort654x64,MF\QD650PCI_D    ; Quad 650 PCI D


[ControlFlags]
ExcludeFromSelect=*

;---------------Serial 650 Port Section
[ComPort650.NT]
CopyFiles=DriverFile.Copy,PropPage.Copy
AddReg=ComPort650.AddReg,ComPort650.NT.AddReg

[ComPort650.Det]
AddReg=ComPort650.AddReg,DevMap.AddReg

[ComPort650.AddReg]
HKR,,PortSubClass,1,01

[ComPort650.NT.AddReg]
HKR,,EnumPropPages32,,"lavaport.dll,SerialPortPropPageProvider"
; Uncomment the following line if you want to override the advanced dialog for
; your device.  See msports.h for protoype of OverrideAdvancedFunction
; HKR,,EnumAdvancedDialog,,"yourdll.dll,OverrideAdvancedFunction"

[ComPort650x64.NT]
CopyFiles=DriverFilex64.Copy,PropPagex64.Copy
AddReg=ComPort650x64.AddReg,ComPort650x64.NT.AddReg

[ComPort650x64.AddReg]
HKR,,PortSubClass,1,01

[ComPort650x64.Det]
AddReg=ComPort650x64.AddReg,DevMap.AddReg

[ComPort650x64.NT.AddReg]
HKR,,EnumPropPages32,,"lavaport64.dll,SerialPortPropPageProvider"
; Uncomment the following line if you want to override the advanced dialog for
; your device.  See msports.h for protoype of OverrideAdvancedFunction
; HKR,,EnumAdvancedDialog,,"yourdll.dll,OverrideAdvancedFunction"

;---------------Serial 954 Port Section
[ComPort954.NT]
CopyFiles=DriverFile.Copy,PropPage.Copy
AddReg=ComPort650.AddReg,ComPort650.NT.AddReg

[ComPort954.Det]
AddReg=ComPort650.AddReg,DevMap.AddReg

;---------------Serial 654 Port Section
[ComPort654.NT]
CopyFiles=DriverFile.Copy,PropPage.Copy
AddReg=ComPort650.AddReg,ComPort650.NT.AddReg

[ComPort654.Det]
AddReg=ComPort650.AddReg,DevMap.AddReg

[ComPort654x64.NT]
CopyFiles=DriverFilex64.Copy,PropPagex64.Copy
AddReg=ComPort650x64.AddReg,ComPort650x64.NT.AddReg

[ComPort654x64.Det]
AddReg=ComPort650x64.AddReg,DevMap.AddReg

[ComPort650.NT.Services]
; ********************************************************
AddService = LPserial, 0x00000002, LPSerial_Service_Inst, LPSerial_EventLog_Inst
AddService = Serenum,,LPSerenum_Service_Inst

[ComPort654.NT.Services]
; ********************************************************
AddService = LPserial, 0x00000002, LPSerial_Service_Inst, LPSerial_EventLog_Inst
AddService = Serenum,,LPSerenum_Service_Inst

[ComPort650x64.NT.Services]
; ********************************************************
AddService = LPserial, 0x00000002, LPSerialx64_Service_Inst, LPSerialx64_EventLog_Inst
AddService = Serenum,,LPSerenum_Service_Inst

[ComPort654x64.NT.Services]
; ********************************************************
AddService = LPserial, 0x00000002, LPSerialx64_Service_Inst, LPSerialx64_EventLog_Inst
AddService = Serenum,,LPSerenum_Service_Inst

[ComPort954.NT.Services]
; ********************************************************
AddService = LPserial, 0x00000002, LPSerial_Service_Inst, LPSerial_EventLog_Inst
AddService = Serenum,,LPSerenum_Service_Inst

; -------------- Serial Port Driver install sections
[LPSerial_Service_Inst]
DisplayName    = %LPserial.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 2               ; SERVICE_SYSTEM_START (this driver may do detection)
ErrorControl   = 0               ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\lpserial.sys
LoadOrderGroup = Extended base

; -------------- Serial Port Driver install sections
[LPSerialx64_Service_Inst]
DisplayName    = %LPserial.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 2               ; SERVICE_SYSTEM_START (this driver may do detection)
ErrorControl   = 0               ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\lpserial64.sys
LoadOrderGroup = Extended base

; -------------- Serenum Driver install section
[LPSerenum_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

[LPSerial_EventLog_Inst]
AddReg = LPSerial_EventLog_AddReg

[LPSerial_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\lpserial.sys"
HKR,,TypesSupported,0x00010001,7

[LPSerialx64_EventLog_Inst]
AddReg = LPSerialx64_EventLog_AddReg

[LPSerialx64_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\lpserial64.sys"
HKR,,TypesSupported,0x00010001,7

; ********************************************************

[ComPort650.NT.HW]
AddReg=ComPortHW.NT.AddReg,ComPortFiFo.AddReg

[ComPort650x64.NT.HW]
AddReg=ComPortHW.NT.AddReg,ComPortFiFo.AddReg

[ComPortHW.NT.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"
HKR,,ClockRate,0x00010001,7372800
HKR,,TxFIFO,0x00010001,0x00
HKR,,ForceFifoEnable,0x00010001,1
HKR,,"SizeFIFO",0x00010001,32
HKR,,"TxBLOCK",0x00010001,16
HKR,,"RxFIFO",0x00010001,0x80
HKR,,"XonChar",0x00010001,0x11
HKR,,"XoffChar",0x00010001,0x13
HKR,,"DSRControl",0x00010001,0
HKR,,"FlowControl",0x00010001,0
HKR,,"TypeUART",0x00010001,0
HKR,,"BaudRate",0x00010001,9600
HKR,,"DataBits",0x00010001,0x03
HKR,,"Parity",0x00010001,0x00
HKR,,"StopBits",0x00010001,0x00

[ComPortFiFo.AddReg]
;HKR,,RxFIFO,0x00010001,8
;HKR,,TxFIFO,0x00010001,1

[ComPort654.NT.HW]
AddReg=ComPort654HW.NT.AddReg,ComPortFiFo.AddReg

[ComPort654x64.NT.HW]
AddReg=ComPort654HW.NT.AddReg,ComPortFiFo.AddReg

[ComPort654HW.NT.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"
HKR,,ClockRate,0x00010001,7372800
HKR,,TxFIFO,0x00010001,0x20
HKR,,ForceFifoEnable,0x00010001,1
HKR,,"SizeFIFO",0x00010001,64
HKR,,"TxBLOCK",0x00010001,32
HKR,,"RxFIFO",0x00010001,0x80
HKR,,"XonChar",0x00010001,0x11
HKR,,"XoffChar",0x00010001,0x13
HKR,,"DSRControl",0x00010001,0
HKR,,"FlowControl",0x00010001,0
HKR,,"TypeUART",0x00010001,1
HKR,,"BaudRate",0x00010001,9600
HKR,,"DataBits",0x00010001,0x03
HKR,,"Parity",0x00010001,0x00
HKR,,"StopBits",0x00010001,0x00

[ComPort954.NT.HW]
AddReg=ComPort954HW.NT.AddReg,ComPortFiFo.AddReg

[ComPort954HW.NT.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"
HKR,,ClockRate,0x00010001,7372800
HKR,,TxFIFO,0x00010001,0x20
HKR,,ForceFifoEnable,0x00010001,1
HKR,,"SizeFIFO",0x00010001,128
HKR,,"TxBLOCK",0x00010001,64
HKR,,"RxFIFO",0x00010001,0x80
HKR,,"XonChar",0x00010001,0x11
HKR,,"XoffChar",0x00010001,0x13
HKR,,"DSRControl",0x00010001,0
HKR,,"FlowControl",0x00010001,0
HKR,,"TypeUART",0x00010001,2
HKR,,"BaudRate",0x00010001,9600
HKR,,"DataBits",0x00010001,0x03
HKR,,"Parity",0x00010001,0x00
HKR,,"StopBits",0x00010001,0x00

[DevMap.AddReg]
HKLM,hardware\devicemap\serialcomm,COM1,,COM1
;HKLM,hardware\devicemap\serialcomm,COM2,,COM2

;-------------- Service installation
[SourceDisksNames]
1=%ID1%,,

[DriverFile.Copy]
lpserial.sys

[PropPage.Copy]
lavaport.dll

[DriverFilex64.Copy]
lpserial64.sys

[PropPagex64.Copy]
lavaport64.dll

[SourceDisksFiles]
lpserial.sys=1
lavaport.dll=1
lpserial64.sys=1
lavaport64.dll=1

;  Strings Section
;----------------------------------------------------------
[Strings]
LPserial.SVCDESC   = "Sserial Lava port driver"
Serenum.SVCDESC = "Serenum Filter Driver"
ID1="Lava Installation & Utilities Diskette"
PortsClassName="Ports (COM & LPT)"
Mfg="Lava Computer MFG Inc."
SSerial650PCI.DeviceDesc="Lava Port SSerial 650 PCI"
DSerial650PCI_A.DeviceDesc="Lava Port DSerial 650 PCI Port A"
DSerial650PCI_B.DeviceDesc="Lava Port DSerial 650 PCI Port B"
Quad650PCI_A.DeviceDesc="Lava Quad 654 PCI Port A"
Quad650PCI_B.DeviceDesc="Lava Quad 654 PCI Port B"
Quad650PCI_C.DeviceDesc="Lava Quad 654 PCI Port C"
Quad650PCI_D.DeviceDesc="Lava Quad 654 PCI Port D"
Quad950PCI_A.DeviceDesc="Lava Quad 954 PCI Port A"
Quad950PCI_B.DeviceDesc="Lava Quad 954 PCI Port B"
Quad950PCI_C.DeviceDesc="Lava Quad 954 PCI Port C"
Quad950PCI_D.DeviceDesc="Lava Quad 954 PCI Port D"
OCT950PCI_Port1.DeviceDesc="Lava Octopus950 PCI P1"
OCT950PCI_Port2.DeviceDesc="Lava Octopus950 PCI P2"
OCT950PCI_Port3.DeviceDesc="Lava Octopus950 PCI P3"
OCT950PCI_Port4.DeviceDesc="Lava Octopus950 PCI P4"
OCT950PCI_Port5.DeviceDesc="Lava Octopus950 PCI P5"
OCT950PCI_Port6.DeviceDesc="Lava Octopus950 PCI P6"
OCT950PCI_Port7.DeviceDesc="Lava Octopus950 PCI P7"
OCT950PCI_Port8.DeviceDesc="Lava Octopus950 PCI P8"


;; Driver start code
SERVICE_BOOT_START     = 0 ; Driver started by the operating system loader.
SERVICE_SYSTEM_START   = 1 ; Driver started during OS initialization.
SERVICE_AUTO_START     = 2 ; Driver started by the Service Control Manager during system startup.
SERVICE_DEMAND_START   = 3 ; Driver started on demand by the Service Control Manager.
SERVICE_DISABLED       = 4 ; Indicates a driver that cannot be started.
