; ODISILC.INF
;
; SILICOM Network Interface Cards.
;
; VeRsIoN=1.00 Novell Windows 95 INF file: Silicom 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]
%SILICOM%=SILICOM

;***********************************************************************
;*    Manufacture Name section                                         *
;***********************************************************************
[SILICOM]
%*SlSetp3.DeviceDesc%=*SlSetp3.ndi, *SlSetp3    ;Silicom Pocket Ethernet Adapter
%SPEX%=SPEX.ndi,PCMCIA\SILICOM_LTD.-ETHERNET_LAN_CARD-967A

;***********************************************************************
;*   INF Install Section                                               *
;***********************************************************************
;****************************************************************************
;    *SlSetp3   Silicom Pocket Ethernet Adapter
;****************************************************************************

[*SlSetp3.ndi]
AddReg=*SlSetp3.ndi.reg,setp3.ndi.reg,ODI.Common.CFG.reg

[*SlSetp3.ndi.reg]
HKR,Ndi,DeviceID,,"*SlSetp3"
;Parallel port Type Parameter
HKR,Ndi\params\PP_Mode,ParamDesc,,%SL_SETP_PARAMETER_PP_MODE%
HKR,NDI\params\PP_Mode,flag,1,20,00,00,00
HKR,Ndi\params\PP_Mode,optional,,0
HKR,Ndi\params\PP_Mode,default,,1
HKR,Ndi\params\PP_Mode,type,,enum
HKR,Ndi\params\PP_Mode\enum,1,,"AUTO"
HKR,Ndi\params\PP_Mode\enum,0,,"EPP"
HKR,Ndi\params\PP_Mode\enum,4,,"Unidirectional"
HKR,Ndi\params\PP_Mode\enum,5,,"Fast Unidirectional"
;Disable link Parameter
HKR,Ndi\params\Disable_Link,ParamDesc,,%SL_SETP_PARAM_DISABLELINK%
HKR,NDI\params\Disable_Link,flag,1,20,00,00,00
HKR,Ndi\params\Disable_Link,optional,,0
HKR,Ndi\params\Disable_Link,default,,16
HKR,Ndi\params\Disable_Link,type,,enum
HKR,Ndi\params\Disable_Link\enum,0,,%PARAM_YES%
HKR,Ndi\params\Disable_Link\enum,16,,%PARAM_NO%
;Miniblock Parameter
HKR,Ndi\params\Mini_Block,ParamDesc,,%SL_SETP_PARAM_MINIBLOCK%
HKR,NDI\params\Mini_Block,flag,1,20,00,00,00
HKR,Ndi\params\Mini_Block,optional,,0
HKR,Ndi\params\Mini_Block,default,,0
HKR,Ndi\params\Mini_Block,type,,enum
HKR,Ndi\params\Mini_Block\enum,2,,%PARAM_YES%
HKR,Ndi\params\Mini_Block\enum,0,,%PARAM_NO%
;LPT Parameter
HKR,Ndi\params\LPT,ParamDesc,,%SL_SETP_PARAM_LPT%
HKR,NDI\params\LPT,flag,1,20,00,00,00
HKR,Ndi\params\LPT,optional,,0
HKR,Ndi\params\LPT,default,,0
HKR,Ndi\params\LPT,type,,enum
HKR,Ndi\params\LPT\enum,0,,"AUTO"
HKR,Ndi\params\LPT\enum,1,,"LPT1"
HKR,Ndi\params\LPT\enum,2,,"LPT2"
HKR,Ndi\params\LPT\enum,3,,"LPT3"

;***********************************************************************
;    *SlSetp   Silicom PCMCIA Ethernet Adapter
;***********************************************************************
[SPEX.ndi]
AddReg=*SPEX.ndi.reg,ADDREG_SPEX.ndi.reg,ADDREG_SILICOM.ndi.reg,ODI.Common.CFG.reg
LogConfig=SPEX.LogConfig

[*SPEX.ndi.reg]
HKR,Ndi,CardType,,"PCMCIA"
HKR,Ndi,DeviceID,,"PCMCIA\SILICOM_LTD.-ETHERNET_LAN_CARD-967A"

;***********************************************************************
;*      Added Registry                                                 *
;***********************************************************************
;****************************************************************************
; setp3 Drivers
;****************************************************************************
; Base section for setp3 users
[setp3.ndi.reg]
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",,"SETP3.ODI16.install"
;HKR,Ndi\Install,"32 Bit",,"SETP3.ODI32.install"

; Remove section
HKR,Ndi\Remove,"16 Bit",,"SETP3.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,,"SETODI.com"
HKR,"ODI\16 Bit",NetcfgPath,,"%24%%DRIVER_16_PATH%"
HKR,"ODI\16 Bit",NetcfgFileName,,"Net.cfg"
HKR,"ODI\16 Bit",LinkDriver,,"SETODI"

; 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,,"SETODILAN.lan"


;****************************************************************************
; setp Drivers
;****************************************************************************
; Base section for setp users
[ADDREG_SPEX.ndi.reg]
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",,"SPEX.ODI16.install"
;HKR,Ndi\Install,"32 Bit",,"SPEX.ODI32.install"

; Remove section
HKR,Ndi\Remove,"16 Bit",,"SPEX.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,,"SPEODI.com"
HKR,"ODI\16 Bit",NetcfgPath,,"%24%%DRIVER_16_PATH%"
HKR,"ODI\16 Bit",NetcfgFileName,,"Net.cfg"
HKR,"ODI\16 Bit",LinkDriver,,"SPEODI"

; 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,,"SPEODILAN.lan"

; Parameters for hardware resources (PnP style):
HKR,,Port,1,02,00,00,00
HKR,,IRQ,1,04,00,00,00
HKR,NDI\params\IRQ,resc,1,04,00,00,00
HKR,Ndi\params\IRQ,ParamDesc,,"IRQ"
HKR,NDI\params\IRQ,flag,1,30,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,30,00,00,00


;***********************************************************************
;*     .LogConfig Section                                              *
;***********************************************************************
[SPEX.LogConfig]
IRQConfig=5,15,12,11,10,9,3,4,2
IOConfig=10@300-360%FF0(3FF::),10@380-3A0%FF0(3FF::),10@200-260%FF0(3FF::),10@280-2A0%FF0(3FF::)
ConfigPriority=DESIRED

;***********************************************************************
;*     Install section                                                 *
;***********************************************************************
; Install ODI 16
;***********************************************************************
[SETP3.ODI16.install]
CopyFiles=SETP3.ODI16.CopyFiles
UpdateAutoBat=SETP3.ODI16.autobat

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

;  SETP adapter
[SPEX.ODI16.install]
CopyFiles=SPEX.ODI16.CopyFiles
UpdateAutoBat=SPEX.ODI16.autobat

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

;***********************************************************************
; Install ODI 32
;***********************************************************************
;***********************************************************************
;  SETP3 adapter
;[SETP3.ODI32.install]
;CopyFiles=SETP3.ODI32.CopyFiles
;UpdateAutoBat=SETP3.ODI32.autobat

;[SETP3.ODI32.autobat]
;CmdDelete=LSL
;CmdDelete=N16ODI
;CmdDelete=NESL
;CmdDelete=SETODI
;CmdDelete=ODIHLP

;***********************************************************************
;  SETP adapter
;[SPEX.ODI32.install]
;CopyFiles=SPEX.ODI32.CopyFiles
;UpdateAutoBat=SPEX.ODI32.autobat

;[SPEX.ODI32.autobat]
;CmdDelete=LSL
;CmdDelete=N16ODI
;CmdDelete=NESL
;CmdDelete=SPEODI
;CmdDelete=ODIHLP

;***********************************************************************
;*     remove sections                                                 *
;***********************************************************************
;***********************************************************************
; SETP3 adapter
[SETP3.ODI16.Remove]
UpdateAutoBat=SETP3.ODI16.AutoBatRemove

[SETP3.ODI16.AutoBatRemove]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=SETODI          ;.com

; SETP adapter
[SPEX.ODI16.Remove]
UpdateAutoBat=SPEX.ODI16.AutoBatRemove

[SPEX.ODI16.AutoBatRemove]
CmdDelete=LSL
CmdDelete=N16ODI
CmdDelete=NESL
CmdDelete=SPEODI          ;.com

;***********************************************************************
;*    Param Section                                                    *
;***********************************************************************
;
; PCMCIA attribute info override:
; This can be dropped since the card has correct CIS.
;
[ADDREG_SILICOM.ndi.reg]
HKR,Override,0000,1, \
; CONFIGMG_VERSION
00,04,00,00, \
; PRIORITY
00,00,00,00, \
;
; I/O Resource Descriptor
;
24,00,00,00, \ ; Total length of I/O Resource Descriptor
02,00,00,00, \ ; ResType_IO = 0x00000002
01,00, \       ; IOD_Count;
0C,00, \       ; IOD_Type;         // IOType_Range = 0x000C
00,00, \       ; IOD_Alloc_Base;
00,00, \       ; IOD_Alloc_End;
00,00, \       ; IOD_DesFlags;
00, \          ; IOD_Alloc_Alias;
00, \          ; IOD_Alloc_Decode;
F0,FF, \       ; IOR_Align;        // Mask for base alignment FFF0
10,00, \       ; IOR_nPorts;       // Number of ports=10h
00,00, \       ; IOR_Min;          // Min port address=0 ??
FF,03, \       ; IOR_Max;          // Max port address = 3ff
00,00, \       ; IOR_RangeFlags;   // Flags
00, \          ; IOR_Alias;        // Alias offset
00, \          ; IOR_Decode;       // Address specified
64,00,00,00, \ ; flags, 0x40 = 16-bit port
;
; IRQ Resource Descriptor
;
14,00,00,00, \ ; Total length of IRQ Resource Descriptor
04,00,00,00, \ ; ResType_IRQ = 0x00000004
00,00, \       ; IRQD_Flags;
00,00, \       ; IRQD_Alloc_Num;   // Allocated IRQ number
F8,7E, \       ; IRQD_Req_Mask;    // Mask of possible IRQs {3,4,5,6,7,9,10,11,12,13,14}
00,00, \       ; IRQD_Reserved;
20,00,00,00, \ ; flags, 0x20 = Level mode interrupts
;
; REQUEST_CONFIG_PKT Descriptor
;
19,00,00,00, \ ; Total length of REQUEST_CONFIG_PKT Descriptor
7C,89,00,00, \ ; (ResType_Ignored_Bit + PCCARD_DEVICE_ID) = 0x897C
00,00, \       ; Socket; (FILLED IN RUNTIME)
02,00, \       ; Attributes; i/o client
32, \          ; Vcc = 5.0v =50t
32, \          ; Vpp1  set to 12.0v for FLASH access
32, \          ; Vpp2  must be same as Vpp1
02, \          ; IntType;
F8,03,00,00, \ ; ConfigBase = 3f8
00, \          ; Status reg;
00, \          ; Pin reg;
00, \          ; Copy reg;
01, \          ; ConfigIndex reg = 1; set to 3 for FLASH access
03, \          ; regs defined: {cfg idx, sts}
;
; TERMINATOR
;
00,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
;***********************************************************************

;***********************************************************************
;  SETP3 adapter
[SETP3.ODI16.CopyFiles]
SETODI.com,,,5
lsl.com,,,5
N16ODI.COM,,,5
nesl.com,,,5
;LSL.msg,,,5
;NESL.msg,,,5

;***********************************************************************
;  SETP adapter
[SPEX.ODI16.CopyFiles]
SPEODI.com,,,5
lsl.com,,,5
N16ODI.COM,,,5
nesl.com,,,5
;LSL.msg,,,5
;NESL.msg,,,5

;***********************************************************************
; Install ODI 32
;***********************************************************************

;***********************************************************************
;  SETP3 adapter
;[SETP3.ODI32.CopyFiles]
;SETODILAN.lan,,,5

;***********************************************************************
;  SETP adapter
;[SPEX.ODI32.CopyFiles]
;SPEODILAN.lan,,,5

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

[SourceDisksFiles]
;SETODILAN.lan  =42
SETODI.com  =42

;SPEODILAN.lan  =42
SPEODI.com  =42

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

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

SPEX.ODI16.CopyFiles     =24,novell\nwclient
;SPEX.ODI32.CopyFiles     =24,novell\client32
;***********************************************************************
;*   Localizable Strings                                               *
;***********************************************************************
[strings]
; Provider
V_N=" Novell"
; Manufacturers
SILICOM="Silicom"

; 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
*SlSetp3.DeviceDesc="Silicom Ethernet Pocket Adapter."
SPEX="Silicom Ethernet PCMCIA Adapter"

SL_SETP_PARAMETER_PP_MODE = "Parallel port mode"
PARAM_YES="YES"
PARAM_NO="NO"
SL_SETP_PARAM_DISABLELINK="DISABLE LINK"
SL_SETP_PARAM_MINIBLOCK="MINI BLOCK"
SL_SETP_PARAM_LPT="LPT port"
