;-------------------------------------------------------------------------------
; l160x64.INF
;
; Atheros L1 Gigabit Ethernet 10/100/1000Base-T Adapter
;
; Copyright (c) 2011, Microsoft Corporation

[Version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %MSFT%
DriverVer = 06/29/2011,2.4.7.292


[Manufacturer]
%Atheros% = Atheros, NTamd64.6.0

[ControlFlags]
; Make this device not listed in the <the Select Component for Installation> dialog
; during manual installation
ExcludeFromSelect = *


[Atheros.NTamd64.6.0]
; DisplayName		Section		DeviceID
; -----------		-------		--------
%Atheros.AtcL001% = 	AtcL001.ndi,	PCI\VEN_1969&DEV_1048
%Atheros.AtcL001% = 	AtcL001.ndi,	PCI\VEN_1969&DEV_1048&SUBSYS_10481969&REV_B0
%Atheros.AtcL001% = 	AtcL001.ndi,	PCI\VEN_1969&DEV_1048&SUBSYS_82331043&REV_B0
%Atheros.AtcL001% = 	ASUS.ndi,	PCI\VEN_1969&DEV_1048&SUBSYS_826B1043&REV_B0


[AtcL001.ndi]
Characteristics	= 0x84	; (NCF_PHYSICAL + NCF_HAS_UI)
BusType		= 5	; PCI BUS
AddReg		= AtcL001.reg, AtcL001.params, AtcL001.WOL.params
CopyFiles	= AtcL001.CopyFiles
; for NDIS 6
*IfType		= 6		; IF_TYPE_ETHERNET_CSMACD 
*MediaType	= 0		; NdisMedium802_3
*PhysicalMediaType = 14		; NdisPhysicalMedium802_3

[AtcL001.ndi.Services]
AddService = AtcL001, 2, AtcL001.Service, Common.EventLog


[ASUS.ndi]
Characteristics	= 0x84	; (NCF_PHYSICAL + NCF_HAS_UI)
BusType		= 5	; PCI BUS
AddReg		= AtcL001.reg, AtcL001.params, ASUS.EFI.WOL.params, ASUS.POWERSAVING.params, ASUS.SLEEPSPEED.params
CopyFiles	= AtcL001.CopyFiles
; for NDIS 6
*IfType		= 6		; IF_TYPE_ETHERNET_CSMACD 
*MediaType	= 0		; NdisMedium802_3
*PhysicalMediaType = 14		; NdisPhysicalMedium802_3

[ASUS.ndi.Services]
AddService = AtcL001, 2, AtcL001.Service, Common.EventLog

;-----------------------------------------------------------------------------

[AtcL001.reg]
HKR, Ndi\Interfaces,	UpperRange,		0, "ndis5"
HKR, Ndi\Interfaces,	LowerRange,		0, "ethernet"
HKR, Ndi,		Service,		0, "AtcL001"
HKR, Ndi,		HelpText,		, %HelpText%

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

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

[common.AddEventLog.reg]
HKR,, EventMessageFile,	0x00020000, "%%SystemRoot%%\System32\Drivers\l160x64.sys"
HKR,, TypesSupported,	0x00010001, 7


[AtcL001.params]
HKR, Ndi\Params\NetworkAddress,	ParamDesc,	0,	%NetAddr%
HKR, Ndi\Params\NetworkAddress,	Type,		0,	"edit"
HKR, Ndi\Params\NetworkAddress,	LimitText,	0,	"18"
HKR, Ndi\Params\NetworkAddress,	UpperCase,	0,	"1"
HKR, Ndi\Params\NetworkAddress,	Default,	0,	""
HKR, Ndi\Params\NetworkAddress,	Optional,	0,	"1"

HKR, Ndi\Params\MaxFrameSize,	ParamDesc,	0,	%MTU%
HKR, Ndi\Params\MaxFrameSize,	Type,		0,	"int"
HKR, Ndi\Params\MaxFrameSize,	Base,		0,	"10"
HKR, Ndi\Params\MaxFrameSize,	Min,		0,	"16"
HKR, Ndi\Params\MaxFrameSize,	Max,		0,	"10240"
HKR, Ndi\Params\MaxFrameSize,	Step,		0,	"1"
HKR, Ndi\Params\MaxFrameSize,	Default,	0,	"1514"

HKR, Ndi\Params\Moderate,	ParamDesc,	0,	%IntMod%
HKR, Ndi\Params\Moderate,	Type,		0,	"enum"
HKR, Ndi\Params\Moderate\enum,	1,		0,	%On%
HKR, Ndi\Params\Moderate\enum,	0,		0,	%Off%
HKR, Ndi\Params\Moderate,	Default,	0,	"1"

HKR, Ndi\Params\MaxInterrupt,	ParamDesc,	0,	%MaxIrq%
HKR, Ndi\Params\MaxInterrupt,	Type,		0,	"int"
HKR, Ndi\Params\MaxInterrupt,	Base,		0,	"10"
HKR, Ndi\Params\MaxInterrupt,	Min,		0,	"1000"
HKR, Ndi\Params\MaxInterrupt,	Max,		0,	"30000"
HKR, Ndi\Params\MaxInterrupt,	Step,		0,	"500"
HKR, Ndi\Params\MaxInterrupt,	Default,	0,	"5000"

HKR, Ndi\Params\MediaType,	ParamDesc,	0,	%MediaType%
HKR, Ndi\Params\MediaType,	Type,		0,	"enum"
HKR, Ndi\Params\MediaType,	Default,	0,	"0"
HKR, Ndi\Params\MediaType\enum,	"0",		0,	%Auto%
HKR, Ndi\Params\MediaType\enum, "1",		0,	%10MHD%
HKR, Ndi\Params\MediaType\enum, "2",		0,	%10MFD%
HKR, Ndi\Params\MediaType\enum, "3",		0,	%100MHD%
HKR, Ndi\Params\MediaType\enum, "4",		0,	%100MFD%
HKR, Ndi\Params\MediaType\enum, "6",		0,	%1000MFD%

HKR, Ndi\Params\MaxRxBuffer,	ParamDesc,	0,	%NumRx%
HKR, Ndi\Params\MaxRxBuffer,	Type,		0,	"int"
HKR, Ndi\Params\MaxRxBuffer,	Base,		0,	"10"
HKR, Ndi\Params\MaxRxBuffer,	Min,		0,	"16"
HKR, Ndi\Params\MaxRxBuffer,	Max,		0,	"2048"
HKR, Ndi\Params\MaxRxBuffer,	Step,		0,	"16"
HKR, Ndi\Params\MaxRxBuffer,	Default,	0,	"256"

HKR, Ndi\Params\MaxTxBuffer,	ParamDesc,	0,	%NumTx%
HKR, Ndi\Params\MaxTxBuffer,	Type,		0,	"int"
HKR, Ndi\Params\MaxTxBuffer,	Base,		0,	"10"
HKR, Ndi\Params\MaxTxBuffer,	Min,		0,	"16"
HKR, Ndi\Params\MaxTxBuffer,	Max,		0,	"1024"
HKR, Ndi\Params\MaxTxBuffer,	Step,		0,	"16"
HKR, Ndi\Params\MaxTxBuffer,	Default,	0,	"256"

HKR, Ndi\Params\TaskOffload,		ParamDesc,	0,	%TOff%
HKR, Ndi\Params\TaskOffload,		Type,		0,	"enum"
HKR, Ndi\Params\TaskOffload\enum,	1,		0,	%On%
HKR, Ndi\Params\TaskOffload\enum,	0,		0,	%Off%
HKR, Ndi\Params\TaskOffload,		Default,	0,	"1"

HKR, Ndi\Params\FlowControl,		ParamDesc,	0,	%FlowCtrl%
HKR, Ndi\Params\FlowControl,		Type,		0,	"enum"
HKR, Ndi\Params\FlowControl,		Default,	0,	"1"
HKR, Ndi\Params\FlowControl\enum,	"1",		0,	%On%
HKR, Ndi\Params\FlowControl\enum,	"0",		0,	%Off%

[AtcL001.WOL.params]
HKR, Ndi\Params\ShutdownWake,		ParamDesc,	0,	%ShutDW%
HKR, Ndi\Params\ShutdownWake,		Type,		0,	"enum"
HKR, Ndi\Params\ShutdownWake\enum,	1,		0,	%On%
HKR, Ndi\Params\ShutdownWake\enum,	0,		0,	%Off%
HKR, Ndi\Params\ShutdownWake,		Default,	0,	"0"

HKR, Ndi\Params\WakeUpCapabilities,	ParamDesc,	,	%WakeUpCapabilities%
HKR, Ndi\Params\WakeUpCapabilities,	Type,		,	"enum"
HKR, Ndi\Params\WakeUpCapabilities,	Default,	, 	"6"
HKR, Ndi\Params\WakeUpCapabilities\enum, "0",		,	%None%
HKR, Ndi\Params\WakeUpCapabilities\enum, "1",		,	%LinkChange%
HKR, Ndi\Params\WakeUpCapabilities\enum, "2",		,	%MagicPacket%
HKR, Ndi\Params\WakeUpCapabilities\enum, "4",		,	%PatternMatch%
HKR, Ndi\Params\WakeUpCapabilities\enum, "6",		,	%MagicPacket_PatternMatch%
HKR, Ndi\Params\WakeUpCapabilities\enum, "7",		,	%All%


[ASUS.EFI.WOL.params]
HKR, Ndi\Params\ShutdownWake,		ParamDesc,	0,	%ShutDW%
HKR, Ndi\Params\ShutdownWake,		Type,		0,	"enum"
HKR, Ndi\Params\ShutdownWake\enum,	1,		0,	%On%
HKR, Ndi\Params\ShutdownWake\enum,	0,		0,	%Off%
HKR, Ndi\Params\ShutdownWake,		Default,	0,	"1"

HKR, Ndi\Params\WakeUpCapabilities,	ParamDesc,	,	%WakeUpCapabilities%
HKR, Ndi\Params\WakeUpCapabilities,	Type,		,	"enum"
HKR, Ndi\Params\WakeUpCapabilities,	Default,	, 	"2"
HKR, Ndi\Params\WakeUpCapabilities\enum, "0",		,	%None%
HKR, Ndi\Params\WakeUpCapabilities\enum, "1",		,	%LinkChange%
HKR, Ndi\Params\WakeUpCapabilities\enum, "2",		,	%MagicPacket%
HKR, Ndi\Params\WakeUpCapabilities\enum, "4",		,	%PatternMatch%
HKR, Ndi\Params\WakeUpCapabilities\enum, "6",		,	%MagicPacket_PatternMatch%
HKR, Ndi\Params\WakeUpCapabilities\enum, "7",		,	%All%

[ASUS.POWERSAVING.params]
HKR, Ndi\Params\PowerSavingEnable,	ParamDesc,	0,	%PowerSavingEnable%
HKR, Ndi\Params\PowerSavingEnable,	Type,		0,	"enum"
HKR, Ndi\Params\PowerSavingEnable\enum,	1,		0,	%On%
HKR, Ndi\Params\PowerSavingEnable\enum,	0,		0,	%Off%
HKR, Ndi\Params\PowerSavingEnable,	Default,	0,	"0"

[ASUS.SLEEPSPEED.params]
HKR, Ndi\Params\SleepSpeed,	ParamDesc,	0,	%SleepSpeedDown%
HKR, Ndi\Params\SleepSpeed,	Type,		0,	"enum"
HKR, Ndi\Params\SleepSpeed\enum,		1,	0,	%On%
HKR, Ndi\Params\SleepSpeed\enum,		0,	0,	%Off%
HKR, Ndi\Params\SleepSpeed,	Default,	0,	"0"



;-----------------------------------------------------------------------------
; DestinationDirs
;
[AtcL001.CopyFiles]
l160x64.sys,,,2

[SourceDisksNames]
; diskid = description[, [tagfile] [, <unused>, subdir]]
1 = %DriverDisk%,,,

[SourceDisksFiles]
; filename_on_source = diskID[, [subdir][, size]]
l160x64.sys = 1

[DestinationDirs]
AtcL001.CopyFiles     = 12
DefaultDestDir        = 11

[Strings]
;************************
; Non-Localizable strings
;************************
MSFT	= "Microsoft"
Atheros	= "Atheros"

;********************
; Localizable strings
;********************
NetAddr		= "Network Address"
MTU		= "Maximum Frame Size"
TOff		= "Task Offload"
IntMod		= "Interrupt Moderation"
VLanID		= "VLAN ID"
MaxIrq		= "Max IRQ per Second"
NumRx		= "Number of Receive Buffers"
NumTx		= "Number of Transmit Buffers"
Auto		= "Auto"
On		= "On"
Off		= "Off"
MediaType	= "MediaType"
10MHD		= "10Mbps Half Duplex"
10MFD		= "10Mbps Full Duplex"
100MHD		= "100Mbps Half Duplex"
100MFD		= "100Mbps Full Duplex"
1000MHD		= "1000Mbps Half Duplex"
1000MFD		= "1000Mbps Full Duplex"
FlowCtrl	= "Flow Control"
ShutDW		= "Shutdown wake up"
PowerSavingEnable = "Power Saving mode"
SleepSpeedDown	= "sleep speed down to 10M"

Atheros.AtcL001 		= "Atheros L1 Gigabit Ethernet 10/100/1000Base-T Controller"
AtcL001.Service.DispName 	= "NDIS Miniport Driver for Atheros L1 Gigabit Ethernet Controller"
DriverDisk			= "Atheros Gigabit Ethernet Controller Installation Disk"
HelpText			= "This Atheros network controller connects you to the network."

; String for Wake On Lan property
WakeUpCapabilities		= "Wake Up Capabilities"
None				= "None"
LinkChange			= "Link Change"
MagicPacket			= "Magic Packet"
PatternMatch			= "Pattern Match"
MagicPacket_PatternMatch	= "MagicPacket & PatternMatch"
All				= "All"

