OxPCIeSer.inf Driver File Contents (fp4281.zip)

Driver Package File Name: fp4281.zip
File Size: 2.9 MB

;/++
;
;Copyright (c) Oxford Semiconductor Inc.  All rights reserved.
;
;Abstract:
;    PCI Express Serial WDF driver installation file.
;
;--*/


[Version]
Signature                   = "$Windows NT$"
Class                       = Ports
ClassGuid                   = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider                    = %Oxsemi%
;#OxData#CatalogFile                 = [[UartFileName]].cat
CatalogFile                 = OxPCIeSer.cat
;#OxEndData
;#OxData#DriverVer                   = [[UartDate]],[[UartVersion]]
DriverVer                   = 09/24/2009,1.03.0000.02
;#OxEndData

[DestinationDirs]
DestinationDirs_DriversDir  = 12   ; %windir%\system32\drivers

[SourceDisksNames]
0=%Desc_0%



[ControlFlags]
;#OxData#ExcludeFromSelect           = [[MfFileName]]\PNP0501
ExcludeFromSelect           = OxPCIeMf\PNP0501
;#OxEndData


[SourceDisksFiles]
;#OxData#[[UartFileName]].sys               = 0
OxPCIeSer.sys               = 0
;#OxEndData
;#OxData#[[UartUiFileName]].dll                = 0
OxPCIeUi.dll                = 0
;#OxEndData
;#OxData#[[UartFileName]].oxbe              = 0
OxPCIeSer.oxbe              = 0
;#OxEndData
;#OxData#[[UartFileName]].png               = 0
OxPCIeSer.png               = 0
;#OxEndData



[Manufacturer]
%Oxsemi%                    = Oxsemi,ntx86


; For Win2K
[Oxsemi]
;#OxData#%SerDesc%                   = SerInstSect,[[MfFileName]]\PNP0501
%SerDesc%                   = SerInstSect,OxPCIeMf\PNP0501
;#OxEndData

; For XP and later
[Oxsemi.ntx86]
;#OxData#%SerDesc%                   = SerInstSect,[[MfFileName]]\PNP0501
%SerDesc%                   = SerInstSect,OxPCIeMf\PNP0501
;#OxEndData


[SerInstSect]
CopyFiles                   = DestinationDirs_DriversDir
AddReg                      = SerInstSect.AddReg


[DestinationDirs_DriversDir]
;#OxData#[[UartFileName]].sys
OxPCIeSer.sys
;#OxEndData

[SerInstSect.HW]
AddReg                      = SerInstSect.HW_AddReg


[SerInstSect.Services]
;#OxData#AddService                  = [[UartFileName]],%SPSVCINST_ASSOCSERVICE%,SerInstSect.Services_AddService,EventLog_AddService
AddService                  = OxPCIeSer,%SPSVCINST_ASSOCSERVICE%,SerInstSect.Services_AddService,EventLog_AddService
;#OxEndData
AddService                  = Serenum,,Serenum_AddService


[SerInstSect.AddReg]
HKR,,PortSubClass,%REG_BINARY%,01
;#OxData#HKR,,EnumPropPages32,,"[[UartUiFileName]].dll,SerialPropPageProvider"
HKR,,EnumPropPages32,,"OxPCIeUi.dll,SerialPropPageProvider"
;#OxEndData

[SerInstSect.HW_AddReg]
HKR,,"UpperFilters",%REG_MULTI_SZ%,"serenum"
HKR,,"95xSpecific",%REG_BINARY%,01,00,00,00,00,00,c9,16,20,00,01,00,00,00,00,00,08,00,00,00,00,00,00,10
HKR,,"ClockRate",%REG_DWORD%,62500000


[SerInstSect.Services_AddService]
ServiceType                 = %SERVICE_KERNEL_DRIVER%
StartType                   = %SERVICE_DEMAND_START%
ErrorControl                = %SERVICE_ERROR_NORMAL%
;#OxData#ServiceBinary               = %12%\[[UartFileName]].sys
ServiceBinary               = %12%\OxPCIeSer.sys
;#OxEndData
LoadOrderGroup              = Extended base

[Serenum_AddService]
ServiceType                 = %SERVICE_KERNEL_DRIVER%
StartType                   = %SERVICE_DEMAND_START%
ErrorControl                = %SERVICE_ERROR_NORMAL%
ServiceBinary               = %12%\serenum.sys
LoadOrderGroup              = PNP Filter


[EventLog_AddService]
AddReg                      = EventLog_AddService_AddReg

[EventLog_AddService_AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7



;-------------------------------------------------------------------------
; Coinstaller installation
;-------------------------------------------------------------------------
[DestinationDirs]
CoInstaller_CopyFiles       = 11    ; %windir%\system32


[SourceDisksFiles]
; make sure the number matches with SourceDisksNames
WdfCoinstaller01007.dll     = 0


[SerInstSect.CoInstallers]
AddReg                      = CoInstaller_AddReg
CopyFiles                   = CoInstaller_CopyFiles


[SerInstSect.Wdf]
;#OxData#KmdfService                 = [[UartFileName]],SerInstSect.Wdf_KmdfService
KmdfService                 = OxPCIeSer,SerInstSect.Wdf_KmdfService
;#OxEndData

[CoInstaller_CopyFiles]
WdfCoinstaller01007.dll
;#OxData#[[UartUiFileName]].dll
OxPCIeUi.dll
;#OxEndData
;#OxData#[[UartFileName]].oxbe
OxPCIeSer.oxbe
;#OxEndData
;#OxData#[[UartFileName]].png
OxPCIeSer.png
;#OxEndData

[CoInstaller_AddReg]
; Add WDF and Serial device coinstallers
;#OxData#HKR,,CoInstallers32,%REG_MULTI_SZ%,"WdfCoinstaller01007.dll,WdfCoInstaller","[[UartUiFileName]].dll,SerialDeviceCoInstaller"
HKR,,CoInstallers32,%REG_MULTI_SZ%,"WdfCoinstaller01007.dll,WdfCoInstaller","OxPCIeUi.dll,SerialDeviceCoInstaller"
;#OxEndData

; Add PluginName
;#OxData#HKR,,PluginName,%REG_MULTI_SZ%,"[[UartFileName]].oxbe"
HKR,,PluginName,%REG_MULTI_SZ%,"OxPCIeSer.oxbe"
;#OxEndData

[SerInstSect.Wdf_KmdfService]
KmdfLibraryVersion          = 1.7



[Strings]
;
; *******   Localizable Strings   *******
;#OxData#Oxsemi                      = "[[Manufacturer]]"
Oxsemi                      = "Oxford Semiconductor Inc"
;#OxEndData

;#OxData#SerDesc                     = "[[UartDeviceDescription]]"
SerDesc                     = "PCI Express UART Port"
;#OxEndData
;#OxData#Desc_0                      = "[[UartDriverDescription]]"
Desc_0                      = "Oxford Semiconductor UART Driver"
;#OxEndData


; ******* Non Localizable Strings *******
SERVICE_BOOT_START          = 0x0
SERVICE_SYSTEM_START        = 0x1
SERVICE_AUTO_START          = 0x2
SERVICE_DEMAND_START        = 0x3
SERVICE_DISABLED            = 0x4

SERVICE_KERNEL_DRIVER       = 0x1

SERVICE_ERROR_IGNORE        = 0x0
SERVICE_ERROR_NORMAL        = 0x1
SERVICE_ERROR_SEVERE        = 0x2
SERVICE_ERROR_CRITICAL      = 0x3

SPSVCINST_ASSOCSERVICE      = 0x2

REG_SZ                      = 0x00000000
REG_BINARY                  = 0x00000001
REG_KEYONLY                 = 0x00000010
REG_MULTI_SZ                = 0x00010000
REG_MULTI_SZ_APPEND         = 0x00010008
REG_EXPAND_SZ               = 0x00020000
REG_DWORD                   = 0x00010001



;#OxComment#-------------------------------------------------------------------
;#OxComment#       Oxide definitions. Do not modify
;#OxComment#-------------------------------------------------------------------

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

;#OxGlobalSection#UART Driver Version
    ;#OxGroup#Driver version information
        ;#OxDefine#UartVersion#Driver Version#String[12]
        ;#OxDefine#UartDate#Date#Date
    ;#OxEndGroup
;#OxEndSection

;#OxGlobalSection#Device and Driver Descriptions
    ;#OxGroup#Multiport Descriptions
        ;#OxDefine#MfDeviceDescription#Multiport Device#String[48]
        ;#OxDefine#MfDriverDescription#Multiport Driver  #String[48]
    ;#OxEndGroup
    ;#OxGroup#UART Port Descriptions
        ;#OxDefine#UartDeviceDescription#UART Device#String[48]
        ;#OxDefine#UartDriverDescription#UART Driver  #String[48]
    ;#OxEndGroup
;#OxEndSection

;#OxGlobalSection#UART File Names
    ;#OxGroup#These file names should not be left with their default Oxford Semiconductor names
        ;#OxDefine#MfFileName#Multiport Driver          #FileName[32,false,oxpciemf]
        ;#OxDefine#UartFileName#UART Driver             #FileName[32,false,oxpcieser]
        ;#OxDefine#UartUiFileName#UART User Interface#FileName[32,false,oxpcieui]
    ;#OxEndGroup
;#OxEndSection

;#OxGlobalSection#Supported UART Devices
    ;#OxMultiGroup#Supported Vendor and Device IDs
        ;#OxDefine#MfVendorId#Vendor Id#VendorId
        ;#OxDefine#MfDeviceId#Device Id#PCIeDeviceId
    ;#OxEndGroup
;#OxEndSection
server: ftp, load: 1.02