2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2009 coresystems GmbH
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
24 Name (_HID, EISAID("PNP0C0F"))
28 Method (_DIS, 0, Serialized)
33 // Possible Resource Settings for this Link
34 Name (_PRS, ResourceTemplate()
36 IRQ(Level, ActiveLow, Shared)
37 { 1, 3, 4, 5, 6, 7, 10, 12, 14, 15 }
40 // Current Resource Settings for this link
41 Method (_CRS, 0, Serialized)
43 Name (RTLA, ResourceTemplate()
45 IRQ(Level, ActiveLow, Shared) {}
47 CreateWordField(RTLA, 1, IRQ0)
49 // Clear the WordField
52 // Set the bit from PRTA
53 ShiftLeft(1, And(PRTA, 0x0f), IRQ0)
58 // Set Resource Setting for this IRQ link
59 Method (_SRS, 1, Serialized)
61 CreateWordField(Arg0, 1, IRQ0)
64 FindSetRightBit(IRQ0, Local0)
71 Method (_STA, 0, Serialized)
83 Name (_HID, EISAID("PNP0C0F"))
87 Method (_DIS, 0, Serialized)
92 // Possible Resource Settings for this Link
93 Name (_PRS, ResourceTemplate()
95 IRQ(Level, ActiveLow, Shared)
96 { 1, 3, 4, 5, 6, 7, 11, 12, 14, 15 }
99 // Current Resource Settings for this link
100 Method (_CRS, 0, Serialized)
102 Name (RTLB, ResourceTemplate()
104 IRQ(Level, ActiveLow, Shared) {}
106 CreateWordField(RTLB, 1, IRQ0)
108 // Clear the WordField
111 // Set the bit from PRTB
112 ShiftLeft(1, And(PRTB, 0x0f), IRQ0)
117 // Set Resource Setting for this IRQ link
118 Method (_SRS, 1, Serialized)
120 CreateWordField(Arg0, 1, IRQ0)
123 FindSetRightBit(IRQ0, Local0)
130 Method (_STA, 0, Serialized)
132 If(And(PRTB, 0x80)) {
142 Name (_HID, EISAID("PNP0C0F"))
146 Method (_DIS, 0, Serialized)
151 // Possible Resource Settings for this Link
152 Name (_PRS, ResourceTemplate()
154 IRQ(Level, ActiveLow, Shared)
155 { 1, 3, 4, 5, 6, 7, 10, 12, 14, 15 }
158 // Current Resource Settings for this link
159 Method (_CRS, 0, Serialized)
161 Name (RTLC, ResourceTemplate()
163 IRQ(Level, ActiveLow, Shared) {}
165 CreateWordField(RTLC, 1, IRQ0)
167 // Clear the WordField
170 // Set the bit from PRTC
171 ShiftLeft(1, And(PRTC, 0x0f), IRQ0)
176 // Set Resource Setting for this IRQ link
177 Method (_SRS, 1, Serialized)
179 CreateWordField(Arg0, 1, IRQ0)
182 FindSetRightBit(IRQ0, Local0)
189 Method (_STA, 0, Serialized)
191 If(And(PRTC, 0x80)) {
201 Name (_HID, EISAID("PNP0C0F"))
205 Method (_DIS, 0, Serialized)
210 // Possible Resource Settings for this Link
211 Name (_PRS, ResourceTemplate()
213 IRQ(Level, ActiveLow, Shared)
214 { 1, 3, 4, 5, 6, 7, 11, 12, 14, 15 }
217 // Current Resource Settings for this link
218 Method (_CRS, 0, Serialized)
220 Name (RTLD, ResourceTemplate()
222 IRQ(Level, ActiveLow, Shared) {}
224 CreateWordField(RTLD, 1, IRQ0)
226 // Clear the WordField
229 // Set the bit from PRTD
230 ShiftLeft(1, And(PRTD, 0x0f), IRQ0)
235 // Set Resource Setting for this IRQ link
236 Method (_SRS, 1, Serialized)
238 CreateWordField(Arg0, 1, IRQ0)
241 FindSetRightBit(IRQ0, Local0)
248 Method (_STA, 0, Serialized)
250 If(And(PRTD, 0x80)) {
260 Name (_HID, EISAID("PNP0C0F"))
264 Method (_DIS, 0, Serialized)
269 // Possible Resource Settings for this Link
270 Name (_PRS, ResourceTemplate()
272 IRQ(Level, ActiveLow, Shared)
273 { 1, 3, 4, 5, 6, 7, 10, 12, 14, 15 }
276 // Current Resource Settings for this link
277 Method (_CRS, 0, Serialized)
279 Name (RTLE, ResourceTemplate()
281 IRQ(Level, ActiveLow, Shared) {}
283 CreateWordField(RTLE, 1, IRQ0)
285 // Clear the WordField
288 // Set the bit from PRTE
289 ShiftLeft(1, And(PRTE, 0x0f), IRQ0)
294 // Set Resource Setting for this IRQ link
295 Method (_SRS, 1, Serialized)
297 CreateWordField(Arg0, 1, IRQ0)
300 FindSetRightBit(IRQ0, Local0)
307 Method (_STA, 0, Serialized)
309 If(And(PRTE, 0x80)) {
319 Name (_HID, EISAID("PNP0C0F"))
323 Method (_DIS, 0, Serialized)
328 // Possible Resource Settings for this Link
329 Name (_PRS, ResourceTemplate()
331 IRQ(Level, ActiveLow, Shared)
332 { 1, 3, 4, 5, 6, 7, 11, 12, 14, 15 }
335 // Current Resource Settings for this link
336 Method (_CRS, 0, Serialized)
338 Name (RTLF, ResourceTemplate()
340 IRQ(Level, ActiveLow, Shared) {}
342 CreateWordField(RTLF, 1, IRQ0)
344 // Clear the WordField
347 // Set the bit from PRTF
348 ShiftLeft(1, And(PRTF, 0x0f), IRQ0)
353 // Set Resource Setting for this IRQ link
354 Method (_SRS, 1, Serialized)
356 CreateWordField(Arg0, 1, IRQ0)
359 FindSetRightBit(IRQ0, Local0)
366 Method (_STA, 0, Serialized)
368 If(And(PRTF, 0x80)) {
378 Name (_HID, EISAID("PNP0C0F"))
382 Method (_DIS, 0, Serialized)
387 // Possible Resource Settings for this Link
388 Name (_PRS, ResourceTemplate()
390 IRQ(Level, ActiveLow, Shared)
391 { 1, 3, 4, 5, 6, 7, 10, 12, 14, 15 }
394 // Current Resource Settings for this link
395 Method (_CRS, 0, Serialized)
397 Name (RTLG, ResourceTemplate()
399 IRQ(Level, ActiveLow, Shared) {}
401 CreateWordField(RTLG, 1, IRQ0)
403 // Clear the WordField
406 // Set the bit from PRTG
407 ShiftLeft(1, And(PRTG, 0x0f), IRQ0)
412 // Set Resource Setting for this IRQ link
413 Method (_SRS, 1, Serialized)
415 CreateWordField(Arg0, 1, IRQ0)
418 FindSetRightBit(IRQ0, Local0)
425 Method (_STA, 0, Serialized)
427 If(And(PRTG, 0x80)) {
437 Name (_HID, EISAID("PNP0C0F"))
441 Method (_DIS, 0, Serialized)
446 // Possible Resource Settings for this Link
447 Name (_PRS, ResourceTemplate()
449 IRQ(Level, ActiveLow, Shared)
450 { 1, 3, 4, 5, 6, 7, 11, 12, 14, 15 }
453 // Current Resource Settings for this link
454 Method (_CRS, 0, Serialized)
456 Name (RTLH, ResourceTemplate()
458 IRQ(Level, ActiveLow, Shared) {}
460 CreateWordField(RTLH, 1, IRQ0)
462 // Clear the WordField
465 // Set the bit from PRTH
466 ShiftLeft(1, And(PRTH, 0x0f), IRQ0)
471 // Set Resource Setting for this IRQ link
472 Method (_SRS, 1, Serialized)
474 CreateWordField(Arg0, 1, IRQ0)
477 FindSetRightBit(IRQ0, Local0)
484 Method (_STA, 0, Serialized)
486 If(And(PRTH, 0x80)) {