
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;  NetMos Technology, inc.
;;
;;  FILE : NmPorts.inf
;;  OS SUPPORTED : WIN000 ONLY.
;;  This inf file configures one LPT port on 9705 
;;  and one COM port on 9735/9745.
;;  For 9805,9815,9825.9835 etc, Use Nm2kMf.INF file.
;;
;;  NmPar.Sys is reqquired only for 9705.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[version]
LayoutFile=layout.inf
signature="$Chicago$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%ProviderName%
DriverVer=02/22/2002,5.00.2183.1

[DestinationDirs]
DefaultDestDir  = 11        ;LDID_SYS
LptPort.NT.Copy = 12        ;DIRID_DRIVERS
ComPort.NT.Copy = 12        ;DIRID_DRIVERS
NmPar.NT.Copy = 12        ;DIRID_DRIVERS
NonPort.NT.Copy = 12        ;DIRID_DRIVERS
Inf.Copy = 17

[SourceDiskFiles]
; 1 = Disk Number
NmPorts.inf=1
NmUninst.exe=1
NmPar.sys=1

[SourceDisksNames]
1=%DiskName%,,

;===============================
; Class Installation
;===============================
[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"

[Inf.Copy]
NmPorts.inf

[ControlFlags]

;===============================
; Driver Installation
;===============================
[Manufacturer]
%Mfg.NetMos%=NetMosCards

;
; Manufacturer Name Section
;
[NetMosCards]
%NetMos.ComPortName%=ComPort,MF\PCI9710_COM
%NetMos.LptPortName%=LptPort,MF\PCI9710_LPT
%NetMos.EcpPortName%=EcpPort,MF\PCI9710_ECP

%NmS9705Name%=LptCard,PCI\VEN_9710&DEV_9705
%NmS9735Name%=ComCard,PCI\VEN_9710&DEV_9735
%NmS9745Name%=ComCard,PCI\VEN_9710&DEV_9745

;----------------------------------------
; COM Card Install
;----------------------------------------
[ComCard.NT]
CopyFiles=Inf.Copy,ComPort.NT.Copy,Uninstall.Copy
AddReg=ComPort.AddReg, ComPort.NT.AddReg,Uninstall.AddReg
;LogConfig=NmLogConf64
SyssetupPnPFlags = 1

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

[ComCard.NT.Services]
;AddService = Serial, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
;AddService = Serenum,,Serenum_Service_Inst
Include=msports.inf
Needs=ComPort.NT.Services

;----------------------------------------
; LPT Card Install
;----------------------------------------
[LptCard.NT]
CopyFiles=Inf.Copy,NmPar.NT.Copy,Uninstall.Copy
AddReg=LptPort.AddReg,LptPort.NT.AddReg,Uninstall.AddReg
;LogConfig=NmLogConf64

[LptCard.NT.Services]
AddService = NmPar, 0x00000002, NmPar_Service_Inst, NmPar_EventLog_Inst ; Port Driver (function driver for this device)
;Include=msports.inf
;Needs=LptPort.NT.Services

;----------------------------------------
; ECP Card Install
;----------------------------------------
[EcpCard.NT]
CopyFiles=Inf.Copy,NmPar.NT.Copy,Uninstall.Copy
AddReg=EcpPort.AddReg,LptPort.NT.AddReg,Uninstall.AddReg
;LogConfig=NmLogConf64

[EcpCard.NT.Services]
AddService = NmPar, 0x00000002, NmPar_Service_Inst, NmPar_EventLog_Inst ; Port Driver (function driver for this device)
;Include=msports.inf
;Needs=LptPort.NT.Services

;----------------------------------------
; COM Port Install
;----------------------------------------
[ComPort.NT]
CopyFiles=ComPort.NT.Copy
AddReg=ComPort.AddReg, ComPort.NT.AddReg
SyssetupPnPFlags = 1

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

[ComPort.NT.Services]
;AddService = Serial, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
;AddService = Serenum,,Serenum_Service_Inst
Include=msports.inf
Needs=ComPort.NT.Services
Needs=SerialEnumerator.NT.Serivices

;----------------------------------------
; LPT Port Install
;----------------------------------------
[LptPort.NT]
CopyFiles=LptPort.NT.Copy
AddReg=LptPort.AddReg,LptPort.NT.AddReg

[LptPort.NT.Services]
;AddService = Parport, 0x00000002, Parport_Service_Inst, Parport_EventLog_Inst ; Port Driver (function driver for this device)
Include=msports.inf
Needs=LptPort.NT.Services

;----------------------------------------
; ECPPort Install
;----------------------------------------
[EcpPort.NT]
CopyFiles=LptPort.NT.Copy
AddReg=EcpPort.AddReg,LptPort.NT.AddReg

[EcpPort.NT.Services]
;AddService = Parport, 0x00000002, Parport_Service_Inst, Parport_EventLog_Inst ; Port Driver (function driver for this device)
Include=msports.inf
Needs=EcpPort.NT.Services

;----------------------------------------
; other sections
;----------------------------------------
[LptPort.AddReg]
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,00

[EcpPort.AddReg]
HKR,,PortSubClass,1,00
HKR,,ECPDevice,1,01

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

[NmPar.NT.Copy]
NmPar.sys

[LptPort.NT.Copy]
;parport.sys

; -------------- Parallel Port Driver install sections
[NmPar_Service_Inst]
DisplayName    = "NetMos Parallel Port Driver"
ServiceType    = 1                ; SERVICE_KERNEL_DRIVER
StartType      = 1                ; SERVICE_SYSTEM_START (BUGBUG--should be SERVICE_DEMAND_START, 0x3)
ErrorControl   = 0                ; SERVICE_ERROR_IGNORE (BUGBUG--should be SERVICE_ERROR_NORMAL, 0x1)
ServiceBinary  = %12%\NmPar.sys
LoadOrderGroup = Parallel arbitrator

[NmPar_EventLog_Inst]
AddReg = NmPar_EventLog_AddReg

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

; COM sections
;----------------------------------------------------------
[ComPort.AddReg]
HKR,,PortSubClass,1,01

[ComPort.NT.Copy]
serial.sys
serenum.sys

[ComPort.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"

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

; -------------------------------------------------------
; LogConfig sections
[NmLogConf8]
ConfigPriority=HARDRECONFIG
IOConfig=8@100-3ff%fff8(3ff::)
IRQConfig=3,4,5,6,7,8,9,10,11,12,13,14,15

[NmLogConf64]
ConfigPriority=HARDRECONFIG
IOConfig=64@100-ffff%ffC0(0::)
IRQConfig=3,4,5,6,7,8,9,10,11,12,13,14,15

[Uninstall.Copy]
NmUninst.exe

[Uninstall.AddReg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%Mfg.NetMos%,DisplayName,0,%UninstallName%
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%Mfg.NetMos%,UninstallString,0,NmUninst.exe

; User readable strings
;----------------------------------------------------------
[Strings]
ProviderName="NetMos Technology"
Mfg.NetMos="NetMos Technology"
UninstallName="NetMos Multi-IO Controller"
DiskName="NetMos Multi-IO Drivers Disk"
NetMos.ComPortName="NetMos PCI Serial Port"
NetMos.LptPortName="NetMos PCI Parallel Port"
NetMos.EcpPortName="NetMos PCI ECP Parallel Port"
NullPortName="NetMos Bridge"
Nm9705Name="NetMos 9705 PCI Parallel Port"
Nm9735Name="NetMos 9735 PCI Multi-I/O Controller"
Nm9745Name="NetMos 9745 PCI Multi-I/O Controller"
NmS9705Name="NetMos 9705 PCI Parallel Port"
NmS9735Name="NetMos 9735 PCI Serial Port"
NmS9745Name="NetMos 9745 PCI Serial Port"
Nm9805Name="NetMos 9805 PCI Parallel Port"
Nm9815Name="NetMos 9815 PCI Multi-I/O Controller"
Nm9820Name="NetMos PCI 9820 Serial Port"
Nm9825Name="NetMos PCI 9825 Serial Port"
Nm9835Name="NetMos 9835 PCI Multi-I/O Controller"
Nm9845Name="NetMos 9845 PCI Multi-I/O Controller"
Nm9855Name="NetMos 9855 PCI Multi-I/O Controller"

NmS9735ComName="NetMos 9735 PCI Serial Port"
NmS9735LptName="NetMos 9735 PCI Parallel Port"

;-----------------------
; END OF FILE
;-----------------------

