;
; genelan.inf - Inf file for GeneLink Network Adapter
;
; Copyright 2000 - 2006 , Genesys Logic
;

[version]
;LayoutFile = layout.inf
signature="$Chicago$"
Class      = Net
ClassGUID  = {4d36e972-e325-11ce-bfc1-08002be10318}
Compatible = 1
provider   = %Genesys%
DriverVer=03/15/2001
;catalogfile=genelan.cat

[Manufacturer]
%Genesys%   = Genesys


[Genesys]
; DisplayName          Section          DeviceID
; -----------          -------          --------
%Ndisusb.DeviceDesc%  = Ndisusb,    NDISUSB          ; Genesys Network Adapter


; Ndisusb section for Win98
[Ndisusb]
AddReg = Ndisusb.reg, Ndisusb.ndi.reg

[Ndisusb.reg]
HKR,Ndi,DeviceID,,"NDISUSB"

[ndisusb.ndi.reg]

; key,subkey,valuname,type,value
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,ndisusb.sys
HKR,,EnumPropPages,,"netdi.dll,EnumPropPages"

; NDIS Info
HKR,NDIS,LogDriverName,,"ndisusb"
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0A

; Interfaces
HKR,Ndi\Interfaces,DefUpper,,"ndis2,ndis3"
HKR,Ndi\Interfaces,DefLower,,"ethernet"
HKR,Ndi\Interfaces,UpperRange,,"ndis2,ndis3,odi"
HKR,Ndi\Interfaces,LowerRange,,"ethernet"

; Network Address
HKR, Ndi\params\NetworkAddress,             ParamDesc,  0,  %NetworkAddress%
HKR, Ndi\params\NetworkAddress,             default,    0,  ""
HKR, Ndi\params\NetworkAddress,             type,       0,  "edit"
HKR, Ndi\params\NetworkAddress,             LimitText,  0,  "12"
HKR, Ndi\params\NetworkAddress,             UpperCase,  0,  "1"
HKR, Ndi\params\NetworkAddress,             optional,   0,  "1"

; Install sectioins
HKR,Ndi\Install,ndis3,,"ndisusb.ndis3"

; Context help
HKR,Ndi,HelpText,,%GENELINK_HELP%

; Install NDIS3
[ndisusb.ndis3]
CopyFiles=ndisusb.ndis3.CopyFiles
[ndisusb.ndis3.CopyFiles]
;ndisusb.sys



;----------------------------------------------------------------------------
; Ndisusb 
;
[Ndisusb.NT]
Characteristics = 0x04
BusType         = 15
AddReg          = Ndisusb.NT.reg
CopyFiles       = Ndisusb.NT.CopyFiles

[Ndisusb.NT.Services]
AddService = Ndisusb, 2, Ndisusb.NT.Service, Ndisusb.NT.AddEventLog


;----------------------------------------------------------------------------
; Ndisusb Common
;
[Ndisusb.NT.reg]
HKR, Ndi,               Service,    0, "Ndisusb"
HKR, Ndi\Interfaces,    UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,    LowerRange, 0, "ethernet"

[Ndisusb.NT.CopyFiles]
;genelan.sys,,,2

[Ndisusb.NT.Service]
DisplayName     =   %Ndisusb.Service.DispName%
ServiceType     =   1 ;%SERVICE_KERNEL_DRIVER%
StartType       =   3 ;%SERVICE_DEMAND_START%
ErrorControl    =   1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   =   %12%\genelan.sys
LoadOrderGroup  =   NDIS

[Ndisusb.NT.AddEventLog]
AddReg = Ndisusb.NT.AddEventLog.reg

[Ndisusb.NT.AddEventLog.reg]
HKR,    ,   EventMessageFile,   0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR,    ,   TypesSupported,     0x00010001, 7

[Ndisusb.NT.Remove]
DelFiles = Ndisusb.NT.CopyFiles

[Ndisusb.NT.Remove.Services]
DelService=NDISUSB

;----------------------------------------------------------------------------
; Destination Directories
;
[DestinationDirs]
Ndisusb.NT.CopyFiles  =   12
ndisusb.ndis3.CopyFiles = 11

[SourceDisksFiles]
;ndisusb.sys = 1                  

;----- SourceDisksNames Section
[SourceDisksNames]
1 = %Genesys_Disk%,,

;----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Genesys = "Genesys Logic"
Ndisusb.DeviceDesc = "GeneLink Network Adapter"
Ndisusb.Service.DispName = "GeneLink Network Driver"
Genesys_Disk  = "GeneLink Setup Disk"

;Network address 
NetworkAddress  = "Network Address"

; Context help
GENELINK_HELP="GeneLink allows you to connect PCs as network"

