;-------------------------------------------------------------------------------
; NetBNdis.INF
;
; Killer NIC NDIS_EDGE Upper Filter Driver Install for Vista
;
; Copyright (c) 2006 - 2008 Bigfoot Networks, Inc.  All rights reserved.

[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Msft%
DriverVer   = 05/14/2007,4.0.0.0
CatalogFile.NTx86   = EdVx86.cat
CatalogFile.NTAMD64 = EdVamd64.cat

[ControlFlags]
ExcludeFromSelect={05ef8bb4-08e7-4783-ae5c-d5486448be0d}\NBv834x
ExcludeFromSelect={05ef8bb4-08e7-4783-ae5c-d5486448be0d}\Nv834x64

[Manufacturer]
%Msft% = Msft,NTx86.6.0,NTamd64.6.0

[Msft.NTx86.6.0]
; DisplayName                   Section    DeviceId
; -----------                   -------    --------
%NetBEdge.DeviceDesc%    = NBvEdge.ndi, root\NetbEdge ; Root enumerated 
%NetbEdge.DeviceDesc%    = NBvEdge.ndi, {05ef8bb4-08e7-4783-ae5c-d5486448be0d}\NetB834x ; NetB Bus enumerated

[Msft.NTamd64.6.0]
; DisplayName                   Section    DeviceId
; -----------                   -------    --------
%NetBEdge.DeviceDesc%    = NvEdge64.ndi, root\NetbEdge ; Root enumerated 
%NetbEdge.DeviceDesc%    = NvEdge64.ndi, {05ef8bb4-08e7-4783-ae5c-d5486448be0d}\NetB834x ; NetB Bus enumerated

;-------------------------------------------------------------------------------
; Microsoft Vista Ethernet Adapter 32-bit
;
[NBvEdge.ndi]
Characteristics = 0x4 ; NCF_PHYSICAL
BusType         = 15 ; if you specify NCF_PHYSICAL, you must specify bustype, 15 = PNPBus see wdm.h
AddReg          = NBvEdge.Reg, ParamsPromiscuous
CopyFiles       = NBvEdge.CopyFiles

[NBvEdge.ndi.Services]
AddService      = NBvEdge, 2, NBvEdge.Service, NBvEdge.EventLog

;-----------------------------------------------------------------------------
; Microsoft Virtual Miniport Common
;
[NBvEdge.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "NBvEdge"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

[ParamsPromiscuous]
;
;    Should the physical NIC be set to Promiscuous mode 
;
HKR, Ndi\Params\Promiscuous,     ParamDesc, , %Promiscuous%
HKR, Ndi\Params\Promiscuous,     Default,  ,"0"
HKR, Ndi\Params\Promiscuous,     type, ,      enum
HKR, Ndi\Params\Promiscuous\enum,"1",  ,     %Promiscuous_Enable%
HKR, Ndi\Params\Promiscuous\enum,"0",  ,     %Promiscuous_Disable%

;-----------------------------------------------------------------------------
; Driver and Service Section Vista 32
;
[NBvEdge.CopyFiles]
NBvEdge.sys,,,2

[NBvEdge.Service]
DisplayName     = %NetbEdge.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\NBvEdge.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.Reg

[NBvEdge.EventLog]
AddReg = NBvEdge.AddEventLog.Reg

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

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

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
NBvEdge.sys  = 1,,

;-------------------------------------------------------------------------------
; Microsoft Virtual Ethernet Adapter XP 64 bit
;
[NvEdge64.ndi]
Characteristics = 0x4 ; NCF_PHYSICAL
BusType         = 15 ; if you specify NCF_PHYSICAL, you must specify bustype, 15 = PNPBus see wdm.h
AddReg          = NvEdge64.Reg, ParamsPromiscuous
CopyFiles       = NvEdge64.CopyFiles

[NvEdge64.ndi.Services]
AddService      = NvEdge64, 2, NvEdge64.Service, NvEdge64.EventLog

;-----------------------------------------------------------------------------
; Microsoft Virtual Miniport Common
;
[NvEdge64.Reg]
HKR,    ,                         BusNumber,           0, "0" 
HKR, Ndi,                         Service,             0, "NvEdge64"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

[ParamsPromiscuous]
;
;    Should the physical NIC be set to Promiscuous mode 
;
HKR, Ndi\Params\Promiscuous,     ParamDesc, , %Promiscuous%
HKR, Ndi\Params\Promiscuous,     Default,  ,"0"
HKR, Ndi\Params\Promiscuous,     type, ,      enum
HKR, Ndi\Params\Promiscuous\enum,"1",  ,     %Promiscuous_Enable%
HKR, Ndi\Params\Promiscuous\enum,"0",  ,     %Promiscuous_Disable%

;-----------------------------------------------------------------------------
; Driver and Service Section
;
[NvEdge64.CopyFiles]
NvEdge64.sys,,,2

[NvEdge64.Service]
DisplayName     = %NetbEdge.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\NvEdge64.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.Reg

[NvEdge64.EventLog]
AddReg = NvEdge64.AddEventLog.Reg

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

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

[SourceDisksNames]
1 = %DiskId1%,,,""

[SourceDisksFiles]
NvEdge64.sys  = 1,,
;-----------------------------------------------------------------------------

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
NBvEdge.CopyFiles = 12
NvEdge64.CopyFiles = 12

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Msft                       = "Bigfoot"                      
NetbEdge.DeviceDesc        = "Killer NIC NDIS EDGE Interface"
NetbEdge.Service.DispName  = "Killer NIC NDIS-Edge Service"
DiskId1 = "Killer NIC NDIS EDGE gaming installation Vista"
Promiscuous        = "Set the physical NIC to promiscuous mode"
Promiscuous_Disable = "Disable"
Promiscuous_Enable  = "Enable"