; Copyright (c) 2005 - 2010 VIA Technologies, Inc.
;
; INF File for MiniIDE and Hot-Plug Driver
;

[version]
Signature="$WINDOWS NT$"
Class=hdc
ClassGuid={4D36E96A-E325-11CE-BFC1-08002BE10318}
Provider=%VIA%
CatalogFile=videx32.cat
CatalogFile.ntamd64=videx64.cat
DriverVer=02/13/2007,6.0.5728.170

[SourceDisksNames]
1 = %Disk1Desc%

[SourceDisksFiles]
videX32.sys = 1
videX64.sys = 1

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

[Manufacturer]
%VIA-Drivers%=VIA_MiniIDE, NTamd64

[VIA_MiniIDE]
%PCI\VEN_1106&DEV_0571.DeviceDesc% = vide_PATA_Inst_x32, PCI\VEN_1106&DEV_0571 ;VIA 0x0571 PATA Controller
%VT6410.PATA.DeviceDesc%           = vide_PATA_Inst_x32, PCI\VEN_1106&DEV_3164&CC_0101   ;VT6410 PATA Controller

[VIA_MiniIDE.NTamd64]
%PCI\VEN_1106&DEV_0571.DeviceDesc% = vide_PATA_Inst_x64, PCI\VEN_1106&DEV_0571 ;VIA 0x0571 PATA COntroller
%VT6410.PATA.DeviceDesc%           = vide_PATA_Inst_x64, PCI\VEN_1106&DEV_3164&CC_0101   ;VT6410 PATA Controller

[vide_PATA_Inst_x32.NTx86]
CopyFiles = @videX32.sys

[vide_PATA_Inst_x32.NTx86.Services]
AddService = videX32, %SPSVCINST_ASSOCSERVICE%, vide_Service_Inst_x32

[vide_Service_Inst_x32]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\videX32.sys
LoadOrderGroup = System Bus Extender



[vide_PATA_Inst_x64]
CopyFiles = @videX64.sys

[vide_PATA_Inst_x64.Services]
AddService = videX64, %SPSVCINST_ASSOCSERVICE%, vide_Service_Inst_x64
 
[vide_Service_Inst_x64]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\videX64.sys
LoadOrderGroup = System Bus Extender

[ControlFlags]

[Strings]
VIA              = "VIA Technologies, Inc."
Disk1Desc        = "Installation Disk for VIA IDE Controller"
VIA-Drivers      = "VIA SATA/PATA IDE controllers"
PCI\VEN_1106&DEV_0571.DeviceDesc = "VIA Bus Master IDE Controller - 0571"
VT6410.PATA.DeviceDesc           = "VIA Bus Master IDE Controller - 3164"


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