;*******************************************************************************
;*
;*      File:   oxserleg.inf
;*
;*  Description:
;*      Installs legacy serial drivers for PCI Express PCIe952 legacy UARTs only
;*
;* (C) Copyright 2007 Oxford Semiconductor Ltd.                           
;*******************************************************************************
[version]
signature="$CHICAGO$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%mfg%
CatalogFile=oxserleg.cat

;#OxData#DriverVer=[[Date]],[[Version]]
DriverVer=12/14/2007, 1.00.0000.07
;#OxEndData


;-------------------------------------------------------------------------------
; Drivers
;-------------------------------------------------------------------------------
[Manufacturer]
%mfg%=mfg,NT,NTamd64

[mfg]          ; Windows 2K
;#OxData#%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_[[VendorId]]&DEV_[[DeviceId]]"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C101"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C105"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C120"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C124"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C140"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C144"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C141"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C145"
;#OxEndData

[mfg.NT]       ; Windows XP32, W2003-32, Vista32
;#OxData#%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_[[VendorId]]&DEV_[[DeviceId]]"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C101"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C105"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C120"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C124"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C140"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C144"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C141"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C145"
;#OxEndData

[mfg.NTamd64]  ; Windows XP64, W2003-64, Vista64
;#OxData#%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_[[VendorId]]&DEV_[[DeviceId]]"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C101"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C105"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C120"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C124"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C140"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C144"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C141"
%TORNADO_COM.DeviceDesc% = ComPort, "PCI\VEN_1415&DEV_C145"
;#OxEndData


;-------------------------------------------------------------------------------
; COM sections
;-------------------------------------------------------------------------------
[ComPort.NT]
Include=layout.inf
AddReg=ComPort.NT.AddReg

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

[ComPort.NT.AddReg]
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[ComPort.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"serenum"


;-------------------------------------------------------------------------------
; Service installation
;-------------------------------------------------------------------------------
; Port Driver (function driver for this device)
[ComPort.NT.Services]
AddService = Serial, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
AddService = Serenum,,Serenum_Service_Inst

;-------------------------------------------------------------------------------
; Serial Port Driver install sections
;-------------------------------------------------------------------------------
[Serial_Service_Inst]
DisplayName    = %Serial.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 0               ; SERVICE_ERROR_IGNORE
ServiceBinary  = %12%\serial.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

[Serial_EventLog_Inst]
AddReg = Serial_EventLog_AddReg

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


;-------------------------------------------------------------------------------
; User readable strings
;----------------------------------------------------------
[Strings]
;#OxData#mfg = "[[Manufacturer]]"
mfg="Oxford Semiconductor Inc"
;#OxEndData
;#OxData#TORNADO_COM.DeviceDesc = "[[DeviceDescription]]"
TORNADO_COM.DeviceDesc   = "PCI Express Legacy COM Port"
;#OxEndData

PortsClassName           = "Ports (COM & LPT)"
Serial.SVCDESC           = "Serial port driver"
Serenum.SVCDESC          = "Serenum Filter Driver"



;-------------------------------------------------------------------------------
;                  OXide definitions. Do not modify
;-------------------------------------------------------------------------------

;#OxGlobalSection#Manufacturer information
	;#OxGroup#Manufacturer name
        ;#OxDefine#Manufacturer#Name #String[32]
  ;#OxEndGroup
;#OxEndSection

;#OxSection#Legacy UART Port Details
	;#OxGroup#INF file version information
        ;#OxDefine#Version#Driver Version#String[12]
        ;#OxDefine#Date#Date#Date
  ;#OxEndGroup
	;#OxGroup#Device Description
        ;#OxDefine#DeviceDescription#Description#String[48]
  ;#OxEndGroup
;#OxEndSection

;#OxSection#Supported Legacy UART Devices#These devices will use the Windows UART driver
	;#OxMultiGroup#Supported Vendor and Device IDs
		;#OxDefine#VendorId#Vendor Id#VendorId
		;#OxDefine#DeviceId#Device Id#PCIeDeviceId
	;#OxEndGroup
;#OxEndSection
