2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
17 Name (_HID, EISAID("PNP0C0F"))
21 Method (_DIS, 0, Serialized)
26 // Possible Resource Settings for this Link
27 Name (_PRS, ResourceTemplate()
29 IRQ (Level, ActiveLow, Shared)
30 { 3, 4, 5, 6, 7, 10, 12, 14, 15 }
33 // Current Resource Settings for this link
34 Method (_CRS, 0, Serialized)
36 Name (RTLA, ResourceTemplate()
38 IRQ (Level, ActiveLow, Shared) {}
40 CreateWordField (RTLA, 1, IRQ0)
42 // Clear the WordField
45 // Set the bit from PRTA
46 ShiftLeft (1, And (PRTA, 0x0f), IRQ0)
51 // Set Resource Setting for this IRQ link
52 Method (_SRS, 1, Serialized)
54 CreateWordField (Arg0, 1, IRQ0)
57 FindSetRightBit (IRQ0, Local0)
64 Method (_STA, 0, Serialized)
66 If(And (PRTA, 0x80)) {
76 Name (_HID, EISAID("PNP0C0F"))
80 Method (_DIS, 0, Serialized)
85 // Possible Resource Settings for this Link
86 Name (_PRS, ResourceTemplate()
88 IRQ (Level, ActiveLow, Shared)
89 { 3, 4, 5, 6, 7, 11, 12, 14, 15 }
92 // Current Resource Settings for this link
93 Method (_CRS, 0, Serialized)
95 Name (RTLB, ResourceTemplate()
97 IRQ (Level, ActiveLow, Shared) {}
99 CreateWordField (RTLB, 1, IRQ0)
101 // Clear the WordField
104 // Set the bit from PRTB
105 ShiftLeft (1, And (PRTB, 0x0f), IRQ0)
110 // Set Resource Setting for this IRQ link
111 Method (_SRS, 1, Serialized)
113 CreateWordField (Arg0, 1, IRQ0)
116 FindSetRightBit (IRQ0, Local0)
123 Method (_STA, 0, Serialized)
125 If(And (PRTB, 0x80)) {
135 Name (_HID, EISAID("PNP0C0F"))
139 Method (_DIS, 0, Serialized)
144 // Possible Resource Settings for this Link
145 Name (_PRS, ResourceTemplate()
147 IRQ (Level, ActiveLow, Shared)
148 { 3, 4, 5, 6, 7, 10, 12, 14, 15 }
151 // Current Resource Settings for this link
152 Method (_CRS, 0, Serialized)
154 Name (RTLC, ResourceTemplate()
156 IRQ (Level, ActiveLow, Shared) {}
158 CreateWordField (RTLC, 1, IRQ0)
160 // Clear the WordField
163 // Set the bit from PRTC
164 ShiftLeft (1, And (PRTC, 0x0f), IRQ0)
169 // Set Resource Setting for this IRQ link
170 Method (_SRS, 1, Serialized)
172 CreateWordField (Arg0, 1, IRQ0)
175 FindSetRightBit (IRQ0, Local0)
182 Method (_STA, 0, Serialized)
184 If(And (PRTC, 0x80)) {
194 Name (_HID, EISAID("PNP0C0F"))
198 Method (_DIS, 0, Serialized)
203 // Possible Resource Settings for this Link
204 Name (_PRS, ResourceTemplate()
206 IRQ (Level, ActiveLow, Shared)
207 { 3, 4, 5, 6, 7, 11, 12, 14, 15 }
210 // Current Resource Settings for this link
211 Method (_CRS, 0, Serialized)
213 Name (RTLD, ResourceTemplate()
215 IRQ (Level, ActiveLow, Shared) {}
217 CreateWordField (RTLD, 1, IRQ0)
219 // Clear the WordField
222 // Set the bit from PRTD
223 ShiftLeft (1, And (PRTD, 0x0f), IRQ0)
228 // Set Resource Setting for this IRQ link
229 Method (_SRS, 1, Serialized)
231 CreateWordField (Arg0, 1, IRQ0)
234 FindSetRightBit (IRQ0, Local0)
241 Method (_STA, 0, Serialized)
243 If(And (PRTD, 0x80)) {
253 Name (_HID, EISAID("PNP0C0F"))
257 Method (_DIS, 0, Serialized)
262 // Possible Resource Settings for this Link
263 Name (_PRS, ResourceTemplate()
265 IRQ (Level, ActiveLow, Shared)
266 { 3, 4, 5, 6, 7, 10, 12, 14, 15 }
269 // Current Resource Settings for this link
270 Method (_CRS, 0, Serialized)
272 Name (RTLE, ResourceTemplate()
274 IRQ (Level, ActiveLow, Shared) {}
276 CreateWordField (RTLE, 1, IRQ0)
278 // Clear the WordField
281 // Set the bit from PRTE
282 ShiftLeft (1, And (PRTE, 0x0f), IRQ0)
287 // Set Resource Setting for this IRQ link
288 Method (_SRS, 1, Serialized)
290 CreateWordField (Arg0, 1, IRQ0)
293 FindSetRightBit (IRQ0, Local0)
300 Method (_STA, 0, Serialized)
302 If(And (PRTE, 0x80)) {
312 Name (_HID, EISAID("PNP0C0F"))
316 Method (_DIS, 0, Serialized)
321 // Possible Resource Settings for this Link
322 Name (_PRS, ResourceTemplate()
324 IRQ (Level, ActiveLow, Shared)
325 { 3, 4, 5, 6, 7, 11, 12, 14, 15 }
328 // Current Resource Settings for this link
329 Method (_CRS, 0, Serialized)
331 Name (RTLF, ResourceTemplate()
333 IRQ (Level, ActiveLow, Shared) {}
335 CreateWordField (RTLF, 1, IRQ0)
337 // Clear the WordField
340 // Set the bit from PRTF
341 ShiftLeft (1, And (PRTF, 0x0f), IRQ0)
346 // Set Resource Setting for this IRQ link
347 Method (_SRS, 1, Serialized)
349 CreateWordField (Arg0, 1, IRQ0)
352 FindSetRightBit (IRQ0, Local0)
359 Method (_STA, 0, Serialized)
361 If(And (PRTF, 0x80)) {
371 Name (_HID, EISAID("PNP0C0F"))
375 Method (_DIS, 0, Serialized)
380 // Possible Resource Settings for this Link
381 Name (_PRS, ResourceTemplate()
383 IRQ (Level, ActiveLow, Shared)
384 { 3, 4, 5, 6, 7, 10, 12, 14, 15 }
387 // Current Resource Settings for this link
388 Method (_CRS, 0, Serialized)
390 Name (RTLG, ResourceTemplate()
392 IRQ (Level, ActiveLow, Shared) {}
394 CreateWordField (RTLG, 1, IRQ0)
396 // Clear the WordField
399 // Set the bit from PRTG
400 ShiftLeft (1, And (PRTG, 0x0f), IRQ0)
405 // Set Resource Setting for this IRQ link
406 Method (_SRS, 1, Serialized)
408 CreateWordField (Arg0, 1, IRQ0)
411 FindSetRightBit (IRQ0, Local0)
418 Method (_STA, 0, Serialized)
420 If(And (PRTG, 0x80)) {
430 Name (_HID, EISAID("PNP0C0F"))
434 Method (_DIS, 0, Serialized)
439 // Possible Resource Settings for this Link
440 Name (_PRS, ResourceTemplate()
442 IRQ (Level, ActiveLow, Shared)
443 { 3, 4, 5, 6, 7, 11, 12, 14, 15 }
446 // Current Resource Settings for this link
447 Method (_CRS, 0, Serialized)
449 Name (RTLH, ResourceTemplate()
451 IRQ (Level, ActiveLow, Shared) {}
453 CreateWordField (RTLH, 1, IRQ0)
455 // Clear the WordField
458 // Set the bit from PRTH
459 ShiftLeft (1, And (PRTH, 0x0f), IRQ0)
464 // Set Resource Setting for this IRQ link
465 Method (_SRS, 1, Serialized)
467 CreateWordField (Arg0, 1, IRQ0)
470 FindSetRightBit (IRQ0, Local0)
477 Method (_STA, 0, Serialized)
479 If(And (PRTH, 0x80)) {