
; 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

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS
MiniPort       = 12
UninstallDLL   = 11

[MiniPort]
siside.sys

[UninstallDLL]
siside2k.dll

[SourceDisksNames]
1 = %DiskName%,,,

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

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%SiS%=SiS

;****************************************************
;(Standard mass storage controllers) Manufacturer device list
[SiS]
%ChannelDescript% = NODRV,DETECTEDIsa\siside                             ; Ultra ATA Channel
%ChannelDescript% = NODRV,DETECTED\siside                                ; Ultra ATA Channel
%PCI\VEN_1039&DEV_5513.DeviceDesc% = atapi_Inst, PCI\VEN_1039&DEV_5513   ; Device IDs for generic Dual PCI IDE
%PCI\VEN_1039&DEV_5518.DeviceDesc% = atapi_Inst, PCI\VEN_1039&DEV_5518   ; Device IDs for SiS962/963 IDE


;//////////////////////////////////////////////////////////
[NODRV]
AddReg = PNP_REG

[NODRV.Services]
NoDriver = 1

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

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

[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 SISIDE2K.dll,UninstallIDE"


[atapi_Inst]
AddReg = RegUninstall, PciIde_Kill
CopyFiles = MiniPort, UninstallDLL

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

[atapi_Service_Inst]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\siside.sys
LoadOrderGroup = SCSI Miniport

;*************************************************************
;The EventLog entries are the same for all SCSI miniports.

[SIS_EventLog_Inst]
AddReg = SIS_EventLog_AddReg

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


[Strings]
ChannelDescript       = "Ultra DMA Channel"
SiS                   = "Silicon Integrated Systems Corp."

;
; IMPORTANT--Leave the trailing space in descr. for atapi, so we can distinguish it from pci 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_BINARY             = 0x00000001
DiskName               = ""