; OXSER.INF
;  Used to install TWO OX16PCI954 Serial ports
;  Device ID = 0x9501, 9511, 0x8401 assumed for this reference.
;
; If using custom Vendor ID / Device ID, this file must be changed to 
;  reflect the new settings


[Version]
Signature="$CHICAGO$"
Provider=%ProviderName%
ClassGUID={4d36e978L-e325-11ce-bfc1-08002be10318}
Class=Ports

[DestinationDirs]
DriverCopy 		= 12
InfCopy    		= 17

[Manufacturer]
%ProviderName% = oxsemi

[oxsemi]
%PCISerial.DeviceDesc%		= Install, PCI\VEN_1415&DEV_950A
%PCISerial.DeviceDesc%		= Install, PCI\VEN_1415&DEV_9511
%PCISerial.DeviceDesc%		= Install, PCI\VEN_1415&DEV_8401

[Install]
AddService=OxSer,, OxSer_Service_Install, OxSer_EventLog_Install
CopyFiles=InfCopy, DriverCopy
AddReg=OxSer_AddReg

[Uninstall]
DelService=OxSer
DelFiles=InfCopy,DriverCopy

[OxSer_Service_Install]
DisplayName  = %ServiceName%
ServiceType  = 1                  ; SERVICE_KERNEL_DRIVER
StartType    = 2                  ; SERVICE_AUTO_START
ErrorControl = 0                  ; SERVICE_ERROR_NONE
ServiceBinary= %12%\OxSer.sys

[OxSer_AddReg]
HKR,%ParametersSubKey%,	EventLogFlags,	0x00010001,	0x00
HKR,%ParametersSubKey%,	PCIVendorID, 	0x00010001,	0x1415
HKR,%ParametersSubKey%,	PCIDeviceID0,	0x00010001,	0x950A
HKR,%ParametersSubKey%,	PCIDeviceID1,	0x00010001,	0x9511
HKR,%ParametersSubKey%,	PCIDeviceID2,	0x00010001,	0x8401
HKR,%ParametersSubKey%,	TxFIFO,		0x00010001,	0x80
HKR,%ParametersSubKey%,	RxFIFO,		0x00010001,	0x64
HKR,%ParametersSubKey%, OxsemiPortCount,0x00010001,	2

[OxSer_EventLog_Install]
AddReg=OxSer_EventLog_AddReg

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


[DriverCopy]
OxSer.sys

[InfCopy]
OxSer.inf


[Strings]
PCISerial.DeviceDesc 	= "PCI Serial Controller"
ProviderName	     	= "OEM"
ParametersSubKey     	= "Parameters"
ServiceName	     	= "PCI Serial Driver"
