;
; NETCE3.INF
;
; XIRCOM Ethernet Adapter 10/100 Network Interface Cards.
; NDIS3, NDIS 4 & NDIS5 Installation File for w95, W98 and W2K
; Copyright 1996-2000, Xircom, Inc.
;
; $Revision:   1.10  $      
; $Date:   Mar 14 2000 20:38:58  $        

[Version]
Signature    = "$Chicago$"
Compatible   = 1
Class        = Net
ClassGUID    = {4d36e972-e325-11ce-bfc1-08002be10318}
DriverVer    = 03/14/2000, 2.11.00.00 
Provider     = %COMPANY_NAME%
CatalogFile  = NETCE3.CAT

[Manufacturer]
%XIRCOM%=XIRCOM

[ControlFlags]
ExcludeFromSelect.nt =  PCMCIA\XIRCOM-CREDITCARD_10/100-B548
ExcludeFromSelect.nt =  PCMCIA\Xircom-RealPort2_Ethernet_10/100_Adapter-CDB0

[XIRCOM]
%XIRCOMCE3%  = XIRCOMCE3.ndi,PCMCIA\XIRCOM-CREDITCARD_10/100-B548   ; Xircom CC Ethernet 10/100
%XIRCOMRE%   = XIRCOMRE.ndi,PCMCIA\Xircom-RealPort2_Ethernet_10/100_Adapter-CDB0

;****************************************************************************
; XIRCOMCE3 Xircom Ethernet Adapter 10/100
;****************************************************************************
[XIRCOMCE3.ndi]
AddReg       = CE3.ndi.reg,ADDREG_CE3.ndi.reg,ADDREG_XIRCOM_CE3.ndi.reg,Addreg.NIC.Params
CopyFiles    = ce3.ndis3.CopyFiles

[XIRCOMRE.ndi]
AddReg       = RE.ndi.reg,ADDREG_CE3.ndi.reg,ADDREG_XIRCOM_CE3.ndi.reg,Addreg.NIC.Params
CopyFiles    = ce3.ndis3.CopyFiles

[XIRCOMCE3.ndi.NT]
AddReg       = Addreg.NIC.Params,nt.reg
Characteristics = 0x84
BusType      = 8
CopyFiles    = ce3_NT.ndis5.CopyFiles

[XIRCOMRE.ndi.NT]
AddReg       = Addreg.NIC.Params,nt.reg
Characteristics = 0x84
BusType      = 8
CopyFiles    = ce3_NT.ndis5.CopyFiles

[XIRCOMCE3.ndi.NT.Services]
AddService   = CE3, 2, XIRCOMCE3.Service, common.EventLog

[XIRCOMRE.ndi.NT.Services]
AddService   = CE3, 2, XIRCOMRE.Service, common.EventLog

;****************************************************************************
; Add these keys to the registry for all CE3 adapters
;****************************************************************************

[CE3.ndi.reg]
HKR, Ndi, NdiInstaller ,0, "NDIW9X.DLL,NdiW9xProc"
HKR, Ndi, DeviceID     ,0, "PCMCIA\XIRCOM-CREDITCARD_10/100-B548"

[RE.ndi.reg]
HKR, Ndi, NdiInstaller ,0, "NDIW9X.DLL,NdiW9xProc"
HKR, Ndi, DeviceID     ,0, "PCMCIA\Xircom-RealPort2_Ethernet_10/100_Adapter-CDB0"

[ADDREG_CE3.ndi.reg]
HKR,                             ,DevLoader        ,0, "*ndis"
HKR,                             ,DeviceVxDs       ,0, "CE3.SYS"
HKR,                             ,EnumPropPages    ,0, "netdi.dll,EnumPropPages"
; NDIS Info
HKR, NDIS                        ,LogDriverName    ,0, "CE3"
HKR, NDIS                        ,MajorNdisVersion ,1, 03
HKR, NDIS                        ,MinorNdisVersion ,1, 0A

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

HKR, Ndi                         ,CardType         ,0, "PCMCIA"

HKR,                             ,AUTO             ,0, NOTSET
HKR,                             ,NDIS5            ,0, "CE3N5.SYS"
HKR,                             ,NDIS4            ,0, "CE3N4.SYS"
HKR,                             ,NDIS3            ,0, "CE3.SYS"
HKR,                             ,NdisVersion      ,0, "AUTO"
HKR, Ndi\Params\NdisVersion      ,                 ,0, "AUTO"
HKR, Ndi\params\NdisVersion      ,ParamDesc        ,0, "NdisVersion"
HKR, Ndi\params\NdisVersion      ,type             ,0, "enum"
HKR, Ndi\params\NdisVersion\enum ,AUTO             ,0, "Auto Select"
HKR, Ndi\params\NdisVersion\enum ,NDIS3            ,0, "NDIS 3"
HKR, Ndi\params\NdisVersion\enum ,NDIS4            ,0, "NDIS 4"
HKR, Ndi\params\NdisVersion\enum ,NDIS5            ,0, "NDIS 5"

[nt.reg]
HKR, Ndi\Interfaces              ,DefUpper         ,0, "ndis5"
HKR, Ndi\Interfaces              ,DefLower         ,0, "ethernet"
HKR, Ndi\Interfaces              ,UpperRange       ,0, "ndis5"
HKR, Ndi\Interfaces              ,LowerRange       ,0, "ethernet"
HKR, Ndi                         ,Service          ,0, "CE3"

[XIRCOMCE3.Service]
DisplayName    = %ce3.Service.DispName%
ServiceType    = 1 ;%SERVICE_KERNEL_DRIVER%
StartType      = 3 ;%SERVICE_DEMAND_START%
ErrorControl   = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\ce3n5.sys
LoadOrderGroup = NDIS

[XIRCOMRE.Service]
DisplayName    = %re.Service.DispName%
ServiceType    = 1 ;%SERVICE_KERNEL_DRIVER%
StartType      = 3 ;%SERVICE_DEMAND_START%
ErrorControl   = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\ce3n5.sys
LoadOrderGroup = NDIS

[common.EventLog]
AddReg = common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll,%%SystemRoot%%\System32\drivers\ce3n5.sys"
HKR, , TypesSupported,   0x00010001, 7

[Addreg.NIC.Params]
;
; These are the user-configurable parameters which the driver parses.
HKR,Ndi\params\CableType             ,ParamDesc  ,0, "CableType"
HKR,Ndi\params\CableType             ,default    ,0, "0"
HKR,Ndi\params\CableType             ,type       ,0, "enum"
HKR,Ndi\params\CableType\enum        ,0          ,0, "AutoDetect"
HKR,Ndi\params\CableType\enum        ,1          ,0, "10BT/100BTX (TP)"
HKR,Ndi\params\CableType\enum        ,2          ,0, "10B2 (Coax)"

HKR,Ndi\Params\DynamicLinkDetect     ,ParamDesc  ,0, "DynamicLinkDetect"
HKR,Ndi\Params\DynamicLinkDetect     ,default    ,0, "1"
HKR,Ndi\Params\DynamicLinkDetect     ,type       ,0, "enum"
HKR,Ndi\Params\DynamicLinkDetect\enum,0          ,0, "OFF"
HKR,Ndi\Params\DynamicLinkDetect\enum,1          ,0, "ON"

HKR,Ndi\params\EarlyTransmit         ,ParamDesc  ,0, "EarlyTransmit"
HKR,Ndi\params\EarlyTransmit         ,default    ,0, "1"
HKR,Ndi\params\EarlyTransmit         ,type       ,0, "enum"
HKR,Ndi\params\EarlyTransmit\enum    ,0          ,0, "OFF"
HKR,Ndi\params\EarlyTransmit\enum    ,1          ,0, "ON"

HKR,Ndi\Params\InitDelay             ,ParamDesc  ,0, "InitializationDelay"
HKR,Ndi\Params\InitDelay             ,type       ,0, "INT"
HKR,Ndi\Params\InitDelay             ,default    ,0, "0"
HKR,Ndi\Params\InitDelay             ,optional   ,0, "1"
HKR,Ndi\Params\InitDelay             ,min        ,0, "0"
HKR,Ndi\Params\InitDelay             ,max        ,0, "60"
HKR,Ndi\Params\InitDelay             ,step       ,0, "1"

HKR,Ndi\params\LineSpeed             ,ParamDesc  ,0, "LineSpeed"
HKR,Ndi\params\LineSpeed             ,default    ,0, "0"
HKR,Ndi\params\LineSpeed             ,type       ,0, "enum"
HKR,Ndi\params\LineSpeed\enum        ,0          ,0, "AutoDetect"
HKR,Ndi\params\LineSpeed\enum        ,1          ,0, "10 Mbps"
HKR,Ndi\params\LineSpeed\enum        ,2          ,0, "100 Mbps"

HKR,Ndi\params\LineMode              ,ParamDesc  ,0, "LineMode"
HKR,Ndi\params\LineMode              ,default    ,0, "0"
HKR,Ndi\params\LineMode              ,type       ,0, "enum"
HKR,Ndi\params\LineMode\enum         ,0          ,0, "AutoDetect"
HKR,Ndi\params\LineMode\enum         ,1          ,0, "HalfDuplex"
HKR,Ndi\params\LineMode\enum         ,2          ,0, "FullDuplex"

HKR,Ndi\params\LinkIntegrity         ,ParamDesc  ,0, "LinkIntegrity"
HKR,Ndi\params\LinkIntegrity         ,default    ,0, "1"
HKR,Ndi\params\LinkIntegrity         ,type       ,0, "enum"
HKR,Ndi\params\LinkIntegrity\enum    ,0          ,0, "OFF"
HKR,Ndi\params\LinkIntegrity\enum    ,1          ,0, "ON"

HKR,Ndi\params\Mode                  ,ParamDesc  ,0, "Mode"
HKR,Ndi\params\Mode                  ,default    ,0, "0"
HKR,Ndi\params\Mode                  ,type       ,0, "enum"
HKR,Ndi\params\Mode\enum             ,0          ,0, "I/O"
HKR,Ndi\params\Mode\enum             ,1          ,0, "Memory Mapped"

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"

; Default = 7K; 1K-29K step 1K
HKR,Ndi\params\TransmitBufferSize    ,ParamDesc  ,0, "TransmitBufferSize"
HKR,Ndi\params\TransmitBufferSize    ,default    ,0, "11264"
HKR,Ndi\params\TransmitBufferSize    ,type       ,0, "word"
HKR,Ndi\params\TransmitBufferSize    ,min        ,0, "1024"
HKR,Ndi\params\TransmitBufferSize    ,max        ,0, "29696"
HKR,Ndi\params\TransmitBufferSize    ,step       ,0, "1024"

;****************************************************************************
; This section contains stuff specific to each version of Xircom adapter.
;****************************************************************************

;****************************************************************************
; Add these keys to the registry for all CE3 adapters.
;****************************************************************************
[ADDREG_XIRCOM_CE3.ndi.reg]
;
; The following 3 keywords are resources maintained by the system.
; The system allocates values to these according to what is available.
; The system allocated values are then put into the registry for querying
; by the miniport driver.
;
HKR,                                 ,InterruptNumber  ,1, 04,00,00,00
HKR,                                 ,IoBaseAddress    ,1, 02,00,00,00
HKR,                                 ,MemoryBaseAddress,1, 01,00,00,00

;****************************************************************************
; The override section is only needed if the CIS does NOT contain a proper
; Config_Table_Entry tuple describing the necessary I\O, IRQ, & memory 
; resources.
;****************************************************************************
HKR,Override,0000,1, \
;
00,04,00,00, \      ; CONFIGMG_VERSION
00,00,00,00, \      ; PRIORITY
;
; 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
10,00, \           ; IOR_nPorts      // Number of ports
00,00, \           ; IOR_Min         // Min port address
FF,FF, \           ; IOR_Max         // Max port address
00,00, \           ; IOR_RangeFlags  // Flags
00, \              ; IOR_Alias       // Alias offset
00, \              ; IOR_Decode      // Address specified
64,00,00,00, \     ; PCCARD flags, 0x40 = 16-bit port
;
; IRQ
;
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
FF,FF, \           ; IRQD_Req_Mask   // Mask of possible IRQs
00,00, \           ; IRQD_Reserved
20,00,00,00, \     ; PCCard flags, 0x20 = level mode int's
;
; 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 flags // 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
; Same as PCMCIA Card Services RequestConfiguration argument structure.
; The Socket field in this structure does not need to be filled in.
;
19,00,00,00, \     ; length of REQUEST_CONFIG_PKT descriptor
7C,89,00,00, \     ; ResType_Ignored_Bit + PCCARD_DEVICE_ID = 0x897C
00,00, \           ; Socket
02,00, \           ; Attributes
32, \              ; Vcc
32, \              ; Vpp1
32, \              ; Vpp2
02, \              ; IntType
00,08,00,00, \     ; ConfigBase
00, \              ; Status
00, \              ; Pin
00, \              ; Copy
01, \              ; ConfigIndex
03, \              ; Present
;
; TERMINATOR
;
00,00,00,00

;****************************************************************************
; Installation for NDIS 3, copying files
;****************************************************************************
;[ce3.ndis3]
;CopyFiles=ce3.ndis3.CopyFiles

[ce3.ndis3.CopyFiles]
ndiw9x.dll,,,2
CE3.SYS,,,2
CE3N4.SYS,,,2
CE3N5.SYS,,,2

[ce3_NT.ndis5.CopyFiles]
CE3N5.SYS,,,2

;****************************************************************************
; Destination Directories
;****************************************************************************
[DestinationDirs]
DefaultDestDir          = 11 ; SYSTEM directory
ce3.ndis3.CopyFiles     = 11 ; SYSTEM directory
ce3_NT.ndis5.CopyFiles  = 12 

[SourceDisksNames]
42 = %Disk_42_Desc% ,,, .\

[SourceDisksFiles]
CE3N5.SYS   = 42
CE3N4.SYS   = 42
CE3.SYS     = 42
ndiw9x.dll  = 42


;****************************************************************************
; Translatable strings
;****************************************************************************

[Strings]
COMPANY_NAME="Xircom"
;
; Manufacturer names
;
XIRCOM="Xircom"
;
; Adapter names
;
XIRCOMCE3="Xircom Ethernet Adapter 10/100"
XIRCOMRE="Xircom RealPort2 Ethernet 10/100 Adapter"


ce3.Service.DispName="Xircom Ethernet Adapter 10/100"
re.Service.DispName="Xircom RealPort2 Ethernet 10/100 Adapter"

Disk_42_Desc="Windows 95, 98 and NT Installation Disk for Xircom Ethernet Adapter 10/100"
