Ticket #390: dsdt_SERTURQU.dsl

File dsdt_SERTURQU.dsl, 109.8 KB (added by mkgreene, 16 years ago)
Line 
1/*
2 * Intel ACPI Component Architecture
3 * AML Disassembler version 20050902
4 *
5 * Disassembly of , Mon Mar 9 17:23:17 2009
6 */
7DefinitionBlock ("DSDT.aml", "DSDT", 1, "IBM ", "SERTURQU", 4096)
8{
9 Scope (\)
10 {
11 Method (CWRT, 3, NotSerialized)
12 {
13 Name (TMPB, Buffer (0x10)
14 {
15 0x88, 0x0D, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00,
16 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
17 })
18 Store (Arg2, Index (TMPB, 0x03))
19 If (LEqual (Arg2, 0x00))
20 {
21 Store (0x01, Index (TMPB, 0x05))
22 }
23
24 Store (And (Arg0, 0xFF), Index (TMPB, 0x08))
25 Store (And (ShiftRight (Arg0, 0x08), 0xFF), Index (TMPB, 0x09))
26 Store (And (Arg1, 0xFF), Index (TMPB, 0x0A))
27 Store (And (ShiftRight (Arg1, 0x08), 0xFF), Index (TMPB, 0x0B))
28 Store (Add (Subtract (Arg1, Arg0), 0x01), Local7)
29 Store (And (Local7, 0xFF), Index (TMPB, 0x0E))
30 Store (And (ShiftRight (Local7, 0x08), 0xFF), Index (TMPB, 0x0F))
31 Return (TMPB)
32 }
33
34 Method (CDRT, 3, NotSerialized)
35 {
36 Name (TMPB, Buffer (0x1A)
37 {
38 0x87, 0x17, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00,
39 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
40 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
41 0x00, 0x00
42 })
43 Store (Arg2, Index (TMPB, 0x03))
44 If (LEqual (Arg2, 0x00))
45 {
46 Store (0x01, Index (TMPB, 0x05))
47 }
48
49 Store (And (Arg0, 0xFF), Index (TMPB, 0x0A))
50 Store (And (ShiftRight (Arg0, 0x08), 0xFF), Index (TMPB, 0x0B))
51 Store (And (ShiftRight (Arg0, 0x10), 0xFF), Index (TMPB, 0x0C))
52 Store (And (ShiftRight (Arg0, 0x18), 0xFF), Index (TMPB, 0x0D))
53 Store (And (Arg1, 0xFF), Index (TMPB, 0x0E))
54 Store (And (ShiftRight (Arg1, 0x08), 0xFF), Index (TMPB, 0x0F))
55 Store (And (ShiftRight (Arg1, 0x10), 0xFF), Index (TMPB, 0x10))
56 Store (And (ShiftRight (Arg1, 0x18), 0xFF), Index (TMPB, 0x11))
57 Store (Add (Subtract (Arg1, Arg0), 0x01), Local7)
58 Store (And (Local7, 0xFF), Index (TMPB, 0x16))
59 Store (And (ShiftRight (Local7, 0x08), 0xFF), Index (TMPB, 0x17))
60 Store (And (ShiftRight (Local7, 0x10), 0xFF), Index (TMPB, 0x18))
61 Store (And (ShiftRight (Local7, 0x18), 0xFF), Index (TMPB, 0x19))
62 Return (TMPB)
63 }
64
65 Method (CIRT, 2, NotSerialized)
66 {
67 Name (TMPB, Buffer (0x08)
68 {
69 0x47, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
70 })
71 Store (And (Arg0, 0xFF), Index (TMPB, 0x02))
72 Store (And (ShiftRight (Arg0, 0x08), 0xFF), Index (TMPB, 0x03))
73 Store (And (Arg0, 0xFF), Index (TMPB, 0x04))
74 Store (And (ShiftRight (Arg0, 0x08), 0xFF), Index (TMPB, 0x05))
75 Store (Arg1, Index (TMPB, 0x07))
76 Return (TMPB)
77 }
78
79 Method (CIQR, 1, NotSerialized)
80 {
81 Name (TMPB, Buffer (0x03)
82 {
83 0x22, 0x00, 0x00
84 })
85 If (LGreater (Arg0, 0x07))
86 {
87 Store (ShiftLeft (One, Subtract (Arg0, 0x08)), Index (TMPB, 0x02))
88 }
89 Else
90 {
91 Store (ShiftLeft (One, Arg0), Index (TMPB, 0x01))
92 }
93
94 Return (TMPB)
95 }
96
97 Method (CDMR, 1, NotSerialized)
98 {
99 Name (TMPB, Buffer (0x03)
100 {
101 0x2A, 0x00, 0x00
102 })
103 Store (ShiftLeft (One, Arg0), Index (TMPB, 0x01))
104 Return (TMPB)
105 }
106 }
107
108 OperationRegion (CHKP, SystemIO, 0x80, 0x01)
109 Field (CHKP, ByteAcc, NoLock, Preserve)
110 {
111 IOPT, 8
112 }
113
114 Scope (_PR)
115 {
116 Processor (CPU3, 0x03, 0x00000000, 0x00) {}
117 }
118
119 Scope (_PR)
120 {
121 Processor (CPU2, 0x02, 0x00000000, 0x00) {}
122 }
123
124 Scope (_PR)
125 {
126 Processor (CPU1, 0x01, 0x00000000, 0x00) {}
127 }
128
129 Scope (_PR)
130 {
131 Processor (CPU0, 0x00, 0x00000000, 0x00) {}
132 }
133
134 Name (_S0, Package (0x04)
135 {
136 0x00,
137 0x00,
138 0x00,
139 0x00
140 })
141 Name (_S4, Package (0x04)
142 {
143 0x00,
144 0x07,
145 0x00,
146 0x00
147 })
148 Name (_S5, Package (0x04)
149 {
150 0x00,
151 0x07,
152 0x00,
153 0x00
154 })
155 Scope (_SB)
156 {
157 Device (PCI0)
158 {
159 Name (_HID, EisaId ("PNP0A03"))
160 Name (_UID, 0x00)
161 Name (_BBN, 0x00)
162 Name (_ADR, 0x00)
163 OperationRegion (RCNB, PCI_Config, 0x00, 0x0100)
164 Field (RCNB, DWordAcc, NoLock, Preserve)
165 {
166 Offset (0x44),
167 BSNM, 8,
168 SBNM, 8,
169 Offset (0x4B),
170 , 6,
171 VGAE, 1,
172 Offset (0xC0),
173 ME0L, 16,
174 ME0U, 16,
175 ME1L, 16,
176 ME1U, 16,
177 ME0V, 1,
178 ME1V, 1,
179 Offset (0xD0),
180 IO0L, 16,
181 IO0U, 16,
182 IO0V, 1
183 }
184
185 Method (_CRS, 0, NotSerialized)
186 {
187 Store (0x02, Local6)
188 Name (IOTV, 0x00)
189 Name (METV, 0x00)
190 Store (IO0L, Local1)
191 Store (IO0U, Local2)
192 Or (Local2, 0x03, Local2)
193 If (LGreater (Local2, Local1))
194 {
195 If (IO0V)
196 {
197 If (LLess (Local1, 0x03B0))
198 {
199 If (LLess (Local2, 0x03B0))
200 {
201 Store (Local2, Local4)
202 }
203 Else
204 {
205 Store (0x03AF, Local4)
206 }
207
208 Name (IO00, Buffer (0x10) {})
209 Store (CWRT (Local1, Local4, 0x01), IO00)
210 Or (IOTV, 0x01, IOTV)
211 Add (Local6, 0x10, Local6)
212 }
213
214 If (LAnd (LLess (Local1, 0x03C0), LGreater (Local2, 0x03BB)))
215 {
216 If (LGreater (Local1, 0x03BB))
217 {
218 Store (Local1, Local3)
219 }
220 Else
221 {
222 Store (0x03BC, Local3)
223 }
224
225 If (LLess (Local2, 0x03C0))
226 {
227 Store (Local2, Local4)
228 }
229 Else
230 {
231 Store (0x03BF, Local4)
232 }
233
234 Name (IO01, Buffer (0x10) {})
235 Store (CWRT (Local3, Local4, 0x01), IO01)
236 Or (IOTV, 0x02, IOTV)
237 Add (Local6, 0x10, Local6)
238 }
239
240 If (LGreater (Local2, 0x03DF))
241 {
242 If (LGreater (Local1, 0x03DF))
243 {
244 Store (Local1, Local3)
245 }
246 Else
247 {
248 Store (0x03E0, Local3)
249 }
250
251 Name (IO02, Buffer (0x10) {})
252 Store (CWRT (Local3, Local2, 0x01), IO02)
253 Or (IOTV, 0x04, IOTV)
254 Add (Local6, 0x10, Local6)
255 }
256 }
257 }
258
259 Store (ShiftLeft (ME0L, 0x14), Local1)
260 Store (ME0U, Local2)
261 Increment (Local2)
262 ShiftLeft (Local2, 0x14, Local2)
263 Decrement (Local2)
264 If (LGreater (Local2, Local1))
265 {
266 If (ME0V)
267 {
268 Name (ME0R, Buffer (0x1A) {})
269 Store (CDRT (Local1, Local2, 0x00), ME0R)
270 Or (METV, 0x01, METV)
271 Add (Local6, 0x1A, Local6)
272 }
273 }
274
275 Store (ShiftLeft (ME1L, 0x14), Local1)
276 Store (ME1U, Local2)
277 Increment (Local2)
278 ShiftLeft (Local2, 0x14, Local2)
279 Decrement (Local2)
280 If (LGreater (Local2, Local1))
281 {
282 If (ME1V)
283 {
284 Name (ME1R, Buffer (0x1A) {})
285 Store (CDRT (Local1, Local2, 0x00), ME1R)
286 Or (METV, 0x02, METV)
287 Add (Local6, 0x1A, Local6)
288 }
289 }
290
291 Store (BSNM, Local1)
292 Store (SBNM, Local2)
293 Name (BN0R, Buffer (0x10) {})
294 Store (CWRT (Local1, Local2, 0x02), BN0R)
295 Or (METV, 0x08, METV)
296 Add (Local6, 0x10, Local6)
297 If (VGAE)
298 {
299 Name (VGAM, Buffer (0x1A) {})
300 Store (CDRT (0x000A0000, 0x000BFFFF, 0x00), VGAM)
301 Or (METV, 0x10, METV)
302 Add (Local6, 0x1A, Local6)
303 Name (VGA1, Buffer (0x10) {})
304 Store (CWRT (0x03B0, 0x03BB, 0x01), VGA1)
305 Or (METV, 0x20, METV)
306 Add (Local6, 0x10, Local6)
307 Name (VGA2, Buffer (0x10) {})
308 Store (CWRT (0x03C0, 0x03DF, 0x01), VGA2)
309 Or (METV, 0x40, METV)
310 Add (Local6, 0x10, Local6)
311 }
312
313 Name (REST, ResourceTemplate ()
314 {
315 })
316 Store (0x00, Local5)
317 If (And (IOTV, 0x01))
318 {
319 Concatenate (IO00, REST, REST)
320 Add (Local5, 0x10, Local5)
321 }
322
323 If (And (IOTV, 0x02))
324 {
325 Concatenate (IO01, REST, REST)
326 Add (Local5, 0x10, Local5)
327 }
328
329 If (And (IOTV, 0x04))
330 {
331 Concatenate (IO02, REST, REST)
332 Add (Local5, 0x10, Local5)
333 }
334
335 If (And (METV, 0x01))
336 {
337 Concatenate (ME0R, REST, REST)
338 Add (Local5, 0x1A, Local5)
339 }
340
341 If (And (METV, 0x02))
342 {
343 Concatenate (ME1R, REST, REST)
344 Add (Local5, 0x1A, Local5)
345 }
346
347 If (And (METV, 0x08))
348 {
349 Concatenate (BN0R, REST, REST)
350 Add (Local5, 0x10, Local5)
351 }
352
353 If (And (METV, 0x10))
354 {
355 Concatenate (VGAM, REST, REST)
356 Add (Local5, 0x1A, Local5)
357 }
358
359 If (And (METV, 0x20))
360 {
361 Concatenate (VGA1, REST, REST)
362 Add (Local5, 0x10, Local5)
363 }
364
365 If (And (METV, 0x40))
366 {
367 Concatenate (VGA2, REST, REST)
368 Add (Local5, 0x10, Local5)
369 }
370
371 Return (REST)
372 }
373
374 Name (_PRW, Package (0x02)
375 {
376 0x00,
377 0x05
378 })
379 Method (_PSW, 1, NotSerialized)
380 {
381 Store (0xA6, IOPT)
382 If (LEqual (Arg0, 0x00)) {}
383 Else
384 {
385 }
386 }
387
388 Device (ISA)
389 {
390 Name (_ADR, 0x000F0000)
391 OperationRegion (CFG2, PCI_Config, 0x00, 0x0100)
392 Field (CFG2, DWordAcc, NoLock, Preserve)
393 {
394 Offset (0x08),
395 REVD, 8
396 }
397 }
398
399 Device (USB0)
400 {
401 Name (_ADR, 0x000F0002)
402 OperationRegion (CFG2, PCI_Config, 0x00, 0x14)
403 Field (CFG2, DWordAcc, NoLock, Preserve)
404 {
405 Offset (0x04),
406 PCIC, 16,
407 Offset (0x10),
408 USBB, 32
409 }
410
411 Method (_STA, 0, NotSerialized)
412 {
413 Store (0xA3, IOPT)
414 If (LAnd (PCIC, 0x01))
415 {
416 Return (0x0F)
417 }
418 Else
419 {
420 And (USBB, 0xFFFFF000, Local1)
421 If (LEqual (Local1, Zero))
422 {
423 Return (0x01)
424 }
425 Else
426 {
427 Return (0x0F)
428 }
429 }
430 }
431 }
432
433 Device (CI20)
434 {
435 Name (_ADR, 0x00110000)
436 OperationRegion (IOB2, PCI_Config, 0x00, 0x0100)
437 Field (IOB2, DWordAcc, NoLock, Preserve)
438 {
439 Offset (0x44),
440 BSNM, 8,
441 SBNM, 8,
442 Offset (0x4B),
443 , 6,
444 VGAE, 1
445 }
446
447 Name (ME0L, 0x0FA0)
448 Name (ME0U, 0x0FCF)
449 Name (ME1L, 0x0F80)
450 Name (ME1U, 0x0F9F)
451 Name (ME2L, 0xFFFF)
452 Name (ME2U, 0xFF7F)
453 Name (ME0V, 0x01)
454 Name (ME1V, 0x01)
455 Name (ME2V, 0x00)
456 Name (IO0L, 0x2248)
457 Name (IO0U, 0x23FC)
458 Name (IO0V, 0x01)
459 Method (CMVE, 0, NotSerialized)
460 {
461 Return (VGAE)
462 }
463
464 Method (CBNM, 0, NotSerialized)
465 {
466 Return (BSNM)
467 }
468
469 Method (CSNM, 0, NotSerialized)
470 {
471 Return (SBNM)
472 }
473
474 Method (CM0L, 0, NotSerialized)
475 {
476 Return (ME0L)
477 }
478
479 Method (CM0U, 0, NotSerialized)
480 {
481 Return (ME0U)
482 }
483
484 Method (CM1L, 0, NotSerialized)
485 {
486 Return (ME1L)
487 }
488
489 Method (CM1U, 0, NotSerialized)
490 {
491 Return (ME1U)
492 }
493
494 Method (CM2L, 0, NotSerialized)
495 {
496 Return (ME2L)
497 }
498
499 Method (CM2U, 0, NotSerialized)
500 {
501 Return (ME2U)
502 }
503
504 Method (CM0V, 0, NotSerialized)
505 {
506 Return (ME0V)
507 }
508
509 Method (CM1V, 0, NotSerialized)
510 {
511 Return (ME1V)
512 }
513
514 Method (CM2V, 0, NotSerialized)
515 {
516 Return (ME2V)
517 }
518
519 Method (CI0L, 0, NotSerialized)
520 {
521 Return (IO0L)
522 }
523
524 Method (CI0U, 0, NotSerialized)
525 {
526 Return (IO0U)
527 }
528
529 Method (CI0V, 0, NotSerialized)
530 {
531 Return (IO0V)
532 }
533 }
534
535 Device (CI22)
536 {
537 Name (_ADR, 0x00110002)
538 OperationRegion (IOB2, PCI_Config, 0x00, 0x0100)
539 Field (IOB2, DWordAcc, NoLock, Preserve)
540 {
541 Offset (0x44),
542 BSNM, 8,
543 SBNM, 8,
544 Offset (0x4B),
545 , 6,
546 VGAE, 1
547 }
548
549 Name (ME0L, 0x0F80)
550 Name (ME0U, 0x0F7F)
551 Name (ME1L, 0x0F60)
552 Name (ME1U, 0x0F7F)
553 Name (ME2L, 0xFFFF)
554 Name (ME2U, 0xFF7F)
555 Name (ME0V, 0x00)
556 Name (ME1V, 0x01)
557 Name (ME2V, 0x00)
558 Name (IO0L, 0x2400)
559 Name (IO0U, 0xFFFC)
560 Name (IO0V, 0x01)
561 Method (CMVE, 0, NotSerialized)
562 {
563 Return (VGAE)
564 }
565
566 Method (CBNM, 0, NotSerialized)
567 {
568 Return (BSNM)
569 }
570
571 Method (CSNM, 0, NotSerialized)
572 {
573 Return (SBNM)
574 }
575
576 Method (CM0L, 0, NotSerialized)
577 {
578 Return (ME0L)
579 }
580
581 Method (CM0U, 0, NotSerialized)
582 {
583 Return (ME0U)
584 }
585
586 Method (CM1L, 0, NotSerialized)
587 {
588 Return (ME1L)
589 }
590
591 Method (CM1U, 0, NotSerialized)
592 {
593 Return (ME1U)
594 }
595
596 Method (CM2L, 0, NotSerialized)
597 {
598 Return (ME2L)
599 }
600
601 Method (CM2U, 0, NotSerialized)
602 {
603 Return (ME2U)
604 }
605
606 Method (CM0V, 0, NotSerialized)
607 {
608 Return (ME0V)
609 }
610
611 Method (CM1V, 0, NotSerialized)
612 {
613 Return (ME1V)
614 }
615
616 Method (CM2V, 0, NotSerialized)
617 {
618 Return (ME2V)
619 }
620
621 Method (CI0L, 0, NotSerialized)
622 {
623 Return (IO0L)
624 }
625
626 Method (CI0U, 0, NotSerialized)
627 {
628 Return (IO0U)
629 }
630
631 Method (CI0V, 0, NotSerialized)
632 {
633 Return (IO0V)
634 }
635 }
636 }
637
638 Device (PCI1)
639 {
640 Name (_HID, EisaId ("PNP0A03"))
641 Name (_UID, 0x01)
642 Name (_BBN, 0x01)
643 Name (_ADR, 0x00110000)
644 Method (_CRS, 0, NotSerialized)
645 {
646 Store (0x02, Local6)
647 Name (IOTV, 0x00)
648 Name (METV, 0x00)
649 Store (\_SB.PCI0.CI20.CI0L (), Local1)
650 Store (\_SB.PCI0.CI20.CI0U (), Local2)
651 Or (Local2, 0x03, Local2)
652 If (LGreater (Local2, Local1))
653 {
654 If (\_SB.PCI0.CI20.CI0V ())
655 {
656 If (LLess (Local1, 0x03B0))
657 {
658 If (LLess (Local2, 0x03B0))
659 {
660 Store (Local2, Local4)
661 }
662 Else
663 {
664 Store (0x03AF, Local4)
665 }
666
667 Name (IO00, Buffer (0x10) {})
668 Store (CWRT (Local1, Local4, 0x01), IO00)
669 Or (IOTV, 0x01, IOTV)
670 Add (Local6, 0x10, Local6)
671 }
672
673 If (LAnd (LLess (Local1, 0x03C0), LGreater (Local2, 0x03BB)))
674 {
675 If (LGreater (Local1, 0x03BB))
676 {
677 Store (Local1, Local3)
678 }
679 Else
680 {
681 Store (0x03BC, Local3)
682 }
683
684 If (LLess (Local2, 0x03C0))
685 {
686 Store (Local2, Local4)
687 }
688 Else
689 {
690 Store (0x03BF, Local4)
691 }
692
693 Name (IO01, Buffer (0x10) {})
694 Store (CWRT (Local3, Local4, 0x01), IO01)
695 Or (IOTV, 0x02, IOTV)
696 Add (Local6, 0x10, Local6)
697 }
698
699 If (LGreater (Local2, 0x03DF))
700 {
701 If (LGreater (Local1, 0x03DF))
702 {
703 Store (Local1, Local3)
704 }
705 Else
706 {
707 Store (0x03E0, Local3)
708 }
709
710 Name (IO02, Buffer (0x10) {})
711 Store (CWRT (Local3, Local2, 0x01), IO02)
712 Or (IOTV, 0x04, IOTV)
713 Add (Local6, 0x10, Local6)
714 }
715 }
716 }
717
718 Store (ShiftLeft (\_SB.PCI0.CI20.CM0L (), 0x14), Local1)
719 Store (\_SB.PCI0.CI20.CM0U (), Local2)
720 Increment (Local2)
721 ShiftLeft (Local2, 0x14, Local2)
722 Decrement (Local2)
723 If (LGreater (Local2, Local1))
724 {
725 If (\_SB.PCI0.CI20.CM0V ())
726 {
727 Name (ME0R, Buffer (0x1A) {})
728 Store (CDRT (Local1, Local2, 0x00), ME0R)
729 Or (METV, 0x01, METV)
730 Add (Local6, 0x1A, Local6)
731 }
732 }
733
734 Store (ShiftLeft (\_SB.PCI0.CI20.CM1L (), 0x14), Local1)
735 Store (\_SB.PCI0.CI20.CM1U (), Local2)
736 Increment (Local2)
737 ShiftLeft (Local2, 0x14, Local2)
738 Decrement (Local2)
739 If (LGreater (Local2, Local1))
740 {
741 If (\_SB.PCI0.CI20.CM1V ())
742 {
743 Name (ME1R, Buffer (0x1A) {})
744 Store (CDRT (Local1, Local2, 0x00), ME1R)
745 Or (METV, 0x02, METV)
746 Add (Local6, 0x1A, Local6)
747 }
748 }
749
750 Store (ShiftLeft (\_SB.PCI0.CI20.CM2L (), 0x14), Local1)
751 Store (\_SB.PCI0.CI20.CM2U (), Local2)
752 Increment (Local2)
753 ShiftLeft (Local2, 0x14, Local2)
754 Decrement (Local2)
755 If (LGreater (Local2, Local1))
756 {
757 If (\_SB.PCI0.CI20.CM2V ())
758 {
759 Name (ME2R, Buffer (0x1A) {})
760 Store (CDRT (Local1, Local2, 0x00), ME2R)
761 Or (METV, 0x04, METV)
762 Add (Local6, 0x1A, Local6)
763 }
764 }
765
766 Store (\_SB.PCI0.CI20.CBNM (), Local1)
767 Store (\_SB.PCI0.CI20.CSNM (), Local2)
768 Name (BN0R, Buffer (0x10) {})
769 Store (CWRT (Local1, Local2, 0x02), BN0R)
770 Or (METV, 0x08, METV)
771 Add (Local6, 0x10, Local6)
772 If (\_SB.PCI0.CI20.CMVE ())
773 {
774 Name (VGAM, Buffer (0x1A) {})
775 Store (CDRT (0x000A0000, 0x000BFFFF, 0x00), VGAM)
776 Or (METV, 0x10, METV)
777 Add (Local6, 0x1A, Local6)
778 Name (VGA1, Buffer (0x10) {})
779 Store (CWRT (0x03B0, 0x03BB, 0x01), VGA1)
780 Or (METV, 0x20, METV)
781 Add (Local6, 0x10, Local6)
782 Name (VGA2, Buffer (0x10) {})
783 Store (CWRT (0x03C0, 0x03DF, 0x01), VGA2)
784 Or (METV, 0x40, METV)
785 Add (Local6, 0x10, Local6)
786 }
787
788 Name (REST, ResourceTemplate ()
789 {
790 })
791 Store (0x00, Local5)
792 If (And (IOTV, 0x01))
793 {
794 Concatenate (IO00, REST, REST)
795 Add (Local5, 0x10, Local5)
796 }
797
798 If (And (IOTV, 0x02))
799 {
800 Concatenate (IO01, REST, REST)
801 Add (Local5, 0x10, Local5)
802 }
803
804 If (And (IOTV, 0x04))
805 {
806 Concatenate (IO02, REST, REST)
807 Add (Local5, 0x10, Local5)
808 }
809
810 If (And (METV, 0x01))
811 {
812 Concatenate (ME0R, REST, REST)
813 Add (Local5, 0x1A, Local5)
814 }
815
816 If (And (METV, 0x02))
817 {
818 Concatenate (ME1R, REST, REST)
819 Add (Local5, 0x1A, Local5)
820 }
821
822 If (And (METV, 0x04))
823 {
824 Concatenate (ME2R, REST, REST)
825 Add (Local5, 0x1A, Local5)
826 }
827
828 If (And (METV, 0x08))
829 {
830 Concatenate (BN0R, REST, REST)
831 Add (Local5, 0x10, Local5)
832 }
833
834 If (And (METV, 0x10))
835 {
836 Concatenate (VGAM, REST, REST)
837 Add (Local5, 0x1A, Local5)
838 }
839
840 If (And (METV, 0x20))
841 {
842 Concatenate (VGA1, REST, REST)
843 Add (Local5, 0x10, Local5)
844 }
845
846 If (And (METV, 0x40))
847 {
848 Concatenate (VGA2, REST, REST)
849 Add (Local5, 0x10, Local5)
850 }
851
852 Return (REST)
853 }
854
855 Method (_PSW, 1, NotSerialized)
856 {
857 Store (0xA6, IOPT)
858 If (LEqual (Arg0, 0x00)) {}
859 Else
860 {
861 }
862 }
863 }
864
865 Device (PCI2)
866 {
867 Name (_HID, EisaId ("PNP0A03"))
868 Name (_UID, 0x02)
869 Name (_BBN, 0x02)
870 Name (_ADR, 0x00110002)
871 Method (_CRS, 0, NotSerialized)
872 {
873 Store (0x02, Local6)
874 Name (IOTV, 0x00)
875 Name (METV, 0x00)
876 Store (\_SB.PCI0.CI22.CI0L (), Local1)
877 Store (\_SB.PCI0.CI22.CI0U (), Local2)
878 Or (Local2, 0x03, Local2)
879 If (LGreater (Local2, Local1))
880 {
881 If (\_SB.PCI0.CI22.CI0V ())
882 {
883 If (LLess (Local1, 0x03B0))
884 {
885 If (LLess (Local2, 0x03B0))
886 {
887 Store (Local2, Local4)
888 }
889 Else
890 {
891 Store (0x03AF, Local4)
892 }
893
894 Name (IO00, Buffer (0x10) {})
895 Store (CWRT (Local1, Local4, 0x01), IO00)
896 Or (IOTV, 0x01, IOTV)
897 Add (Local6, 0x10, Local6)
898 }
899
900 If (LAnd (LLess (Local1, 0x03C0), LGreater (Local2, 0x03BB)))
901 {
902 If (LGreater (Local1, 0x03BB))
903 {
904 Store (Local1, Local3)
905 }
906 Else
907 {
908 Store (0x03BC, Local3)
909 }
910
911 If (LLess (Local2, 0x03C0))
912 {
913 Store (Local2, Local4)
914 }
915 Else
916 {
917 Store (0x03BF, Local4)
918 }
919
920 Name (IO01, Buffer (0x10) {})
921 Store (CWRT (Local3, Local4, 0x01), IO01)
922 Or (IOTV, 0x02, IOTV)
923 Add (Local6, 0x10, Local6)
924 }
925
926 If (LGreater (Local2, 0x03DF))
927 {
928 If (LGreater (Local1, 0x03DF))
929 {
930 Store (Local1, Local3)
931 }
932 Else
933 {
934 Store (0x03E0, Local3)
935 }
936
937 Name (IO02, Buffer (0x10) {})
938 Store (CWRT (Local3, Local2, 0x01), IO02)
939 Or (IOTV, 0x04, IOTV)
940 Add (Local6, 0x10, Local6)
941 }
942 }
943 }
944
945 Store (ShiftLeft (\_SB.PCI0.CI22.CM0L (), 0x14), Local1)
946 Store (\_SB.PCI0.CI22.CM0U (), Local2)
947 Increment (Local2)
948 ShiftLeft (Local2, 0x14, Local2)
949 Decrement (Local2)
950 If (LGreater (Local2, Local1))
951 {
952 If (\_SB.PCI0.CI22.CM0V ())
953 {
954 Name (ME0R, Buffer (0x1A) {})
955 Store (CDRT (Local1, Local2, 0x00), ME0R)
956 Or (METV, 0x01, METV)
957 Add (Local6, 0x1A, Local6)
958 }
959 }
960
961 Store (ShiftLeft (\_SB.PCI0.CI22.CM1L (), 0x14), Local1)
962 Store (\_SB.PCI0.CI22.CM1U (), Local2)
963 Increment (Local2)
964 ShiftLeft (Local2, 0x14, Local2)
965 Decrement (Local2)
966 If (LGreater (Local2, Local1))
967 {
968 If (\_SB.PCI0.CI22.CM1V ())
969 {
970 Name (ME1R, Buffer (0x1A) {})
971 Store (CDRT (Local1, Local2, 0x00), ME1R)
972 Or (METV, 0x02, METV)
973 Add (Local6, 0x1A, Local6)
974 }
975 }
976
977 Store (ShiftLeft (\_SB.PCI0.CI22.CM2L (), 0x14), Local1)
978 Store (\_SB.PCI0.CI22.CM2U (), Local2)
979 Increment (Local2)
980 ShiftLeft (Local2, 0x14, Local2)
981 Decrement (Local2)
982 If (LGreater (Local2, Local1))
983 {
984 If (\_SB.PCI0.CI22.CM2V ())
985 {
986 Name (ME2R, Buffer (0x1A) {})
987 Store (CDRT (Local1, Local2, 0x00), ME2R)
988 Or (METV, 0x04, METV)
989 Add (Local6, 0x1A, Local6)
990 }
991 }
992
993 Store (\_SB.PCI0.CI22.CBNM (), Local1)
994 Store (\_SB.PCI0.CI22.CSNM (), Local2)
995 Name (BN0R, Buffer (0x10) {})
996 Store (CWRT (Local1, Local2, 0x02), BN0R)
997 Or (METV, 0x08, METV)
998 Add (Local6, 0x10, Local6)
999 If (\_SB.PCI0.CI22.CMVE ())
1000 {
1001 Name (VGAM, Buffer (0x1A) {})
1002 Store (CDRT (0x000A0000, 0x000BFFFF, 0x00), VGAM)
1003 Or (METV, 0x10, METV)
1004 Add (Local6, 0x1A, Local6)
1005 Name (VGA1, Buffer (0x10) {})
1006 Store (CWRT (0x03B0, 0x03BB, 0x01), VGA1)
1007 Or (METV, 0x20, METV)
1008 Add (Local6, 0x10, Local6)
1009 Name (VGA2, Buffer (0x10) {})
1010 Store (CWRT (0x03C0, 0x03DF, 0x01), VGA2)
1011 Or (METV, 0x40, METV)
1012 Add (Local6, 0x10, Local6)
1013 }
1014
1015 Name (REST, ResourceTemplate ()
1016 {
1017 })
1018 Store (0x00, Local5)
1019 If (And (IOTV, 0x01))
1020 {
1021 Concatenate (IO00, REST, REST)
1022 Add (Local5, 0x10, Local5)
1023 }
1024
1025 If (And (IOTV, 0x02))
1026 {
1027 Concatenate (IO01, REST, REST)
1028 Add (Local5, 0x10, Local5)
1029 }
1030
1031 If (And (IOTV, 0x04))
1032 {
1033 Concatenate (IO02, REST, REST)
1034 Add (Local5, 0x10, Local5)
1035 }
1036
1037 If (And (METV, 0x01))
1038 {
1039 Concatenate (ME0R, REST, REST)
1040 Add (Local5, 0x1A, Local5)
1041 }
1042
1043 If (And (METV, 0x02))
1044 {
1045 Concatenate (ME1R, REST, REST)
1046 Add (Local5, 0x1A, Local5)
1047 }
1048
1049 If (And (METV, 0x04))
1050 {
1051 Concatenate (ME2R, REST, REST)
1052 Add (Local5, 0x1A, Local5)
1053 }
1054
1055 If (And (METV, 0x08))
1056 {
1057 Concatenate (BN0R, REST, REST)
1058 Add (Local5, 0x10, Local5)
1059 }
1060
1061 If (And (METV, 0x10))
1062 {
1063 Concatenate (VGAM, REST, REST)
1064 Add (Local5, 0x1A, Local5)
1065 }
1066
1067 If (And (METV, 0x20))
1068 {
1069 Concatenate (VGA1, REST, REST)
1070 Add (Local5, 0x10, Local5)
1071 }
1072
1073 If (And (METV, 0x40))
1074 {
1075 Concatenate (VGA2, REST, REST)
1076 Add (Local5, 0x10, Local5)
1077 }
1078
1079 Return (REST)
1080 }
1081
1082 Method (_PSW, 1, NotSerialized)
1083 {
1084 Store (0xA6, IOPT)
1085 If (LEqual (Arg0, 0x00)) {}
1086 Else
1087 {
1088 }
1089 }
1090 }
1091 }
1092
1093 Method (_PTS, 1, NotSerialized)
1094 {
1095 OperationRegion (SMIR, SystemIO, 0x0600, 0x01)
1096 Field (SMIR, ByteAcc, NoLock, Preserve)
1097 {
1098 SMIC, 8
1099 }
1100
1101 If (LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x05)))
1102 {
1103 Store (0xA1, IOPT)
1104 Store (0xF2, SMIC)
1105 }
1106 }
1107
1108 Method (_WAK, 1, NotSerialized)
1109 {
1110 Store (0xA2, IOPT)
1111 }
1112
1113 Scope (ISA)
1114 {
1115 OperationRegion (NSIO, SystemIO, 0x2E, 0x02)
1116 Field (NSIO, ByteAcc, NoLock, Preserve)
1117 {
1118 NIDX, 8,
1119 NDAT, 8
1120 }
1121
1122 IndexField (NIDX, NDAT, ByteAcc, NoLock, Preserve)
1123 {
1124 Offset (0x07),
1125 LDN, 8,
1126 Offset (0x30),
1127 NEN, 8,
1128 Offset (0x60),
1129 NAD0, 8,
1130 NAD1, 8,
1131 NAD2, 8,
1132 NAD3, 8,
1133 PMCH, 8,
1134 PMCL, 8,
1135 GPEH, 8,
1136 GPEL, 8,
1137 Offset (0x70),
1138 NIR0, 8,
1139 NIR1, 8,
1140 Offset (0x74),
1141 NDM0, 8,
1142 NDM1, 8,
1143 Offset (0xF0),
1144 CREG, 8,
1145 XAH1, 8,
1146 XAL1, 8,
1147 XAS1, 8,
1148 XAH2, 8,
1149 XAL2, 8,
1150 XAS2, 8
1151 }
1152
1153 Device (SIOM)
1154 {
1155 Name (_HID, EisaId ("PNP0C02"))
1156 Name (_UID, 0x02)
1157 Method (_STA, 0, NotSerialized)
1158 {
1159 Return (0x0F)
1160 }
1161
1162 Method (_CRS, 0, NotSerialized)
1163 {
1164 Name (IOTV, 0x00)
1165 Store (0x02, Local6)
1166 Name (IOID, Buffer (0x08) {})
1167 Store (CIRT (0x2E, 0x02), IOID)
1168 Add (Local6, 0x08, Local6)
1169 Store (0x04, LDN)
1170 If (NEN)
1171 {
1172 Store (NAD1, Local1)
1173 Add (Local1, ShiftLeft (NAD0, 0x08), Local1)
1174 Name (IOPM, Buffer (0x08) {})
1175 Store (CIRT (Local1, 0x02), IOPM)
1176 Add (Local6, 0x08, Local6)
1177 Or (IOTV, 0x01, IOTV)
1178 Store (NAD3, Local1)
1179 Add (Local1, ShiftLeft (NAD2, 0x08), Local1)
1180 Name (IOPE, Buffer (0x08) {})
1181 Store (CIRT (Local1, 0x04), IOPE)
1182 Add (Local6, 0x08, Local6)
1183 Or (IOTV, 0x10, IOTV)
1184 Store (PMCL, Local1)
1185 Add (Local1, ShiftLeft (PMCH, 0x08), Local1)
1186 Name (IOPC, Buffer (0x08) {})
1187 Store (CIRT (Local1, 0x04), IOPC)
1188 Add (Local6, 0x08, Local6)
1189 Or (IOTV, 0x20, IOTV)
1190 Store (GPEL, Local1)
1191 Add (Local1, ShiftLeft (GPEH, 0x08), Local1)
1192 Name (IOGE, Buffer (0x08) {})
1193 Store (CIRT (Local1, 0x08), IOGE)
1194 Add (Local6, 0x08, Local6)
1195 Or (IOTV, 0x40, IOTV)
1196 }
1197
1198 Store (0x07, LDN)
1199 If (NEN)
1200 {
1201 Store (NAD1, Local1)
1202 Add (Local1, ShiftLeft (NAD0, 0x08), Local1)
1203 Name (IOGP, Buffer (0x08) {})
1204 Store (CIRT (Local1, 0x08), IOGP)
1205 Add (Local6, 0x08, Local6)
1206 Or (IOTV, 0x02, IOTV)
1207 }
1208
1209 Store (0x0F, LDN)
1210 If (NEN)
1211 {
1212 Store (NAD1, Local1)
1213 Add (Local1, ShiftLeft (NAD0, 0x08), Local1)
1214 Name (IOXB, Buffer (0x08) {})
1215 Store (CIRT (Local1, 0x20), IOXB)
1216 Add (Local6, 0x08, Local6)
1217 Or (IOTV, 0x04, IOTV)
1218 If (And (CREG, 0x01))
1219 {
1220 Store (XAL1, Local2)
1221 Add (Local2, ShiftLeft (XAH1, 0x08), Local2)
1222 ShiftLeft (One, XAS1, Local3)
1223 Name (IOX0, Buffer (0x08) {})
1224 Store (CIRT (Local2, Local3), IOX0)
1225 Add (Local6, 0x08, Local6)
1226 Or (IOTV, 0x0100, IOTV)
1227 }
1228
1229 If (And (CREG, 0x02))
1230 {
1231 Store (XAL1, Local2)
1232 Add (Local2, ShiftLeft (XAH1, 0x08), Local2)
1233 ShiftLeft (One, XAS1, Local3)
1234 Add (Local2, Local3, Local2)
1235 Name (IOX1, Buffer (0x08) {})
1236 Store (CIRT (Local2, Local3), IOX1)
1237 Add (Local6, 0x08, Local6)
1238 Or (IOTV, 0x0200, IOTV)
1239 }
1240
1241 If (And (CREG, 0x04))
1242 {
1243 Store (XAL2, Local2)
1244 Add (Local2, ShiftLeft (XAH2, 0x08), Local2)
1245 ShiftLeft (One, XAS2, Local3)
1246 Name (IOX2, Buffer (0x08) {})
1247 Store (CIRT (Local2, Local3), IOX2)
1248 Add (Local6, 0x08, Local6)
1249 Or (IOTV, 0x0400, IOTV)
1250 }
1251
1252 If (And (CREG, 0x08))
1253 {
1254 Store (XAL2, Local2)
1255 Add (Local2, ShiftLeft (XAH2, 0x08), Local2)
1256 ShiftLeft (One, XAS2, Local3)
1257 Add (Local2, Local3, Local2)
1258 Name (IOX3, Buffer (0x08) {})
1259 Store (CIRT (Local2, Local3), IOX3)
1260 Add (Local6, 0x08, Local6)
1261 Or (IOTV, 0x0800, IOTV)
1262 }
1263 }
1264
1265 Name (REST, ResourceTemplate ()
1266 {
1267 })
1268 Concatenate (IOID, REST, REST)
1269 If (And (IOTV, 0x01))
1270 {
1271 Concatenate (IOPM, REST, REST)
1272 }
1273
1274 If (And (IOTV, 0x02))
1275 {
1276 Concatenate (IOGP, REST, REST)
1277 }
1278
1279 If (And (IOTV, 0x04))
1280 {
1281 Concatenate (IOXB, REST, REST)
1282 }
1283
1284 If (And (IOTV, 0x10))
1285 {
1286 Concatenate (IOPE, REST, REST)
1287 }
1288
1289 If (And (IOTV, 0x20))
1290 {
1291 Concatenate (IOPC, REST, REST)
1292 }
1293
1294 If (And (IOTV, 0x40))
1295 {
1296 Concatenate (IOGE, REST, REST)
1297 }
1298
1299 If (And (IOTV, 0x0100))
1300 {
1301 Concatenate (IOX0, REST, REST)
1302 }
1303
1304 If (And (IOTV, 0x0200))
1305 {
1306 Concatenate (IOX1, REST, REST)
1307 }
1308
1309 If (And (IOTV, 0x0400))
1310 {
1311 Concatenate (IOX2, REST, REST)
1312 }
1313
1314 If (And (IOTV, 0x0800))
1315 {
1316 Concatenate (IOX3, REST, REST)
1317 }
1318
1319 Return (REST)
1320 }
1321 }
1322
1323 Device (PS2K)
1324 {
1325 Name (_HID, EisaId ("PNP0303"))
1326 Method (_CRS, 0, NotSerialized)
1327 {
1328 Name (IOTV, 0x00)
1329 Store (0x02, Local6)
1330 Store (0x06, LDN)
1331 If (NEN)
1332 {
1333 Store (NAD1, Local1)
1334 Add (Local1, ShiftLeft (NAD0, 0x08), Local1)
1335 Name (IOR0, Buffer (0x08) {})
1336 Store (CIRT (Local1, 0x01), IOR0)
1337 Add (Local6, 0x08, Local6)
1338 Store (NAD3, Local1)
1339 Add (Local1, ShiftLeft (NAD2, 0x08), Local1)
1340 Name (IOR1, Buffer (0x08) {})
1341 Store (CIRT (Local1, 0x01), IOR1)
1342 Add (Local6, 0x08, Local6)
1343 Name (IOIR, Buffer (0x03) {})
1344 Store (CIQR (And (0x0F, NIR0)), IOIR)
1345 Add (Local6, 0x03, Local6)
1346 Or (IOTV, 0x01, IOTV)
1347 }
1348
1349 Name (REST, ResourceTemplate ()
1350 {
1351 })
1352 If (And (IOTV, 0x01))
1353 {
1354 Concatenate (IOR0, REST, REST)
1355 Concatenate (IOR1, REST, REST)
1356 Concatenate (IOIR, REST, REST)
1357 }
1358
1359 Return (REST)
1360 }
1361 }
1362
1363 Device (PS2M)
1364 {
1365 Name (_HID, EisaId ("PNP0F13"))
1366 Method (_CRS, 0, NotSerialized)
1367 {
1368 Name (IOTV, 0x00)
1369 Store (0x02, Local6)
1370 Store (0x05, LDN)
1371 If (NEN)
1372 {
1373 Name (IOIR, Buffer (0x03) {})
1374 Store (CIQR (And (0x0F, NIR0)), IOIR)
1375 Add (Local6, 0x03, Local6)
1376 Or (IOTV, 0x01, IOTV)
1377 }
1378
1379 Name (REST, ResourceTemplate ()
1380 {
1381 })
1382 If (And (IOTV, 0x01))
1383 {
1384 Concatenate (IOIR, REST, REST)
1385 }
1386
1387 Return (REST)
1388 }
1389 }
1390
1391 Device (FDC0)
1392 {
1393 Name (_HID, EisaId ("PNP0700"))
1394 Method (_STA, 0, NotSerialized)
1395 {
1396 Store (0xBA, IOPT)
1397 Store (0x00, LDN)
1398 If (NEN)
1399 {
1400 Return (0x0F)
1401 }
1402 Else
1403 {
1404 Return (0x0D)
1405 }
1406 }
1407
1408 Method (_DIS, 0, NotSerialized)
1409 {
1410 Store (0xBB, IOPT)
1411 Store (0x00, LDN)
1412 Store (0x00, NEN)
1413 }
1414
1415 Method (_CRS, 0, NotSerialized)
1416 {
1417 Name (IOTV, 0x00)
1418 Store (0x02, Local6)
1419 Store (0x00, LDN)
1420 If (NEN)
1421 {
1422 Store (NAD1, Local1)
1423 Add (Local1, ShiftLeft (NAD0, 0x08), Local1)
1424 Name (IOR0, Buffer (0x08) {})
1425 Store (CIRT (Local1, 0x06), IOR0)
1426 Add (Local6, 0x08, Local6)
1427 Name (IOIR, Buffer (0x03) {})
1428 Store (CIQR (And (0x0F, NIR0)), IOIR)
1429 Add (Local6, 0x03, Local6)
1430 Or (IOTV, 0x01, IOTV)
1431 If (LLess (NDM0, 0x04))
1432 {
1433 Name (IODM, Buffer (0x03) {})
1434 Store (CDMR (And (0x03, NDM0)), IODM)
1435 Add (Local6, 0x03, Local6)
1436 Or (IOTV, 0x02, IOTV)
1437 }
1438
1439 Name (REST, ResourceTemplate ()
1440 {
1441 })
1442 If (And (IOTV, 0x01))
1443 {
1444 Concatenate (IOR0, REST, REST)
1445 Concatenate (IOIR, REST, REST)
1446 }
1447
1448 If (And (IOTV, 0x03))
1449 {
1450 Concatenate (IODM, REST, REST)
1451 }
1452
1453 Return (REST)
1454 }
1455 Else
1456 {
1457 Return (ResourceTemplate ()
1458 {
1459 DMA (Compatibility, NotBusMaster, Transfer8) {}
1460 IRQNoFlags () {}
1461 IO (Decode16, 0x0000, 0x0000, 0x00, 0x00)
1462 })
1463 }
1464
1465 Return (REST)
1466 }
1467
1468 Name (_PRS, ResourceTemplate ()
1469 {
1470 DMA (Compatibility, NotBusMaster, Transfer8) {2}
1471 IRQNoFlags () {6}
1472 IO (Decode16, 0x03F0, 0x03F0, 0x00, 0x06)
1473 })
1474 Method (_SRS, 1, NotSerialized)
1475 {
1476 Store (0xBE, IOPT)
1477 CreateByteField (Arg0, 0x01, DMAV)
1478 CreateWordField (Arg0, 0x04, IRQL)
1479 CreateByteField (Arg0, 0x08, IOLO)
1480 CreateByteField (Arg0, 0x09, IOHI)
1481 Store (0x00, LDN)
1482 Store (0x00, NEN)
1483 Store (IOLO, NAD1)
1484 Store (IOHI, NAD0)
1485 FindSetRightBit (IRQL, Local0)
1486 Store (Decrement (Local0), NIR0)
1487 FindSetRightBit (DMAV, Local1)
1488 Store (Decrement (Local1), NDM0)
1489 Store (0x01, NEN)
1490 }
1491 }
1492
1493 Device (COM1)
1494 {
1495 Name (_HID, EisaId ("PNP0501"))
1496 Name (_UID, 0x01)
1497 Method (_STA, 0, NotSerialized)
1498 {
1499 Store (0xD8, IOPT)
1500 Store (0x03, LDN)
1501 If (NEN)
1502 {
1503 Return (0x0F)
1504 }
1505 Else
1506 {
1507 Return (0x00)
1508 }
1509 }
1510
1511 Method (_DIS, 0, NotSerialized)
1512 {
1513 Store (0xD9, IOPT)
1514 }
1515
1516 Method (_CRS, 0, NotSerialized)
1517 {
1518 Store (0xFF, IOPT)
1519 Name (IOTV, 0x00)
1520 Store (0x02, Local6)
1521 Store (0x03, LDN)
1522 If (NEN)
1523 {
1524 Store (NAD1, Local1)
1525 Add (Local1, ShiftLeft (NAD0, 0x08), Local1)
1526 Name (IOR0, Buffer (0x08) {})
1527 Store (CIRT (Local1, 0x08), IOR0)
1528 Add (Local6, 0x08, Local6)
1529 CreateByteField (IOR0, 0x06, IALN)
1530 Store (0x01, IALN)
1531 Name (IOIR, Buffer (0x03) {})
1532 Store (CIQR (And (0x0F, NIR0)), IOIR)
1533 Add (Local6, 0x03, Local6)
1534 Or (IOTV, 0x01, IOTV)
1535 }
1536
1537 Name (REST, ResourceTemplate ()
1538 {
1539 })
1540 If (And (IOTV, 0x01))
1541 {
1542 Concatenate (IOR0, REST, REST)
1543 Concatenate (IOIR, REST, REST)
1544 }
1545
1546 Return (REST)
1547 }
1548
1549 Method (_PRS, 0, NotSerialized)
1550 {
1551 Store (0xDB, IOPT)
1552 Return (_CRS ())
1553 }
1554
1555 Method (_SRS, 1, NotSerialized)
1556 {
1557 Store (0xDC, IOPT)
1558 }
1559 }
1560
1561 Device (COM2)
1562 {
1563 Name (_HID, EisaId ("PNP0501"))
1564 Name (_UID, 0x02)
1565 Method (_STA, 0, NotSerialized)
1566 {
1567 Store (0xDE, IOPT)
1568 Store (0x02, LDN)
1569 If (NEN)
1570 {
1571 Return (0x0F)
1572 }
1573 Else
1574 {
1575 Return (0x00)
1576 }
1577 }
1578
1579 Method (_DIS, 0, NotSerialized)
1580 {
1581 Store (0xDF, IOPT)
1582 }
1583
1584 Method (_CRS, 0, NotSerialized)
1585 {
1586 Store (0xE0, IOPT)
1587 Name (IOTV, 0x00)
1588 Store (0x02, Local6)
1589 Store (0x02, LDN)
1590 If (NEN)
1591 {
1592 Store (NAD1, Local1)
1593 Add (Local1, ShiftLeft (NAD0, 0x08), Local1)
1594 Name (IOR0, Buffer (0x08) {})
1595 Store (CIRT (Local1, 0x08), IOR0)
1596 Add (Local6, 0x08, Local6)
1597 CreateByteField (IOR0, 0x06, IALN)
1598 Store (0x01, IALN)
1599 Name (IOIR, Buffer (0x03) {})
1600 Store (CIQR (And (0x0F, NIR0)), IOIR)
1601 Add (Local6, 0x03, Local6)
1602 Or (IOTV, 0x01, IOTV)
1603 }
1604
1605 Name (REST, ResourceTemplate ()
1606 {
1607 })
1608 If (And (IOTV, 0x01))
1609 {
1610 Concatenate (IOR0, REST, REST)
1611 Concatenate (IOIR, REST, REST)
1612 }
1613
1614 Return (REST)
1615 }
1616
1617 Method (_PRS, 0, NotSerialized)
1618 {
1619 Store (0xE1, IOPT)
1620 Return (_CRS ())
1621 }
1622
1623 Method (_SRS, 1, NotSerialized)
1624 {
1625 Store (0xE2, IOPT)
1626 }
1627 }
1628 }
1629
1630 Scope (ISA)
1631 {
1632 Device (PIC)
1633 {
1634 Name (_HID, EisaId ("PNP0003"))
1635 Method (_STA, 0, NotSerialized)
1636 {
1637 Return (0x0F)
1638 }
1639
1640 Name (_CRS, ResourceTemplate ()
1641 {
1642 IO (Decode16, 0x0020, 0x0020, 0x01, 0x02)
1643 IO (Decode16, 0x00A0, 0x00A0, 0x01, 0x02)
1644 })
1645 }
1646
1647 Device (DMA0)
1648 {
1649 Name (_HID, EisaId ("PNP0200"))
1650 Method (_STA, 0, NotSerialized)
1651 {
1652 Return (0x0F)
1653 }
1654
1655 Name (_CRS, ResourceTemplate ()
1656 {
1657 DMA (Compatibility, NotBusMaster, Transfer8) {4}
1658 IO (Decode16, 0x0000, 0x0000, 0x01, 0x20)
1659 IO (Decode16, 0x0080, 0x0080, 0x01, 0x10)
1660 IO (Decode16, 0x00C0, 0x00C0, 0x01, 0x20)
1661 })
1662 }
1663
1664 Device (TMR)
1665 {
1666 Name (_HID, EisaId ("PNP0100"))
1667 Method (_STA, 0, NotSerialized)
1668 {
1669 Return (0x0F)
1670 }
1671
1672 Name (_CRS, ResourceTemplate ()
1673 {
1674 IO (Decode16, 0x0040, 0x0040, 0x01, 0x04)
1675 IRQNoFlags () {0}
1676 })
1677 }
1678
1679 Device (RTC)
1680 {
1681 Name (_HID, EisaId ("PNP0B00"))
1682 Method (_STA, 0, NotSerialized)
1683 {
1684 Return (0x0F)
1685 }
1686
1687 Name (_CRS, ResourceTemplate ()
1688 {
1689 IO (Decode16, 0x0070, 0x0070, 0x01, 0x04)
1690 IRQNoFlags () {8}
1691 })
1692 }
1693
1694 Device (SPKR)
1695 {
1696 Name (_HID, EisaId ("PNP0800"))
1697 Method (_STA, 0, NotSerialized)
1698 {
1699 Return (0x0F)
1700 }
1701
1702 Name (_CRS, ResourceTemplate ()
1703 {
1704 IO (Decode16, 0x0061, 0x0061, 0x01, 0x01)
1705 })
1706 }
1707
1708 Device (COPR)
1709 {
1710 Name (_HID, EisaId ("PNP0C04"))
1711 Method (_STA, 0, NotSerialized)
1712 {
1713 Return (0x0F)
1714 }
1715
1716 Name (_CRS, ResourceTemplate ()
1717 {
1718 IO (Decode16, 0x00F0, 0x00F0, 0x01, 0x10)
1719 IRQNoFlags () {13}
1720 })
1721 }
1722
1723 Device (SBD1)
1724 {
1725 Name (_HID, EisaId ("PNP0C02"))
1726 Name (_UID, 0x03)
1727 Method (_STA, 0, NotSerialized)
1728 {
1729 Return (0x0F)
1730 }
1731
1732 Name (_CRS, ResourceTemplate ()
1733 {
1734 IO (Decode16, 0x0092, 0x0092, 0x01, 0x01)
1735 IO (Decode16, 0x00EB, 0x00EB, 0x01, 0x02)
1736 IO (Decode16, 0x01EC, 0x01EC, 0x01, 0x04)
1737 IO (Decode16, 0x0400, 0x0400, 0x01, 0xFF)
1738 IO (Decode16, 0x0600, 0x0600, 0x01, 0x01)
1739 IO (Decode16, 0x0800, 0x0800, 0x01, 0x10)
1740 IO (Decode16, 0x0C00, 0x0C00, 0x01, 0xFF)
1741 IO (Decode16, 0x0F50, 0x0F50, 0x01, 0x09)
1742 Memory32Fixed (ReadWrite, 0xFEC00000, 0x01400000)
1743 })
1744 }
1745 }
1746
1747 Scope (\)
1748 {
1749 Name (PICF, 0x00)
1750 Method (_PIC, 1, NotSerialized)
1751 {
1752 Store (Arg0, PICF)
1753 }
1754 }
1755
1756 Scope (\)
1757 {
1758 Device (LP00)
1759 {
1760 Name (_HID, EisaId ("PNP0C0F"))
1761 Name (_UID, 0x10)
1762 Method (_STA, 0, NotSerialized)
1763 {
1764 Store (0x80, IOPT)
1765 If (LEqual (PX00, 0x00))
1766 {
1767 Return (0x09)
1768 }
1769 Else
1770 {
1771 Return (0x0B)
1772 }
1773 }
1774
1775 Method (_PRS, 0, NotSerialized)
1776 {
1777 Store (0x81, IOPT)
1778 Return (_CRS ())
1779 }
1780
1781 Method (_DIS, 0, NotSerialized)
1782 {
1783 Store (0x82, IOPT)
1784 }
1785
1786 Method (_CRS, 0, NotSerialized)
1787 {
1788 Store (0x83, IOPT)
1789 Name (RRET, ResourceTemplate ()
1790 {
1791 IRQ (Level, ActiveLow, Shared) {0}
1792 })
1793 CreateWordField (RRET, 0x01, RINT)
1794 Store (PX00, Local0)
1795 If (LEqual (Local0, 0x00))
1796 {
1797 Store (0x00, RINT)
1798 }
1799 Else
1800 {
1801 ShiftLeft (One, Local0, RINT)
1802 }
1803
1804 Return (RRET)
1805 }
1806
1807 Method (_SRS, 1, NotSerialized)
1808 {
1809 Store (0x84, IOPT)
1810 }
1811 }
1812
1813 Device (LP01)
1814 {
1815 Name (_HID, EisaId ("PNP0C0F"))
1816 Name (_UID, 0x11)
1817 Method (_STA, 0, NotSerialized)
1818 {
1819 Store (0x80, IOPT)
1820 If (LEqual (PX01, 0x00))
1821 {
1822 Return (0x09)
1823 }
1824 Else
1825 {
1826 Return (0x0B)
1827 }
1828 }
1829
1830 Method (_PRS, 0, NotSerialized)
1831 {
1832 Store (0x81, IOPT)
1833 Return (_CRS ())
1834 }
1835
1836 Method (_DIS, 0, NotSerialized)
1837 {
1838 Store (0x82, IOPT)
1839 }
1840
1841 Method (_CRS, 0, NotSerialized)
1842 {
1843 Store (0x83, IOPT)
1844 Name (RRET, ResourceTemplate ()
1845 {
1846 IRQ (Level, ActiveLow, Shared) {0}
1847 })
1848 CreateWordField (RRET, 0x01, RINT)
1849 Store (PX01, Local0)
1850 If (LEqual (Local0, 0x00))
1851 {
1852 Store (0x00, RINT)
1853 }
1854 Else
1855 {
1856 ShiftLeft (One, Local0, RINT)
1857 }
1858
1859 Return (RRET)
1860 }
1861
1862 Method (_SRS, 1, NotSerialized)
1863 {
1864 Store (0x84, IOPT)
1865 }
1866 }
1867
1868 Device (LP02)
1869 {
1870 Name (_HID, EisaId ("PNP0C0F"))
1871 Name (_UID, 0x12)
1872 Method (_STA, 0, NotSerialized)
1873 {
1874 Store (0x80, IOPT)
1875 If (LEqual (PX02, 0x00))
1876 {
1877 Return (0x09)
1878 }
1879 Else
1880 {
1881 Return (0x0B)
1882 }
1883 }
1884
1885 Method (_PRS, 0, NotSerialized)
1886 {
1887 Store (0x81, IOPT)
1888 Return (_CRS ())
1889 }
1890
1891 Method (_DIS, 0, NotSerialized)
1892 {
1893 Store (0x82, IOPT)
1894 }
1895
1896 Method (_CRS, 0, NotSerialized)
1897 {
1898 Store (0x83, IOPT)
1899 Name (RRET, ResourceTemplate ()
1900 {
1901 IRQ (Level, ActiveLow, Shared) {0}
1902 })
1903 CreateWordField (RRET, 0x01, RINT)
1904 Store (PX02, Local0)
1905 If (LEqual (Local0, 0x00))
1906 {
1907 Store (0x00, RINT)
1908 }
1909 Else
1910 {
1911 ShiftLeft (One, Local0, RINT)
1912 }
1913
1914 Return (RRET)
1915 }
1916
1917 Method (_SRS, 1, NotSerialized)
1918 {
1919 Store (0x84, IOPT)
1920 }
1921 }
1922
1923 Device (LP03)
1924 {
1925 Name (_HID, EisaId ("PNP0C0F"))
1926 Name (_UID, 0x13)
1927 Method (_STA, 0, NotSerialized)
1928 {
1929 Store (0x80, IOPT)
1930 If (LEqual (PX03, 0x00))
1931 {
1932 Return (0x09)
1933 }
1934 Else
1935 {
1936 Return (0x0B)
1937 }
1938 }
1939
1940 Method (_PRS, 0, NotSerialized)
1941 {
1942 Store (0x81, IOPT)
1943 Return (_CRS ())
1944 }
1945
1946 Method (_DIS, 0, NotSerialized)
1947 {
1948 Store (0x82, IOPT)
1949 }
1950
1951 Method (_CRS, 0, NotSerialized)
1952 {
1953 Store (0x83, IOPT)
1954 Name (RRET, ResourceTemplate ()
1955 {
1956 IRQ (Level, ActiveLow, Shared) {0}
1957 })
1958 CreateWordField (RRET, 0x01, RINT)
1959 Store (PX03, Local0)
1960 If (LEqual (Local0, 0x00))
1961 {
1962 Store (0x00, RINT)
1963 }
1964 Else
1965 {
1966 ShiftLeft (One, Local0, RINT)
1967 }
1968
1969 Return (RRET)
1970 }
1971
1972 Method (_SRS, 1, NotSerialized)
1973 {
1974 Store (0x84, IOPT)
1975 }
1976 }
1977
1978 Device (LP04)
1979 {
1980 Name (_HID, EisaId ("PNP0C0F"))
1981 Name (_UID, 0x14)
1982 Method (_STA, 0, NotSerialized)
1983 {
1984 Store (0x80, IOPT)
1985 If (LEqual (PX04, 0x00))
1986 {
1987 Return (0x09)
1988 }
1989 Else
1990 {
1991 Return (0x0B)
1992 }
1993 }
1994
1995 Method (_PRS, 0, NotSerialized)
1996 {
1997 Store (0x81, IOPT)
1998 Return (_CRS ())
1999 }
2000
2001 Method (_DIS, 0, NotSerialized)
2002 {
2003 Store (0x82, IOPT)
2004 }
2005
2006 Method (_CRS, 0, NotSerialized)
2007 {
2008 Store (0x83, IOPT)
2009 Name (RRET, ResourceTemplate ()
2010 {
2011 IRQ (Level, ActiveLow, Shared) {0}
2012 })
2013 CreateWordField (RRET, 0x01, RINT)
2014 Store (PX04, Local0)
2015 If (LEqual (Local0, 0x00))
2016 {
2017 Store (0x00, RINT)
2018 }
2019 Else
2020 {
2021 ShiftLeft (One, Local0, RINT)
2022 }
2023
2024 Return (RRET)
2025 }
2026
2027 Method (_SRS, 1, NotSerialized)
2028 {
2029 Store (0x84, IOPT)
2030 }
2031 }
2032
2033 Device (LP05)
2034 {
2035 Name (_HID, EisaId ("PNP0C0F"))
2036 Name (_UID, 0x15)
2037 Method (_STA, 0, NotSerialized)
2038 {
2039 Store (0x80, IOPT)
2040 If (LEqual (PX05, 0x00))
2041 {
2042 Return (0x09)
2043 }
2044 Else
2045 {
2046 Return (0x0B)
2047 }
2048 }
2049
2050 Method (_PRS, 0, NotSerialized)
2051 {
2052 Store (0x81, IOPT)
2053 Return (_CRS ())
2054 }
2055
2056 Method (_DIS, 0, NotSerialized)
2057 {
2058 Store (0x82, IOPT)
2059 }
2060
2061 Method (_CRS, 0, NotSerialized)
2062 {
2063 Store (0x83, IOPT)
2064 Name (RRET, ResourceTemplate ()
2065 {
2066 IRQ (Level, ActiveLow, Shared) {0}
2067 })
2068 CreateWordField (RRET, 0x01, RINT)
2069 Store (PX05, Local0)
2070 If (LEqual (Local0, 0x00))
2071 {
2072 Store (0x00, RINT)
2073 }
2074 Else
2075 {
2076 ShiftLeft (One, Local0, RINT)
2077 }
2078
2079 Return (RRET)
2080 }
2081
2082 Method (_SRS, 1, NotSerialized)
2083 {
2084 Store (0x84, IOPT)
2085 }
2086 }
2087
2088 Device (LP06)
2089 {
2090 Name (_HID, EisaId ("PNP0C0F"))
2091 Name (_UID, 0x16)
2092 Method (_STA, 0, NotSerialized)
2093 {
2094 Store (0x80, IOPT)
2095 If (LEqual (PX06, 0x00))
2096 {
2097 Return (0x09)
2098 }
2099 Else
2100 {
2101 Return (0x0B)
2102 }
2103 }
2104
2105 Method (_PRS, 0, NotSerialized)
2106 {
2107 Store (0x81, IOPT)
2108 Return (_CRS ())
2109 }
2110
2111 Method (_DIS, 0, NotSerialized)
2112 {
2113 Store (0x82, IOPT)
2114 }
2115
2116 Method (_CRS, 0, NotSerialized)
2117 {
2118 Store (0x83, IOPT)
2119 Name (RRET, ResourceTemplate ()
2120 {
2121 IRQ (Level, ActiveLow, Shared) {0}
2122 })
2123 CreateWordField (RRET, 0x01, RINT)
2124 Store (PX06, Local0)
2125 If (LEqual (Local0, 0x00))
2126 {
2127 Store (0x00, RINT)
2128 }
2129 Else
2130 {
2131 ShiftLeft (One, Local0, RINT)
2132 }
2133
2134 Return (RRET)
2135 }
2136
2137 Method (_SRS, 1, NotSerialized)
2138 {
2139 Store (0x84, IOPT)
2140 }
2141 }
2142
2143 Device (LP07)
2144 {
2145 Name (_HID, EisaId ("PNP0C0F"))
2146 Name (_UID, 0x17)
2147 Method (_STA, 0, NotSerialized)
2148 {
2149 Store (0x80, IOPT)
2150 If (LEqual (PX07, 0x00))
2151 {
2152 Return (0x09)
2153 }
2154 Else
2155 {
2156 Return (0x0B)
2157 }
2158 }
2159
2160 Method (_PRS, 0, NotSerialized)
2161 {
2162 Store (0x81, IOPT)
2163 Return (_CRS ())
2164 }
2165
2166 Method (_DIS, 0, NotSerialized)
2167 {
2168 Store (0x82, IOPT)
2169 }
2170
2171 Method (_CRS, 0, NotSerialized)
2172 {
2173 Store (0x83, IOPT)
2174 Name (RRET, ResourceTemplate ()
2175 {
2176 IRQ (Level, ActiveLow, Shared) {0}
2177 })
2178 CreateWordField (RRET, 0x01, RINT)
2179 Store (PX07, Local0)
2180 If (LEqual (Local0, 0x00))
2181 {
2182 Store (0x00, RINT)
2183 }
2184 Else
2185 {
2186 ShiftLeft (One, Local0, RINT)
2187 }
2188
2189 Return (RRET)
2190 }
2191
2192 Method (_SRS, 1, NotSerialized)
2193 {
2194 Store (0x84, IOPT)
2195 }
2196 }
2197
2198 Device (LP08)
2199 {
2200 Name (_HID, EisaId ("PNP0C0F"))
2201 Name (_UID, 0x18)
2202 Method (_STA, 0, NotSerialized)
2203 {
2204 Store (0x80, IOPT)
2205 If (LEqual (PX08, 0x00))
2206 {
2207 Return (0x09)
2208 }
2209 Else
2210 {
2211 Return (0x0B)
2212 }
2213 }
2214
2215 Method (_PRS, 0, NotSerialized)
2216 {
2217 Store (0x81, IOPT)
2218 Return (_CRS ())
2219 }
2220
2221 Method (_DIS, 0, NotSerialized)
2222 {
2223 Store (0x82, IOPT)
2224 }
2225
2226 Method (_CRS, 0, NotSerialized)
2227 {
2228 Store (0x83, IOPT)
2229 Name (RRET, ResourceTemplate ()
2230 {
2231 IRQ (Level, ActiveLow, Shared) {0}
2232 })
2233 CreateWordField (RRET, 0x01, RINT)
2234 Store (PX08, Local0)
2235 If (LEqual (Local0, 0x00))
2236 {
2237 Store (0x00, RINT)
2238 }
2239 Else
2240 {
2241 ShiftLeft (One, Local0, RINT)
2242 }
2243
2244 Return (RRET)
2245 }
2246
2247 Method (_SRS, 1, NotSerialized)
2248 {
2249 Store (0x84, IOPT)
2250 }
2251 }
2252
2253 Device (LP09)
2254 {
2255 Name (_HID, EisaId ("PNP0C0F"))
2256 Name (_UID, 0x19)
2257 Method (_STA, 0, NotSerialized)
2258 {
2259 Store (0x80, IOPT)
2260 If (LEqual (PX09, 0x00))
2261 {
2262 Return (0x09)
2263 }
2264 Else
2265 {
2266 Return (0x0B)
2267 }
2268 }
2269
2270 Method (_PRS, 0, NotSerialized)
2271 {
2272 Store (0x81, IOPT)
2273 Return (_CRS ())
2274 }
2275
2276 Method (_DIS, 0, NotSerialized)
2277 {
2278 Store (0x82, IOPT)
2279 }
2280
2281 Method (_CRS, 0, NotSerialized)
2282 {
2283 Store (0x83, IOPT)
2284 Name (RRET, ResourceTemplate ()
2285 {
2286 IRQ (Level, ActiveLow, Shared) {0}
2287 })
2288 CreateWordField (RRET, 0x01, RINT)
2289 Store (PX09, Local0)
2290 If (LEqual (Local0, 0x00))
2291 {
2292 Store (0x00, RINT)
2293 }
2294 Else
2295 {
2296 ShiftLeft (One, Local0, RINT)
2297 }
2298
2299 Return (RRET)
2300 }
2301
2302 Method (_SRS, 1, NotSerialized)
2303 {
2304 Store (0x84, IOPT)
2305 }
2306 }
2307
2308 Device (LP0A)
2309 {
2310 Name (_HID, EisaId ("PNP0C0F"))
2311 Name (_UID, 0x1A)
2312 Method (_STA, 0, NotSerialized)
2313 {
2314 Store (0x80, IOPT)
2315 If (LEqual (PX0A, 0x00))
2316 {
2317 Return (0x09)
2318 }
2319 Else
2320 {
2321 Return (0x0B)
2322 }
2323 }
2324
2325 Method (_PRS, 0, NotSerialized)
2326 {
2327 Store (0x81, IOPT)
2328 Return (_CRS ())
2329 }
2330
2331 Method (_DIS, 0, NotSerialized)
2332 {
2333 Store (0x82, IOPT)
2334 }
2335
2336 Method (_CRS, 0, NotSerialized)
2337 {
2338 Store (0x83, IOPT)
2339 Name (RRET, ResourceTemplate ()
2340 {
2341 IRQ (Level, ActiveLow, Shared) {0}
2342 })
2343 CreateWordField (RRET, 0x01, RINT)
2344 Store (PX0A, Local0)
2345 If (LEqual (Local0, 0x00))
2346 {
2347 Store (0x00, RINT)
2348 }
2349 Else
2350 {
2351 ShiftLeft (One, Local0, RINT)
2352 }
2353
2354 Return (RRET)
2355 }
2356
2357 Method (_SRS, 1, NotSerialized)
2358 {
2359 Store (0x84, IOPT)
2360 }
2361 }
2362
2363 Device (LP0B)
2364 {
2365 Name (_HID, EisaId ("PNP0C0F"))
2366 Name (_UID, 0x1B)
2367 Method (_STA, 0, NotSerialized)
2368 {
2369 Store (0x80, IOPT)
2370 If (LEqual (PX0B, 0x00))
2371 {
2372 Return (0x09)
2373 }
2374 Else
2375 {
2376 Return (0x0B)
2377 }
2378 }
2379
2380 Method (_PRS, 0, NotSerialized)
2381 {
2382 Store (0x81, IOPT)
2383 Return (_CRS ())
2384 }
2385
2386 Method (_DIS, 0, NotSerialized)
2387 {
2388 Store (0x82, IOPT)
2389 }
2390
2391 Method (_CRS, 0, NotSerialized)
2392 {
2393 Store (0x83, IOPT)
2394 Name (RRET, ResourceTemplate ()
2395 {
2396 IRQ (Level, ActiveLow, Shared) {0}
2397 })
2398 CreateWordField (RRET, 0x01, RINT)
2399 Store (PX0B, Local0)
2400 If (LEqual (Local0, 0x00))
2401 {
2402 Store (0x00, RINT)
2403 }
2404 Else
2405 {
2406 ShiftLeft (One, Local0, RINT)
2407 }
2408
2409 Return (RRET)
2410 }
2411
2412 Method (_SRS, 1, NotSerialized)
2413 {
2414 Store (0x84, IOPT)
2415 }
2416 }
2417
2418 Device (LP0C)
2419 {
2420 Name (_HID, EisaId ("PNP0C0F"))
2421 Name (_UID, 0x1C)
2422 Method (_STA, 0, NotSerialized)
2423 {
2424 Store (0x80, IOPT)
2425 If (LEqual (PX0C, 0x00))
2426 {
2427 Return (0x09)
2428 }
2429 Else
2430 {
2431 Return (0x0B)
2432 }
2433 }
2434
2435 Method (_PRS, 0, NotSerialized)
2436 {
2437 Store (0x81, IOPT)
2438 Return (_CRS ())
2439 }
2440
2441 Method (_DIS, 0, NotSerialized)
2442 {
2443 Store (0x82, IOPT)
2444 }
2445
2446 Method (_CRS, 0, NotSerialized)
2447 {
2448 Store (0x83, IOPT)
2449 Name (RRET, ResourceTemplate ()
2450 {
2451 IRQ (Level, ActiveLow, Shared) {0}
2452 })
2453 CreateWordField (RRET, 0x01, RINT)
2454 Store (PX0C, Local0)
2455 If (LEqual (Local0, 0x00))
2456 {
2457 Store (0x00, RINT)
2458 }
2459 Else
2460 {
2461 ShiftLeft (One, Local0, RINT)
2462 }
2463
2464 Return (RRET)
2465 }
2466
2467 Method (_SRS, 1, NotSerialized)
2468 {
2469 Store (0x84, IOPT)
2470 }
2471 }
2472
2473 Device (LP0D)
2474 {
2475 Name (_HID, EisaId ("PNP0C0F"))
2476 Name (_UID, 0x1D)
2477 Method (_STA, 0, NotSerialized)
2478 {
2479 Store (0x80, IOPT)
2480 If (LEqual (PX0D, 0x00))
2481 {
2482 Return (0x09)
2483 }
2484 Else
2485 {
2486 Return (0x0B)
2487 }
2488 }
2489
2490 Method (_PRS, 0, NotSerialized)
2491 {
2492 Store (0x81, IOPT)
2493 Return (_CRS ())
2494 }
2495
2496 Method (_DIS, 0, NotSerialized)
2497 {
2498 Store (0x82, IOPT)
2499 }
2500
2501 Method (_CRS, 0, NotSerialized)
2502 {
2503 Store (0x83, IOPT)
2504 Name (RRET, ResourceTemplate ()
2505 {
2506 IRQ (Level, ActiveLow, Shared) {0}
2507 })
2508 CreateWordField (RRET, 0x01, RINT)
2509 Store (PX0D, Local0)
2510 If (LEqual (Local0, 0x00))
2511 {
2512 Store (0x00, RINT)
2513 }
2514 Else
2515 {
2516 ShiftLeft (One, Local0, RINT)
2517 }
2518
2519 Return (RRET)
2520 }
2521
2522 Method (_SRS, 1, NotSerialized)
2523 {
2524 Store (0x84, IOPT)
2525 }
2526 }
2527
2528 Device (LP0E)
2529 {
2530 Name (_HID, EisaId ("PNP0C0F"))
2531 Name (_UID, 0x1E)
2532 Method (_STA, 0, NotSerialized)
2533 {
2534 Store (0x80, IOPT)
2535 If (LEqual (PX0E, 0x00))
2536 {
2537 Return (0x09)
2538 }
2539 Else
2540 {
2541 Return (0x0B)
2542 }
2543 }
2544
2545 Method (_PRS, 0, NotSerialized)
2546 {
2547 Store (0x81, IOPT)
2548 Return (_CRS ())
2549 }
2550
2551 Method (_DIS, 0, NotSerialized)
2552 {
2553 Store (0x82, IOPT)
2554 }
2555
2556 Method (_CRS, 0, NotSerialized)
2557 {
2558 Store (0x83, IOPT)
2559 Name (RRET, ResourceTemplate ()
2560 {
2561 IRQ (Level, ActiveLow, Shared) {0}
2562 })
2563 CreateWordField (RRET, 0x01, RINT)
2564 Store (PX0E, Local0)
2565 If (LEqual (Local0, 0x00))
2566 {
2567 Store (0x00, RINT)
2568 }
2569 Else
2570 {
2571 ShiftLeft (One, Local0, RINT)
2572 }
2573
2574 Return (RRET)
2575 }
2576
2577 Method (_SRS, 1, NotSerialized)
2578 {
2579 Store (0x84, IOPT)
2580 }
2581 }
2582
2583 Device (LP0F)
2584 {
2585 Name (_HID, EisaId ("PNP0C0F"))
2586 Name (_UID, 0x1F)
2587 Method (_STA, 0, NotSerialized)
2588 {
2589 Store (0x80, IOPT)
2590 If (LEqual (PX0F, 0x00))
2591 {
2592 Return (0x09)
2593 }
2594 Else
2595 {
2596 Return (0x0B)
2597 }
2598 }
2599
2600 Method (_PRS, 0, NotSerialized)
2601 {
2602 Store (0x81, IOPT)
2603 Return (_CRS ())
2604 }
2605
2606 Method (_DIS, 0, NotSerialized)
2607 {
2608 Store (0x82, IOPT)
2609 }
2610
2611 Method (_CRS, 0, NotSerialized)
2612 {
2613 Store (0x83, IOPT)
2614 Name (RRET, ResourceTemplate ()
2615 {
2616 IRQ (Level, ActiveLow, Shared) {0}
2617 })
2618 CreateWordField (RRET, 0x01, RINT)
2619 Store (PX0F, Local0)
2620 If (LEqual (Local0, 0x00))
2621 {
2622 Store (0x00, RINT)
2623 }
2624 Else
2625 {
2626 ShiftLeft (One, Local0, RINT)
2627 }
2628
2629 Return (RRET)
2630 }
2631
2632 Method (_SRS, 1, NotSerialized)
2633 {
2634 Store (0x84, IOPT)
2635 }
2636 }
2637
2638 Device (LP10)
2639 {
2640 Name (_HID, EisaId ("PNP0C0F"))
2641 Name (_UID, 0x20)
2642 Method (_STA, 0, NotSerialized)
2643 {
2644 Store (0x80, IOPT)
2645 If (LEqual (PX10, 0x00))
2646 {
2647 Return (0x09)
2648 }
2649 Else
2650 {
2651 Return (0x0B)
2652 }
2653 }
2654
2655 Method (_PRS, 0, NotSerialized)
2656 {
2657 Store (0x81, IOPT)
2658 Return (_CRS ())
2659 }
2660
2661 Method (_DIS, 0, NotSerialized)
2662 {
2663 Store (0x82, IOPT)
2664 }
2665
2666 Method (_CRS, 0, NotSerialized)
2667 {
2668 Store (0x83, IOPT)
2669 Name (RRET, ResourceTemplate ()
2670 {
2671 IRQ (Level, ActiveLow, Shared) {0}
2672 })
2673 CreateWordField (RRET, 0x01, RINT)
2674 Store (PX10, Local0)
2675 If (LEqual (Local0, 0x00))
2676 {
2677 Store (0x00, RINT)
2678 }
2679 Else
2680 {
2681 ShiftLeft (One, Local0, RINT)
2682 }
2683
2684 Return (RRET)
2685 }
2686
2687 Method (_SRS, 1, NotSerialized)
2688 {
2689 Store (0x84, IOPT)
2690 }
2691 }
2692
2693 Device (LP11)
2694 {
2695 Name (_HID, EisaId ("PNP0C0F"))
2696 Name (_UID, 0x21)
2697 Method (_STA, 0, NotSerialized)
2698 {
2699 Store (0x80, IOPT)
2700 If (LEqual (PX11, 0x00))
2701 {
2702 Return (0x09)
2703 }
2704 Else
2705 {
2706 Return (0x0B)
2707 }
2708 }
2709
2710 Method (_PRS, 0, NotSerialized)
2711 {
2712 Store (0x81, IOPT)
2713 Return (_CRS ())
2714 }
2715
2716 Method (_DIS, 0, NotSerialized)
2717 {
2718 Store (0x82, IOPT)
2719 }
2720
2721 Method (_CRS, 0, NotSerialized)
2722 {
2723 Store (0x83, IOPT)
2724 Name (RRET, ResourceTemplate ()
2725 {
2726 IRQ (Level, ActiveLow, Shared) {0}
2727 })
2728 CreateWordField (RRET, 0x01, RINT)
2729 Store (PX11, Local0)
2730 If (LEqual (Local0, 0x00))
2731 {
2732 Store (0x00, RINT)
2733 }
2734 Else
2735 {
2736 ShiftLeft (One, Local0, RINT)
2737 }
2738
2739 Return (RRET)
2740 }
2741
2742 Method (_SRS, 1, NotSerialized)
2743 {
2744 Store (0x84, IOPT)
2745 }
2746 }
2747
2748 Device (LP12)
2749 {
2750 Name (_HID, EisaId ("PNP0C0F"))
2751 Name (_UID, 0x22)
2752 Method (_STA, 0, NotSerialized)
2753 {
2754 Store (0x80, IOPT)
2755 If (LEqual (PX12, 0x00))
2756 {
2757 Return (0x09)
2758 }
2759 Else
2760 {
2761 Return (0x0B)
2762 }
2763 }
2764
2765 Method (_PRS, 0, NotSerialized)
2766 {
2767 Store (0x81, IOPT)
2768 Return (_CRS ())
2769 }
2770
2771 Method (_DIS, 0, NotSerialized)
2772 {
2773 Store (0x82, IOPT)
2774 }
2775
2776 Method (_CRS, 0, NotSerialized)
2777 {
2778 Store (0x83, IOPT)
2779 Name (RRET, ResourceTemplate ()
2780 {
2781 IRQ (Level, ActiveLow, Shared) {0}
2782 })
2783 CreateWordField (RRET, 0x01, RINT)
2784 Store (PX12, Local0)
2785 If (LEqual (Local0, 0x00))
2786 {
2787 Store (0x00, RINT)
2788 }
2789 Else
2790 {
2791 ShiftLeft (One, Local0, RINT)
2792 }
2793
2794 Return (RRET)
2795 }
2796
2797 Method (_SRS, 1, NotSerialized)
2798 {
2799 Store (0x84, IOPT)
2800 }
2801 }
2802
2803 Device (LP13)
2804 {
2805 Name (_HID, EisaId ("PNP0C0F"))
2806 Name (_UID, 0x23)
2807 Method (_STA, 0, NotSerialized)
2808 {
2809 Store (0x80, IOPT)
2810 If (LEqual (PX13, 0x00))
2811 {
2812 Return (0x09)
2813 }
2814 Else
2815 {
2816 Return (0x0B)
2817 }
2818 }
2819
2820 Method (_PRS, 0, NotSerialized)
2821 {
2822 Store (0x81, IOPT)
2823 Return (_CRS ())
2824 }
2825
2826 Method (_DIS, 0, NotSerialized)
2827 {
2828 Store (0x82, IOPT)
2829 }
2830
2831 Method (_CRS, 0, NotSerialized)
2832 {
2833 Store (0x83, IOPT)
2834 Name (RRET, ResourceTemplate ()
2835 {
2836 IRQ (Level, ActiveLow, Shared) {0}
2837 })
2838 CreateWordField (RRET, 0x01, RINT)
2839 Store (PX13, Local0)
2840 If (LEqual (Local0, 0x00))
2841 {
2842 Store (0x00, RINT)
2843 }
2844 Else
2845 {
2846 ShiftLeft (One, Local0, RINT)
2847 }
2848
2849 Return (RRET)
2850 }
2851
2852 Method (_SRS, 1, NotSerialized)
2853 {
2854 Store (0x84, IOPT)
2855 }
2856 }
2857
2858 Device (LP14)
2859 {
2860 Name (_HID, EisaId ("PNP0C0F"))
2861 Name (_UID, 0x24)
2862 Method (_STA, 0, NotSerialized)
2863 {
2864 Store (0x80, IOPT)
2865 If (LEqual (PX14, 0x00))
2866 {
2867 Return (0x09)
2868 }
2869 Else
2870 {
2871 Return (0x0B)
2872 }
2873 }
2874
2875 Method (_PRS, 0, NotSerialized)
2876 {
2877 Store (0x81, IOPT)
2878 Return (_CRS ())
2879 }
2880
2881 Method (_DIS, 0, NotSerialized)
2882 {
2883 Store (0x82, IOPT)
2884 }
2885
2886 Method (_CRS, 0, NotSerialized)
2887 {
2888 Store (0x83, IOPT)
2889 Name (RRET, ResourceTemplate ()
2890 {
2891 IRQ (Level, ActiveLow, Shared) {0}
2892 })
2893 CreateWordField (RRET, 0x01, RINT)
2894 Store (PX14, Local0)
2895 If (LEqual (Local0, 0x00))
2896 {
2897 Store (0x00, RINT)
2898 }
2899 Else
2900 {
2901 ShiftLeft (One, Local0, RINT)
2902 }
2903
2904 Return (RRET)
2905 }
2906
2907 Method (_SRS, 1, NotSerialized)
2908 {
2909 Store (0x84, IOPT)
2910 }
2911 }
2912
2913 Device (LP15)
2914 {
2915 Name (_HID, EisaId ("PNP0C0F"))
2916 Name (_UID, 0x25)
2917 Method (_STA, 0, NotSerialized)
2918 {
2919 Store (0x80, IOPT)
2920 If (LEqual (PX15, 0x00))
2921 {
2922 Return (0x09)
2923 }
2924 Else
2925 {
2926 Return (0x0B)
2927 }
2928 }
2929
2930 Method (_PRS, 0, NotSerialized)
2931 {
2932 Store (0x81, IOPT)
2933 Return (_CRS ())
2934 }
2935
2936 Method (_DIS, 0, NotSerialized)
2937 {
2938 Store (0x82, IOPT)
2939 }
2940
2941 Method (_CRS, 0, NotSerialized)
2942 {
2943 Store (0x83, IOPT)
2944 Name (RRET, ResourceTemplate ()
2945 {
2946 IRQ (Level, ActiveLow, Shared) {0}
2947 })
2948 CreateWordField (RRET, 0x01, RINT)
2949 Store (PX15, Local0)
2950 If (LEqual (Local0, 0x00))
2951 {
2952 Store (0x00, RINT)
2953 }
2954 Else
2955 {
2956 ShiftLeft (One, Local0, RINT)
2957 }
2958
2959 Return (RRET)
2960 }
2961
2962 Method (_SRS, 1, NotSerialized)
2963 {
2964 Store (0x84, IOPT)
2965 }
2966 }
2967
2968 Device (LP16)
2969 {
2970 Name (_HID, EisaId ("PNP0C0F"))
2971 Name (_UID, 0x26)
2972 Method (_STA, 0, NotSerialized)
2973 {
2974 Store (0x80, IOPT)
2975 If (LEqual (PX16, 0x00))
2976 {
2977 Return (0x09)
2978 }
2979 Else
2980 {
2981 Return (0x0B)
2982 }
2983 }
2984
2985 Method (_PRS, 0, NotSerialized)
2986 {
2987 Store (0x81, IOPT)
2988 Return (_CRS ())
2989 }
2990
2991 Method (_DIS, 0, NotSerialized)
2992 {
2993 Store (0x82, IOPT)
2994 }
2995
2996 Method (_CRS, 0, NotSerialized)
2997 {
2998 Store (0x83, IOPT)
2999 Name (RRET, ResourceTemplate ()
3000 {
3001 IRQ (Level, ActiveLow, Shared) {0}
3002 })
3003 CreateWordField (RRET, 0x01, RINT)
3004 Store (PX16, Local0)
3005 If (LEqual (Local0, 0x00))
3006 {
3007 Store (0x00, RINT)
3008 }
3009 Else
3010 {
3011 ShiftLeft (One, Local0, RINT)
3012 }
3013
3014 Return (RRET)
3015 }
3016
3017 Method (_SRS, 1, NotSerialized)
3018 {
3019 Store (0x84, IOPT)
3020 }
3021 }
3022
3023 Device (LP17)
3024 {
3025 Name (_HID, EisaId ("PNP0C0F"))
3026 Name (_UID, 0x27)
3027 Method (_STA, 0, NotSerialized)
3028 {
3029 Store (0x80, IOPT)
3030 If (LEqual (PX17, 0x00))
3031 {
3032 Return (0x09)
3033 }
3034 Else
3035 {
3036 Return (0x0B)
3037 }
3038 }
3039
3040 Method (_PRS, 0, NotSerialized)
3041 {
3042 Store (0x81, IOPT)
3043 Return (_CRS ())
3044 }
3045
3046 Method (_DIS, 0, NotSerialized)
3047 {
3048 Store (0x82, IOPT)
3049 }
3050
3051 Method (_CRS, 0, NotSerialized)
3052 {
3053 Store (0x83, IOPT)
3054 Name (RRET, ResourceTemplate ()
3055 {
3056 IRQ (Level, ActiveLow, Shared) {0}
3057 })
3058 CreateWordField (RRET, 0x01, RINT)
3059 Store (PX17, Local0)
3060 If (LEqual (Local0, 0x00))
3061 {
3062 Store (0x00, RINT)
3063 }
3064 Else
3065 {
3066 ShiftLeft (One, Local0, RINT)
3067 }
3068
3069 Return (RRET)
3070 }
3071
3072 Method (_SRS, 1, NotSerialized)
3073 {
3074 Store (0x84, IOPT)
3075 }
3076 }
3077
3078 Device (LP18)
3079 {
3080 Name (_HID, EisaId ("PNP0C0F"))
3081 Name (_UID, 0x28)
3082 Method (_STA, 0, NotSerialized)
3083 {
3084 Store (0x80, IOPT)
3085 If (LEqual (PX18, 0x00))
3086 {
3087 Return (0x09)
3088 }
3089 Else
3090 {
3091 Return (0x0B)
3092 }
3093 }
3094
3095 Method (_PRS, 0, NotSerialized)
3096 {
3097 Store (0x81, IOPT)
3098 Return (_CRS ())
3099 }
3100
3101 Method (_DIS, 0, NotSerialized)
3102 {
3103 Store (0x82, IOPT)
3104 }
3105
3106 Method (_CRS, 0, NotSerialized)
3107 {
3108 Store (0x83, IOPT)
3109 Name (RRET, ResourceTemplate ()
3110 {
3111 IRQ (Level, ActiveLow, Shared) {0}
3112 })
3113 CreateWordField (RRET, 0x01, RINT)
3114 Store (PX18, Local0)
3115 If (LEqual (Local0, 0x00))
3116 {
3117 Store (0x00, RINT)
3118 }
3119 Else
3120 {
3121 ShiftLeft (One, Local0, RINT)
3122 }
3123
3124 Return (RRET)
3125 }
3126
3127 Method (_SRS, 1, NotSerialized)
3128 {
3129 Store (0x84, IOPT)
3130 }
3131 }
3132
3133 Device (LP19)
3134 {
3135 Name (_HID, EisaId ("PNP0C0F"))
3136 Name (_UID, 0x29)
3137 Method (_STA, 0, NotSerialized)
3138 {
3139 Store (0x80, IOPT)
3140 If (LEqual (PX19, 0x00))
3141 {
3142 Return (0x09)
3143 }
3144 Else
3145 {
3146 Return (0x0B)
3147 }
3148 }
3149
3150 Method (_PRS, 0, NotSerialized)
3151 {
3152 Store (0x81, IOPT)
3153 Return (_CRS ())
3154 }
3155
3156 Method (_DIS, 0, NotSerialized)
3157 {
3158 Store (0x82, IOPT)
3159 }
3160
3161 Method (_CRS, 0, NotSerialized)
3162 {
3163 Store (0x83, IOPT)
3164 Name (RRET, ResourceTemplate ()
3165 {
3166 IRQ (Level, ActiveLow, Shared) {0}
3167 })
3168 CreateWordField (RRET, 0x01, RINT)
3169 Store (PX19, Local0)
3170 If (LEqual (Local0, 0x00))
3171 {
3172 Store (0x00, RINT)
3173 }
3174 Else
3175 {
3176 ShiftLeft (One, Local0, RINT)
3177 }
3178
3179 Return (RRET)
3180 }
3181
3182 Method (_SRS, 1, NotSerialized)
3183 {
3184 Store (0x84, IOPT)
3185 }
3186 }
3187
3188 Device (LP1A)
3189 {
3190 Name (_HID, EisaId ("PNP0C0F"))
3191 Name (_UID, 0x2A)
3192 Method (_STA, 0, NotSerialized)
3193 {
3194 Store (0x80, IOPT)
3195 If (LEqual (PX1A, 0x00))
3196 {
3197 Return (0x09)
3198 }
3199 Else
3200 {
3201 Return (0x0B)
3202 }
3203 }
3204
3205 Method (_PRS, 0, NotSerialized)
3206 {
3207 Store (0x81, IOPT)
3208 Return (_CRS ())
3209 }
3210
3211 Method (_DIS, 0, NotSerialized)
3212 {
3213 Store (0x82, IOPT)
3214 }
3215
3216 Method (_CRS, 0, NotSerialized)
3217 {
3218 Store (0x83, IOPT)
3219 Name (RRET, ResourceTemplate ()
3220 {
3221 IRQ (Level, ActiveLow, Shared) {0}
3222 })
3223 CreateWordField (RRET, 0x01, RINT)
3224 Store (PX1A, Local0)
3225 If (LEqual (Local0, 0x00))
3226 {
3227 Store (0x00, RINT)
3228 }
3229 Else
3230 {
3231 ShiftLeft (One, Local0, RINT)
3232 }
3233
3234 Return (RRET)
3235 }
3236
3237 Method (_SRS, 1, NotSerialized)
3238 {
3239 Store (0x84, IOPT)
3240 }
3241 }
3242
3243 Device (LP1B)
3244 {
3245 Name (_HID, EisaId ("PNP0C0F"))
3246 Name (_UID, 0x2B)
3247 Method (_STA, 0, NotSerialized)
3248 {
3249 Store (0x80, IOPT)
3250 If (LEqual (PX1B, 0x00))
3251 {
3252 Return (0x09)
3253 }
3254 Else
3255 {
3256 Return (0x0B)
3257 }
3258 }
3259
3260 Method (_PRS, 0, NotSerialized)
3261 {
3262 Store (0x81, IOPT)
3263 Return (_CRS ())
3264 }
3265
3266 Method (_DIS, 0, NotSerialized)
3267 {
3268 Store (0x82, IOPT)
3269 }
3270
3271 Method (_CRS, 0, NotSerialized)
3272 {
3273 Store (0x83, IOPT)
3274 Name (RRET, ResourceTemplate ()
3275 {
3276 IRQ (Level, ActiveLow, Shared) {0}
3277 })
3278 CreateWordField (RRET, 0x01, RINT)
3279 Store (PX1B, Local0)
3280 If (LEqual (Local0, 0x00))
3281 {
3282 Store (0x00, RINT)
3283 }
3284 Else
3285 {
3286 ShiftLeft (One, Local0, RINT)
3287 }
3288
3289 Return (RRET)
3290 }
3291
3292 Method (_SRS, 1, NotSerialized)
3293 {
3294 Store (0x84, IOPT)
3295 }
3296 }
3297
3298 Device (LP1C)
3299 {
3300 Name (_HID, EisaId ("PNP0C0F"))
3301 Name (_UID, 0x2C)
3302 Method (_STA, 0, NotSerialized)
3303 {
3304 Store (0x80, IOPT)
3305 If (LEqual (PX1C, 0x00))
3306 {
3307 Return (0x09)
3308 }
3309 Else
3310 {
3311 Return (0x0B)
3312 }
3313 }
3314
3315 Method (_PRS, 0, NotSerialized)
3316 {
3317 Store (0x81, IOPT)
3318 Return (_CRS ())
3319 }
3320
3321 Method (_DIS, 0, NotSerialized)
3322 {
3323 Store (0x82, IOPT)
3324 }
3325
3326 Method (_CRS, 0, NotSerialized)
3327 {
3328 Store (0x83, IOPT)
3329 Name (RRET, ResourceTemplate ()
3330 {
3331 IRQ (Level, ActiveLow, Shared) {0}
3332 })
3333 CreateWordField (RRET, 0x01, RINT)
3334 Store (PX1C, Local0)
3335 If (LEqual (Local0, 0x00))
3336 {
3337 Store (0x00, RINT)
3338 }
3339 Else
3340 {
3341 ShiftLeft (One, Local0, RINT)
3342 }
3343
3344 Return (RRET)
3345 }
3346
3347 Method (_SRS, 1, NotSerialized)
3348 {
3349 Store (0x84, IOPT)
3350 }
3351 }
3352
3353 Device (LP1D)
3354 {
3355 Name (_HID, EisaId ("PNP0C0F"))
3356 Name (_UID, 0x2D)
3357 Method (_STA, 0, NotSerialized)
3358 {
3359 Store (0x80, IOPT)
3360 If (LEqual (PX1D, 0x00))
3361 {
3362 Return (0x09)
3363 }
3364 Else
3365 {
3366 Return (0x0B)
3367 }
3368 }
3369
3370 Method (_PRS, 0, NotSerialized)
3371 {
3372 Store (0x81, IOPT)
3373 Return (_CRS ())
3374 }
3375
3376 Method (_DIS, 0, NotSerialized)
3377 {
3378 Store (0x82, IOPT)
3379 }
3380
3381 Method (_CRS, 0, NotSerialized)
3382 {
3383 Store (0x83, IOPT)
3384 Name (RRET, ResourceTemplate ()
3385 {
3386 IRQ (Level, ActiveLow, Shared) {0}
3387 })
3388 CreateWordField (RRET, 0x01, RINT)
3389 Store (PX1D, Local0)
3390 If (LEqual (Local0, 0x00))
3391 {
3392 Store (0x00, RINT)
3393 }
3394 Else
3395 {
3396 ShiftLeft (One, Local0, RINT)
3397 }
3398
3399 Return (RRET)
3400 }
3401
3402 Method (_SRS, 1, NotSerialized)
3403 {
3404 Store (0x84, IOPT)
3405 }
3406 }
3407
3408 Device (LP1E)
3409 {
3410 Name (_HID, EisaId ("PNP0C0F"))
3411 Name (_UID, 0x2E)
3412 Method (_STA, 0, NotSerialized)
3413 {
3414 Store (0x80, IOPT)
3415 If (LEqual (PX1E, 0x00))
3416 {
3417 Return (0x09)
3418 }
3419 Else
3420 {
3421 Return (0x0B)
3422 }
3423 }
3424
3425 Method (_PRS, 0, NotSerialized)
3426 {
3427 Store (0x81, IOPT)
3428 Return (_CRS ())
3429 }
3430
3431 Method (_DIS, 0, NotSerialized)
3432 {
3433 Store (0x82, IOPT)
3434 }
3435
3436 Method (_CRS, 0, NotSerialized)
3437 {
3438 Store (0x83, IOPT)
3439 Name (RRET, ResourceTemplate ()
3440 {
3441 IRQ (Level, ActiveLow, Shared) {0}
3442 })
3443 CreateWordField (RRET, 0x01, RINT)
3444 Store (PX1E, Local0)
3445 If (LEqual (Local0, 0x00))
3446 {
3447 Store (0x00, RINT)
3448 }
3449 Else
3450 {
3451 ShiftLeft (One, Local0, RINT)
3452 }
3453
3454 Return (RRET)
3455 }
3456
3457 Method (_SRS, 1, NotSerialized)
3458 {
3459 Store (0x84, IOPT)
3460 }
3461 }
3462
3463 Device (LP1F)
3464 {
3465 Name (_HID, EisaId ("PNP0C0F"))
3466 Name (_UID, 0x2F)
3467 Method (_STA, 0, NotSerialized)
3468 {
3469 Store (0x80, IOPT)
3470 If (LEqual (PX1F, 0x00))
3471 {
3472 Return (0x09)
3473 }
3474 Else
3475 {
3476 Return (0x0B)
3477 }
3478 }
3479
3480 Method (_PRS, 0, NotSerialized)
3481 {
3482 Store (0x81, IOPT)
3483 Return (_CRS ())
3484 }
3485
3486 Method (_DIS, 0, NotSerialized)
3487 {
3488 Store (0x82, IOPT)
3489 }
3490
3491 Method (_CRS, 0, NotSerialized)
3492 {
3493 Store (0x83, IOPT)
3494 Name (RRET, ResourceTemplate ()
3495 {
3496 IRQ (Level, ActiveLow, Shared) {0}
3497 })
3498 CreateWordField (RRET, 0x01, RINT)
3499 Store (PX1F, Local0)
3500 If (LEqual (Local0, 0x00))
3501 {
3502 Store (0x00, RINT)
3503 }
3504 Else
3505 {
3506 ShiftLeft (One, Local0, RINT)
3507 }
3508
3509 Return (RRET)
3510 }
3511
3512 Method (_SRS, 1, NotSerialized)
3513 {
3514 Store (0x84, IOPT)
3515 }
3516 }
3517
3518 Device (LPUS)
3519 {
3520 Name (_HID, EisaId ("PNP0C0F"))
3521 Name (_UID, 0x01)
3522 Method (_STA, 0, NotSerialized)
3523 {
3524 Store (0x80, IOPT)
3525 If (LEqual (PXUS, 0x00))
3526 {
3527 Return (0x09)
3528 }
3529 Else
3530 {
3531 Return (0x0B)
3532 }
3533 }
3534
3535 Method (_PRS, 0, NotSerialized)
3536 {
3537 Store (0x81, IOPT)
3538 Return (_CRS ())
3539 }
3540
3541 Method (_DIS, 0, NotSerialized)
3542 {
3543 Store (0x82, IOPT)
3544 }
3545
3546 Method (_CRS, 0, NotSerialized)
3547 {
3548 Store (0x83, IOPT)
3549 Name (RRET, ResourceTemplate ()
3550 {
3551 IRQ (Level, ActiveLow, Shared) {0}
3552 })
3553 CreateWordField (RRET, 0x01, RINT)
3554 Store (PXUS, Local0)
3555 If (LEqual (Local0, 0x00))
3556 {
3557 Store (0x00, RINT)
3558 }
3559 Else
3560 {
3561 ShiftLeft (One, Local0, RINT)
3562 }
3563
3564 Return (RRET)
3565 }
3566
3567 Method (_SRS, 1, NotSerialized)
3568 {
3569 Store (0x84, IOPT)
3570 }
3571 }
3572 }
3573
3574 Scope (\)
3575 {
3576 OperationRegion (PIRR, SystemIO, 0x0C00, 0x02)
3577 Field (PIRR, ByteAcc, NoLock, Preserve)
3578 {
3579 PMXA, 8,
3580 PMXD, 8
3581 }
3582
3583 IndexField (PMXA, PMXD, ByteAcc, NoLock, Preserve)
3584 {
3585 PXAC, 8,
3586 PXUS, 8,
3587 PIDP, 8,
3588 PIDS, 8,
3589 PXSM, 8,
3590 Offset (0x10),
3591 PX00, 8,
3592 PX01, 8,
3593 PX02, 8,
3594 PX03, 8,
3595 PX04, 8,
3596 PX05, 8,
3597 PX06, 8,
3598 PX07, 8,
3599 PX08, 8,
3600 PX09, 8,
3601 PX0A, 8,
3602 PX0B, 8,
3603 PX0C, 8,
3604 PX0D, 8,
3605 PX0E, 8,
3606 PX0F, 8,
3607 PX10, 8,
3608 PX11, 8,
3609 PX12, 8,
3610 PX13, 8,
3611 PX14, 8,
3612 PX15, 8,
3613 PX16, 8,
3614 PX17, 8,
3615 PX18, 8,
3616 PX19, 8,
3617 PX1A, 8,
3618 PX1B, 8,
3619 PX1C, 8,
3620 PX1D, 8,
3621 PX1E, 8,
3622 PX1F, 8
3623 }
3624 }
3625
3626 Scope (PCI0)
3627 {
3628 Name (PICM, Package (0x06)
3629 {
3630 Package (0x04)
3631 {
3632 0x0001FFFF,
3633 0x00,
3634 LP0A,
3635 0x00
3636 },
3637
3638 Package (0x04)
3639 {
3640 0x0002FFFF,
3641 0x00,
3642 LP00,
3643 0x00
3644 },
3645
3646 Package (0x04)
3647 {
3648 0x0002FFFF,
3649 0x01,
3650 LP01,
3651 0x00
3652 },
3653
3654 Package (0x04)
3655 {
3656 0x0002FFFF,
3657 0x02,
3658 LP00,
3659 0x00
3660 },
3661
3662 Package (0x04)
3663 {
3664 0x0002FFFF,
3665 0x03,
3666 LP01,
3667 0x00
3668 },
3669
3670 Package (0x04)
3671 {
3672 0x000FFFFF,
3673 0x00,
3674 LPUS,
3675 0x00
3676 }
3677 })
3678 Name (APIC, Package (0x06)
3679 {
3680 Package (0x04)
3681 {
3682 0x0001FFFF,
3683 0x00,
3684 0x00,
3685 0x1A
3686 },
3687
3688 Package (0x04)
3689 {
3690 0x0002FFFF,
3691 0x00,
3692 0x00,
3693 0x10
3694 },
3695
3696 Package (0x04)
3697 {
3698 0x0002FFFF,
3699 0x01,
3700 0x00,
3701 0x11
3702 },
3703
3704 Package (0x04)
3705 {
3706 0x0002FFFF,
3707 0x02,
3708 0x00,
3709 0x10
3710 },
3711
3712 Package (0x04)
3713 {
3714 0x0002FFFF,
3715 0x03,
3716 0x00,
3717 0x11
3718 },
3719
3720 Package (0x04)
3721 {
3722 0x000FFFFF,
3723 0x00,
3724 LPUS,
3725 0x00
3726 }
3727 })
3728 Method (_PRT, 0, NotSerialized)
3729 {
3730 Store (0x60, IOPT)
3731 If (LNot (PICF))
3732 {
3733 Return (PICM)
3734 }
3735 Else
3736 {
3737 Return (APIC)
3738 }
3739 }
3740 }
3741
3742 Scope (PCI1)
3743 {
3744 Name (PICM, Package (0x05)
3745 {
3746 Package (0x04)
3747 {
3748 0x0001FFFF,
3749 0x00,
3750 LP06,
3751 0x00
3752 },
3753
3754 Package (0x04)
3755 {
3756 0x0002FFFF,
3757 0x00,
3758 LP02,
3759 0x00
3760 },
3761
3762 Package (0x04)
3763 {
3764 0x0002FFFF,
3765 0x01,
3766 LP03,
3767 0x00
3768 },
3769
3770 Package (0x04)
3771 {
3772 0x0002FFFF,
3773 0x02,
3774 LP02,
3775 0x00
3776 },
3777
3778 Package (0x04)
3779 {
3780 0x0002FFFF,
3781 0x03,
3782 LP03,
3783 0x00
3784 }
3785 })
3786 Name (APIC, Package (0x05)
3787 {
3788 Package (0x04)
3789 {
3790 0x0001FFFF,
3791 0x00,
3792 0x00,
3793 0x16
3794 },
3795
3796 Package (0x04)
3797 {
3798 0x0002FFFF,
3799 0x00,
3800 0x00,
3801 0x12
3802 },
3803
3804 Package (0x04)
3805 {
3806 0x0002FFFF,
3807 0x01,
3808 0x00,
3809 0x13
3810 },
3811
3812 Package (0x04)
3813 {
3814 0x0002FFFF,
3815 0x02,
3816 0x00,
3817 0x12
3818 },
3819
3820 Package (0x04)
3821 {
3822 0x0002FFFF,
3823 0x03,
3824 0x00,
3825 0x13
3826 }
3827 })
3828 Method (_PRT, 0, NotSerialized)
3829 {
3830 Store (0x61, IOPT)
3831 If (LNot (PICF))
3832 {
3833 Return (PICM)
3834 }
3835 Else
3836 {
3837 Return (APIC)
3838 }
3839 }
3840 }
3841
3842 Scope (PCI2)
3843 {
3844 Name (PICM, Package (0x06)
3845 {
3846 Package (0x04)
3847 {
3848 0x0001FFFF,
3849 0x00,
3850 LP08,
3851 0x00
3852 },
3853
3854 Package (0x04)
3855 {
3856 0x0002FFFF,
3857 0x00,
3858 LP09,
3859 0x00
3860 },
3861
3862 Package (0x04)
3863 {
3864 0x0003FFFF,
3865 0x00,
3866 LP04,
3867 0x00
3868 },
3869
3870 Package (0x04)
3871 {
3872 0x0003FFFF,
3873 0x01,
3874 LP05,
3875 0x00
3876 },
3877
3878 Package (0x04)
3879 {
3880 0x0003FFFF,
3881 0x02,
3882 LP04,
3883 0x00
3884 },
3885
3886 Package (0x04)
3887 {
3888 0x0003FFFF,
3889 0x03,
3890 LP05,
3891 0x00
3892 }
3893 })
3894 Name (APIC, Package (0x06)
3895 {
3896 Package (0x04)
3897 {
3898 0x0001FFFF,
3899 0x00,
3900 0x00,
3901 0x18
3902 },
3903
3904 Package (0x04)
3905 {
3906 0x0002FFFF,
3907 0x00,
3908 0x00,
3909 0x19
3910 },
3911
3912 Package (0x04)
3913 {
3914 0x0003FFFF,
3915 0x00,
3916 0x00,
3917 0x14
3918 },
3919
3920 Package (0x04)
3921 {
3922 0x0003FFFF,
3923 0x01,
3924 0x00,
3925 0x15
3926 },
3927
3928 Package (0x04)
3929 {
3930 0x0003FFFF,
3931 0x02,
3932 0x00,
3933 0x14
3934 },
3935
3936 Package (0x04)
3937 {
3938 0x0003FFFF,
3939 0x03,
3940 0x00,
3941 0x15
3942 }
3943 })
3944 Method (_PRT, 0, NotSerialized)
3945 {
3946 Store (0x62, IOPT)
3947 If (LNot (PICF))
3948 {
3949 Return (PICM)
3950 }
3951 Else
3952 {
3953 Return (APIC)
3954 }
3955 }
3956 }
3957
3958 OperationRegion (CMOS, SystemIO, 0x70, 0x02)
3959 Field (CMOS, ByteAcc, NoLock, Preserve)
3960 {
3961 BK1I, 8,
3962 BK1D, 8
3963 }
3964
3965 IndexField (BK1I, BK1D, ByteAcc, NoLock, Preserve)
3966 {
3967 Offset (0x3E),
3968 CM3E, 8
3969 }
3970
3971 Device (ASF)
3972 {
3973 Name (_HID, "ASF0001")
3974 Method (GPWT, 0, NotSerialized)
3975 {
3976 Return (CM3E)
3977 }
3978
3979 Method (SPWT, 1, NotSerialized)
3980 {
3981 Store (CM3E, Arg0)
3982 }
3983 }
3984}
3985