;
;---------------------------------------------
; Amd8131.inf
; AMD-8131 Bus-Filter Driver
; version 1.3.9
; (C) Copyright 2002-2004  AMD, Inc.
;---------------------------------------------
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%AMD%
CatalogFile=Amd8131.cat
DriverVer=09/02/2004, 1.3.9.0

;
; Identify the installation media
;
[SourceDisksNames]
1 = %AMD8131_DRV_DESC%,,

;
; Identify the files on the installation media
;
[SourceDisksFiles]
AmdPci32.sys = 1
AmdPci64.sys = 1

[DestinationDirs]
Amd8131_Driver.Files = 12
Amd8131_Driver64.Files = 12

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%AMD_MFG%=Amd8131,NTamd64

;
;---------------------------------------------
; 32-bit Installation
;---------------------------------------------
;
[Amd8131]
%PCI\VEN_1022&DEV_7450&CC_0604.DeviceDesc% = Amd8131_Inst, PCI\VEN_1022&DEV_7450&CC_0604

[Amd8131_Inst]
Include = machine.inf
Needs = PCI_DRV
CopyFiles = Amd8131_Driver.Files

[Amd8131_Inst.Services]
Include= machine.inf
Needs= PCI_DRV.Services
AddService = AmdPCI, 0, Amd8131_Driver_Inst, Amd8131_EventLog_Inst

[Amd8131_Inst.HW]
AddReg = Amd8131_Inst.AddReg

[Amd8131_Inst.AddReg]
HKR,,"UpperFilters",0x00010000,"AmdPCI"

[Amd8131_Driver.Files]
AmdPci32.sys

[Amd8131_Driver_Inst]
DisplayName    = %AMD8131_DRV_DESC%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\AmdPci32.sys

[Amd8131_EventLog_Inst]
AddReg = Amd8131_EventLog_Inst.AddReg

[Amd8131_EventLog_Inst.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\AmdPci32.sys"
HKR,,TypesSupported,%REG_TYPE_DWORD%,7

;
;---------------------------------------------
; 64-bit Installation
;---------------------------------------------
;
[Amd8131.NTamd64]
%PCI\VEN_1022&DEV_7450&CC_0604.DeviceDesc% = Amd8131_Inst64, PCI\VEN_1022&DEV_7450&CC_0604

[Amd8131_Inst64]
Include = machine.inf
Needs = PCI_DRV
CopyFiles = Amd8131_Driver64.Files

[Amd8131_Inst64.Services]
Include= machine.inf
Needs= PCI_DRV.Services
AddService = AmdPCI64, 0, Amd8131_Driver_Inst64, Amd8131_EventLog_Inst64

[Amd8131_Inst64.HW]
AddReg = Amd8131_Inst64.AddReg

[Amd8131_Inst64.AddReg]
HKR,,"UpperFilters",0x00010000,"AmdPCI64"

[Amd8131_Driver64.Files]
AmdPci64.sys

[Amd8131_Driver_Inst64]
DisplayName    = %AMD8131_DRV_DESC%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\AmdPci64.sys

[Amd8131_EventLog_Inst64]
AddReg = Amd8131_EventLog_Inst64.AddReg

[Amd8131_EventLog_Inst64.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\AmdPci64.sys"
HKR,,TypesSupported,%REG_TYPE_DWORD%,7

;
;---------------------------------------------
; Localizable strings
;---------------------------------------------
;
[Strings]
AMD = "AMD"
AMD_MFG = "AMD"
AMD8131_DRV_DESC = "AMD-8131 Bus-Filter Driver"
PCI\VEN_1022&DEV_7450&CC_0604.DeviceDesc = "AMD-8131™ HyperTransport™ PCI-X® Tunnel"

;
;---------------------------------------------
;Handy macro substitutions (non-localizable)
;---------------------------------------------
;
REG_TYPE_SZ		= 0x00000000
REG_TYPE_MULTI_SZ	= 0x00010000
REG_TYPE_DWORD		= 0x00010001
REG_EXPAND_SZ		= 0x00020000 

SPSVCINST_ASSOCSERVICE    = 0x00000002
SERVICE_WIN32_OWN_PROCESS = 0x10
SERVICE_KERNEL_DRIVER     = 1
SERVICE_BOOT_START	  = 0
SERVICE_SYSTEM_START	  = 1
SERVICE_AUTO_START	  = 2
SERVICE_DEMAND_START	  = 3
SERVICE_ERROR_IGNORE	  = 0
SERVICE_ERROR_NORMAL	  = 1
SERVICE_ERROR_SEVERE	  = 2
SERVICE_ERROR_CRITICAL	  = 3
