; ODICOGNT.INF
;
; COGENT Network Interface Cards.
;
; VeRsIoN=1.00 Novell Windows 95 INF file: Cognet Network Adapters.
; CoPyRiGhT=(c) Copyright 1996, by Novell, Inc. All rights reserved.

;***********************************************************************
;*   Version Section                                                   *
;***********************************************************************
[version]
InfVersion=00.01.00
signature="$CHICAGO$"
Class=Net
provider=%V_N%

;***********************************************************************
;*    Manufacturer Section                                             *
;***********************************************************************
[Manufacturer]
%V_COGENT%=COGENT

;***********************************************************************
;*    Manufacture Name section                                         *
;***********************************************************************

[COGENT]
%COGENT.DeviceDesc%=21040.ndi,    PCI\VEN_1011&DEV_0002  ;DECchip 21040 

;***********************************************************************
;*   INF Install Section                                               *
;***********************************************************************
;***********************************************************************
[21040.ndi]
AddReg=21040.ndi.reg,21x4.ndi.reg,p21x4.ndi.reg,dc21040.ndi.reg,ODI.Common.CFG.reg

[21040.ndi.reg]
HKR,Ndi,DeviceID,,"PCI\VEN_1011&DEV_0002"
HKR,,AdapterCFID,,00021011

;***********************************************************************
;*      Added Registry                                                 *
;***********************************************************************
[21x4.ndi.reg]
; key,subkey,valuname,type,value
HKR,,DevLoader,,*odiload
HKR,,EnumPropPages,,"netdi.dll,EnumPropPages"
HKR,Ndi,NdiInstaller,,"odipage.dll,OdiNdiProc"

; Interfaces
HKR,Ndi\Interfaces,DefUpper,,"odinsup,novellodi32"
HKR,Ndi\Interfaces,DefLower,,"ethernet"
HKR,Ndi\Interfaces,UpperRange,,"odinsup,novellodi32"
HKR,Ndi\Interfaces,LowerRange,,"ethernet"

; Install sections
HKR,Ndi\Install,"16 Bit",,"21x4.ODI16.install"
HKR,Ndi\Install,"32 Bit",,"21x4.ODI32.install"

; Remove section
HKR,Ndi\Remove,"16 Bit",,"21x4.ODI16.Remove"

; ODI 16 Bit info
HKR,"ODI\16 Bit",ModulePath,,"%24%%DRIVER_32_PATH%"
HKR,"ODI\16 Bit",Modules,,"LSLC32.NLM,PC32MLID.LAN"
HKR,"ODI\16 Bit",DriverPath,,"%24%%DRIVER_16_PATH%"
HKR,"ODI\16 Bit",FileName,,"DC21040.com"
HKR,"ODI\16 Bit",NetcfgPath,,"%24%%DRIVER_16_PATH%"
HKR,"ODI\16 Bit",NetcfgFileName,,"Net.cfg"
HKR,"ODI\16 Bit",LinkDriver,,"DC12040"

; ODI 32 Bit Info
HKR,"ODI\32 Bit",ModulePath,,"%24%%DRIVER_32_PATH%"
HKR,"ODI\32 Bit",Modules,,"LSLC32.NLM,CMSM.NLM,ETHERTSM.NLM"
HKR,"ODI\32 Bit",DriverPath,,"%24%%DRIVER_32_PATH%"
HKR,"ODI\32 Bit",FileName,,"DC21040.lan"

;HKR,Ndi\Install,odi,,"dc21x4.odi" 

;params
HKR,,MediaType,,1

;****************************************************************************
; Device specific parameters
;****************************************************************************

[dc21040.ndi.reg]
;ConnectionType
HKR,Ndi\params\ConnectionType,ParamDesc,,"Connection Type-32 bit driver"
HKR,Ndi\params\ConnectionType,default,,0
HKR,Ndi\params\ConnectionType,type,,enum
HKR,Ndi\params\ConnectionType\enum,0,,"AutoDetect"
HKR,Ndi\params\ConnectionType\enum,2,,"Twisted_Pair"
HKR,Ndi\params\ConnectionType\enum,3,,"TP Full_Duplex"
HKR,Ndi\params\ConnectionType\enum,4,,"TP No_Link_Test"
HKR,Ndi\params\ConnectionType\enum,1,,"BNC (10Base2)"
HKR,Ndi\params\ConnectionType\enum,5,,"AUI (10Base5)"
HKR,NDI\params\ConnectionType,flag,1,20,00,00,00

;SIA Mode
;--------------
HKR,Ndi\params\SIA_Mode,ParamDesc,,"Connection Type-16 bit driver"
HKR,Ndi\params\SIA_Mode,default,,AUTODETECT
HKR,Ndi\params\SIA_Mode,type,,enum
HKR,Ndi\params\SIA_Mode\enum,AUTODETECT,,"Auto Detection"
HKR,Ndi\params\SIA_Mode\enum,TP,,"Twisted Pair"
HKR,Ndi\params\SIA_Mode\enum,TP_FULL_DUPLEX,,"TP Full Duplex"
HKR,Ndi\params\SIA_Mode\enum,BNC,,"BNC (Thinnet)"
HKR,Ndi\params\SIA_Mode\enum,AUI,,"AUI (Thicknet)"
HKR,NDI\params\SIA_Mode,flag,1,10,00,00,00

;***********************************************************************
;*     .LogConfig Section                                              *
;***********************************************************************
;###
;***********************************************************************
;*     Install section                                                 *
;***********************************************************************
; Install ODI 16
;***********************************************************************
[21x4.ODI16.install]
CopyFiles=21x4.ODI16.CopyFiles
UpdateAutoBat=21x4.ODI16.autobat

[21x4.ODI16.autobat]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=DC21040
CmdDelete=ODIHLP
CmdAdd=LSL.COM, "-c=%24%%DRIVER_16_PATH%NET.CFG"
CmdAdd=N16ODI.COM
CmdAdd=NESL.COM
CmdAdd=DC21040.com

;***********************************************************************
; Install ODI 32
;***********************************************************************
;***********************************************************************
[21x4.ODI32.install]
CopyFiles=21x4.ODI32.CopyFiles
UpdateAutoBat=21x4.ODI32.autobat

[21x4.ODI32.autobat]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=DC21040
CmdDelete=ODIHLP

;***********************************************************************
;*     remove sections                                                 *
;***********************************************************************
;***********************************************************************
[21x4.ODI16.Remove]
UpdateAutoBat=21x4.ODI16.AutoBatRemove

[21x4.ODI16.AutoBatRemove]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=DC21040          ;.com

;***********************************************************************
;*    Param Section                                                    *
;***********************************************************************
[p21x4.ndi.reg]
;params
HKR,,AdapterType,,5
HKR,,BusType,,5
;BurstLength
HKR,Ndi\params\BurstLength,ParamDesc,,"Burst Length"
HKR,Ndi\params\BurstLength,default,,10
HKR,Ndi\params\BurstLength,type,,enum
HKR,Ndi\params\BurstLength\enum,1,,"1 DWORD"
HKR,Ndi\params\BurstLength\enum,2,,"2 DWORDS"
HKR,Ndi\params\BurstLength\enum,4,,"4 DWORDS"
HKR,Ndi\params\BurstLength\enum,8,,"8 DWORDS"
HKR,Ndi\params\BurstLength\enum,10,,"16 DWORDS"
HKR,Ndi\params\BurstLength\enum,20,,"32 DWORDS"
HKR,NDI\params\BurstLength,flag,1,20,00,00,00
;Receive buffers
HKR,Ndi\params\ReceiveBuffers,ParamDesc,,"Receive Buffers"
HKR,Ndi\params\ReceiveBuffers,default,,10
HKR,Ndi\params\ReceiveBuffers,type,,enum
HKR,Ndi\params\ReceiveBuffers\enum,8,," 8"
HKR,Ndi\params\ReceiveBuffers\enum,10,,"16"
HKR,Ndi\params\ReceiveBuffers\enum,20,,"32"
HKR,Ndi\params\ReceiveBuffers\enum,30,,"48"
HKR,Ndi\params\ReceiveBuffers\enum,40,,"64"
HKR,NDI\params\ReceiveBuffers,flag,1,20,00,00,00

;***********************************************************************
; General Ethernet Frame-Type params
;***********************************************************************
[ODI.Common.CFG.reg]
; First Logical Board
HKR,Ndi\params\Frame1,ParamDesc,,"1. Frame Type"
HKR,Ndi\params\Frame1,default,,1
HKR,Ndi\params\Frame1,type,,enum
HKR,Ndi\params\Frame1,optional,,0
HKR,Ndi\params\Frame1\enum,1,,"Ethernet_802.2"
HKR,Ndi\params\Frame1\enum,2,,"Ethernet_SNAP"
HKR,Ndi\params\Frame1\enum,3,,"Ethernet_II"
HKR,Ndi\params\Frame1\enum,4,,"Ethernet_802.3"

; Second Logical Board
HKR,Ndi\params\Frame2,ParamDesc,,"2. Frame Type"
HKR,Ndi\params\Frame2,default,,2
HKR,Ndi\params\Frame2,type,,enum
HKR,Ndi\params\Frame2,optional,,0
HKR,Ndi\params\Frame2\enum,1,,"Ethernet_802.2"
HKR,Ndi\params\Frame2\enum,2,,"Ethernet_SNAP"
HKR,Ndi\params\Frame2\enum,3,,"Ethernet_II"
HKR,Ndi\params\Frame2\enum,4,,"Ethernet_802.3"
HKR,Ndi\params\Frame2\enum,5,,"Not used"

; Third Logical Board
HKR,Ndi\params\Frame3,ParamDesc,,"3. Frame Type"
HKR,Ndi\params\Frame3,default,,3
HKR,Ndi\params\Frame3,type,,enum
HKR,Ndi\params\Frame3,optional,,0
HKR,Ndi\params\Frame3\enum,1,,"Ethernet_802.2"
HKR,Ndi\params\Frame3\enum,2,,"Ethernet_SNAP"
HKR,Ndi\params\Frame3\enum,3,,"Ethernet_II"
HKR,Ndi\params\Frame3\enum,4,,"Ethernet_802.3"
HKR,Ndi\params\Frame3\enum,5,,"Not used"

; Fourth Logical Board
HKR,Ndi\params\Frame4,ParamDesc,,"4. Frame Type"
HKR,Ndi\params\Frame4,default,,4
HKR,Ndi\params\Frame4,type,,enum
HKR,Ndi\params\Frame4,optional,,0
HKR,Ndi\params\Frame4\enum,1,,"Ethernet_802.2"
HKR,Ndi\params\Frame4\enum,2,,"Ethernet_SNAP"
HKR,Ndi\params\Frame4\enum,3,,"Ethernet_II"
HKR,Ndi\params\Frame4\enum,4,,"Ethernet_802.3"
HKR,Ndi\params\Frame4\enum,5,,"Not used"

; Node Address Override
HKR,Ndi\params\"Node Address",ParamDesc,,"Node Address Override"
HKR,Ndi\params\"Node Address",type,,edit
HKR,Ndi\params\"Node Address",LimitText,,18
HKR,Ndi\params\"Node Address",UpperCase,,1
HKR,Ndi\params\"Node Address",default,,""
HKR,Ndi\params\"Node Address",flag,1,20,00,00,00
HKR,Ndi\params\"Node Address",optional,,1

; Help section
HKR,Ndi,HelpText,,%ODIMLID_HELP%

;***********************************************************************
;*    Resource Section                                                 *
;***********************************************************************

;***********************************************************************
;*   Copy file sections                                                *
;***********************************************************************
; Install ODI 16
;***********************************************************************
[21x4.ODI16.CopyFiles]
DC21040.com,,,5
lsl.com,,,5
N16ODI.com,,,5
nesl.com,,,5
;LSL.msg,,,5
;NESL.msg,,,5

;***********************************************************************
; Install ODI 32
;***********************************************************************
[21x4.ODI32.CopyFiles]
DC21040.lan,,,5

;***********************************************************************
;*   Source Disk Names & Source Disk Files                             *
;***********************************************************************
[SourceDisksNames]
42=%DSK_NOVELL4%,"",0004
42=%DSK_NOVELL4a%,"",0004

[SourceDisksFiles]
DC21040.lan  =42
DC21040.com  =42

nesl.com       =42
lsl.com        =42
N16ODI.COM     =42
;NESL.msg       =42
;LSL.msg        =42

;***********************************************************************
;*   Destination Directories                                           *
;***********************************************************************
[DestinationDirs]
DefaultDestDir           =11 ; LDID_SYS
21x4.ODI16.CopyFiles     =24,novell\nwclient
21x4.ODI32.CopyFiles     =24,novell\client32

;***********************************************************************
;*   Localizable Strings                                               *
;***********************************************************************
[strings]
; Provider
V_N=" Novell"
; Manufacturers
V_COGENT="Cogent"

; Driver Paths 
DRIVER_16_PATH="novell\nwclient\"
DRIVER_32_PATH="novell\client32\"

; Driver Disk names
DSK_NOVELL4=             "Novell NetWare Client-32 LAN driver disk"
DSK_NOVELL4a=            "Novell NetWare Client-32 LAN driver disk."

; Context help
ODIMLID_HELP="The Novell ODI driver enables you to use either 16-Bit or 32-Bit networking components."

; PNP Devices

COGENT.DeviceDesc= "Cogent Emaster + EM960 PCI Ethernet Adapter"
