; /////////////////////////////////////////////////////////////////////////////
; UBFWNET6.INF
;
; NDIS 6.0 1394 Emulation Adapter
;
; (c) Copyright 2007-2011, Unibrain
;
; Inf for Windows Vista and Windows 7
;
; /////////////////////////////////////////////////////////////////////////////

[version]
Signature   = "$Chicago$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Unibrain%
Compatible  = 1
CatalogFile = UBFWNET6.CAT
DriverVer=08/24/2011,5.80

[Manufacturer]
%Unibrain% = Unibrain,NTx86,NTamd64

; All enumerated adapters must be excluded from select
[ControlFlags]


[Unibrain.NTx86]
%UBFWNET6.DeviceDesc%	= UBFWNET6.ndi,	UB1394\Unibrain&1394_PC

[Unibrain.NTamd64]
%UBFWNET6.DeviceDesc%	= UBFWNET6.ndi,	UB1394\Unibrain&1394_PC


; Unibrain 1394 FireNet6 Adapter 
;
[UBFWNET6.ndi.NT]
AddReg          = ubfwnet6.nt.reg, ubfwnet6.reg
BusType         = 1	; INTERFACE_TYPE = Isa
Characteristics = 0x84  ; NCF_HAS_UI | NCF_PHYSICAL
CopyFiles 	= ubfwnet6.CopyFiles
*IfType         = 6		; IF_TYPE_ETHERNET_CSMACD 
*MediaType      = 0		; NdisMedium802_3
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified 


; /////////////////////////////////////////////////////////////////////////////
; UBFWNet6 common
;
; Common registry settings, used by both WinNT
;
[ubfwnet6.reg]
; Emulation settings
HKR, Ndi\params\Emulation,		ParamDesc, 	0,	"%Emulation%"
HKR, Ndi\params\Emulation,		default,	0,	"Ethernet"
HKR, Ndi\params\Emulation,		type,		0,	"enum"
HKR, Ndi\params\Emulation\enum,		0,		0,	"Ethernet"
;HKR, Ndi\params\Emulation\enum, 	1,		0,	"IPv4 over 1394"

; MaxPayload settings
HKR, Ndi\params\MaxPayload,		ParamDesc,	0,	"%MaxPayload%"
HKR, Ndi\params\MaxPayload,		default,	0,	"0"
HKR, Ndi\params\MaxPayload,		type,		0, 	"enum"
HKR, Ndi\params\MaxPayload\enum,	0,		0,	"%Automatic%"
HKR, Ndi\params\MaxPayload\enum,	1,		0,	"%EthernetPktSize%"
HKR, Ndi\params\MaxPayload\enum,	400,		0,	"1024 bytes"
HKR, Ndi\params\MaxPayload\enum,	600,		0,	"1536 bytes"
HKR, Ndi\params\MaxPayload\enum,	800,		0,	"2048 bytes"
HKR, Ndi\params\MaxPayload\enum,	A00,		0,	"2560 bytes"
HKR, Ndi\params\MaxPayload\enum,	C00,		0,	"3072 bytes"
HKR, Ndi\params\MaxPayload\enum,	E00,		0,	"3584 bytes"
HKR, Ndi\params\MaxPayload\enum,	1000,		0,	"4096 bytes"

; Speed settings
HKR, Ndi\params\Speed,			ParamDesc,	0,	"%Speed%"
HKR, Ndi\params\Speed,			default,	0,	"0"
HKR, Ndi\params\Speed,			type,		0, 	"enum"
HKR, Ndi\params\Speed\enum,		0,		0,	"%Automatic%"
HKR, Ndi\params\Speed\enum,		1,		0,	" 100 Mb/sec"
HKR, Ndi\params\Speed\enum,		2,		0,	" 200 Mb/sec"
HKR, Ndi\params\Speed\enum,		4,		0,	" 400 Mb/sec"
HKR, Ndi\params\Speed\enum,		8,		0,	" 800 Mb/sec"
HKR, Ndi\params\Speed\enum,		10,		0,	"1600 Mb/sec"
HKR, Ndi\params\Speed\enum,		20,		0,	"3200 Mb/sec"

; MultipleTx settings
HKR, Ndi\params\MultipleTx,		ParamDesc,	0,	"%MultipleTx%"
HKR, Ndi\params\MultipleTx,		default,	0,	"1"
HKR, Ndi\params\MultipleTx,		type,		0, 	"enum"
HKR, Ndi\params\MultipleTx\enum,	0,		0,	"%Disable%"
HKR, Ndi\params\MultipleTx\enum,	1,		0,	"%Enable%"

; Retries settings
HKR, Ndi\params\Retries,		ParamDesc,	0,	"%Retries%"
HKR, Ndi\params\Retries,		default,	0,	"0"
HKR, Ndi\params\Retries,		type,		0, 	"int"
HKR, Ndi\params\Retries,		min,		0,	"0"
HKR, Ndi\params\Retries,		max,		0,	"16"
HKR, Ndi\params\Retries,		step,		0,	"1"
HKR, Ndi\params\Retries,		base,		0,	"10"



; /////////////////////////////////////////////////////////////////////////////
; UBFWNet6 NT specific
;
[ubfwnet6.nt.reg]
HKR, Ndi,                       Service,    0, "UBFWNet6"
;HKR, ,                          BusType,    0, "0"
HKR, Ndi\Interfaces,            DefUpper,   0, "ndis5"
HKR, Ndi\Interfaces,            DefLower,   0, "ethernet"
HKR, Ndi\Interfaces,            UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,            LowerRange, 0, "ethernet"



; The services section name is based on the install
; section name found. "ubfwnet6.Install" is listed but
; since "ubfwnet6.Install.NT" will be found on NT, the
; Services section must be based on the new name
; "ubfwnet6.Install.NT".
;
[ubfwnet6.ndi.NT.Services]
AddService = UBFWNet6, 2, ubfwnet6.Service, common.EventLog

[ubfwnet6.CopyFiles]
ubfwnet6.sys,,,2 ; Do not allow the user to skip this file!

[ubfwnet6.Service]
DisplayName     = %ubfwnet6.Service.DispName%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\ubfwnet6.sys
LoadOrderGroup  = NDIS
Dependencies	= "+UB1394 Miniport"

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

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


; /////////////////////////////////////////////////////////////////////////////
; DestinationDirs
;
[DestinationDirs]
ubfwnet6.CopyFiles  = 12

[SourceDisksNames]
1=%DiskID%,"UBFWNet6.sys",0

[SourceDisksFiles]
UBFWNet6.sys = 1

[Strings]
Unibrain  = "Unibrain"

Speed = "Speed"
Automatic = "Automatic"
Emulation = "Emulation"
MultipleTx = "MultipleTX"
Enable = "Enable"
Disable = "Disable"
Retries = "Retries"
MaxPayload = "Maximum Payload"
EthernetPktSize = "Ethernet Packet Size"

UBFWNet6.DeviceDesc = "Unibrain 1394 FireNet6 Adapter"
ubfwnet6.Service.DispName  = "Unibrain 1394 FireNet6 Adapter Driver"
DiskID = "Unibrain FireNet6 Install Disk"
