;**************************************************************
; Copyright 1999 Fast Ethernet Provider
; Copyright 1993-1996, Microsoft Corporation
;
;
;       Junius Chen     04.FEB.99       Pre Release
;       Alan Lu           16.JLY.99        
;       Alan Lu           25-Aug-99   add AN985, DEC21140 and DEC21143
;       Alan Lu           17-Sep-99    Combine win2000 and win98

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Msft%
LayoutFile  = layout.inf
DriverVer       = 11/29/1999, 2.0.4.23

[Manufacturer]
%FastNIC% = FastNIC

[ControlFlags]
ExcludeFromSelect = PCI\VEN_1317&DEV_0981
ExcludeFromSelect = PCI\VEN_1317&DEV_0982
ExcludeFromSelect = PCI\VEN_1317&DEV_0985
ExcludeFromSelect = PCI\VEN_1317&DEV_1985
ExcludeFromSelect = PCI\VEN_1011&DEV_0009
ExcludeFromSelect = PCI\VEN_1011&DEV_0019

[FastNIC]
%FastNIC.DeviceDesc% = FastNIC.ndi,    PCI\VEN_1317&DEV_0981  ;Fast NIC serise
%AN982.DeviceDesc% = AN982.ndi,    PCI\VEN_1317&DEV_0982  ;Fast NIC serise
%AN983.DeviceDesc% = AN983.ndi,    PCI\VEN_1317&DEV_0985  ;Fast NIC serise
%AN985.DeviceDesc% = AN985.ndi,    PCI\VEN_1317&DEV_1985  ;Fast NIC serise
%DEC21140.DeviceDesc% = DEC21140.ndi,    PCI\VEN_1011&DEV_0009  
%DEC21143.DeviceDesc% = DEC21143.ndi,    PCI\VEN_1011&DEV_0019  


;*******************************************************************************
;  windows 98
[FastNIC.Ndi]
AddReg=FastNIC.Reg,comet.pci.reg, FastNIC.con.reg

[AN982.Ndi]
AddReg=AN982.Reg,comet.pci.reg, FastNIC.con.reg

[AN983.Ndi]
AddReg=AN983.Reg,comet.pci.reg, FastNIC.con.reg

[AN985.Ndi]
AddReg=AN985.Reg,comet.pci.reg, FastNIC.con.reg

[DEC140.Ndi]
AddReg=DEC140.Reg,comet.pci.reg, FastNIC.con.reg

[DEC143.Ndi]
AddReg=DEC143.Reg,comet.pci.reg, FastNIC.con.reg

;********************************************************************
; windows 2000
[FastNIC.ndi.NT]
Characteristics = 0x84
BusType         = 5
AddReg          = FastNIC.ndi.reg, comet.ndi.reg, comet.pci.reg, FastNIC.con.reg
CopyFiles       = comet.Install.CopyFiles, netaccp.Install.CopyFiles
Renfiles        = sys.Install.Rename, inf.Install.Rename

[AN982.ndi.NT]
Characteristics = 0x84
BusType         = 5
AddReg          = AN983.ndi.reg, comet.ndi.reg, comet.pci.reg, FastNIC.con.reg
CopyFiles       = comet.Install.CopyFiles, netaccp.Install.CopyFiles
Renfiles        = sys.Install.Rename, inf.Install.Rename

[AN983.ndi.NT]
Characteristics = 0x84
BusType         = 5
AddReg          = AN983.ndi.reg, comet.ndi.reg, comet.pci.reg, FastNIC.con.reg
CopyFiles       = comet.Install.CopyFiles, netaccp.Install.CopyFiles
Renfiles        = sys.Install.Rename, inf.Install.Rename

[AN985.ndi.NT]
Characteristics = 0x84
BusType         = 5
AddReg          = AN985.ndi.reg, comet.ndi.reg, comet.pci.reg, FastNIC.con.reg
CopyFiles       = comet.Install.CopyFiles, netaccp.Install.CopyFiles
Renfiles        = sys.Install.Rename, inf.Install.Rename

[DEC21140.ndi.NT]
Characteristics = 0x84
BusType         = 5
AddReg          = DEC21140.ndi.reg, comet.ndi.reg, comet.pci.reg, DEC21140.con.reg
CopyFiles       = comet.Install.CopyFiles, netaccp.Install.CopyFiles
Renfiles        = sys.Install.Rename, inf.Install.Rename

[DEC21143.ndi.NT]
Characteristics = 0x84
BusType         = 5
AddReg          = DEC21143.ndi.reg, comet.ndi.reg, comet.pci.reg, DEC21140.con.reg
CopyFiles       = comet.Install.CopyFiles, netaccp.Install.CopyFiles
Renfiles        = sys.Install.Rename, inf.Install.Rename
;***************************************************************************
; windows 98
[FastNIC.Reg]
HKR,NDI,DeviceID,,"PCI\VEN_1317&DEV_0981"

HKR,,AdapterCFID,,09811317
HKR,,AdapterType,,5
HKR,,BusType,,5

HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,FastNIC.sys

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,04
HKR,NDIS,MinorNdisVersion,1,00
HKR,NDIS,LogDriverName,,"FastNIC"

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

; Install sections
HKR,Ndi\Install,ndis3,,"FastNIC.Install"

[AN982.Reg]
HKR,NDI,DeviceID,,"PCI\VEN_1317&DEV_0982"
HKR,,AdapterCFID,,09821317
HKR,,AdapterType,,5
HKR,,BusType,,5

HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,FastNIC.sys

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,04
HKR,NDIS,MinorNdisVersion,1,00
HKR,NDIS,LogDriverName,,"FastNIC"

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

; Install sections
HKR,Ndi\Install,ndis3,,"FastNIC.Install"

[AN983.Reg]
HKR,NDI,DeviceID,,"PCI\VEN_1317&DEV_0985"

HKR,,AdapterCFID,,09851317
HKR,,AdapterType,,5
HKR,,BusType,,5

HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,FastNIC.sys

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,04
HKR,NDIS,MinorNdisVersion,1,00
HKR,NDIS,LogDriverName,,"FastNIC"

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

; Install sections
HKR,Ndi\Install,ndis3,,"FastNIC.Install"

[AN985.Reg]
HKR,NDI,DeviceID,,"PCI\VEN_1317&DEV_1985"

HKR,,AdapterCFID,,19851317
HKR,,AdapterType,,5
HKR,,BusType,,5

HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,FastNIC.sys

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,04
HKR,NDIS,MinorNdisVersion,1,00
HKR,NDIS,LogDriverName,,"FastNIC"

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

; Install sections
HKR,Ndi\Install,ndis3,,"FastNIC.Install"

[DEC140.Reg]
HKR,NDI,DeviceID,,"PCI\VEN_1011&DEV_0009"

HKR,,AdapterCFID,,00091011
HKR,,AdapterType,,5
HKR,,BusType,,5

HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,FastNIC.sys

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,04
HKR,NDIS,MinorNdisVersion,1,00
HKR,NDIS,LogDriverName,,"FastNIC"

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

; Install sections
HKR,Ndi\Install,ndis3,,"FastNIC.Install"


[DEC143.Reg]
HKR,NDI,DeviceID,,"PCI\VEN_1011&DEV_0019"

HKR,,AdapterCFID,,00191011
HKR,,AdapterType,,5
HKR,,BusType,,5

HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,FastNIC.sys

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,04
HKR,NDIS,MinorNdisVersion,1,00
HKR,NDIS,LogDriverName,,"FastNIC"

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

; Install sections
HKR,Ndi\Install,ndis3,,"FastNIC.Install"
;-----------------------------------------------------------------------------
; FastNIC specific
; windows 2000
[FastNIC.ndi.reg]
HKR, ,                                      AdapterCFID,    0, "09811317"

[AN982.ndi.reg]
HKR, ,                                      AdapterCFID,    0, "09821317"

[AN983.ndi.reg]
HKR, ,                                      AdapterCFID,    0, "09851317"

[AN985.ndi.reg]
HKR, ,                                      AdapterCFID,    0, "19851317"

[DEC21140.ndi.reg]
HKR, ,                                      AdapterCFID,    0, "00091011"

[DEC21143.ndi.reg]
HKR, ,                                      AdapterCFID,    0, "00191011"
;-----------------------------------------------------------------------------
; Comet common driver parameters
;
[comet.ndi.reg]
HKR, Ndi,                                   Service,        0, "FastNIC"
HKR, Ndi\Interfaces,                        LowerRange,     0, "ethernet"
HKR, Ndi\Interfaces,                        UpperRange,     0, "ndis5"
HKR, ,                                      MediaType,      0, "0"


;-----------------------------------------------------------------------------
; PCI common parameters
;
[comet.pci.reg]
HKR, ,                                      AdapterType,    0, "5"

HKR,,TxPacketDesc,,75       ; 0x32
HKR,,RxPacketDesc,,120      ; 0x78
HKR,,TxDmaDesc,,150         ; 0x1d
HKR,,RxDmaDesc,,40          ; 0x28
HKR,,PacketsPerTxInt,,10    ; 0x0a
HKR,,PacketsPerRxInd,,10    ; 0x0a
HKR,,BurstLength,,0         ; 0 (Unlimited), 1 DW, 2 DW, 3 DW, ...


[FastNIC.con.reg]
HKR,Ndi\Params\MediaType,ParamDesc,,"Media Type"
HKR,Ndi\Params\MediaType,default,,0
HKR,Ndi\Params\MediaType,type,,enum
HKR,Ndi\Params\MediaType\enum,0,,"AutoSense"
HKR,Ndi\Params\MediaType\enum,1,,"10BaseT"
HKR,Ndi\Params\MediaType\enum,2,,"10BaseT Full_Duplex"
HKR,Ndi\Params\MediaType\enum,3,,"100BaseTX"
HKR,Ndi\Params\MediaType\enum,4,,"100BaseTX Full_Duplex"
HKR,Ndi\Params\MediaType,flag,1,20,00,00,00

HKR,Ndi\Params\APMModeWakeup,ParamDesc,,"APM Mode Wakeup"
HKR,Ndi\Params\APMModeWakeup,default,,0
HKR,Ndi\Params\APMModeWakeup,type,,enum
HKR,Ndi\Params\APMModeWakeup\enum,0,,"Disabled"
HKR,Ndi\Params\APMModeWakeup\enum,1,,"Enabled"
HKR,Ndi\Params\APMModeWakeup,flag,1,20,00,00,00

HKR,Ndi\Params\LinkOnChange,ParamDesc,,"Link Wakeup(Off->On)"
HKR,Ndi\Params\LinkOnChange,default,,1
HKR,Ndi\Params\LinkOnChange,type,,enum
HKR,Ndi\Params\LinkOnChange\enum,0,,"Disabled"
HKR,Ndi\Params\LinkOnChange\enum,1,,"Enabled"
HKR,Ndi\Params\LinkOnChange,flag,1,20,00,00,00

HKR,Ndi\Params\LinkOffChange,ParamDesc,,"Link Wakeup(On->Off)"
HKR,Ndi\Params\LinkOffChange,default,,0
HKR,Ndi\Params\LinkOffChange,type,,enum
HKR,Ndi\Params\LinkOffChange\enum,0,,"Disabled"
HKR,Ndi\Params\LinkOffChange\enum,1,,"Enabled"
HKR,Ndi\Params\LinkOffChange,flag,1,20,00,00,00

HKR,Ndi\Params\MagicPacket,ParamDesc,,"Magic Packet"
HKR,Ndi\Params\MagicPacket,default,,1
HKR,Ndi\Params\MagicPacket,type,,enum
HKR,Ndi\Params\MagicPacket\enum,0,,"Disabled"
HKR,Ndi\Params\MagicPacket\enum,1,,"Enabled"
HKR,Ndi\Params\MagicPacket,flag,1,20,00,00,00




[SourceDisksNames]
50="Lineup System - PCMCIA 10/100 Base T LAN Card Driver Diskette ",,0

[SourceDisksFiles]
FastNIC.sys=50,,FastNIC.sys,10000
netaccp.inf=50,,netaccp.inf,10000

[FastNIC.Install]
CopyFiles=CopyFile.Inf,CopyFile.Sys

[CopyFile.Inf]
FastNIC.inf

[CopyFile.Sys]
FastNIC.sys

[comet.Install.CopyFiles]
FastNIC.sys,,,2

[FastNIC.Install.CopyFiles]
FastNIC.inf,,,2


[FastNIC.ndi.NT.Services]
AddService = FastNIC, 2, comet.Service, comet.EventLog

[AN982.ndi.NT.Services]
AddService = FastNIC, 2, AN982.Service, comet.EventLog

[AN983.ndi.NT.Services]
AddService = FastNIC, 2, AN983.Service, comet.EventLog

[AN985.ndi.NT.Services]
AddService = FastNIC, 2, AN985.Service, comet.EventLog

[DEC21140.ndi.NT.Services]
AddService = FastNIC, 2, DEC21140.Service, comet.EventLog

[DEC21143.ndi.NT.Services]
AddService = FastNIC, 2, DEC21143.Service, comet.EventLog

[comet.Service]
DisplayName     = %comet.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\FASTNIC.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.reg

[AN982.Service]
DisplayName     = %AN982.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\FastNIC.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.reg

[AN983.Service]
DisplayName     = %AN983.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\FastNIC.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.reg

[AN985.Service]
DisplayName     = %AN985.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\FastNIC.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.reg

[DEC21140.Service]
DisplayName     = %DEC21140.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\FastNIC.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.reg

[DEC21143.Service]
DisplayName     = %DEC21143.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_AUTO_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\FastNIC.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.reg

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

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

[TextModeFlags.reg]
HKR, , TextModeFlags, 0x00010001, 0x0001


;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
comet.Install.CopyFiles         = 12
FastNIC.Install.CopyFiles         = 17
CopyFile.Sys=11
CopyFile.Inf=17

[Strings]
Msft    = "Microsoft"
FastNIC="PCI 10/100 Fast Ethernet Provider."


FastNIC.DeviceDesc      = "PCI 10/100 Fast Ethernet Adapter(AN981)"
AN982.DeviceDesc      = "PCI 10/100 Fast Ethernet Adapter(AN982)"
AN983.DeviceDesc      = "PCI 10/100 Fast Ethernet Adapter(AN983)"
AN985.DeviceDesc      = "Lineup System - PCMCIA 10/100 Base T LAN Card"
DEC21140.DeviceDesc      = "PCI 10/100 Fast Ethernet Adapter(DEC21140)"
DEC21143.DeviceDesc      = "PCI 10/100 Fast Ethernet Adapter(DEC21143)"

comet.Service.DispName = "PCI 10/100 Fast Ethernet Adapter(AN981)"
AN982.DeviceDesc      = "PCI 10/100 Fast Ethernet Adapter(AN982)"
AN983.Service.DispName = "PCI 10/100 Fast Ethernet Adapter(AN983)"
AN985.Service.DispName = "Lineup System - PCMCIA 10/100 Base T LAN Card"
DEC21140.Service.DispName = "PCI 10/100 Fast Ethernet Adapter(DEC21140)"
DEC21143.Service.DispName = "PCI 10/100 Fast Ethernet Adapter(DEC21143)"
