;******************************************************************************
; CE3LAN.INF --- Xircom Client32 LAN Driver INF for Windows95
; (C) 1996-1999 Xircom, Inc. All Rights Reserved
;
;------------------------------------------------------------------------------

;******************************************************************************
; Version Section
;------------------------------------------------------------------------------
[Version]
InfVersion	= 00.01.00
Signature	= "$CHICAGO$"
Class		= Net
Provider	= %COMPANY_NAME%

;******************************************************************************
; Manufacturer
;------------------------------------------------------------------------------
[Manufacturer]
%COMPANY_NAME% = Device

;******************************************************************************
; Device
;------------------------------------------------------------------------------
[Device]
%ADAPTER% = CE3.Install,PCMCIA\XIRCOM-CREDITCARD_10/100-B548		                               ; Non PNP DeviceID, necessary for SR1 WIN95

;******************************************************************************
; Install
;------------------------------------------------------------------------------
[CE3.Install]									; WIN95 forced load support
AddReg	 = CE3.AddReg, ODI.AddReg, CE3.AddReg.Params, ODI.AddReg.Params

;******************************************************************************
; Add Registry
;------------------------------------------------------------------------------
[CE3.AddReg]									; WIN95 forced load support
HKR,Ndi,DeviceID,,"PCMCIA\XIRCOM-CREDITCARD_10/100-B548"		        ; Non PNP DeviceID, necessary for SR1 WIN95

[ODI.AddReg]
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",,"CE3.ODI16.install"
HKR,Ndi\Install,"32 Bit",,"CE3.ODI32.install"

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

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

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

;******************************************************************************
; Install
;------------------------------------------------------------------------------
;--------------------------------------
; Install ODI 16
;--------------------------------------
[CE3.ODI16.Install]
CopyFiles=CE3.ODI16.CopyFiles
UpdateAutoBat=CE3.ODI16.UpdateAutoBat

[CE3.ODI16.UpdateAutoBat]
CmdAdd=LSL.COM, "-c=%24%%DRIVER_16_PATH%NET.CFG"
CmdAdd=NESL.COM
CmdAdd=ce3odi.com

;--------------------------------------
; Install ODI 32
;--------------------------------------
[CE3.ODI32.Install]
CopyFiles=CE3.ODI32.CopyFiles
UpdateAutoBat=CE3.ODI32.UpdateAutoBat

[CE3.ODI32.UpdateAutoBat]
CmdDelete=LSL
CmdDelete=NESL
CmdDelete=ce3odi

;******************************************************************************
; Remove
;------------------------------------------------------------------------------
[CE3.ODI16.Remove]
UpdateAutoBat=CE3.ODI16.AutoBatRemove

[CE3.ODI16.AutoBatRemove]
CmdDelete=LSL
CmdDelete=NESL
CmdDelete=ce3odi

;******************************************************************************
; Params
;------------------------------------------------------------------------------
[CE3.AddReg.Params]

HKR,NDI\params\IRQ,ParamDesc,,"Interrupt"
HKR,Ndi\Params\IRQ,Type,,INT
HKR,Ndi\Params\IRQ,Default,,5
;HKR,Ndi\Params\IRQ,Optional,,1
HKR,Ndi\Params\IRQ,Min,,3
HKR,Ndi\Params\IRQ,Max,,15
HKR,Ndi\Params\IRQ,Step,,1
HKR,Ndi\Params\IRQ,Base,,10

HKR,NDI\params\IOADDRESS,ParamDesc,,"I/O Address"
HKR,Ndi\Params\IOADDRESS,Type,,DWORD
HKR,Ndi\Params\IOADDRESS,Default,,0x110
;HKR,Ndi\Params\IOADDRESS,Optional,,1
HKR,Ndi\Params\IOADDRESS,Min,,100
HKR,Ndi\Params\IOADDRESS,Max,,FF80
;HKR,Ndi\Params\IOADDRESS,Step,,16
HKR,Ndi\Params\IOADDRESS,Base,,16

HKR,NDI\params\MEMORY,ParamDesc,,"Memory Address"
HKR,Ndi\Params\MEMORY,Type,,DWORD
HKR,Ndi\Params\MEMORY,Default,,D2000
;HKR,Ndi\Params\MEMORY,Optional,,1
HKR,Ndi\Params\MEMORY,Min,,C0000
HKR,Ndi\Params\MEMORY,Max,,FFFFE000
;HKR,Ndi\Params\MEMORY,Step,,1000
HKR,Ndi\Params\MEMORY,Base,,16

HKR,Ndi\Params\LINESPEED,ParamDesc,,"Force Line Speed"
HKR,Ndi\Params\LINESPEED,Type,,ENUM
HKR,Ndi\Params\LINESPEED,Default,,100
HKR,Ndi\Params\LINESPEED,Optional,,1
HKR,Ndi\Params\LINESPEED\Enum,10,,10
HKR,Ndi\Params\LINESPEED\Enum,100,,100

HKR,Ndi\Params\LINKDISABLE,ParamDesc,,"Disable Link Integrity"
HKR,Ndi\Params\LINKDISABLE,Type,,ENUM
HKR,Ndi\Params\LINKDISABLE,Default,,ON
HKR,Ndi\Params\LINKDISABLE,Optional,,1
HKR,Ndi\Params\LINKDISABLE\Enum,ON,,ON

HKR,Ndi\Params\MODE,ParamDesc,,"Address Mode"
HKR,Ndi\Params\MODE,Type,,ENUM
HKR,Ndi\Params\MODE,Default,,MEMORY
HKR,Ndi\Params\MODE,Optional,,1
HKR,Ndi\Params\MODE\Enum,MEMORY,,MEMORY
HKR,Ndi\Params\MODE\Enum,IO,,IO

HKR,Ndi\Params\NOBURST,ParamDesc,,"Disable Burst Mode"
HKR,Ndi\Params\NOBURST,Type,,ENUM
HKR,Ndi\Params\NOBURST,Default,,ON
HKR,Ndi\Params\NOBURST,Optional,,1
HKR,Ndi\Params\NOBURST\Enum,ON,,ON

HKR,Ndi\Params\NOEARLYRX,ParamDesc,,"Disable Early Receive"
HKR,Ndi\Params\NOEARLYRX,Type,,ENUM
HKR,Ndi\Params\NOEARLYRX,Default,,ON
HKR,Ndi\Params\NOEARLYRX,Optional,,1
HKR,Ndi\Params\NOEARLYRX\Enum,ON,,ON

HKR,Ndi\Params\NOEARLYTX,ParamDesc,,"Disable Early Transmit"
HKR,Ndi\Params\NOEARLYTX,Type,,ENUM
HKR,Ndi\Params\NOEARLYTX,Default,,ON
HKR,Ndi\Params\NOEARLYTX,Optional,,1
HKR,Ndi\Params\NOEARLYTX\Enum,ON,,ON

HKR,Ndi\Params\RXBUFFERSIZE,ParamDesc,,"Receive Buffer Size"
HKR,Ndi\Params\RXBUFFERSIZE,Type,,INT
HKR,Ndi\Params\RXBUFFERSIZE,Default,,30
HKR,Ndi\Params\RXBUFFERSIZE,Optional,,1
HKR,Ndi\Params\RXBUFFERSIZE,Min,,1
HKR,Ndi\Params\RXBUFFERSIZE,Max,,100
HKR,Ndi\Params\RXBUFFERSIZE,Step,,1

HKR,Ndi\Params\SOCKET,ParamDesc,,"Force Socket"
HKR,Ndi\Params\SOCKET,Type,,INT
HKR,Ndi\Params\SOCKET,Default,,1
HKR,Ndi\Params\SOCKET,Optional,,1
HKR,Ndi\Params\SOCKET,Min,,1
HKR,Ndi\Params\SOCKET,Max,,4
HKR,Ndi\Params\SOCKET,Step,,1

HKR,Ndi\Params\TXBUFFERSIZE,ParamDesc,,"Transmit Buffer Size"
HKR,Ndi\Params\TXBUFFERSIZE,Type,,INT
HKR,Ndi\Params\TXBUFFERSIZE,Default,,10
HKR,Ndi\Params\TXBUFFERSIZE,Optional,,1
HKR,Ndi\Params\TXBUFFERSIZE,Min,,1
HKR,Ndi\Params\TXBUFFERSIZE,Max,,100
HKR,Ndi\Params\TXBUFFERSIZE,Step,,1



;[ADDREG_XIRCOM.ndi.reg]  from ce3lan.inf
HKR,,AdapterType,,2
HKR,,MemoryBaseAddress,1,01,00,00,00

HKR,Override,0000,1, \
;
; CONFIGMG_VERSION
;
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; I/O
;
24,00,00,00, \
02,00,00,00, \
01,00,0C,00, \
00,00,00,00, \
00,00,00,00, \
F0,FF,10,00, \
00,00,FF,FF, \
00,00,00,00, \
64,00,00,00, \
;
; IRQ
;
14,00,00,00, \
04,00,00,00, \
00,00,00,00, \
FF,FF,00,00, \
20,00,00,00, \
;
; MEM
;
34,00,00,00, \
01,00,00,00, \
01,00,14,00, \
00,00,00,00, \
00,00,00,00, \
00,00,00,00, \
00,F0,FF,FF, \
00,10,00,00, \
00,00,00,00, \
FF,FF,FF,FF, \
00,00,00,00, \
02,00,00,00, \
00,00,00,00, \
;
; REQUEST_CONFIG_PKT
;
19,00,00,00, \
7C,89,00,00, \
00,00,02,00, \
32,32,32,02, \
00,08,00,00, \
00,00,00,01, \
03, \
;
; TERMINATOR
;
00,00,00,00

[ADDREG_XIRCOM_CE3.ndi.reg]
HKR,,AdapterType,,2
HKR,,MemoryBaseAddress,1,01,00,00,00

HKR,Override,0000,1, \
;
; CONFIGMG_VERSION
;
00,04,00,00, \
;
; PRIORITY
;
00,00,00,00, \
;
; I/O
;
24,00,00,00, \
02,00,00,00, \
01,00,0C,00, \
00,00,00,00, \
00,00,00,00, \
F0,FF,10,00, \
00,00,FF,FF, \
00,00,00,00, \
64,00,00,00, \
;
; IRQ
;
14,00,00,00, \
04,00,00,00, \
00,00,00,00, \
FF,FF,00,00, \
20,00,00,00, \
;
; MEM 0
; 4K attribute memory window mapped to PCMCIA address 0
;
34,00,00,00, \  ; Total length of memory resource descriptor
01,00,00,00, \  ; ResType_Mem = 0x00000001
01,00, \        ; MD_Count;
14,00, \        ; MD_Type;      // MType_Range = 0x0014
00,00,00,00, \  ; MD_Alloc_Base;
00,00,00,00, \  ; MD_Alloc_End;
00,00, \        ; MD_Flags;
00,00, \        ; MD_Reserved;
00,F0,FF,FF, \  ; MR_Align;     // Mask for base alingment
00,10,00,00, \  ; MR_nBytes;    // Count of bytes
00,00,00,00, \  ; MR_Min;       // Min Address
FF,FF,FF,FF, \  ; MR_Max;       // Max Address
00,00, \        ; MR_Flags;     // Flags
00,00, \        ; MR_Reserved;
02,00,00,00, \  ; PC Card flas  // 0x02 = attribute mem
		;               // 0x04 = 8-bit common mem (undocumented)
		;               // 0x08 = 16-bit common men
00,00,00,00, \  ; Memory card address
;
; MEM 1
; 2K 16-bit common memory window mapped to PCMCIA address 20000 (=128K)
;
34,00,00,00, \ ; Total length of Memory Resource Descriptor
01,00,00,00, \ ; ResType_Mem = 0x00000001
01,00, \       ; MD_Count;
14,00, \       ; MD_Type;          // MType_Range = 0x0014
00,00,00,00, \ ; MD_Alloc_Base;
00,00,00,00, \ ; MD_Alloc_End;
00,00, \       ; MD_Flags;
00,00, \       ; MD_Reserved;
00,F0,FF,FF, \ ; MR_Align;         // Mask for base alignment
00,08,00,00, \ ; MR_nBytes;        // Count of bytes = 2K
00,00,00,00, \ ; MR_Min;           // Min Address
FF,FF,FF,FF, \ ; MR_Max;           // Max Address
00,00, \       ; MR_Flags;         // Flags
00,00, \       ; MR_Reserved;
08,00,00,00, \ ; PCCARD flags      // 0x02 = attribute mem
	       ;                   // 0x04 = 8-bit common mem (undocumented)
	       ;                   // 0x08 = 16-bit common mem
00,00,02,00, \ ; Memory card address
;
;
; REQUEST_CONFIG_PKT
;
19,00,00,00, \
7C,89,00,00, \
00,00,02,00, \
32,32,32,02, \
00,08,00,00, \
00,00,00,01, \
03, \
;
; TERMINATOR
;
00,00,00,00

;end ce3lan.inf additions

;--------------------------------------
; General Ethernet Frame-Type params
;--------------------------------------
[ODI.AddReg.Params]
; 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%

;******************************************************************************
; Copy file sections
;------------------------------------------------------------------------------
;--------------------------------------
; Copy ODI 16
;--------------------------------------
[CE3.ODI16.CopyFiles]
ce3odi.com,,,5
lsl.com,,,5
nesl.com,,,5

;--------------------------------------
; Copy ODI 32
;--------------------------------------
[CE3.ODI32.CopyFiles]
ce3odi.lan,,,5

;******************************************************************************
; Source Disk Names & Source Disk Files
;------------------------------------------------------------------------------
[SourceDisksNames]
1=%NETWORK_DISK%,"",0004
1=%NETWORK_DISK%,"",0004

[SourceDisksFiles]
ce3odi.lan  = 1, nwserver
ce3odi.com  = 1

;nesl.com       =42
;nesl.com       =42
;lsl.com        =42

;******************************************************************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir		= 11			; System directory
CE3.ODI16.CopyFiles     = 24, novell\nwclient
CE3.ODI32.CopyFiles     = 24, novell\client32

;******************************************************************************
; Localizable Strings
;------------------------------------------------------------------------------
[Strings]
COMPANY_NAME = "Xircom"
ADAPTER      = "Xircom Ethernet Adapter 10/100 Client 32 Driver"

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

;--------------------------------------
; Driver Disk names
;--------------------------------------
NETWORK_DISK = "Xircom Network Drivers Disk for the Ethernet Adapter 10/100"

;--------------------------------------
; Context help
;--------------------------------------
ODIMLID_HELP="Enables NetWare Client 32 or 16-bit ODI on the Xircom Ethernet Adapter 10/100 Client 32 Driver"

;--------------------------------------
; PNP Devices
;--------------------------------------

