;
; Copyright (c) 2002 VIA Technologies, Inc.
;

[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%VIA%
DriverVer=07/02/2003,5.0.0.3442
CatalogFile=VIAAGP1.CAT

; =================== Common for all AGP devices =========================
[DestinationDirs]
DefaultDestDir = 12        ; DIRID_DRIVERS

[SourceDisksNames]
1=%Distribution%,,,

[SourceDisksFiles]
VIAAGP1.SYS=1

[Manufacturer]
%VIA_MFG%=VIA_SYS


[ControlFlags]
ExcludeFromSelect= *|

[AGP_Filter_Reg]
HKR,,"UpperFilters", 0x00010000,"VIAAGP1"
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","102B0520",0x00030003,80,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","102B0521",0x00030003,80,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","102B0525",0x00030003,80,00,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","10DE0100",0x00030003,00,01,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","53339102",0x00030003,00,01,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","53338C10",0x00030003,00,01,00,00,00,00,00,00
HKLM,"SYSTEM\CurrentControlSet\Control\AGP","53338C12",0x00030003,00,01,00,00,00,00,00,00

[pci_ServiceInstallSection]
DisplayName    = %pci_svcdesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\pci.sys
LoadOrderGroup = "Boot Bus Extender"

; =================== VIA SYS ========================
[VIA_SYS]
%PCI\VEN_1106&DEV_8305.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_8305
%PCI\VEN_1106&DEV_8391.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_8391
%PCI\VEN_1106&DEV_8598.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_8598
%PCI\VEN_1106&DEV_8501.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_8501
%PCI\VEN_1106&DEV_8601.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_8601
%PCI\VEN_1106&DEV_8605.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_8605
%PCI\VEN_1106&DEV_B091.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B091
%PCI\VEN_1106&DEV_B099.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B099
%PCI\VEN_1106&DEV_B112.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B112
%PCI\VEN_1106&DEV_B116.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B116
%PCI\VEN_1106&DEV_B148.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B148
%PCI\VEN_1106&DEV_B156.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B156
%PCI\VEN_1106&DEV_B158.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B158
%PCI\VEN_1106&DEV_B168.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B168
%PCI\VEN_1106&DEV_B188.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B188
%PCI\VEN_1106&DEV_B198.DeviceDesc% = VIAAGP_Install,PCI\VEN_1106&DEV_B198

[VIAAGP_Install]
CopyFiles=@VIAAGP1.SYS

[VIAAGP_Install.HW]
AddReg = AGP_Filter_Reg

[VIAAGP_Install.Services]
AddService = viaagp1,0,viaagp1_ServiceInstallSection
AddService = pci, %SPSVCINST_ASSOCSERVICE%, pci_ServiceInstallSection

[viaagp1_ServiceInstallSection]
DisplayName    = %viaagp1_svcdesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\viaagp1.sys
LoadOrderGroup = PnP Filter

; =================== STRINGS and CONSTANTS ========================
[Strings]
VIA_MFG = "VIA"
Distribution="VIA AGP Filter Driver Disk"
VIA = "VIA Technologies, Inc."
PCI\VEN_1106&DEV_8305.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_8391.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_8598.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_8501.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_8601.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_8605.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_B091.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_B099.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_B112.DeviceDesc = "VIA CPU to AGP Controller"
PCI\VEN_1106&DEV_B116.DeviceDesc = "VIA CPU to AGP controller"
PCI\VEN_1106&DEV_B148.DeviceDesc = "VIA CPU to AGP controller"
PCI\VEN_1106&DEV_B156.DeviceDesc = "VIA CPU to AGP controller"
PCI\VEN_1106&DEV_B158.DeviceDesc = "VIA CPU to AGP controller"
PCI\VEN_1106&DEV_B168.DeviceDesc = "VIA CPU to AGP2.0/AGP3.0 Controller"
PCI\VEN_1106&DEV_B188.DeviceDesc = "VIA CPU to AGP2.0/AGP3.0 Controller"
PCI\VEN_1106&DEV_B198.DeviceDesc = "VIA CPU to AGP2.0/AGP3.0 Controller"

;service descriptions
viaagp1_svcdesc = "VIA AGP Filter"
pci_svcdesc = "PCI Bus Driver"


;*******************************************
;Handy macro substitutions (non-localizable)
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_DEMAND_START   = 3
SERVICE_ERROR_NORMAL   = 1
