[STORAHCI] Make the storahci driver build on gcc and add it to the build.
[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 [Strings.0418]
73 ROS = "ReactOS"
74 DeviceDesc = "Modúl-pilot SATA AHCI"
75 SATA_AHCI.DeviceDesc = "Dispozitiv de control standard AHCI SATA"
76
77 [Strings.041f]
78 ROS = "ReactOS"
79 DeviceDesc = "AHCI SATA Sürücüsü"
80 SATA_AHCI.DeviceDesc = "Ölçünlü SATA AHCI Denetleyicisi"
81
82 SPSVCINST_ASSOCSERVICE = 0x00000002
83 SERVICE_KERNEL_DRIVER = 1
84 SERVICE_BOOT_START = 0
85 SERVICE_ERROR_CRITICAL = 3
86 REG_EXPAND_SZ = 0x00020000
87 REG_DWORD = 0x00010001