; lavaosp.INF
;
; Win2000,win98 and Win95 Installation file (.inf) for the Generic Parallel 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 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
WindowsDir=10

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

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

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

[Models]
%SPPARALLELPCI.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_0511
%SPSSerial550PCI.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0510
%SPPARALLELPCIv3.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_9102
%SPSSerial550PCIv3.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_1102
%PARALLELPCI.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_8000
%PIOPCI.DeviceDesc%=PIOPort,PCI\VEN_1407&DEV_0400
%DPARALLELPCI_PortA.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_8002
%DPARALLELPCI_PortB.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_8003
%SSerial550PCI.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0500
%SS_422_550PCI.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0520
%DSASIC_PORTA.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0110
%DSASIC_PORTB.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0111
%DUAL550PCI_PortA.DeviceDesc%=ComPort550,MF\DS550PCI_A
%DUAL550PCI_PortB.DeviceDesc%=ComPort550,MF\DS550PCI_B
%QUATTRO550PCI_PortA.DeviceDesc%=ComPort550Q,MF\QS550PCI_A
%QUATTRO550PCI_PortB.DeviceDesc%=ComPort550Q,MF\QS550PCI_B
%QUATTRO550PCI_PortC.DeviceDesc%=ComPort550Q,MF\QS550PCI_C
%QUATTRO550PCI_PortD.DeviceDesc%=ComPort550Q,MF\QS550PCI_D
%OCT550PCI_Port1.DeviceDesc%=ComPort550,MF\OS550PCI_1
%OCT550PCI_Port2.DeviceDesc%=ComPort550,MF\OS550PCI_2
%OCT550PCI_Port3.DeviceDesc%=ComPort550,MF\OS550PCI_3
%OCT550PCI_Port4.DeviceDesc%=ComPort550,MF\OS550PCI_4
%OCT550PCI_Port5.DeviceDesc%=ComPort550,MF\OS550PCI_5
%OCT550PCI_Port6.DeviceDesc%=ComPort550,MF\OS550PCI_6
%OCT550PCI_Port7.DeviceDesc%=ComPort550,MF\OS550PCI_7
%OCT550PCI_Port8.DeviceDesc%=ComPort550,MF\OS550PCI_8

[Models.NTamd64]
%SPPARALLELPCI.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_0511
%SPSSerial550PCI.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0510
%SPPARALLELPCIv3.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_9102
%SPSSerial550PCIv3.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_1102
%PARALLELPCI.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_8000
%PIOPCI.DeviceDesc%=PIOPort,PCI\VEN_1407&DEV_0400
%DPARALLELPCI_PortA.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_8002
%DPARALLELPCI_PortB.DeviceDesc%=ParallelPort,PCI\VEN_1407&DEV_8003
%SSerial550PCI.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0500
%SS_422_550PCI.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0520
%DSASIC_PORTA.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0110
%DSASIC_PORTB.DeviceDesc%=ComPort550,PCI\VEN_1407&DEV_0111
%DUAL550PCI_PortA.DeviceDesc%=ComPort550,MF\DS550PCI_A
%DUAL550PCI_PortB.DeviceDesc%=ComPort550,MF\DS550PCI_B
%QUATTRO550PCI_PortA.DeviceDesc%=ComPort550,MF\QS550PCI_A
%QUATTRO550PCI_PortB.DeviceDesc%=ComPort550,MF\QS550PCI_B
%QUATTRO550PCI_PortC.DeviceDesc%=ComPort550,MF\QS550PCI_C
%QUATTRO550PCI_PortD.DeviceDesc%=ComPort550,MF\QS550PCI_D
%OCT550PCI_Port1.DeviceDesc%=ComPort550,MF\OS550PCI_1
%OCT550PCI_Port2.DeviceDesc%=ComPort550,MF\OS550PCI_2
%OCT550PCI_Port3.DeviceDesc%=ComPort550,MF\OS550PCI_3
%OCT550PCI_Port4.DeviceDesc%=ComPort550,MF\OS550PCI_4
%OCT550PCI_Port5.DeviceDesc%=ComPort550,MF\OS550PCI_5
%OCT550PCI_Port6.DeviceDesc%=ComPort550,MF\OS550PCI_6
%OCT550PCI_Port7.DeviceDesc%=ComPort550,MF\OS550PCI_7
%OCT550PCI_Port8.DeviceDesc%=ComPort550,MF\OS550PCI_8

[ControlFlags]
ExcludeFromSelect=MF\OS550PCI_1,MF\OS550PCI_2,MF\OS550PCI_3,MF\OS550PCI_4
ExcludeFromSelect=MF\OS550PCI_5,MF\OS550PCI_6,MF\OS550PCI_7,MF\OS550PCI_8
ExcludeFromSelect=MF\DS550PCI_A,MF\DS550PCI_B
ExcludeFromSelect=MF\QS550PCI_A,MF\QS550PCI_B
ExcludeFromSelect=MF\QS550PCI_C,MF\QS550PCI_D
ExcludeFromSelect=PCI\VEN_1407&DEV_0110,PCI\VEN_1407&DEV_0111
ExcludeFromSelect=PCI\VEN_1407&DEV_0510,PCI\VEN_1407&DEV_0511
ExcludeFromSelect=PCI\VEN_1407&DEV_0400
ExcludeFromSelect=PCI\VEN_1407&DEV_8000
ExcludeFromSelect=PCI\VEN_1407&DEV_8002,PCI\VEN_1407&DEV_8003

; LPT sections
;----------------------------------------------------------
[ParallelPort]
AddReg=ParallelPort.AddReg,ParallelPort.W95.AddReg
LogConfig=lca
Reboot

[ParallelPort.NT]
AddReg=ParallelPort.AddReg,ParallelPort.NT.AddReg

[ParallelPort.Det]
AddReg=ParallelPort.AddReg

[ParallelPort.AddReg]
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,00

[ParallelPort.W95.AddReg]
HKR,,DevLoader,0,*vcomm
HKR,,Enumerator,0,lptenum.vxd
HKR,,PortDriver,0,lpt.vxd
HKR,,Contention,0,*vpd


[ParallelPort.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,ParallelPortPropPageProvider"

;;;;;;;;;;;;;;;;;;;;;; PIO Port

[PIOPort]
LogConfig=lcp
Reboot

[PIOPort.NT]
AddReg=PIOPort.AddReg,
;PIOPort.NT.AddReg
LogConfig=lcp

[PIOPort.AddReg]
HKR,,PortSubClass,1,00

;[PIOPort.NT.AddReg]
;HKR,,EnumPropPages32,,"MsPorts.dll,ParallelPortPropPageProvider"

;---------------Serial Port Section
[ComPort550]
CopyFiles=WindowsDir
AddReg=ComPort550.AddReg,ComPort550.W95.AddReg
LogConfig=lca

[ComPortO550]
CopyFiles=WindowsDir
AddReg=ComPort550.AddReg,ComPort550.W95.AddReg
LogConfig=lco

[ComPort550.NT]
AddReg=ComPort550.AddReg,ComPort550.NT.AddReg

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

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

[ComPort550.W95.AddReg]
HKR,,DevLoader,0,*vcomm
HKR,,Enumerator,0,serenum.vxd
HKR,,PortDriver,0,serial.vxd
HKR,,Contention,0,*vcd
HKR,,ConfigDialog,0,serialui.dll
HKR,,DCB,3,1c,00,00,00,80,25,00,00,11,33,00,00,00,00,0a,00,0a,00,08,00,00,11,13,00,00,00
HKR,,PortSubClass,1,01
HKR,,EnumPropPages,0,"serialui.dll,EnumPropPages"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,mdmfx,2,lavmdmfx.exe

[ComPort550.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.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"

;-------------- Service installation
; Port Driver (function driver for this device)


[ComPort550.NT.Services]
Include=msports.inf
Needs=ComPort.NT.Services

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

[ComPortHW.NT.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"
;HKR,,ForceFifoEnable,0x00010001,1

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

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


;---------------Serial Quattro Port Section
[ComPort550Q]
CopyFiles=WindowsDir
AddReg=ComPort550Q.AddReg,ComPort550Q.W95.AddReg
LogConfig=lca

[ComPort550Q.NT]
AddReg=ComPort550Q.AddReg,ComPort550Q.NT.AddReg

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

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

[ComPort550Q.W95.AddReg]
HKR,,DevLoader,0,*vcomm
HKR,,Enumerator,0,serenum.vxd
HKR,,PortDriver,0,serial.vxd
HKR,,Contention,0,*vcd
HKR,,ConfigDialog,0,serialui.dll
HKR,,DCB,3,1c,00,00,00,80,25,00,00,11,33,00,00,00,00,0a,00,0a,00,08,00,00,11,13,00,00,00
HKR,,PortSubClass,1,01
HKR,,EnumPropPages,0,"serialui.dll,EnumPropPages"
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Run,mdmfx,2,lavmdmfx.exe

[ComPort550Q.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.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"

;-------------- Service installation
; Port Driver (function driver for this device)

[ComPort550Q.NT.Services]
;Include=msports.inf
;Needs=ComPort.NT.Services
; ********************************************************
AddService = Qserial, 0x00000002, QSerial_Service_Inst, QSerial_EventLog_Inst
AddService = Serenum,,QSerenum_Service_Inst

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

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

[QSerial_EventLog_Inst]
AddReg = QSerial_EventLog_AddReg

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

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

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


;-------------- Service installation
[ParallelPort.NT.Services]
Include=msports.inf
Needs=LptPort.NT.Services

[PIOPort.NT.Services]
Include=msports.inf
Needs=LptPort.NT.Services

[WindowsDir]
lavmdmfx.exe,lavmdmfx.bin

[SourceDisksNames]
1=%ID1%,,

[SourceDisksFiles]
lavmdmfx.bin=1

[lca]
ConfigPriority=HARDRECONFIG
IOConfig=8@100-ffff%fff8(ffff::)
IRQConfig=S:3,4,5,7,9,10,11,12,15

[lco]
ConfigPriority=NORMAL
IOConfig=8@100-ffff%ff00(ffff::)
IRQConfig=S:3,4,5,7,9,10,11,12,15

[lcp]
ConfigPriority=HARDRECONFIG
IOConfig=8@100-ffff%fff8(ffff::)


;  Strings Section
;----------------------------------------------------------
[Strings]
Qserial.SVCDESC   = "Quattro serial Lava port driver"
Serenum.SVCDESC = "Serenum Filter Driver"
ID1="Lava Installation & Utilities Diskette"
PortsClassName="Ports (COM & LPT)"
Mfg="Lava Computer MFG Inc."
SPPARALLELPCI.DeviceDesc="Lava SP BIDIR Parallel PCI"
SPSSerial550PCI.DeviceDesc="Lava SP Serial 550 PCI"
SPPARALLELPCIv3.DeviceDesc="Lava SP-PCIv3 Parallel"
SPSSerial550PCIv3.DeviceDesc="Lava SP-PCIv3 Serial"
PARALLELPCI.DeviceDesc="Lava Parallel PCI"
PIOPCI.DeviceDesc="Lava 8255 PIO PCI"
DPARALLELPCI_PortA.DeviceDesc="Lava DParallel PCI Port A"
DPARALLELPCI_PortB.DeviceDesc="Lava DParallel PCI Port B"
DSASIC_PORTA.DeviceDesc="Lava DSerial PCI PortA"
DSASIC_PORTB.DeviceDesc="Lava DSerial PCI PortB"
SSerial550PCI.DeviceDesc="Lava SSerial 550 PCI"
SS_422_550PCI.DeviceDesc="Lava SS-RS422 PCI"
DUAL550PCI_PortA.DeviceDesc="Lava Dual Serial PCI Port A"
DUAL550PCI_PortB.DeviceDesc="Lava Dual Serial PCI Port B"
QUATTRO550PCI_PortA.DeviceDesc="Lava Quattro PCI Port A"
QUATTRO550PCI_PortB.DeviceDesc="Lava Quattro PCI Port B"
QUATTRO550PCI_PortC.DeviceDesc="Lava Quattro PCI Port C"
QUATTRO550PCI_PortD.DeviceDesc="Lava Quattro PCI Port D"
OCT550PCI_Port1.DeviceDesc="Lava Octopus550 PCI P1"
OCT550PCI_Port2.DeviceDesc="Lava Octopus550 PCI P2"
OCT550PCI_Port3.DeviceDesc="Lava Octopus550 PCI P3"
OCT550PCI_Port4.DeviceDesc="Lava Octopus550 PCI P4"
OCT550PCI_Port5.DeviceDesc="Lava Octopus550 PCI P5"
OCT550PCI_Port6.DeviceDesc="Lava Octopus550 PCI P6"
OCT550PCI_Port7.DeviceDesc="Lava Octopus550 PCI P7"
OCT550PCI_Port8.DeviceDesc="Lava Octopus550 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.
