Minor changes for ATAPI Srb Functions
[reactos.git] / drivers / storage / storahci / storahci.inf
1 ;
2 ; PROJECT: ROS Kernel
3 ; LICENSE: GNU GPLv2 only as published by the Free Software Foundation
4 ; PURPOSE: Storahci Driver INF
5 ; PROGRAMMERS: Aman Priyadarshi (aman.eureka@gmail.com)
6 ;
7
8 [version]
9 signature="$Windows NT$"
10 Class=hdc
11 ClassGuid={4D36E96A-E325-11CE-BFC1-08002BE10318}
12 Provider=%ROS%
13
14 [SourceDisksNames]
15 1 = %DeviceDesc%,,,
16
17 [SourceDisksFiles]
18 storahci.sys = 1
19
20 [DestinationDirs]
21 DefaultDestDir = 12 ; DIRID_DRIVERS
22
23 [Manufacturer]
24 %ROS%=STORAHCI,NTx86
25
26 [STORAHCI]
27
28 [STORAHCI.NTx86]
29 %SATA_AHCI.DeviceDesc%=storahci_Inst, PCI\CC_010601; Standard SATA AHCI Controller
30
31 [ControlFlags]
32 ExcludeFromSelect = *
33
34 [storahci_Inst]
35 CopyFiles = storahci_CopyFiles
36
37 [storahci_Inst.HW]
38 ; Enables Storport IPM for this adapter
39 HKR, "StorPort", "EnableIdlePowerManagement", %REG_DWORD%, 0x01
40
41 [storahci_Inst.Services]
42 AddService = storahci, %SPSVCINST_ASSOCSERVICE%, storahci_Service_Inst, Miniport_EventLog_Inst
43
44 [storahci_Service_Inst]
45 DisplayName = %DeviceDesc%
46 ServiceType = %SERVICE_KERNEL_DRIVER%
47 StartType = %SERVICE_BOOT_START%
48 ErrorControl = %SERVICE_ERROR_CRITICAL%
49 ServiceBinary = %12%\storahci.sys
50 LoadOrderGroup = SCSI Miniport
51 AddReg = ahci_addreg
52
53 [storahci_CopyFiles]
54 storahci.sys,,,1
55
56 [ahci_addreg]
57 HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 0x00000001
58 HKR, "Parameters", "BusType", %REG_DWORD%, 0x0000000B
59
60 [Miniport_EventLog_Inst]
61 AddReg = Miniport_EventLog_AddReg
62
63 [Miniport_EventLog_AddReg]
64 HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
65 HKR,,TypesSupported,%REG_DWORD%,7
66
67 [Strings]
68 ROS = "ReactOS"
69 DeviceDesc = "AHCI SATA Driver"
70 SATA_AHCI.DeviceDesc = "Standard SATA AHCI Controller"
71
72 SPSVCINST_ASSOCSERVICE = 0x00000002
73 SERVICE_KERNEL_DRIVER = 1
74 SERVICE_BOOT_START = 0
75 SERVICE_ERROR_CRITICAL = 3
76 REG_EXPAND_SZ = 0x00020000
77 REG_DWORD = 0x00010001