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]
9signature="$Windows NT$"
10Class=hdc
11ClassGuid={4D36E96A-E325-11CE-BFC1-08002BE10318}
12Provider=%ROS%
13
14[SourceDisksNames]
151 = %DeviceDesc%,,,
16
17[SourceDisksFiles]
18storahci.sys = 1
19
20[DestinationDirs]
21DefaultDestDir = 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]
32ExcludeFromSelect = *
33
34[storahci_Inst]
35CopyFiles = storahci_CopyFiles
36
37[storahci_Inst.HW]
38; Enables Storport IPM for this adapter
39HKR, "StorPort", "EnableIdlePowerManagement", %REG_DWORD%, 0x01
40
41[storahci_Inst.Services]
42AddService = storahci, %SPSVCINST_ASSOCSERVICE%, storahci_Service_Inst, Miniport_EventLog_Inst
43
44[storahci_Service_Inst]
45DisplayName    = %DeviceDesc%
46ServiceType    = %SERVICE_KERNEL_DRIVER%
47StartType      = %SERVICE_BOOT_START%
48ErrorControl   = %SERVICE_ERROR_CRITICAL%
49ServiceBinary  = %12%\storahci.sys
50LoadOrderGroup = SCSI Miniport
51AddReg         = ahci_addreg
52
53[storahci_CopyFiles]
54storahci.sys,,,1
55
56[ahci_addreg]
57HKR, "Parameters\PnpInterface", "5", %REG_DWORD%, 0x00000001
58HKR, "Parameters", "BusType", %REG_DWORD%, 0x0000000B
59
60[Miniport_EventLog_Inst]
61AddReg = Miniport_EventLog_AddReg
62
63[Miniport_EventLog_AddReg]
64HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
65HKR,,TypesSupported,%REG_DWORD%,7
66
67[Strings]
68ROS                     = "ReactOS"
69DeviceDesc              = "AHCI SATA Driver"
70SATA_AHCI.DeviceDesc    = "Standard SATA AHCI Controller"
71
72[Strings.0418]
73ROS                     = "ReactOS"
74DeviceDesc              = "Modúl-pilot SATA AHCI"
75SATA_AHCI.DeviceDesc    = "Dispozitiv de control standard AHCI SATA"
76
77[Strings.041f]
78ROS                     = "ReactOS"
79DeviceDesc              = "AHCI SATA Sürücüsü"
80SATA_AHCI.DeviceDesc    = "Ölçünlü SATA AHCI Denetleyicisi"
81
82SPSVCINST_ASSOCSERVICE = 0x00000002
83SERVICE_KERNEL_DRIVER  = 1
84SERVICE_BOOT_START     = 0
85SERVICE_ERROR_CRITICAL = 3
86REG_EXPAND_SZ          = 0x00020000
87REG_DWORD              = 0x00010001
88