; ODIPCN2.INF
;
; IBM PCN2 Network Interface Card.
;
; VeRsIoN=1.00 Novell Windows 95 INF file: IBM PCN2 Adapter.
; CoPyRiGhT=(c) Copyright 1996, by Novell, Inc. All rights reserved.

[version]
InfVersion=00.01.00
signature=$CHICAGO$
Class=Net
provider=%V_N%

;****************************************************************************
;	Manufacturer Section
;****************************************************************************
[Manufacturer]
%V_IBM%=IBM

;****************************************************************************
;	Manufacturer Name Section
;****************************************************************************
[IBM]
%*pnp8888.DeviceDesc%=*pnp8888.Ndi, *pnp8888    ; IBM PCN2L
%*mca8888.DeviceDesc%=*mca8888.Ndi, *mca8888    ; IBM PCN2L MCA

;****************************************************************************
;	INF INSTALL SECTION
;****************************************************************************
;****************************************************************************
; *pnp8888 PCN2L 
;****************************************************************************
[*pnp8888.Ndi]
AddReg=*pnp8888.Ndi.reg, PCN2L.Ndi.reg, ISA.params.reg, ODI.Common.CFG.reg
LogConfig=*pnp8888.LogConfig

;****************************************************************************
; *mca8888 PCN2L 
;****************************************************************************
[*mca8888.Ndi]
AddReg=*mca8888.Ndi.reg, PCN2L.Ndi.reg, MCASLOT.params.reg, ODI.Common.CFG.reg
LogConfig=*mca8888.LogConfig

;****************************************************************************
;	.REG  (Device IDs)
;****************************************************************************
[*pnp8888.Ndi.reg]
HKR,Ndi,DeviceID,,"*pnp8888"

;****************************************************************************
; 	.REG Common settings for all PCN2L drivers
;****************************************************************************
[PCN2L.Ndi.reg]
; key,subkey,valuname,type,value
HKR,,DevLoader,,*odiload
HKR,,EnumPropPages,,"netdi.dll,EnumPropPages"

; Ndi section
HKR,Ndi,NdiInstaller,,"odipage.dll,ODINdiproc"

; Interfaces
HKR,Ndi\Interfaces,DefUpper,,"odinsup,NovellODI32"
HKR,Ndi\Interfaces,UpperRange,,"odinsup,NovellODI32"
HKR,Ndi\Interfaces,DefLower,,"PCN2"
HKR,Ndi\Interfaces,LowerRange,,"PCN2"

; Install section
HKR,Ndi\Install,"16 Bit",,"PCN2L.ODI16.Install"

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

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

;****************************************************************************
;	.LogConfig
;****************************************************************************
[*pnp8888.LogConfig]
ConfigPriority=HARDRECONFIG
IRQConfig=3,9
IOConfig=620-627,628-62F
MemConfig=0CC00-0CCFF,0DC00-0DCFF

[*mca8888.LogConfig]
ConfigPriority=HARDRECONFIG
IRQConfig=3,9
IOConfig=620-627,628-62F
MemConfig=0CC00-0CCFF,0DC00-0DCFF

;****************************************************************************
;	Install Section
;****************************************************************************
[PCN2L.ODI16.Install]
CopyFiles=PCN2L.ODI16.CopyFiles
UpdateAutoBat=PCN2L.ODI16.autobat

[PCN2L.ODI16.autobat]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=PCN2L
CmdDelete=ODIHLP
CmdAdd=LSL.COM  "\c=%24%%DRIVER_16_PATH%NET.CFG"
CmdAdd=N16ODI.COM
CmdAdd=NESL.COM
CmdAdd=PCN2L.COM

;****************************************************************************
;	Remove Section
;****************************************************************************
[PCN2L.ODI16.Remove]
UpdateAutoBat=ODI16.AutoBatRemove

[ODI16.AutoBatRemove]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=PCN2L

;****************************************************************************
;	params For ISA and MCA
;****************************************************************************
[ISA.params.reg]
HKR,,Port,1,02,00,00,00
HKR,Ndi\params\Port,resc,1,02,00,00,00
HKR,Ndi\params\Port,ParamDesc,,"I/O Port Address"
HKR,Ndi\params\Port,flag,1,20,00,00,00

; basic MCA slot section
[MCASLOT.params.reg]
; Adapter Slot Number
HKR,Ndi\params\Slot,ParamDesc,,"Adapter Slot Number"
HKR,Ndi\params\Slot,type,,int
HKR,Ndi\params\Slot,default,,1
HKR,Ndi\params\Slot,min,,1
HKR,Ndi\params\Slot,max,,8
HKR,Ndi\params\Slot,step,,1
HKR,Ndi\params\Slot,optional,,1

;****************************************************************************
;	general PCN2 Frame-Type params
;****************************************************************************
[ODI.Common.CFG.reg]
; First Logical Board
HKR,Ndi\params\Frame1,ParamDesc,,"1. Frame Type"
HKR,Ndi\params\Frame1,default,,2
HKR,Ndi\params\Frame1,type,,enum
HKR,Ndi\params\Frame1,optional,,0
HKR,Ndi\params\Frame1\enum,1,,"IBM_PCN2_802.2 LSB"
HKR,Ndi\params\Frame1\enum,2,,"IBM_PCN2_802.2 MSB"
HKR,Ndi\params\Frame1\enum,3,,"IBM_PCN2_SNAP LSB"
HKR,Ndi\params\Frame1\enum,4,,"IBM_PCN2_SNAP MSB"

; Second Logical Board
HKR,Ndi\params\Frame2,ParamDesc,,"2. Frame Type"
HKR,Ndi\params\Frame2,default,,4
HKR,Ndi\params\Frame2,type,,enum
HKR,Ndi\params\Frame2,optional,,0
HKR,Ndi\params\Frame2\enum,1,,"IBM_PCN2_802.2 LSB"
HKR,Ndi\params\Frame2\enum,2,,"IBM_PCN2_802.2 MSB"
HKR,Ndi\params\Frame2\enum,3,,"IBM_PCN2_SNAP LSB"
HKR,Ndi\params\Frame2\enum,4,,"IBM_PCN2_SNAP MSB"
HKR,Ndi\params\Frame2\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%

;****************************************************************************
; File to be copied
;****************************************************************************
[PCN2L.ODI16.CopyFiles]
PCN2L.com,,,5
LSL.com,,,5
N16ODI.COM,,,5
NESL.com,,,5

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

[SourceDisksFiles]
PCN2L.com    =110
LSL.com      =42
N16ODI.COM     =42
NESL.com     =42

;****************************************************************************
; Destination Directories
;****************************************************************************
[DestinatioNdirs]
DefaultDestDir               =11 ; LDID_SYS
PCN2L.ODI16.CopyFiles       =24,novell\nwclient

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

;Manufacturers
V_Novell="Novell"
V_IBM="IBM"

;Paths to drivers
DRIVER_PATH="novell\client32\"
DRIVER_16_PATH="novell\nwclient\"

DSK_NOVELL4="Novell NetWare Client-32 LAN driver disk"
DSK_NOVELLX="A Disk With the PCN2L.Com File on it."

; IBM Devices
*pnp8888.DeviceDesc="IBM PC Network Adpater II (PCN2L)"
*mca8888.DeviceDesc="IBM PC Network Adpater II MCA (PCN2L)"

; Context help
ODIMLID_HELP="The Novell ODI driver enables you to use a 16-Bit network driver."

