; This INF file is for Windows NT 4.0 only.

[Version]
;CatalogFile=csa64xx.cat
Signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
Provider=%CMD%

[SourceDisksNames]
1="CMD IDE Installation Disk",disk1,winnt

[SourceDisksFiles]
csa64xx.sys = 1
cmdcfgnt.exe = 1
;csa64xx.cat = 1

[DriverFiles]
csa64xx.sys

[UtilityFiles]
cmdcfgnt.exe

[DestinationDirs]
DefaultDestDir=12
UtilityFiles=11

[Manufacturer]
%CMD%=CMD_HDC

[CMD_HDC]
%CMD64X.DeviceDesc%=DUAL_DMA_IDE, *CMD0649
%CMD64X.DeviceDesc%=DUAL_DMA_IDE, *CMD0648
%CMD64X.DeviceDesc%=DUAL_DMA_IDE, *CMD0646_REV_07
%CMD64X.DeviceDesc%=DUAL_DMA_IDE, *CMD0646_REV_05

[DUAL_DMA_IDE]
Copyfiles=DriverFiles,UtilityFiles
AddReg=ParameterList,DriverInfoAddReg

[ParameterList]
HKLM, %REGKEY_PARAMETERS%, %REGVAL_LOCAL_BUS_SPEED%, %REG_DWORD%, %REGDATA_BUS_SPEED_33%
HKLM, %REGKEY_PARAMETERS%, %REGVAL_DMA_ENABLED%, %REG_DWORD%, %REGDATA_ENABLE%
HKLM, %REGKEY_PARAMETERS%, %REGVAL_CONTROL_NON_CMD_CHIP%, %REG_DWORD%, %REGDATA_DISABLE%

[DriverInfoAddReg]
; This section is added to all INFs to add registry entries for Driver Info.
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,Description,,%DriverDescription%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,CurrentVer,,%DriverOEMVersion%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,Ver_%DriverOEMVersion%,,%DriverVersionID%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,BaseDriverFileName,,%BaseDriverFileName%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,BaseDriverFileVersion,,%BaseDriverFileVersion%

[DUAL_DMA_IDE.Services]
AddService=CSA64XX,%SPSVCINST_ASSOCSERVICE%,DUAL_DMA_IDE_Service_Install

[DUAL_DMA_IDE_Service_Install]
DisplayName=%CMDIDE.SvcDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_BOOT_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\csa64xx.sys
LoadOrderGroup=Scsi miniport

[Strings]
CMD="CMD Technology"
CMD64X.DeviceDesc="CMD PCI 646U2/648/649 Ultra DMA IDE Controller"
CMDIDE.SvcDesc="CMD 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
REGKEY_CSA64           = "SYSTEM\CurrentControlSet\Services\csa64xx"
REGKEY_PARAMETERS      = "SYSTEM\CurrentControlSet\Services\csa64xx\Parameters"
REGVAL_LOCAL_BUS_SPEED = "LocalBusSpeed"
REGVAL_DMA_ENABLED     = "DmaEnabled"
REGVAL_CONTROL_NON_CMD_CHIP = "ControlNonCmdChip"                                                                               
REGDATA_BUS_SPEED_33   = 33
REGDATA_ENABLE         = 1
REGDATA_DISABLE        = 0
;
; Driver Information Entries
;
; These items will be set by IHV...
DriverMfgr="CMD"				; IHV name
DriverVersionID="3.0.8"				; The IHV driver version
BaseDriverFileName="csa64xx.sys"		; Key file for version checking
BaseDriverFileVersion="3.0.8"			; Version of the key file
;
; These items will be set by OEM
DriverOEM="CMD"					; name of the OEM
DriverFamily="Storage"				; device family (NIC, Storage, Video...)
DriverProduct="CSA-064x Driver"			; Specific Name of device (chipset, for example)
DriverDescription="Bus Master IDE Driver"	; Description of device (product name, OS or system supported)
DriverOEMVersion="3.0.8"			; OEM-specified version
