;/************************************************************
;**     File:   oxpci2.inf
;**		      
;**	Description:
;**             Installs the serial ports behind a PCI bridge
;**      
;************************************************************/

[Version]
signature="$CHICAGO$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%mfg%
CatalogFile=Oxpci2.cat		; .cat file (no different binaries)
; Win98 doesn't recognise DriverVer in [version] section, so this tag is copied
; in its DDInstall sections
DriverVer=07/22/2004, 4.0.9

[DestinationDirs]
DefaultDestDir  = 11        		;LDID_SYS

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

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

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

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

; Drivers
;----------------------------------------------------------
[Manufacturer]
%mfg%=mfg

[mfg]
%ComPort.DeviceDesc% =	ComPort,	OXPCIMF\*PNP0501

%ComPort.DeviceDesc% =	ComPort,	OX16PCI954\*PNP0501
%ComPort.DeviceDesc% =  ComPort,        OX9162\*PNP0501
%ComPort.DeviceDesc% =  ComPort,        OXCB950\*PNP0501
%ComPort.DeviceDesc% =  ComPort,        OXMF\*PNP0501

%ComPort.DeviceDesc2% =  ComPort,        OXMFCF\*PNP0501

[ControlFlags]
ExcludeFromSelect=OXPCIMF\*PNP0501
ExcludeFromSelect=OX16PCI954\*PNP0501
ExcludeFromSelect=OX9162\*PNP0501
ExcludeFromSelect=OXCB950\*PNP0501

; ************** install serial ports ***********************
[ComPort]
DriverVer=07/11/2003, 4.0.8
CopyFiles=ComPort.Copy
AddReg=ComPort.AddReg, ComPort.W95.AddReg

[ComPort.NT]
AddReg=ComPort.AddReg, ComPort.NT.AddReg

[ComPort.NT.HW]
AddReg=ComPort.NT.HW.AddReg

[ComPort.NT.HW.AddReg]
HKR,,"UpperFilters",	0x00010000,	"serenum" 	;;MULTI_SZ
HKR,,"UpperFilters",	0x00010008,	"oxmfuf"	;;APPEND
HKR,,"95xSpecific",	0x00000001,01,00,00,00,00,00,c9,16,20,00,01,00,04,64,10,70,08,00,00,00,00,00,00,10
HKR,,"ClockRate",	0x00010001, 1843200
HKR,,"MultiportProperties",0x00010001, 1

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

[ComPort.W95.AddReg]
HKR,,DevLoader,,*vcomm
HKR,,Enumerator,,serenum.vxd
HKR,,PortDriver,,oxser.vxd
;HKR,,Contention,,*vcd
HKR,,ConfigDialog,,oxserui.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,,950Specific,3,00,01,08,10,04,40,40,78,12,14,00,00,00,01,00,00
HKR,,EnumPropPages,,"oxserui.dll,EnumPropPages"
;HKR,,EnableIRQSharing,1,01,00,00,00 

[ComPort.NT.AddReg]
HKR,,EnumPropPages32,,"oxui.dll,SerialPropPageProvider"
HKLM,%ParametersSubKey%, OxfordFlags,   0x00010001,     0

;-------------- Service installation
; Port Driver (function driver for this device)
[ComPort.NT.Services]
AddService = oxser, 0x00000002, oxser_Service_Inst, oxser_EventLog_Inst
AddService = Oxmfuf,,Oxmfuf_Service_Inst
AddService = Serenum,,Serenum_Service_Inst


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

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

[Oxmfuf_Service_Inst]
DisplayName    = %Oxmfuf.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\oxmfuf.sys
LoadOrderGroup = PNP Filter

[oxser_EventLog_Inst]
AddReg = oxser_EventLog_AddReg

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

[ComPort.Copy]
oxser.vxd
oxserui.dll

[ComPort.PosDup]
*PNP0501

[SourceDisksNames]
1=%drvdisk%,,

[SourceDisksFiles]
oxser.vxd=1
oxserui.dll=1

[Strings]
mfg 					= "(Enhanced ports)"
PortsClassName 				= "Ports (COM & LPT)"
drvDisk					= "High-performance ports driver disk"

ComPort.DeviceDesc 			= "PCI Communications Port"
ComPort.DeviceDesc2 			= "High Speed Communications Port"

oxser.SVCDESC                           = "OX16C95x Serial port driver"
Serenum.SVCDESC 			= "Serenum Filter Driver"
Oxmfuf.SVCDESC 				= "Filter driver for OX16PCI95x ports"
ParametersSubKey                        = "SYSTEM\CurrentControlSet\Services\oxser\Parameters"
