4 //AMD8111 pic LNKA B C D
8 Name (_HID, EisaId ("PNP0C0F"))
10 Method (_STA, 0, NotSerialized)
12 And (\_SB.PCI0.SBC3.PIBA, 0x0F, Local0)
13 If (LEqual (Local0, 0x00)) { Return (0x09) } //Disabled
14 Else { Return (0x0B) } //Enabled
17 Method (_PRS, 0, NotSerialized)
19 Name (BUFA, ResourceTemplate ()
21 IRQ (Level, ActiveLow, Shared) {3,5,10,11}
26 Method (_DIS, 0, NotSerialized)
29 And (\_SB.PCI0.SBC3.PIBA, 0x0F, Local1)
30 Store (Local1, Local2)
31 If (LGreater (Local1, 0x07))
33 Subtract (Local1, 0x08, Local1)
36 ShiftLeft (Local3, Local1, Local3)
38 And (\_SB.PCI0.SBC3.PIBA, 0xF0, \_SB.PCI0.SBC3.PIBA)
41 Method (_CRS, 0, NotSerialized)
43 Name (BUFA, ResourceTemplate ()
45 IRQ (Level, ActiveLow, Shared) {}
47 CreateByteField (BUFA, 0x01, IRA1)
48 CreateByteField (BUFA, 0x02, IRA2)
51 And (\_SB.PCI0.SBC3.PIBA, 0x0F, Local1)
52 If (LNot (LEqual (Local1, 0x00)))
54 If (LGreater (Local1, 0x07))
56 Subtract (Local1, 0x08, Local2)
57 ShiftLeft (One, Local2, Local4)
61 If (LGreater (Local1, 0x00))
63 ShiftLeft (One, Local1, Local3)
74 Method (_SRS, 1, NotSerialized)
76 CreateByteField (Arg0, 0x01, IRA1)
77 CreateByteField (Arg0, 0x02, IRA2)
78 ShiftLeft (IRA2, 0x08, Local0)
79 Or (Local0, IRA1, Local0)
81 ShiftRight (Local0, 0x01, Local0)
82 While (LGreater (Local0, 0x00))
85 ShiftRight (Local0, 0x01, Local0)
88 And (\_SB.PCI0.SBC3.PIBA, 0xF0, \_SB.PCI0.SBC3.PIBA)
89 Or (\_SB.PCI0.SBC3.PIBA, Local1, \_SB.PCI0.SBC3.PIBA)
95 Name (_HID, EisaId ("PNP0C0F"))
97 Method (_STA, 0, NotSerialized)
99 And (\_SB.PCI0.SBC3.PIBA, 0xF0, Local0)
100 If (LEqual (Local0, 0x00)) { Return (0x09) }
101 Else { Return (0x0B) }
104 Method (_PRS, 0, NotSerialized)
106 Name (BUFB, ResourceTemplate ()
108 IRQ (Level, ActiveLow, Shared) {3,5,10,11}
113 Method (_DIS, 0, NotSerialized)
116 And (\_SB.PCI0.SBC3.PIBA, 0xF0, Local1)
117 ShiftRight (Local1, 0x04, Local1)
118 Store (Local1, Local2)
119 If (LGreater (Local1, 0x07))
121 Subtract (Local1, 0x08, Local1)
124 ShiftLeft (Local3, Local1, Local3)
126 And (\_SB.PCI0.SBC3.PIBA, 0x0F, \_SB.PCI0.SBC3.PIBA)
129 Method (_CRS, 0, NotSerialized)
131 Name (BUFB, ResourceTemplate ()
133 IRQ (Level, ActiveLow, Shared) {}
135 CreateByteField (BUFB, 0x01, IRB1)
136 CreateByteField (BUFB, 0x02, IRB2)
139 And (\_SB.PCI0.SBC3.PIBA, 0xF0, Local1)
140 ShiftRight (Local1, 0x04, Local1)
141 If (LNot (LEqual (Local1, 0x00)))
143 If (LGreater (Local1, 0x07))
145 Subtract (Local1, 0x08, Local2)
146 ShiftLeft (One, Local2, Local4)
150 If (LGreater (Local1, 0x00))
152 ShiftLeft (One, Local1, Local3)
163 Method (_SRS, 1, NotSerialized)
165 CreateByteField (Arg0, 0x01, IRB1)
166 CreateByteField (Arg0, 0x02, IRB2)
167 ShiftLeft (IRB2, 0x08, Local0)
168 Or (Local0, IRB1, Local0)
170 ShiftRight (Local0, 0x01, Local0)
171 While (LGreater (Local0, 0x00))
174 ShiftRight (Local0, 0x01, Local0)
177 And (\_SB.PCI0.SBC3.PIBA, 0x0F, \_SB.PCI0.SBC3.PIBA)
178 ShiftLeft (Local1, 0x04, Local1)
179 Or (\_SB.PCI0.SBC3.PIBA, Local1, \_SB.PCI0.SBC3.PIBA)
185 Name (_HID, EisaId ("PNP0C0F"))
187 Method (_STA, 0, NotSerialized)
189 And (\_SB.PCI0.SBC3.PIDC, 0x0F, Local0)
190 If (LEqual (Local0, 0x00)) { Return (0x09) }
191 Else { Return (0x0B) }
194 Method (_PRS, 0, NotSerialized)
196 Name (BUFA, ResourceTemplate ()
198 IRQ (Level, ActiveLow, Shared) {3,5,10,11}
203 Method (_DIS, 0, NotSerialized)
206 And (\_SB.PCI0.SBC3.PIDC, 0x0F, Local1)
207 Store (Local1, Local2)
208 If (LGreater (Local1, 0x07))
210 Subtract (Local1, 0x08, Local1)
213 ShiftLeft (Local3, Local1, Local3)
215 And (\_SB.PCI0.SBC3.PIDC, 0xF0, \_SB.PCI0.SBC3.PIDC)
218 Method (_CRS, 0, NotSerialized)
220 Name (BUFA, ResourceTemplate ()
222 IRQ (Level, ActiveLow, Shared) {}
224 CreateByteField (BUFA, 0x01, IRA1)
225 CreateByteField (BUFA, 0x02, IRA2)
228 And (\_SB.PCI0.SBC3.PIDC, 0x0F, Local1)
229 If (LNot (LEqual (Local1, 0x00)))
231 If (LGreater (Local1, 0x07))
233 Subtract (Local1, 0x08, Local2)
234 ShiftLeft (One, Local2, Local4)
238 If (LGreater (Local1, 0x00))
240 ShiftLeft (One, Local1, Local3)
251 Method (_SRS, 1, NotSerialized)
253 CreateByteField (Arg0, 0x01, IRA1)
254 CreateByteField (Arg0, 0x02, IRA2)
255 ShiftLeft (IRA2, 0x08, Local0)
256 Or (Local0, IRA1, Local0)
258 ShiftRight (Local0, 0x01, Local0)
259 While (LGreater (Local0, 0x00))
262 ShiftRight (Local0, 0x01, Local0)
265 And (\_SB.PCI0.SBC3.PIDC, 0xF0, \_SB.PCI0.SBC3.PIDC)
266 Or (\_SB.PCI0.SBC3.PIDC, Local1, \_SB.PCI0.SBC3.PIDC)
272 Name (_HID, EisaId ("PNP0C0F"))
274 Method (_STA, 0, NotSerialized)
276 And (\_SB.PCI0.SBC3.PIDC, 0xF0, Local0)
277 If (LEqual (Local0, 0x00)) { Return (0x09) }
278 Else { Return (0x0B) }
281 Method (_PRS, 0, NotSerialized)
283 Name (BUFB, ResourceTemplate ()
285 IRQ (Level, ActiveLow, Shared) {3,5,10,11}
290 Method (_DIS, 0, NotSerialized)
293 And (\_SB.PCI0.SBC3.PIDC, 0xF0, Local1)
294 ShiftRight (Local1, 0x04, Local1)
295 Store (Local1, Local2)
296 If (LGreater (Local1, 0x07))
298 Subtract (Local1, 0x08, Local1)
301 ShiftLeft (Local3, Local1, Local3)
303 And (\_SB.PCI0.SBC3.PIDC, 0x0F, \_SB.PCI0.SBC3.PIDC)
306 Method (_CRS, 0, NotSerialized)
308 Name (BUFB, ResourceTemplate ()
310 IRQ (Level, ActiveLow, Shared) {}
312 CreateByteField (BUFB, 0x01, IRB1)
313 CreateByteField (BUFB, 0x02, IRB2)
316 And (\_SB.PCI0.SBC3.PIDC, 0xF0, Local1)
317 ShiftRight (Local1, 0x04, Local1)
318 If (LNot (LEqual (Local1, 0x00)))
320 If (LGreater (Local1, 0x07))
322 Subtract (Local1, 0x08, Local2)
323 ShiftLeft (One, Local2, Local4)
327 If (LGreater (Local1, 0x00))
329 ShiftLeft (One, Local1, Local3)
340 Method (_SRS, 1, NotSerialized)
342 CreateByteField (Arg0, 0x01, IRB1)
343 CreateByteField (Arg0, 0x02, IRB2)
344 ShiftLeft (IRB2, 0x08, Local0)
345 Or (Local0, IRB1, Local0)
347 ShiftRight (Local0, 0x01, Local0)
348 While (LGreater (Local0, 0x00))
351 ShiftRight (Local0, 0x01, Local0)
354 And (\_SB.PCI0.SBC3.PIDC, 0x0F, \_SB.PCI0.SBC3.PIDC)
355 ShiftLeft (Local1, 0x04, Local1)
356 Or (\_SB.PCI0.SBC3.PIDC, Local1, \_SB.PCI0.SBC3.PIDC)