; Copyright (c) Microsoft Corporation.  All rights reserved.

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%MSFT%
DriverVer=06/21/2006,6.1.7600.16385

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
uagp35.sys 				= 3426
gagp30kx.sys	= 3426

[DestinationDirs]
DefaultDestDir = 12         ; DIRID_DRIVERS

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%AMD_MFG%=AMD_SYS,NTx86
%VIA_MFG%=VIA_SYS,NTx86
%SIS_MFG%=SIS_SYS,NTx86

[AMD_SYS.NTx86]
%PCI\VEN_1022&DEV_7455.DeviceDesc% = GAGP30KX_Install,PCI\VEN_1022&DEV_7455


[SIS_SYS.NTx86]
%PCI\VEN_1039&DEV_0002.DeviceDesc% = GAGP30KX_Install,PCI\VEN_1039&DEV_0002
%PCI\VEN_1039&DEV_0003.DeviceDesc% = UAGP35_Install,PCI\VEN_1039&DEV_0003

[VIA_SYS.NTx86]
%PCI\VEN_1106&DEV_B188.DeviceDesc% = GAGP30KX_Install,PCI\VEN_1106&DEV_B188
%PCI\VEN_1106&DEV_B198.DeviceDesc% = UAGP35_Install,PCI\VEN_1106&DEV_B198

;**************************************************************************
; AGP filters that sit on top of PCI
;

;
; Microsoft AGPv3.5
;
[UAGP35_Install]
CopyFiles=@UAGP35.SYS

[UAGP35_Filter_Reg]
HKR,,"UpperFilters", 0x00010000,"UAGP35"
HKLM,"SYSTEM\CurrentControlSet\Services\uagp35\Parameters","1106316800",0x00030003,00,00,30,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Services\uagp35\Parameters","1106316802",0x00030003,00,00,30,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Services\uagp35\Parameters","1106316803",0x00030003,00,00,30,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Services\uagp35\Parameters","1106318900",0x00030003,00,00,70,00,00,00,00,00
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\drivers\uagp35.sys"
HKR,,TypesSupported,%REG_DWORD%,7

[UAGP35_Install.HW]
AddReg = UAGP35_Filter_Reg

[UAGP35_Install.Services]
Include=machine.inf
AddService = uagp35,0,uagp35_ServiceInstallSection
AddService = pci, %SPSVCINST_ASSOCSERVICE%, pci_ServiceInstallSection
DelService = agp440
DelService = viaagp1
DelService = sisagp

[uagp35_ServiceInstallSection]
DisplayName    = %uagp35_svcdesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\uagp35.sys
LoadOrderGroup = PnP Filter

;
; Generic AGPv3.0 driver for AMD K8/9 platforms
;
[GAGP30KX_Install]
CopyFiles=@GAGP30KX.SYS

[GAGP30KX_Filter_Reg]
HKR,,"UpperFilters", 0x00010000,"GAGP30KX"
HKLM,"SYSTEM\CurrentControlSet\Services\gagp30kx\Parameters","10227454",0x00000001,00,00,d0,00,00,00,00,00
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\drivers\gagp30kx.sys"
HKR,,TypesSupported,%REG_DWORD%,7

[GAGP30KX_Install.HW]
AddReg = GAGP30KX_Filter_Reg

[GAGP30KX_Install.Services]
Include=machine.inf
AddService = gagp30kx,0,gagp30kx_ServiceInstallSection
AddService = pci, %SPSVCINST_ASSOCSERVICE%, pci_ServiceInstallSection
DelService = amdagp8p
DelService = viaagp1
DelService = sisagp

[gagp30kx_ServiceInstallSection]
DisplayName    = %gagp30kx_svcdesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\gagp30kx.sys
LoadOrderGroup = PnP Filter


[Strings]
; localizable

SystemClassName = "System devices"
MSFT            = "Microsoft"

AMD_MFG = "AMD"
PCI\VEN_1022&DEV_7455.DeviceDesc = "AMD-8151 HyperTransport(tm) AGP3.0 Graphics Tunnel"

HP_MFG = "Hewlett-Packard"
PCI\VEN_103C&DEV_12B4.DeviceDesc = "HP NetServer Advanced Graphics Port v3.5"

SIS_MFG = "Silicon Integrated Systems"
PCI\VEN_1039&DEV_0002.DeviceDesc = "SIS Processor to AGP Controller"
PCI\VEN_1039&DEV_0003.DeviceDesc = "SIS Processor to AGP Controller"

VIA_MFG = "VIA"
PCI\VEN_1106&DEV_B188.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_B198.DeviceDesc = "VIA CPU to AGP Controller"

;service descriptions
uagp35_svcdesc = "Microsoft AGPv3.5 Filter"
gagp30kx_svcdesc = "Microsoft Generic AGPv3.0 Filter for K8 Processor Platforms"

;*******************************************
;Non-localizable, Handy macro substitutions
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_SYSTEM_START   = 1
SERVICE_DEMAND_START   = 3
SERVICE_ERROR_NORMAL   = 1
SERVICE_ERROR_CRITICAL = 3
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001

