; LNEPCI2.INF Written By : Alex Lin ; 1998.02.09 ; Linksys LNEPCI II PCI Ethernet Adapters ; ; Inf for Win9x and NT5 [version] Signature = "$Chicago$" Class = Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %Msft% LayoutFile = layout.inf [Manufacturer] %Linksys% = Linksys ; All enumerated adapters must be excluded from select [ControlFlags] ExcludeFromSelect = PCI\VEN_1050&DEV_0940 [Linksys] ; DisplayName Section DeviceID ; ----------- ------- -------- %Lnepci2.DeviceDesc% = Lnepci2.ndi, PCI\VEN_1050&DEV_0940 ;---------------------------------------------------------------------------- ; NT main sections ; ; These sections are in the form of .NT ; They will only be processed if we are installing on NT ; Once this section is found by the class installer, the ; section (w/o .NT) will not be processed. ; This allows us to keep Win9x specific install sections as ; ; ; Linksys Lnepci II PCI Ethernet Adapter ; [Lnepci2.ndi.NT] AddReg = Lnepci2.nt.reg,Lnepci2.reg BusType = 5 ;PCI Characteristics = 0x24 ; NCF_PHYSICAL ;----------------------------------------------------------------------------- ; Win9x main sections ; ; Linksys Lnepci II PCI Ethernet Adapter (10/100) ; [Lnepci2.ndi] AddReg = Lnepci2.id.reg, Lnepci2Flags.reg, Lnepci2.win.reg DeviceID = "PCI\VEN_1050&DEV_0940" LogConfig = DefaultConfig ;---------------------------------------------------------------------------- ; Win9x id registry sections ; These are not needed by NT ; [Lnepci2.id.reg] HKR, Ndi, DeviceID, 0, "PCI\VEN_1050&DEV_0940" ;---------------------------------------------------------------------------- ; Win9x flags section ; ; Flags are not needed by NT [Lnepci2Flags.reg] ;HKR, Ndi\params\MapRegisters, flag, 1, 20,00,00,00 ;HKR, Ndi\params\Eid, flag, 1, 20,00,00,00 ;HKR, Ndi\params\NumRfd, flag, 1, 20,00,00,00 ;HKR, Ndi\params\NumTcb, flag, 1, 20,00,00,00 ;HKR, Ndi\params\NumCoalesce, flag, 1, 20,00,00,00 ;HKR, Ndi\params\ForceDpx, flag, 1, 20,00,00,00 ;HKR, Ndi\params\Speed, flag, 1, 30,00,00,00 ;---------------------------------------------------------------------------- ; Lnepci2 common ; [Lnepci2.reg] HKR, Ndi\params\ForceDpx, ParamDesc, 0, "Duplex Mode" HKR, Ndi\params\ForceDpx, default, 0, "0" HKR, Ndi\params\ForceDpx, type, 0, "enum" HKR, Ndi\params\ForceDpx\enum, "0", 0, "Auto Duplex Detect" HKR, Ndi\params\ForceDpx\enum, "1", 0, "Half-Duplex" HKR, Ndi\params\ForceDpx\enum, "2", 0, "Full-Duplex" ;HKR, Ndi\params\MapRegisters, ParamDesc, 0, "Map Registers" ;HKR, Ndi\params\MapRegisters, default, 0, "64" ;HKR, Ndi\params\MapRegisters, min, 0, "0" ;HKR, Ndi\params\MapRegisters, max, 0, "64" ;HKR, Ndi\params\MapRegisters, step, 0, "1" ;HKR, Ndi\params\MapRegisters, base, 0, "10" ;HKR, Ndi\params\MapRegisters, type, 0, "int" ;HKR, Ndi\params\Eid, ParamDesc, 0, "Ethernet ID" ;HKR, Ndi\params\Eid, default, 0, "0" ;HKR, Ndi\params\Eid, base, 0, "10" ;HKR, Ndi\params\Eid, type, 0, "dword" ;HKR, Ndi\params\NumRfd, ParamDesc, 0, "Receive Frame Descriptors" ;HKR, Ndi\params\NumRfd, default, 0, "16" ;HKR, Ndi\params\NumRfd, min, 0, "1" ;HKR, Ndi\params\NumRfd, max, 0, "00001024" ;HKR, Ndi\params\NumRfd, step, 0, "1" ;HKR, Ndi\params\NumRfd, Base, 0, "10" ;HKR, Ndi\params\NumRfd, type, 0, "int" ;HKR, Ndi\params\NumTcb, ParamDesc, 0, "Transmit Control Blocks" ;HKR, Ndi\params\NumTcb, default, 0, "16" ;HKR, Ndi\params\NumTcb, min, 0, "1" ;HKR, Ndi\params\NumTcb, max, 0, "00000064" ;HKR, Ndi\params\NumTcb, step, 0, "1" ;HKR, Ndi\params\NumTcb, Base, 0, "10" ;HKR, Ndi\params\NumTcb, type, 0, "int" ;HKR, Ndi\params\NumCoalesce, ParamDesc, 0, "Coalesce Buffers" ;HKR, Ndi\params\NumCoalesce, default, 0, "8" ;HKR, Ndi\params\NumCoalesce, min, 0, "1" ;HKR, Ndi\params\NumCoalesce, max, 0, "00000032" ;HKR, Ndi\params\NumCoalesce, step, 0, "1" ;HKR, Ndi\params\NumCoalesce, Base, 0, "10" ;HKR, Ndi\params\NumCoalesce, type, 0, "int" ;---------------------------------------------------------------------------- ; Lnepci2 NT specific ; [Lnepci2.nt.reg] HKR, Ndi, Service, 0, "Lnepci2" HKR, Ndi\Install, , 0, "Lnepci2.Install" HKR, , BusType, 0, "5" HKR, , MsPciScan, 0, "1" HKR, Ndi\Interfaces, DefUpper, 0, "ndis5" HKR, Ndi\Interfaces, DefLower, 0, "ethernet" HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" [Lnepci2.Install.NT] CopyFiles = Lnepci2.CopyFiles ; The services section name is based on the install ; section name found. "Lnepci2.Install" is listed but ; since "Lnepci2.Install.NT" will be found on NT, the ; Services section must be based on the new name ; "Lnepci2.Install.NT". ; [Lnepci2.Install.NT.Services] AddService = Lnepci2, 2, Lnepci2.Service, common.EventLog [Lnepci2.CopyFiles] Lnepci2.sys,,,2 ; Do not allow the user to skip this file! [Lnepci2.Service] DisplayName = %Lnepci2.Service.DispName% ServiceType = 1 ;%SERVICE_KERNEL_DRIVER% StartType = 2 ;%SERVICE_AUTO_START% ErrorControl = 1 ;%SERVICE_ERROR_NORMAL% ServiceBinary = %12%\Lnepci2.sys LoadOrderGroup = NDIS [common.EventLog] AddReg = common.AddEventLog.reg [common.AddEventLog.reg] HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll" HKR, , TypesSupported, 0x00010001, 7 ;---------------------------------------------------------------------------- ; Lnepci2 Win9x specific ; [Lnepci2.win.reg] HKR, Ndi\Interfaces, DefUpper, 0, "ndis3" HKR, Ndi\Interfaces, DefLower, 0, "ethernet" HKR, Ndi\Interfaces, UpperRange, 0, "ndis3" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" HKR, , DevLoader, 0, "*ndis" HKR, , DeviceVxDs, 0, "lnepci2.sys" HKR, , EnumPropPages, 0, "netdi.dll,EnumPropPages" HKR, NDIS, LogDriverName, 0, "Lnepci2" HKR, NDIS, MajorNdisVersion, 1, 03 HKR, NDIS, MinorNdisVersion, 1, 0A HKR, Ndi\Install, ndis3, 0, "Lnepci2.ndis3.install" [Lnepci2.ndis3.install] CopyFiles = Lnepci2.ndis3.CopyFiles [Lnepci2.ndis3.CopyFiles] Lnepci2.sys,,,2 ; Do not allow the user to skip this file! ;---------------------------------------------------------------------------- ; DestinationDirs ; [DestinationDirs] Lnepci2.CopyFiles = 12 Lnepci2.ndis3.CopyFiles = 11 [Strings] Msft = "Microsoft" Linksys = "Linksys" Lnepci2.DeviceDesc = "Linksys Lnepci II Ethernet PCI Adapter" Lnepci2.Service.DispName = "Linksys Lnepci II Ethernet Adapter NT Driver"