;
;  Purpose:  Netcard setup information file for Windows 95
;
;  Author:   Tevin Chen
;
;  Date:     Apr, 2004
;
;

[Version]
Signature   = "$Windows 95$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Prov%
LayoutFile  = layout.inf

[Manufacturer]
%Manuf%     = MANUF

[MANUF]
%VT3106S.DeviceDesc% = VT3106S.ndi, PCI\VEN_1106&DEV_3053
%VT3106J.DeviceDesc% = VT3106J.ndi, PCI\VEN_1106&DEV_3106
%VT3065.DeviceDesc% = VT3065.ndi,   PCI\VEN_1106&DEV_3065
%VT3043.DeviceDesc% = VT3043.ndi,   PCI\VEN_1106&DEV_3043

;-------------------------------------------------------------------------------
; ndi for 3106S
;-------------------------------------------------------------------------------
[VT3106S.ndi]
DelReg          = FET.delreg, FlowCtrl.delreg, Misc.delreg.win, AI.delreg, Tagging.delreg, VLAN.delreg
AddReg          = VT3106.reg, FET.reg, FlowCtrl.reg, FET.reg.win, AI.reg, Tagging.reg, VLAN.reg

;-------------------------------------------------------------------------------
; ndi for 3106J
;-------------------------------------------------------------------------------
[VT3106S.ndi]
DelReg          = FET.delreg, FlowCtrl.delreg, PM.delreg.win, Misc.delreg.win, AI.delreg
AddReg          = VT3106.reg, FET.reg, FlowCtrl.reg, FET.reg.win, AI.reg

;-------------------------------------------------------------------------------
; ndi for 3065
;-------------------------------------------------------------------------------
[VT3065.ndi]
DelReg          = FET.delreg, FlowCtrl.delreg, PM.delreg.win, Misc.delreg.win, AI.delreg
AddReg          = VT3065.reg, FET.reg, FlowCtrl.reg, FET.reg.win, AI.reg

;-------------------------------------------------------------------------------
; ndi for 3043
;-------------------------------------------------------------------------------
[VT3043.ndi]
DelReg          = FET.delreg, Misc.delreg.win
AddReg          = VT3043.reg, FET.reg, FET.reg.win

;-------------------------------------------------------------------------------
; VT3106 specific , AdapterCFID = 0x31061106 (HEX) = 822481158 (DEC)
;
[VT3106.reg]
HKR, Ndi,                                   DeviceID,       0, "PCI\VEN_1106&DEV_3106"
HKR, ,                                      AdapterCFID,    0, "822481158"
HKR, ,                                      AdapterType,    0, "5"
HKR, ,                                      MediaType,      0, "1"

HKR, ,                                      ReceiveBurstIndicate,0,"32"
HKR, ,                                      ReceiveThreshold,   0, "0"
HKR, ,                                      TransmitThreshold,  0, "0"
HKR, ,                                      BurstLength,        0, "1"
HKR, ,                                      MapRegisters,       0, "256"
HKR, ,                                      EarlyReceive,       0, "0"
HKR, ,                                      EarlyTransmit,      0, "0"
; Nway Forced Mode
HKR, ,                                      NwayForce,          0, "1"

HKR, ,                                      TransmitBuffers, 0, "64"
HKR, Ndi\params\TransmitBuffers,            ParamDesc,       0, %TXBuffer%
HKR, Ndi\params\TransmitBuffers,            default,         0, "64"
HKR, Ndi\params\TransmitBuffers,            type,            0, "int"
HKR, Ndi\params\TransmitBuffers,            Min,             0, "48"
HKR, Ndi\params\TransmitBuffers,            Max,             0, "128"
HKR, Ndi\params\TransmitBuffers,            Step,            0, "1"
HKR, Ndi\params\TransmitBuffers,            Base,            0, "10"
HKR, Ndi\params\TransmitBuffers,            flag,            1, "20","00","00","00"

HKR, ,                                      ReceiveBuffers,  0, "64"
HKR, Ndi\params\ReceiveBuffers,             ParamDesc,       0, %RXBuffer%
HKR, Ndi\params\ReceiveBuffers,             default,         0, "64"
HKR, Ndi\params\ReceiveBuffers,             type,            0, "int"
HKR, Ndi\params\ReceiveBuffers,             Min,             0, "64"
HKR, Ndi\params\ReceiveBuffers,             Max,             0, "128"
HKR, Ndi\params\ReceiveBuffers,             Step,            0, "1"
HKR, Ndi\params\ReceiveBuffers,             Base,            0, "10"
HKR, Ndi\params\ReceiveBuffers,             flag,            1, "20","00","00","00"

;-----------------------------------------------------------------------------
; VT3065 specific , AdapterCFID = 0x30651106 (HEX) = 811929862 (DEC)
;
[VT3065.reg]
HKR, ,                                      AdapterCFID,    0, "811929862"
HKR, ,                                      AdapterType,    0, "5"
HKR, ,                                      MediaType,      0, "1"
HKR, ,                                      BusType,        0, "5"
HKR, Ndi,                                   DeviceID,       0, "PCI\VEN_1106&DEV_3065"

; NDIS3 driver parameters:
HKR, ,                                      ReceiveBurstIndicate,0,"20"
HKR, ,                                      ReceiveThreshold,   0, "0"
HKR, ,                                      TransmitThreshold,  0, "0"
HKR, ,                                      BurstLength,        0, "1"
HKR, ,                                      MapRegisters,       0, "20"
HKR, ,                                      EarlyReceive,       0, "0"
HKR, ,                                      EarlyTransmit,      0, "0"
; Nway Forced Mode
HKR, ,                                      NwayForce,          0, "1"

HKR, ,                                      TransmitBuffers, 0, "64"
HKR, Ndi\params\TransmitBuffers,            ParamDesc,       0, %TXBuffer%
HKR, Ndi\params\TransmitBuffers,            default,         0, "64"
HKR, Ndi\params\TransmitBuffers,            type,            0, "int"
HKR, Ndi\params\TransmitBuffers,            Min,             0, "48"
HKR, Ndi\params\TransmitBuffers,            Max,             0, "128"
HKR, Ndi\params\TransmitBuffers,            Step,            0, "1"
HKR, Ndi\params\TransmitBuffers,            Base,            0, "10"
HKR, Ndi\params\TransmitBuffers,            flag,            1, "20","00","00","00"

HKR, ,                                      ReceiveBuffers,  0, "64"
HKR, Ndi\params\ReceiveBuffers,             ParamDesc,       0, %RXBuffer%
HKR, Ndi\params\ReceiveBuffers,             default,         0, "64"
HKR, Ndi\params\ReceiveBuffers,             type,            0, "int"
HKR, Ndi\params\ReceiveBuffers,             Min,             0, "64"
HKR, Ndi\params\ReceiveBuffers,             Max,             0, "128"
HKR, Ndi\params\ReceiveBuffers,             Step,            0, "1"
HKR, Ndi\params\ReceiveBuffers,             Base,            0, "10"
HKR, Ndi\params\ReceiveBuffers,             flag,            1, "20","00","00","00"
;-----------------------------------------------------------------------------
; VT3043 specific, AdapterCFID = 0x30431106 (HEX) = 809701638 (DEC)
;
[VT3043.reg]
HKR, ,                                      AdapterCFID,    0, "809701638"
HKR, ,                                      AdapterType,    0, "5"
HKR, ,                                      MediaType,      0, "1"
HKR, ,                                      BusType,        0, "5"
HKR, Ndi,                                   DeviceID,       0, "PCI\VEN_1106&DEV_3043"

; NDIS3 driver parameters:
HKR, ,                                      ReceiveBurstIndicate,0,"20"
HKR, ,                                      ReceiveThreshold,   0, "0"
HKR, ,                                      TransmitThreshold,  0, "0"
HKR, ,                                      BurstLength,        0, "1"
HKR, ,                                      MapRegisters,       0, "8"
HKR, ,                                      EarlyReceive,       0, "0"
HKR, ,                                      EarlyTransmit,      0, "0"

HKR, ,                                      TransmitBuffers,    0, "8"
HKR, Ndi\params\TransmitBuffers,            ParamDesc,          0, %TXBuffer%
HKR, Ndi\params\TransmitBuffers,            default,            0, "8"
HKR, Ndi\params\TransmitBuffers,            type,               0, "int"
HKR, Ndi\params\TransmitBuffers,            Min,                0, "4"
HKR, Ndi\params\TransmitBuffers,            Max,                0, "64"
HKR, Ndi\params\TransmitBuffers,            Step,               0, "1"
HKR, Ndi\params\TransmitBuffers,            Base,               0, "10"
HKR, Ndi\params\TransmitBuffers,            flag,               1, "20","00","00","00"

HKR, ,                                      ReceiveBuffers,     0, "64"
HKR, Ndi\params\ReceiveBuffers,             ParamDesc,          0, %RXBuffer%
HKR, Ndi\params\ReceiveBuffers,             default,            0, "64"
HKR, Ndi\params\ReceiveBuffers,             type,               0, "int"
HKR, Ndi\params\ReceiveBuffers,             Min,                0, "64"
HKR, Ndi\params\ReceiveBuffers,             Max,                0, "128"
HKR, Ndi\params\ReceiveBuffers,             Step,               0, "1"
HKR, Ndi\params\ReceiveBuffers,             Base,               0, "10"
HKR, Ndi\params\ReceiveBuffers,             flag,               1, "20","00","00","00"

;-----------------------------------------------------------------------------
; FET common driver parameters
;
[FET.reg.win]
; Install sections
HKR, Ndi\Install,                           ndis3,          0, "FET.ndis3"
HKR, Ndi\Install,                           ndis2,          0, "FET.ndis2"
HKR, Ndi\Install,                           odi,            0, "FET.odi"

HKR, NDIS,                                  MajorNdisVersion,1,03
HKR, NDIS,                                  MinorNdisVersion,1,0A
HKR, ,                                      DevLoader,      0, *ndis
HKR, NDIS,                                  LogDriverName,  0, "FETNDIS"
HKR, NDIS\NDIS2,                            DriverName,     0, "FETND$"
HKR, NDIS\NDIS2,                            FileName,       0, "fetnd.dos"
HKR, NDIS\ODI,                              DriverName,     0, "FETODI"
HKR, NDIS\ODI,                              FileName,       0, "fetodi.com"

HKR, Ndi\Interfaces,                        DefLower,       0, "ethernet"
HKR, Ndi\Interfaces,                        LowerRange,     0, "ethernet"
HKR, Ndi\Interfaces,                        DefUpper,       0, "ndis2,ndis3"
HKR, Ndi\Interfaces,                        UpperRange,     0, "ndis3,ndis2,odi"
HKR, ,                                      DeviceVxDs,     0, "fetnd3r.sys"

; the parameter below are in windows 95(OSR2)/98(SE)/ME only
; Wake On LAN Event
HKR, ,                                      WOLEvent,       0, "0"
HKR, Ndi\params\WOLEvent,                   ParamDesc,      0, %WOLEvent%
HKR, Ndi\params\WOLEvent,                   default,        0, "0"
HKR, Ndi\params\WOLEvent,                   type,           0, "enum"
HKR, Ndi\params\WOLEvent\enum,              0,              0, %OSDefault%
HKR, Ndi\params\WOLEvent\enum,              1,              0, %OSAndUnicast%
HKR, Ndi\params\WOLEvent,                   flag,           1, "20","00","00","00"

; Network Address, No UI
HKR, ,                                      NetworkAddress, 0, ""


[Tagging.reg]
; number of Tx queue allocation
HKR, ,                                      TxQueueNum,     0, "8"
; 802.1p/802.1q Packet Tagging
HKR, ,                                      8021pqtag,      0, "0"
HKR,Ndi\Params\8021pqtag,                   ParamDesc,      0, %8021pq%
HKR,Ndi\Params\8021pqtag,                   Default,        0, "0"
HKR,Ndi\Params\8021pqtag,                   type,           0, "enum"
HKR,Ndi\Params\8021pqtag\enum,              "0",            0, %Disabled%
HKR,Ndi\Params\8021pqtag\enum,              "1",            0, %Enabled%
HKR,Ndi\params\8021pqtag,                   flag,           1, "20","00","00","00"

[VLAN.reg]
; static single VLAN ID setting
HKR, ,                                      VLANID,          0, "0"
HKR, Ndi\params\VLANID,                     ParamDesc,       0, %VLANID%
HKR, Ndi\params\VLANID,                     default,         0, "0"
HKR, Ndi\params\VLANID,                     type,            0, "int"
HKR, Ndi\params\VLANID,                     Min,             0, "0"
HKR, Ndi\params\VLANID,                     Max,             0, "4094"
HKR, Ndi\params\VLANID,                     Step,            0, "1"
HKR, Ndi\params\VLANID,                     Base,            0, "10"
HKR, Ndi\params\VLANID,                     flag,            1, "20","00","00","00"
;-----------------------------------------------------------------------------
; common conection type parameter
;
[FET.reg]

; Connection Type
HKR, ,                                      ConnectionType, 0, "0"
HKR, Ndi\params\ConnectionType,             ParamDesc,      0, %ConnectionType%
HKR, Ndi\params\ConnectionType,             default,        0, "0"
HKR, Ndi\params\ConnectionType,             type,           0, "enum"
HKR, Ndi\params\ConnectionType\enum,        0,              0, %autoN%
HKR, Ndi\params\ConnectionType\enum,        1,              0, %100HD%
HKR, Ndi\params\ConnectionType\enum,        2,              0, %100FD%
HKR, Ndi\params\ConnectionType\enum,        3,              0, %10HD%
HKR, Ndi\params\ConnectionType\enum,        4,              0, %10FD%
HKR, Ndi\params\ConnectionType,             flag,           1, "30","00","00","00"

; Validate Rx SNAP/802.3 packet length
HKR, ,                                      ValidatePacketLen, 0, "1"
HKR, Ndi\params\ValidatePacketLen,          ParamDesc,      0, %ValPktLen%
HKR, Ndi\params\ValidatePacketLen,          default,        0, "1"
HKR, Ndi\params\ValidatePacketLen,          type,           0, "enum"
HKR, Ndi\params\ValidatePacketLen\enum,     0,              0, %Disabled%
HKR, Ndi\params\ValidatePacketLen\enum,     1,              0, %Enabled%
HKR, Ndi\params\ValidatePacketLen,          flag,           1, "20","00","00","00"

; Validate Rx SNAP/802.3 packet length
HKR, ,                                      ValidatePacketLen, 0, "0"

[FlowCtrl.reg]
; Flow control capability advertisement
HKR, ,                                      FlowCtrl,       0, "0"
HKR, Ndi\params\FlowCtrl,                   ParamDesc,      0, %FlowCtl%
HKR, Ndi\params\FlowCtrl,                   default,        0, "0"
HKR, Ndi\params\FlowCtrl,                   type,           0, "enum"
HKR, Ndi\params\FlowCtrl\enum,              0,              0, %HwDefault%
HKR, Ndi\params\FlowCtrl\enum,              1,              0, %Disabled%
HKR, Ndi\params\FlowCtrl\enum,              2,              0, %Enabled%
HKR, Ndi\params\FlowCtrl,                   flag,           1, "30","00","00","00"

[AI.reg]
; Adaptive Interrupt Capability
HKR, ,                                      AdaptiveInt,     0, "1"
HKR, Ndi\params\AdaptiveInt,                ParamDesc,       0, %AdaptiveInt%
HKR, Ndi\params\AdaptiveInt,                default,         0, "1"
HKR, Ndi\params\AdaptiveInt,                type,            0, "enum"
HKR, Ndi\params\AdaptiveInt\enum,           0,               0, %Disabled%
HKR, Ndi\params\AdaptiveInt\enum,           1,               0, %Enabled%
HKR, Ndi\params\AdaptiveInt,                flag,            1, "20","00","00","00"
;-----------------------------------------------------------------------------
; Installation for Windows 95
;

[FET.ndis3]
CopyFiles=FET.ndis3.CopyFiles

[FET.ndis2]
CopyFiles=FET.ndis2.CopyFiles

[FET.odi]
CopyFiles=FET.odi.CopyFiles

;-------------------------------------------------------------------------------
; CopyFiles sections for Windows 95
;

[FET.ndis3.CopyFiles]
fetnd3r.sys

[FET.ndis2.CopyFiles]
fetnd.dos

[FET.odi.CopyFiles]
fetodi.com

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
FET.ndis3.CopyFiles      = 11
FET.ndis2.CopyFiles      = 10
FET.odi.CopyFiles        = 10

[SourceDisksNames]
1 = %DiskName%,,,

[SourceDisksFiles]
fetnd3r.sys    = 50,,10000
fetnd.dos     = 50,,10000
fetodi.com    = 50,,10000
fetnd3.inf    = 50,,10000

;-------------------------------------------------------------------------------
; Uninstall/DelFiles/DelReg
;
[FET.delreg]
HKR,Ndi\Params\ReceiveBuffers
HKR,,ReceiveBuffers
HKR,Ndi\Params\TransmitBuffers
HKR,,TransmitBuffers
HKR,Ndi\Params\ConnectionType
HKR,,ConnectionType
HKR,,NetworkAddress
HKR,Ndi\Params\ValidatePacketLen
HKR,,ValidatePacketLen

[FlowCtrl.delreg]
HKR,Ndi\Params\ReceivePAUSE
HKR,,ReceivePAUSE
HKR,Ndi\Params\FlowCtrl
HKR,,FlowCtrl

[PM.delreg.win]
HKR,Ndi\Params\MagicPaketWakeUp
HKR,,MagicPaketWakeUp
HKR,Ndi\Params\WOLTrigger
HKR,,WOLTrigger

[Misc.delreg.win]
HKR,Ndi\Params\IPXSPXAutoFrame
HKR,,IPXSPXAutoFrame

[Tagging.delreg]
HKR,,TxQueueNum
HKR,Ndi\Params\8021pqtag
HKR,,8021pqtag

[VLAN.delreg]
HKR,Ndi\Params\VLANID
HKR,,VLANID

[AI.delreg]
HKR,Ndi\Params\AdaptiveInt
HKR,,AdaptiveInt
;-------------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Prov                = "VIA"
DiskName            = "Network Adapter source disk"
ConnectionType      = "Connection Type"
autoN               = "Auto-Negotiation"
100HD               = "100BaseTx Half Duplex"
100FD               = "100BaseTx Full Duplex"
10HD                = "10BaseT   Half Duplex"
10FD                = "10BaseT   Full Duplex"
Disabled            = "Disabled"
Enabled             = "Enabled"
WOLEvent            = "Wake On LAN Event"
OSDefault           = "OS Default Event"
OSAndUnicast        = "OS Default & Unicast"
TXBuffer            = "Transmit Buffers"
RXBuffer            = "Receive Buffers"
NetAddress          = "Network Address"
FlowCtl             = "Flow Control"
AdaptiveInt         = "Adaptive Interrupt"
HwDefault           = "Hardware Default (Auto)"

Manuf   = "VIA Technologies, Inc."
VT3106S.DeviceDesc   = "VIA Rhine III Management Adapter"
VT3106J.DeviceDesc   = "VIA Rhine III Fast Ethernet Adapter"
VT3065.DeviceDesc    = "VIA Rhine II Fast Ethernet Adapter"
VT3043.DeviceDesc    = "VIA VT86C100A Rhine Fast Ethernet Adapter"
