summaryrefslogtreecommitdiff
path: root/sd/miniport/sdhc/sdhc.inx
blob: f2b6c58a40ebf72bfd5d03f9333942cc06ed228e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
;Copyright (c) Microsoft Corporation

[Version]
Signature="$Windows NT$"
Class=SDHost
ClassGUID={a0a588a4-c46f-4b37-b7ea-c82fe89870c6}
Provider=%ProviderString%
DriverVer=04/02/2015,10.0.10053.0
CatalogFile=sdhc.cat
PnpLockdown=1

[SourceDisksNames]
1 = Disk

[SourceDisksFiles]
sdhc.sys = 1

[Manufacturer]
%Generic%=Generic,NT$ARCH$.10.0...25398
%TED%=TED,NT$ARCH$.10.0...25398
%VIA%=VIA,NT$ARCH$.10.0...25398

[ControlFlags]
ExcludeFromSelect=*

;
; Generic Device
;

[Generic.NT$ARCH$.10.0...25398]
%PCI\CC_080500.DeviceDesc%=SDHost, PCI\CC_080500
%PCI\CC_080501.DeviceDesc%=SDHost, PCI\CC_080501
%ACPI\PNP0D40.DeviceDesc%=SDHost, ACPI\PNP0D40

;
; Non-Generic Devices
;
; Use Generic Device Description (%PCI\CC_080501.DeviceDesc%) to
; minimize localization.
;
; Otherwise, instances of %PCI\CC_080501.DeviceDesc% should be replaced by
; %<SpecificID...>%
;

[TED.NT$ARCH$.10.0...25398]
%PCI\VEN_1679&DEV_3000.DeviceDesc%=SDHost, PCI\VEN_1679&DEV_3000

[VIA.NT$ARCH$.10.0...25398]
%PCI\VEN_1106&DEV_365B.DeviceDesc%=SDHost, PCI\VEN_1106&DEV_365B
%PCI\VEN_1106&DEV_401B.DeviceDesc%=SDHost, PCI\VEN_1106&DEV_401B
%PCI\VEN_1106&DEV_95D0.DeviceDesc%=SDHost, PCI\VEN_1106&DEV_95D0

;
; Service install
;

[sdhc_Service_Inst]
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_NORMAL%
ServiceBinary  = %12%\sdhc.sys
LoadOrderGroup = System Bus Extender
BootFlags      = 0x00000008
AddReg         = SDHCServiceReg

;
; Registry keys
;

[SDHCLocationReg]
HKR,,UINumberDescFormat,,%SDHCSlot%

[SDHCReg]
HKR,,Driver,,"sdhc.sys"

[SDHCServiceReg]
HKR,Parameters,SdCmdFlags,1,    05,01, 06,01, 08,11, 09,19, 0A,19, 0D,11, \
                                10,01, 11,01, 12,01, 17,01, 18,05, 19,05, \
                                1A,01, 1B,01, 1C,01, \
                                20,05, 21,05, 26,05, \
                                2A,01, \
                                34,02, 35,02, \
                                37,01, 38,01, \
                                22,01, 23,05, 24,01, 25,01

HKR,Parameters,SdAppCmdFlags,1, 06,01, 0D,01, 16,01, 17,01, 33,01, \
                                12,01, 19,01, 1A,01, 26,01, 2B,01, \
                                2C,01, 2D,01, 2E,01, 2F,01, 30,01, 31,01

;
; Copy Files
;

[CSCopyFiles]
sdhc.sys

[DestinationDirs]
CSCopyFiles=12

;
; Controller Specific Sections
;

;
; Standard host controller
;

[SDHost]
CopyFiles=CSCopyFiles
AddReg=SDHCReg

[SDHost.Services]
AddService = sdhc, 2, sdhc_Service_Inst

[SDHost.HW]
AddReg=SDHCLocationReg

[Strings]
;
; Localizable strings below
;

Generic="SDA Standard Compliant SD Host Controller Vendor"

;
; Device Decription strings
;

PCI\VEN_1679&DEV_3000.DeviceDesc="Tokyo Electron SD Standard host controller"

PCI\VEN_1106&DEV_365B.DeviceDesc="VIA Secure Digital host controller"
PCI\VEN_1106&DEV_401B.DeviceDesc="VIA Secure Digital host controller"
PCI\VEN_1106&DEV_95D0.DeviceDesc="VIA Secure Digital host controller"

PCI\CC_080500.DeviceDesc="SDA Standard Compliant SD Host Controller"
PCI\CC_080501.DeviceDesc="SDA Standard Compliant SD Host Controller"

;
; SoC
;

;
; The IDs marked deprecated are not finalized and need to be replaced
; by the correct IDs the vendors supply in the firmware.
;

ACPI\PNP0D40.DeviceDesc="SDA Standard Compliant SD Host Controller"

;
; Slot description string
;

SDHCSlot="SD Host Slot %1!u!"

;
; Non-localizable strings below
;

SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START    = 0
SERVICE_SYSTEM_START  = 1
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_NORMAL  = 1
SERVICE_ERROR_IGNORE  = 0
REG_EXPAND_SZ         = 0x00020000
REG_DWORD             = 0x00010001
REG_SZ                = 0x00000000

;
; Manufacturer name strings
;

ProviderString="TODO-Set-Provider"
TED="Tokyo Electron Device"
VIA="VIA Technologies, Inc"