; Copyright (C) 2008  NVIDIA Corporation
; Unauthorized copying or use without explicit permission of NVIDIA
; is prohibited
;
[Version] 
Signature = "$Windows NT$" 
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318} 
Provider=%NVIDIA% 
DriverVer=08/06/2010,10.6.0.19

[DestinationDirs] 
nvraid.Files.12 = 12
Crush11.Files.12 = 12 

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
nvstor.sys = 3426
nvraid.sys = 3426

[Manufacturer] 
%NVIDIA%=NVIDIA, NTx86, NTamd64

[NVIDIA]

[NVIDIA.NTx86]
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_0266&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_0267&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_037E&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_037F&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_036F&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_03F6&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_03F7&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_03E7&CC_0101
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0036&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_003E&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0054&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0055&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0266&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0267&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_037E&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_037F&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_036F&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_03F6&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_03F7&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_03E7&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_044C&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0558&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0559&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_055A&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_07F8&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_07F9&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_07FA&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_07FB&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0AD9&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0AD8&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0ABD&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0ABC&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0BC4&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0BC5&CC_0104
%NVRAID_DESC%=nvraid,SCSI\NVIDIA__Raid_Disk________
%NVRAID_DESC%=nvraid,SCSI\__NVIDIA_______Raid_Disk
%NVRAID_DESC%=nvraid,SCSI\NVIDIA__Raid_Disk_20_____
%NVRAID_DESC%=nvraid,SCSI\__NVIDIA____Raid_Disk_20
%NVRAID_BUS_DESC%=nvraidbus,*_NVRAIDBUS
%NVRAID_BUS_DESC%=nvraidbus,*NVRAIDBUS
%NVRAID_BUS_DESC%=nvraidbus,*NVRAID20

[NVIDIA.NTamd64]
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_0266&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_0267&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_037E&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_037F&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_036F&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_03F6&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_03F7&CC_0101
%NVSTOR_DESC%=Crush11_IDE_Inst,PCI\VEN_10DE&DEV_03E7&CC_0101
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0036&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_003E&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0054&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0055&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0266&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0267&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_037E&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_037F&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_036F&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_03F6&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_03F7&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_03E7&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_044C&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0558&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0559&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_055A&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_07F8&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_07F9&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_07FA&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_07FB&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0AD9&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0AD8&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0ABD&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0ABC&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0BC4&CC_0104
%NVSTOR_DESC%=Crush11_Inst,PCI\VEN_10DE&DEV_0BC5&CC_0104
%NVRAID_DESC%=nvraid,SCSI\NVIDIA__Raid_Disk________
%NVRAID_DESC%=nvraid,SCSI\__NVIDIA_______Raid_Disk
%NVRAID_DESC%=nvraid,SCSI\NVIDIA__Raid_Disk_20_____
%NVRAID_DESC%=nvraid,SCSI\__NVIDIA____Raid_Disk_20
%NVRAID_BUS_DESC%=nvraidbus,*_NVRAIDBUS
%NVRAID_BUS_DESC%=nvraidbus,*NVRAIDBUS
%NVRAID_BUS_DESC%=nvraidbus,*NVRAID20
                                           
[Crush11_Inst] 
CopyFiles = Crush11.Files.12

[Crush11_Inst.HW] 
AddReg=Crush11_Inst.AddReg.HW

[Crush11_Inst.AddReg.HW]
; allow access from system and administrator only
HKR,,"Security",,"D:P(A;;GA;;;SY)(A;;GA;;;BA)"

[Crush11_Inst.Services] 
AddService = nvstor,0x00000002,Crush11_Service_Inst,Crush11_EventLog_Inst

[Crush11_Service_Inst] 
ServiceType    = %SERVICE_KERNEL_DRIVER% 
StartType      = %SERVICE_BOOT_START% 
ErrorControl   = %SERVICE_ERROR_CRITICAL% 
ServiceBinary  = %12%\nvstor.sys
LoadOrderGroup = "SCSI Miniport"
AddReg         = pnpsafe_pci_addreg

[Crush11_EventLog_Inst]
AddReg = Crush11_EventLog_AddReg

[Crush11_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\nvstor.sys"
HKR,,TypesSupported,0x00010001,7 

[pnpsafe_pci_addreg]
HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 0x00000001
HKR, "Parameters", "BusType", %REG_DWORD%, 0x00000008 ;; bus type = RAID (0x8)
HKR, "Parameters\Device", "EnableQueryAccessAlignment", %REG_DWORD%, 0x00000001

[Crush11.Files.12] 
nvstor.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; For IDE (non-Raid)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Crush11_IDE_Inst] 
CopyFiles = Crush11.Files.12

[Crush11_IDE_Inst.HW] 
AddReg=Crush11_IDE_Inst.AddReg.HW

[Crush11_IDE_Inst.AddReg.HW]
; allow access from system and administrator only
HKR,,"Security",,"D:P(A;;GA;;;SY)(A;;GA;;;BA)"

[Crush11_IDE_Inst.Services] 
AddService = nvstor,0x00000002,Crush11_IDE_Service_Inst,Crush11_IDE_EventLog_Inst

[Crush11_IDE_Service_Inst] 
ServiceType    = %SERVICE_KERNEL_DRIVER% 
StartType      = %SERVICE_BOOT_START% 
ErrorControl   = %SERVICE_ERROR_CRITICAL% 
ServiceBinary  = %12%\nvstor.sys
LoadOrderGroup = "SCSI Miniport"
AddReg         = pnpsafe_pci_IDE_addreg

[Crush11_IDE_EventLog_Inst]
AddReg = Crush11_IDE_EventLog_AddReg

[Crush11_IDE_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\nvstor.sys"
HKR,,TypesSupported,0x00010001,7 

[pnpsafe_pci_IDE_addreg]
HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 0x00000001
HKR, "Parameters", "BusType", %REG_DWORD%, 0x00000003 ;; bus type = ATA (0x3)
HKR, "Parameters\Device", "EnableQueryAccessAlignment", %REG_DWORD%, 0x00000001

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; RAID host controller
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[nvraidbus] 
CopyFiles = nvraid.Files.12 

[nvraidbus.Services] 
AddService = nvraid,0x00000002,nvraid_Service_Inst, 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; RAID device (disk)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[nvraid] 
CopyFiles = nvraid.Files.12 

[nvraid.Services] 
AddService = nvraid,0x00000002,nvraid_Service_Inst, 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; RAID driver service section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[nvraid_Service_Inst] 
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_BOOT_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = System Bus Extender
ServiceBinary  = %12%\nvraid.sys
AddReg = nvraid_DisableCoalesce_AddReg
DelReg = nvraid_DisableCoalesce_AddReg

[nvraid_DisableCoalesce_AddReg]
HKR,,DisableCoalesce,0x00010001,1
HKR, "Parameters", "BusType", %REG_DWORD%, 0x00000008 ;; bus type = RAID (0x8)
HKR, "Parameters\Device", "EnableQueryAccessAlignment", %REG_DWORD%, 0x00000001

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; copy file sections
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[nvraid.Files.12] 
nvraid.sys


[Strings] 

;Localizable
NVIDIA= "NVIDIA Corporation" 
NVSTOR_DESC= "NVIDIA nForce Serial ATA Controller"
DisplayClassName= "NVIDIA RAID CLASS"
NVRAID_DESC= "NVIDIA nForce RAID Device" 
NVRAID_BUS_DESC= "NVIDIA nForce RAID Controller" 

;Non-localizable
SERVICE_BOOT_START = 0x0 
SERVICE_SYSTEM_START = 0x1 
SERVICE_AUTO_START = 0x2 
SERVICE_DEMAND_START = 0x3 
SERVICE_DISABLED = 0x4 

SERVICE_KERNEL_DRIVER = 0x1 
SERVICE_ERROR_IGNORE = 0x0 
SERVICE_ERROR_NORMAL = 0x1 
SERVICE_ERROR_SEVERE = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ = 0x00020000 
REG_DWORD = 0x00010001 
