
; SISIDE.INF
; Copyright (c) 2001 SiS Corp.

[version]
signature="$Windows NT$"
Class=hdc
ClassGuid={4D36E96A-E325-11CE-BFC1-08002BE10318}
Provider=%SiS%
DriverVer=03/29/2002,1.01.07.00

[SourceDisksNames]
1 = %DiskName%,,,

[SourceDisksFiles]
siside.sys= 1
sisinst.dll = 1

[DestinationDirs]
DefaultDestDir = 12
CopyMiniPort   = 12
UninstallDLL   = 11
CoInstaller_CopyFiles=11

[CopyMiniPort]
siside.sys

[UninstallDLL]
sisinst.dll



[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%SiS%=SiS

[SiS]
%PChannelDescript% = NODRV,GEN_SCSIADAPTER
%SChannelDescript% = NODRV,GEN_SCSIADAPTER
%PCI\VEN_1039&DEV_5513.DeviceDesc% = atapi_Inst, PCI\VEN_1039&DEV_5513
%PCI\VEN_1039&DEV_5518.DeviceDesc% = atapi_Inst, PCI\VEN_1039&DEV_5518

[NODRV]
AddReg = AddPNP

;[NODRV.Services]
;NoDRIVER=1

[AddPNP]
HKLM, system\currentcontrolset\services\siside\Parameters\PnpInterface, 1, %REG_DWORD%, 0x00000001

[DISABLE_PCIIDE]
HKLM, system\currentcontrolset\services\pciide, "Start", %REG_DWORD%, 0x00000004

[atapi_Inst]
AddReg = RegUninstall,DISABLE_PCIIDE
CopyFiles = CopyMiniPort,UninstallDLL


[atapi_Inst.Services]
AddService = siside, %SPSVCINST_ASSOCSERVICE%, atapi_Service_Inst, SiS_EventLog_Inst
AddService = , %SPSVCINST_ASSOCSERVICE%

[atapi_Inst.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
sisinst.dll

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"sisinst.dll,SiSCoInstaller"


; SiS IDE service
[atapi_Service_Inst]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\siside.sys
LoadOrderGroup = SCSI Miniport
AddReg         = DEVICE_PARAMETER

[DEVICE_PARAMETER]
HKLM, system\currentcontrolset\services\siside\Parameters\PnpInterface, 1, %REG_DWORD%, 0x00000001
HKR, "Enum",	"0",	%REG_SZ%,"Root\siside\0000"
HKR, "Enum",	"1",	%REG_SZ%,"Root\siside\0001"
HKR, "Enum",	"Count",%REG_DWORD%,2
HKR, "Enum",	"NextInstance",%REG_DWORD%,2

[SiS_EventLog_Inst]
AddReg = SiS_EventLog_AddReg

[SiS_EventLog_AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7

[RegUninstall]
HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SiS Bus Master IDE Driver,"DisplayName",,"SiS Bus Master IDE Driver (Remove)"
HKLM, SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\SiS Bus Master IDE Driver,"UninstallString",,"RunDll32 sisinst.dll,UninstallIDE"



[Strings]
ChannelDescript         = "SiS DMA Channel"
PChannelDescript         = "Primary DMA Channel"
SChannelDescript         = "Secondary DMA Channel"
SiS                     = "Silicon Integrated Systems Corp."
DiskName                = "ATA/ATAPI"
PCI\VEN_1039&DEV_5513.DeviceDesc="SiS Bus Master IDE Controller"
PCI\VEN_1039&DEV_5518.DeviceDesc="SiS 5518 Bus Master IDE Controller"


;Handy macro substitutions (non-localizable)
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER  = 1
SERVICE_BOOT_START     = 0
SERVICE_ERROR_NORMAL   = 1
REG_EXPAND_SZ          = 0x00020000
REG_DWORD              = 0x00010001
REG_SZ		       = 0x00000000
ENABLE_DMA             = 1
DISABLE_DMA            = 0
