Ticket #212: dsdt_FJNB1D2.dsl

File dsdt_FJNB1D2.dsl, 233.4 KB (added by Chuck McKinnis, 17 years ago)
Line 
1/*
2 * Intel ACPI Component Architecture
3 * AML Disassembler version 20050902
4 *
5 * Disassembly of , Mon Mar 10 14:17:53 2008
6 */
7DefinitionBlock ("DSDT.aml", "DSDT", 1, "FUJ ", "FJNB1D2 ", 16973824)
8{
9 Name (BIDT, Buffer (0x10)
10 {
11 0x00, 0x01, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00,
12 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
13 })
14 Name (BMNT, Package (0x04)
15 {
16 "CP240533",
17 "CP240549",
18 "CP240565",
19 "CP240581"
20 })
21 Name (BMST, Package (0x04)
22 {
23 "CP240533",
24 "CP240549",
25 "CP240565",
26 "CP240581"
27 })
28 Scope (_SB)
29 {
30 Name (OSTB, Ones)
31 OperationRegion (OSTY, SystemMemory, 0xCFE73EE6, 0x00000001)
32 Field (OSTY, AnyAcc, NoLock, Preserve)
33 {
34 TPOS, 8
35 }
36
37 Method (OSTP, 0, NotSerialized)
38 {
39 If (LEqual (^OSTB, Ones))
40 {
41 If (CondRefOf (\_OSI, Local0))
42 {
43 If (\_OSI ("Windows 2006"))
44 {
45 Store (0x40, ^OSTB)
46 Store (0x40, ^TPOS)
47 }
48 Else
49 {
50 If (\_OSI ("Windows 2001.1"))
51 {
52 Store (0x20, ^OSTB)
53 Store (0x20, ^TPOS)
54 }
55 Else
56 {
57 If (\_OSI ("Windows 2001 SP1"))
58 {
59 Store (0x10, ^OSTB)
60 Store (0x10, ^TPOS)
61 }
62 Else
63 {
64 If (\_OSI ("Windows 2001"))
65 {
66 Store (0x08, ^OSTB)
67 Store (0x08, ^TPOS)
68 }
69 Else
70 {
71 Store (0x00, ^OSTB)
72 Store (0x00, ^TPOS)
73 }
74 }
75 }
76 }
77 }
78 Else
79 {
80 If (CondRefOf (\_OS, Local0))
81 {
82 If (^SEQL (\_OS, "Microsoft Windows"))
83 {
84 Store (0x01, ^OSTB)
85 Store (0x01, ^TPOS)
86 }
87 Else
88 {
89 If (^SEQL (\_OS, "Microsoft WindowsME: Millennium Edition"))
90 {
91 Store (0x02, ^OSTB)
92 Store (0x02, ^TPOS)
93 }
94 Else
95 {
96 If (^SEQL (\_OS, "Microsoft Windows NT"))
97 {
98 Store (0x04, ^OSTB)
99 Store (0x04, ^TPOS)
100 }
101 Else
102 {
103 Store (0x00, ^OSTB)
104 Store (0x00, ^TPOS)
105 }
106 }
107 }
108 }
109 Else
110 {
111 Store (0x00, ^OSTB)
112 Store (0x00, ^TPOS)
113 }
114 }
115 }
116
117 Return (^OSTB)
118 }
119
120 Method (SEQL, 2, Serialized)
121 {
122 Store (SizeOf (Arg0), Local0)
123 Store (SizeOf (Arg1), Local1)
124 If (LNot (LEqual (Local0, Local1)))
125 {
126 Return (Zero)
127 }
128
129 Name (BUF0, Buffer (Local0) {})
130 Store (Arg0, BUF0)
131 Name (BUF1, Buffer (Local0) {})
132 Store (Arg1, BUF1)
133 Store (Zero, Local2)
134 While (LLess (Local2, Local0))
135 {
136 Store (DerefOf (Index (BUF0, Local2)), Local3)
137 Store (DerefOf (Index (BUF1, Local2)), Local4)
138 If (LNot (LEqual (Local3, Local4)))
139 {
140 Return (Zero)
141 }
142
143 Increment (Local2)
144 }
145
146 Return (One)
147 }
148 }
149
150 Scope (_SB)
151 {
152 OperationRegion (SMI0, SystemIO, 0x00000F40, 0x00000002)
153 OperationRegion (SMI1, SystemMemory, 0xCFE73E56, 0x00000090)
154 OperationRegion (IO80, SystemIO, 0x80, 0x01)
155 Scope (\)
156 {
157 Field (\_SB.SMI0, AnyAcc, NoLock, Preserve)
158 {
159 SMIC, 8
160 }
161
162 Field (\_SB.SMI1, AnyAcc, NoLock, Preserve)
163 {
164 BCMD, 8,
165 DID, 32,
166 INFO, 1024
167 }
168
169 Field (\_SB.SMI1, AnyAcc, NoLock, Preserve)
170 {
171 AccessAs (ByteAcc, 0x00),
172 Offset (0x05),
173 INF, 8
174 }
175
176 Field (\_SB.SMI1, ByteAcc, NoLock, Preserve)
177 {
178 Offset (0x05),
179 PIID, 320
180 }
181
182 Field (\_SB.IO80, ByteAcc, NoLock, Preserve)
183 {
184 PO80, 8
185 }
186 }
187
188 OperationRegion (OEMT, SystemMemory, 0xCFE73F8C, 0x00000020)
189 OperationRegion (SYSC, SystemMemory, 0xCFE73F66, 0x0000000A)
190 OperationRegion (VDEX, SystemMemory, 0xCFE73F56, 0x00000010)
191 OperationRegion (BTNC, SystemMemory, 0xCFE73FAC, 0x00000010)
192 OperationRegion (THZN, SystemMemory, 0xCFE73F70, 0x00000010)
193 OperationRegion (VIST, SystemMemory, 0xCFE73A93, 0x000003C3)
194 OperationRegion (QBC, SystemMemory, 0xCFE73F80, 0x0000000C)
195 Scope (\)
196 {
197 Field (\_SB.OEMT, ByteAcc, NoLock, Preserve)
198 {
199 SPAF, 2,
200 SPBF, 2,
201 PPF, 3,
202 FDCF, 1,
203 SIDF, 2,
204 IMTF, 1,
205 BLEN, 1,
206 WLEN, 1,
207 BTEX, 1,
208 Offset (0x04),
209 WAPB, 1,
210 , 1,
211 INTV, 1,
212 , 1,
213 PSNM, 4,
214 Offset (0x08),
215 FWHM, 1,
216 NOE1, 1,
217 TPMF, 2,
218 CPBL, 1,
219 FSCM, 1,
220 RPCP, 1,
221 MNC0, 1,
222 MNC1, 1,
223 UMT0, 1,
224 HWPM, 1,
225 TBPC, 1,
226 AS34, 1,
227 DGEX, 1,
228 BMEN, 1,
229 RBSN, 1,
230 BIFL, 8,
231 DCLW, 7,
232 Offset (0x0C),
233 LCDL, 8,
234 CUOV, 8,
235 CDOV, 8,
236 TCOV, 1,
237 FCCT, 1,
238 FDLT, 2,
239 TJ85, 1,
240 Offset (0x10),
241 FDS0, 4,
242 FDS1, 4,
243 TOFF, 8
244 }
245
246 Field (\_SB.SYSC, ByteAcc, NoLock, Preserve)
247 {
248 BHKF, 1,
249 , 2,
250 MHKF, 1,
251 , 3,
252 VHKF, 1,
253 BLLM, 8,
254 BLLT, 64
255 }
256
257 Field (\_SB.SYSC, ByteAcc, NoLock, Preserve)
258 {
259 AHKF, 8
260 }
261
262 Field (\_SB.VDEX, ByteAcc, NoLock, Preserve)
263 {
264 ADOS, 3,
265 CLCD, 1,
266 ALCD, 1,
267 CCRT, 1,
268 ACRT, 1,
269 CTV, 1,
270 ATV, 1,
271 CDVI, 1,
272 ADVI, 1,
273 DSWF, 2,
274 BSWF, 2,
275 LSWF, 1
276 }
277
278 Field (\_SB.BTNC, ByteAcc, NoLock, Preserve)
279 {
280 IRBF, 1,
281 , 6,
282 NGTF, 1,
283 Offset (0x04),
284 IRBC, 16
285 }
286
287 Field (\_SB.THZN, ByteAcc, NoLock, Preserve)
288 {
289 DTS1, 8,
290 DTS2, 8,
291 CRTT, 8,
292 PSVT, 8,
293 TC1V, 4,
294 TC2V, 4,
295 TSPV, 4,
296 MPEN, 1,
297 DTSE, 1
298 }
299
300 Field (\_SB.QBC, ByteAcc, NoLock, Preserve)
301 {
302 QAG1, 32,
303 QAG2, 32,
304 QAG3, 32
305 }
306 }
307 }
308
309 Name (FWSO, 0x00)
310 Name (SSTA, Zero)
311 Name (EXIS, 0xFF)
312 Name (VSTH, Zero)
313 Name (LEDI, Zero)
314 Name (BTNI, Zero)
315 Name (NGTI, 0x06)
316 Name (ECCI, 0x36)
317 Name (GINT, Zero)
318 Name (FCCI, 0x02)
319 Name (FNUM, 0x02)
320 Name (PLWM, Zero)
321 Name (PTAL, Zero)
322 Name (TPRS, Zero)
323 Name (HDWA, Zero)
324 Scope (_PR)
325 {
326 Processor (CPU0, 0x00, 0x00001010, 0x06) {}
327 Processor (CPU1, 0x01, 0x00001010, 0x06) {}
328 Method (CSTC, 0, NotSerialized)
329 {
330 If (LNot (And (And (PDC0, PDC1), 0x80000000)))
331 {
332 If (And (CFGD, 0x01000000))
333 {
334 If (And (PDC0, 0x18))
335 {
336 Notify (\_PR.CPU0, 0x81)
337 }
338
339 If (And (PDC1, 0x18))
340 {
341 Notify (\_PR.CPU1, 0x81)
342 }
343 }
344 Else
345 {
346 Notify (\_PR.CPU0, 0x81)
347 }
348 }
349 }
350 }
351
352 Name (GPIC, 0x00)
353 Method (_PIC, 1, NotSerialized)
354 {
355 Store (Arg0, GPIC)
356 }
357
358 Scope (_SB)
359 {
360 Method (_INI, 0, NotSerialized)
361 {
362 \_SB.OSTP ()
363 If (LNot (LLess (\_SB.OSTP (), 0x40)))
364 {
365 Load (VIST, VSTH)
366 }
367
368 \_SB.FEXT.BINI ()
369 \_SB.PCI0.LPCB.TINI ()
370 }
371
372 Device (PCI0)
373 {
374 Method (_S3D, 0, NotSerialized)
375 {
376 Return (0x02)
377 }
378
379 Method (_S4D, 0, NotSerialized)
380 {
381 Return (0x02)
382 }
383
384 Name (_HID, EisaId ("PNP0A08"))
385 Name (_CID, 0x030AD041)
386 Device (MCHC)
387 {
388 Name (_ADR, 0x00)
389 OperationRegion (HBUS, PCI_Config, 0x40, 0xC0)
390 Field (HBUS, DWordAcc, NoLock, Preserve)
391 {
392 EPEN, 1,
393 , 11,
394 EPBR, 20,
395 Offset (0x08),
396 MHEN, 1,
397 , 13,
398 MHBR, 18,
399 Offset (0x20),
400 PXEN, 1,
401 PXSZ, 2,
402 , 23,
403 PXBR, 6,
404 Offset (0x28),
405 DIEN, 1,
406 , 11,
407 DIBR, 20,
408 Offset (0x30),
409 IPEN, 1,
410 , 11,
411 IPBR, 20,
412 Offset (0x50),
413 , 4,
414 PM0H, 2,
415 Offset (0x51),
416 PM1L, 2,
417 , 2,
418 PM1H, 2,
419 Offset (0x52),
420 PM2L, 2,
421 , 2,
422 PM2H, 2,
423 Offset (0x53),
424 PM3L, 2,
425 , 2,
426 PM3H, 2,
427 Offset (0x54),
428 PM4L, 2,
429 , 2,
430 PM4H, 2,
431 Offset (0x55),
432 PM5L, 2,
433 , 2,
434 PM5H, 2,
435 Offset (0x56),
436 PM6L, 2,
437 , 2,
438 PM6H, 2,
439 Offset (0x57),
440 , 7,
441 HENA, 1,
442 Offset (0x62),
443 TUUD, 16,
444 Offset (0x70),
445 , 4,
446 TLUD, 12
447 }
448 }
449
450 Name (BUF0, ResourceTemplate ()
451 {
452 WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
453 0x0000, // Address Space Granularity
454 0x0000, // Address Range Minimum
455 0x00FF, // Address Range Maximum
456 0x0000, // Address Translation Offset
457 0x0100,,,)
458 DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
459 0x00000000, // Address Space Granularity
460 0x00000000, // Address Range Minimum
461 0x00000CF7, // Address Range Maximum
462 0x00000000, // Address Translation Offset
463 0x00000CF8,,,
464 , TypeStatic)
465 IO (Decode16, 0x0CF8, 0x0CF8, 0x01, 0x08)
466 DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
467 0x00000000, // Address Space Granularity
468 0x00000D00, // Address Range Minimum
469 0x0000FFFF, // Address Range Maximum
470 0x00000000, // Address Translation Offset
471 0x0000F300,,,
472 , TypeStatic)
473 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
474 0x00000000, // Address Space Granularity
475 0x000A0000, // Address Range Minimum
476 0x000BFFFF, // Address Range Maximum
477 0x00000000, // Address Translation Offset
478 0x00020000,,,
479 , AddressRangeMemory, TypeStatic)
480 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
481 0x00000000, // Address Space Granularity
482 0x000C0000, // Address Range Minimum
483 0x000C3FFF, // Address Range Maximum
484 0x00000000, // Address Translation Offset
485 0x00004000,,,
486 , AddressRangeMemory, TypeStatic)
487 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
488 0x00000000, // Address Space Granularity
489 0x000C4000, // Address Range Minimum
490 0x000C7FFF, // Address Range Maximum
491 0x00000000, // Address Translation Offset
492 0x00004000,,,
493 , AddressRangeMemory, TypeStatic)
494 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
495 0x00000000, // Address Space Granularity
496 0x000C8000, // Address Range Minimum
497 0x000CBFFF, // Address Range Maximum
498 0x00000000, // Address Translation Offset
499 0x00004000,,,
500 , AddressRangeMemory, TypeStatic)
501 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
502 0x00000000, // Address Space Granularity
503 0x000CC000, // Address Range Minimum
504 0x000CFFFF, // Address Range Maximum
505 0x00000000, // Address Translation Offset
506 0x00004000,,,
507 , AddressRangeMemory, TypeStatic)
508 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
509 0x00000000, // Address Space Granularity
510 0x000D0000, // Address Range Minimum
511 0x000D3FFF, // Address Range Maximum
512 0x00000000, // Address Translation Offset
513 0x00004000,,,
514 , AddressRangeMemory, TypeStatic)
515 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
516 0x00000000, // Address Space Granularity
517 0x000D4000, // Address Range Minimum
518 0x000D7FFF, // Address Range Maximum
519 0x00000000, // Address Translation Offset
520 0x00004000,,,
521 , AddressRangeMemory, TypeStatic)
522 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
523 0x00000000, // Address Space Granularity
524 0x000D8000, // Address Range Minimum
525 0x000DBFFF, // Address Range Maximum
526 0x00000000, // Address Translation Offset
527 0x00004000,,,
528 , AddressRangeMemory, TypeStatic)
529 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
530 0x00000000, // Address Space Granularity
531 0x000DC000, // Address Range Minimum
532 0x000DFFFF, // Address Range Maximum
533 0x00000000, // Address Translation Offset
534 0x00004000,,,
535 , AddressRangeMemory, TypeStatic)
536 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
537 0x00000000, // Address Space Granularity
538 0x000E0000, // Address Range Minimum
539 0x000E3FFF, // Address Range Maximum
540 0x00000000, // Address Translation Offset
541 0x00004000,,,
542 , AddressRangeMemory, TypeStatic)
543 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
544 0x00000000, // Address Space Granularity
545 0x000E4000, // Address Range Minimum
546 0x000E7FFF, // Address Range Maximum
547 0x00000000, // Address Translation Offset
548 0x00004000,,,
549 , AddressRangeMemory, TypeStatic)
550 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
551 0x00000000, // Address Space Granularity
552 0x000E8000, // Address Range Minimum
553 0x000EBFFF, // Address Range Maximum
554 0x00000000, // Address Translation Offset
555 0x00004000,,,
556 , AddressRangeMemory, TypeStatic)
557 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
558 0x00000000, // Address Space Granularity
559 0x000EC000, // Address Range Minimum
560 0x000EFFFF, // Address Range Maximum
561 0x00000000, // Address Translation Offset
562 0x00004000,,,
563 , AddressRangeMemory, TypeStatic)
564 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
565 0x00000000, // Address Space Granularity
566 0x000F0000, // Address Range Minimum
567 0x000FFFFF, // Address Range Maximum
568 0x00000000, // Address Translation Offset
569 0x00010000,,,
570 , AddressRangeMemory, TypeStatic)
571 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
572 0x00000000, // Address Space Granularity
573 0x00000000, // Address Range Minimum
574 0xFEBFFFFF, // Address Range Maximum
575 0x00000000, // Address Translation Offset
576 0x00000000,,,
577 , AddressRangeMemory, TypeStatic)
578 DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
579 0x00000000, // Address Space Granularity
580 0xFED40000, // Address Range Minimum
581 0xFED44FFF, // Address Range Maximum
582 0x00000000, // Address Translation Offset
583 0x00000000,,,
584 , AddressRangeMemory, TypeStatic)
585 })
586 Method (_CRS, 0, Serialized)
587 {
588 If (^MCHC.PM1L)
589 {
590 CreateDWordField (BUF0, 0x7C, C0LN)
591 Store (Zero, C0LN)
592 }
593
594 If (LEqual (^MCHC.PM1L, 0x01))
595 {
596 CreateBitField (BUF0, 0x0358, C0RW)
597 Store (Zero, C0RW)
598 }
599
600 If (^MCHC.PM1H)
601 {
602 CreateDWordField (BUF0, 0x96, C4LN)
603 Store (Zero, C4LN)
604 }
605
606 If (LEqual (^MCHC.PM1H, 0x01))
607 {
608 CreateBitField (BUF0, 0x0428, C4RW)
609 Store (Zero, C4RW)
610 }
611
612 If (^MCHC.PM2L)
613 {
614 CreateDWordField (BUF0, 0xB0, C8LN)
615 Store (Zero, C8LN)
616 }
617
618 If (LEqual (^MCHC.PM2L, 0x01))
619 {
620 CreateBitField (BUF0, 0x04F8, C8RW)
621 Store (Zero, C8RW)
622 }
623
624 If (^MCHC.PM2H)
625 {
626 CreateDWordField (BUF0, 0xCA, CCLN)
627 Store (Zero, CCLN)
628 }
629
630 If (LEqual (^MCHC.PM2H, 0x01))
631 {
632 CreateBitField (BUF0, 0x05C8, CCRW)
633 Store (Zero, CCRW)
634 }
635
636 If (^MCHC.PM3L)
637 {
638 CreateDWordField (BUF0, 0xE4, D0LN)
639 Store (Zero, D0LN)
640 }
641
642 If (LEqual (^MCHC.PM3L, 0x01))
643 {
644 CreateBitField (BUF0, 0x0698, D0RW)
645 Store (Zero, D0RW)
646 }
647
648 If (^MCHC.PM3H)
649 {
650 CreateDWordField (BUF0, 0xFE, D4LN)
651 Store (Zero, D4LN)
652 }
653
654 If (LEqual (^MCHC.PM3H, 0x01))
655 {
656 CreateBitField (BUF0, 0x0768, D4RW)
657 Store (Zero, D4RW)
658 }
659
660 If (^MCHC.PM4L)
661 {
662 CreateDWordField (BUF0, 0x0118, D8LN)
663 Store (Zero, D8LN)
664 }
665
666 If (LEqual (^MCHC.PM4L, 0x01))
667 {
668 CreateBitField (BUF0, 0x0838, D8RW)
669 Store (Zero, D8RW)
670 }
671
672 If (^MCHC.PM4H)
673 {
674 CreateDWordField (BUF0, 0x0132, DCLN)
675 Store (Zero, DCLN)
676 }
677
678 If (LEqual (^MCHC.PM4H, 0x01))
679 {
680 CreateBitField (BUF0, 0x0908, DCRW)
681 Store (Zero, DCRW)
682 }
683
684 If (^MCHC.PM5L)
685 {
686 CreateDWordField (BUF0, 0x014C, E0LN)
687 Store (Zero, E0LN)
688 }
689
690 If (LEqual (^MCHC.PM5L, 0x01))
691 {
692 CreateBitField (BUF0, 0x09D8, E0RW)
693 Store (Zero, E0RW)
694 }
695
696 If (^MCHC.PM5H)
697 {
698 CreateDWordField (BUF0, 0x0166, E4LN)
699 Store (Zero, E4LN)
700 }
701
702 If (LEqual (^MCHC.PM5H, 0x01))
703 {
704 CreateBitField (BUF0, 0x0AA8, E4RW)
705 Store (Zero, E4RW)
706 }
707
708 If (^MCHC.PM6L)
709 {
710 CreateDWordField (BUF0, 0x0180, E8LN)
711 Store (Zero, E8LN)
712 }
713
714 If (LEqual (^MCHC.PM6L, 0x01))
715 {
716 CreateBitField (BUF0, 0x0B78, E8RW)
717 Store (Zero, E8RW)
718 }
719
720 If (^MCHC.PM6H)
721 {
722 CreateDWordField (BUF0, 0x019A, ECLN)
723 Store (Zero, ECLN)
724 }
725
726 If (LEqual (^MCHC.PM6H, 0x01))
727 {
728 CreateBitField (BUF0, 0x0C48, ECRW)
729 Store (Zero, ECRW)
730 }
731
732 If (^MCHC.PM0H)
733 {
734 CreateDWordField (BUF0, 0x01B4, F0LN)
735 Store (Zero, F0LN)
736 }
737
738 If (LEqual (^MCHC.PM0H, 0x01))
739 {
740 CreateBitField (BUF0, 0x0D18, F0RW)
741 Store (Zero, F0RW)
742 }
743
744 If (TPRS)
745 {
746 CreateDWordField (BUF0, 0x01E8, TPML)
747 Store (0x5000, TPML)
748 }
749
750 CreateDWordField (BUF0, 0x01C2, M1MN)
751 CreateDWordField (BUF0, 0x01C6, M1MX)
752 CreateDWordField (BUF0, 0x01CE, M1LN)
753 ShiftLeft (^MCHC.TLUD, 0x14, M1MN)
754 Add (Subtract (M1MX, M1MN), 0x01, M1LN)
755 Return (BUF0)
756 }
757
758 Method (_PRT, 0, NotSerialized)
759 {
760 If (GPIC)
761 {
762 Return (Package (0x12)
763 {
764 Package (0x04)
765 {
766 0x0001FFFF,
767 0x00,
768 0x00,
769 0x10
770 },
771
772 Package (0x04)
773 {
774 0x0002FFFF,
775 0x00,
776 0x00,
777 0x10
778 },
779
780 Package (0x04)
781 {
782 0x0003FFFF,
783 0x00,
784 0x00,
785 0x10
786 },
787
788 Package (0x04)
789 {
790 0x0003FFFF,
791 0x01,
792 0x00,
793 0x11
794 },
795
796 Package (0x04)
797 {
798 0x0003FFFF,
799 0x02,
800 0x00,
801 0x12
802 },
803
804 Package (0x04)
805 {
806 0x0003FFFF,
807 0x03,
808 0x00,
809 0x13
810 },
811
812 Package (0x04)
813 {
814 0x0019FFFF,
815 0x00,
816 0x00,
817 0x10
818 },
819
820 Package (0x04)
821 {
822 0x001AFFFF,
823 0x00,
824 0x00,
825 0x16
826 },
827
828 Package (0x04)
829 {
830 0x001AFFFF,
831 0x01,
832 0x00,
833 0x17
834 },
835
836 Package (0x04)
837 {
838 0x001BFFFF,
839 0x00,
840 0x00,
841 0x15
842 },
843
844 Package (0x04)
845 {
846 0x001CFFFF,
847 0x00,
848 0x00,
849 0x10
850 },
851
852 Package (0x04)
853 {
854 0x001CFFFF,
855 0x01,
856 0x00,
857 0x11
858 },
859
860 Package (0x04)
861 {
862 0x001CFFFF,
863 0x02,
864 0x00,
865 0x12
866 },
867
868 Package (0x04)
869 {
870 0x001CFFFF,
871 0x03,
872 0x00,
873 0x13
874 },
875
876 Package (0x04)
877 {
878 0x001DFFFF,
879 0x00,
880 0x00,
881 0x16
882 },
883
884 Package (0x04)
885 {
886 0x001DFFFF,
887 0x01,
888 0x00,
889 0x17
890 },
891
892 Package (0x04)
893 {
894 0x001FFFFF,
895 0x00,
896 0x00,
897 0x14
898 },
899
900 Package (0x04)
901 {
902 0x001FFFFF,
903 0x01,
904 0x00,
905 0x15
906 }
907 })
908 }
909 Else
910 {
911 Return (Package (0x12)
912 {
913 Package (0x04)
914 {
915 0x0001FFFF,
916 0x00,
917 \_SB.PCI0.LPCB.LNKA,
918 0x00
919 },
920
921 Package (0x04)
922 {
923 0x0002FFFF,
924 0x00,
925 \_SB.PCI0.LPCB.LNKA,
926 0x00
927 },
928
929 Package (0x04)
930 {
931 0x0003FFFF,
932 0x00,
933 \_SB.PCI0.LPCB.LNKA,
934 0x00
935 },
936
937 Package (0x04)
938 {
939 0x0003FFFF,
940 0x01,
941 \_SB.PCI0.LPCB.LNKB,
942 0x00
943 },
944
945 Package (0x04)
946 {
947 0x0003FFFF,
948 0x02,
949 \_SB.PCI0.LPCB.LNKC,
950 0x00
951 },
952
953 Package (0x04)
954 {
955 0x0003FFFF,
956 0x03,
957 \_SB.PCI0.LPCB.LNKD,
958 0x00
959 },
960
961 Package (0x04)
962 {
963 0x0019FFFF,
964 0x00,
965 \_SB.PCI0.LPCB.LNKA,
966 0x00
967 },
968
969 Package (0x04)
970 {
971 0x001AFFFF,
972 0x00,
973 \_SB.PCI0.LPCB.LNKG,
974 0x00
975 },
976
977 Package (0x04)
978 {
979 0x001AFFFF,
980 0x01,
981 \_SB.PCI0.LPCB.LNKH,
982 0x00
983 },
984
985 Package (0x04)
986 {
987 0x001BFFFF,
988 0x00,
989 \_SB.PCI0.LPCB.LNKF,
990 0x00
991 },
992
993 Package (0x04)
994 {
995 0x001CFFFF,
996 0x00,
997 \_SB.PCI0.LPCB.LNKA,
998 0x00
999 },
1000
1001 Package (0x04)
1002 {
1003 0x001CFFFF,
1004 0x01,
1005 \_SB.PCI0.LPCB.LNKB,
1006 0x00
1007 },
1008
1009 Package (0x04)
1010 {
1011 0x001CFFFF,
1012 0x02,
1013 \_SB.PCI0.LPCB.LNKC,
1014 0x00
1015 },
1016
1017 Package (0x04)
1018 {
1019 0x001CFFFF,
1020 0x03,
1021 \_SB.PCI0.LPCB.LNKD,
1022 0x00
1023 },
1024
1025 Package (0x04)
1026 {
1027 0x001DFFFF,
1028 0x00,
1029 \_SB.PCI0.LPCB.LNKG,
1030 0x00
1031 },
1032
1033 Package (0x04)
1034 {
1035 0x001DFFFF,
1036 0x01,
1037 \_SB.PCI0.LPCB.LNKH,
1038 0x00
1039 },
1040
1041 Package (0x04)
1042 {
1043 0x001FFFFF,
1044 0x00,
1045 \_SB.PCI0.LPCB.LNKE,
1046 0x00
1047 },
1048
1049 Package (0x04)
1050 {
1051 0x001FFFFF,
1052 0x01,
1053 \_SB.PCI0.LPCB.LNKF,
1054 0x00
1055 }
1056 })
1057 }
1058 }
1059
1060 Device (MBIO)
1061 {
1062 Name (_HID, EisaId ("PNP0C02"))
1063 Name (_UID, 0x02)
1064 Name (RSRC, ResourceTemplate ()
1065 {
1066 IO (Decode16, 0x0010, 0x0010, 0x01, 0x10)
1067 IO (Decode16, 0x0024, 0x0024, 0x01, 0x02)
1068 IO (Decode16, 0x0028, 0x0028, 0x01, 0x02)
1069 IO (Decode16, 0x002C, 0x002C, 0x01, 0x02)
1070 IO (Decode16, 0x002E, 0x002E, 0x01, 0x02)
1071 IO (Decode16, 0x0030, 0x0030, 0x01, 0x02)
1072 IO (Decode16, 0x0034, 0x0034, 0x01, 0x02)
1073 IO (Decode16, 0x0038, 0x0038, 0x01, 0x02)
1074 IO (Decode16, 0x003C, 0x003C, 0x01, 0x02)
1075 IO (Decode16, 0x004E, 0x004E, 0x01, 0x02)
1076 IO (Decode16, 0x0050, 0x0050, 0x01, 0x04)
1077 IO (Decode16, 0x0061, 0x0061, 0x01, 0x01)
1078 IO (Decode16, 0x0063, 0x0063, 0x01, 0x01)
1079 IO (Decode16, 0x0065, 0x0065, 0x01, 0x01)
1080 IO (Decode16, 0x0067, 0x0067, 0x01, 0x01)
1081 IO (Decode16, 0x0072, 0x0072, 0x01, 0x06)
1082 IO (Decode16, 0x0080, 0x0080, 0x01, 0x01)
1083 IO (Decode16, 0x0090, 0x0090, 0x01, 0x10)
1084 IO (Decode16, 0x0092, 0x0092, 0x01, 0x01)
1085 IO (Decode16, 0x00A4, 0x00A4, 0x01, 0x02)
1086 IO (Decode16, 0x00A8, 0x00A8, 0x01, 0x02)
1087 IO (Decode16, 0x00AC, 0x00AC, 0x01, 0x02)
1088 IO (Decode16, 0x00B0, 0x00B0, 0x01, 0x02)
1089 IO (Decode16, 0x00B2, 0x00B2, 0x01, 0x02)
1090 IO (Decode16, 0x00B4, 0x00B4, 0x01, 0x02)
1091 IO (Decode16, 0x00B8, 0x00B8, 0x01, 0x02)
1092 IO (Decode16, 0x00BC, 0x00BC, 0x01, 0x02)
1093 IO (Decode16, 0x04D0, 0x04D0, 0x01, 0x02)
1094 IO (Decode16, 0x0680, 0x0680, 0x01, 0x20)
1095 IO (Decode16, 0x0800, 0x0800, 0x01, 0x10)
1096 IO (Decode16, 0x1000, 0x1000, 0x01, 0x80)
1097 IO (Decode16, 0x1080, 0x1080, 0x01, 0x80)
1098 IO (Decode16, 0x1100, 0x1100, 0x01, 0x20)
1099 IO (Decode16, 0x1180, 0x1180, 0x01, 0x40)
1100 IO (Decode16, 0x1640, 0x1640, 0x01, 0x10)
1101 IO (Decode16, 0xF800, 0xF800, 0x01, 0x80)
1102 IO (Decode16, 0xF880, 0xF880, 0x01, 0x80)
1103 IO (Decode16, 0xFC00, 0xFC00, 0x01, 0x80)
1104 IO (Decode16, 0xFC80, 0xFC80, 0x01, 0x80)
1105 IO (Decode16, 0xFD00, 0xFD00, 0x01, 0x80)
1106 IO (Decode16, 0xFE00, 0xFE00, 0x01, 0x04)
1107 })
1108 Method (_CRS, 0, NotSerialized)
1109 {
1110 CreateWordField (RSRC, 0x013A, LPCB)
1111 CreateWordField (RSRC, 0x013C, LPCM)
1112 CreateByteField (RSRC, 0x013F, LPCL)
1113 CreateWordField (RSRC, 0x4A, TPMB)
1114 CreateWordField (RSRC, 0x4C, TPMM)
1115 CreateByteField (RSRC, 0x4F, TPML)
1116 If (TPRS)
1117 {
1118 Store (0xFD0C, LPCB)
1119 Store (0xFD0C, LPCM)
1120 Store (0x74, LPCL)
1121 Store (Zero, TPMB)
1122 Store (Zero, TPMM)
1123 Store (Zero, TPML)
1124 }
1125
1126 Return (RSRC)
1127 }
1128 }
1129
1130 Device (PDRC)
1131 {
1132 Name (_HID, EisaId ("PNP0C02"))
1133 Name (_UID, 0x01)
1134 Name (BUF0, ResourceTemplate ()
1135 {
1136 Memory32Fixed (ReadWrite, 0x00000000, 0x00004000)
1137 Memory32Fixed (ReadWrite, 0x00000000, 0x00004000)
1138 Memory32Fixed (ReadWrite, 0x00000000, 0x00001000)
1139 Memory32Fixed (ReadWrite, 0x00000000, 0x00001000)
1140 Memory32Fixed (ReadWrite, 0x00000000, 0x00000000)
1141 Memory32Fixed (ReadWrite, 0xFED20000, 0x00020000)
1142 Memory32Fixed (ReadWrite, 0xFED40000, 0x00005000)
1143 Memory32Fixed (ReadWrite, 0xFED45000, 0x0004B000)
1144 Memory32Fixed (ReadWrite, 0xFEF00000, 0x00100000)
1145 })
1146 Method (_CRS, 0, Serialized)
1147 {
1148 CreateDWordField (BUF0, 0x04, RBR0)
1149 ShiftLeft (\_SB.PCI0.LPCB.RCBA, 0x0E, RBR0)
1150 CreateDWordField (BUF0, 0x10, MBR0)
1151 ShiftLeft (\_SB.PCI0.MCHC.MHBR, 0x0E, MBR0)
1152 CreateDWordField (BUF0, 0x1C, DBR0)
1153 ShiftLeft (\_SB.PCI0.MCHC.DIBR, 0x0C, DBR0)
1154 CreateDWordField (BUF0, 0x28, EBR0)
1155 ShiftLeft (\_SB.PCI0.MCHC.EPBR, 0x0C, EBR0)
1156 CreateDWordField (BUF0, 0x34, XBR0)
1157 ShiftLeft (\_SB.PCI0.MCHC.PXBR, 0x1A, XBR0)
1158 CreateDWordField (BUF0, 0x38, XSZ0)
1159 ShiftRight (0x10000000, \_SB.PCI0.MCHC.PXSZ, XSZ0)
1160 If (TPRS)
1161 {
1162 CreateDWordField (BUF0, 0x50, TPML)
1163 Store (0x00, TPML)
1164 }
1165
1166 Return (BUF0)
1167 }
1168 }
1169
1170 Device (PEGP)
1171 {
1172 Name (_ADR, 0x00010000)
1173 Method (_PRT, 0, NotSerialized)
1174 {
1175 If (GPIC)
1176 {
1177 Return (Package (0x04)
1178 {
1179 Package (0x04)
1180 {
1181 0xFFFF,
1182 0x00,
1183 0x00,
1184 0x10
1185 },
1186
1187 Package (0x04)
1188 {
1189 0xFFFF,
1190 0x01,
1191 0x00,
1192 0x11
1193 },
1194
1195 Package (0x04)
1196 {
1197 0xFFFF,
1198 0x02,
1199 0x00,
1200 0x12
1201 },
1202
1203 Package (0x04)
1204 {
1205 0xFFFF,
1206 0x03,
1207 0x00,
1208 0x13
1209 }
1210 })
1211 }
1212 Else
1213 {
1214 Return (Package (0x04)
1215 {
1216 Package (0x04)
1217 {
1218 0xFFFF,
1219 0x00,
1220 \_SB.PCI0.LPCB.LNKA,
1221 0x00
1222 },
1223
1224 Package (0x04)
1225 {
1226 0xFFFF,
1227 0x01,
1228 \_SB.PCI0.LPCB.LNKB,
1229 0x00
1230 },
1231
1232 Package (0x04)
1233 {
1234 0xFFFF,
1235 0x02,
1236 \_SB.PCI0.LPCB.LNKC,
1237 0x00
1238 },
1239
1240 Package (0x04)
1241 {
1242 0xFFFF,
1243 0x03,
1244 \_SB.PCI0.LPCB.LNKD,
1245 0x00
1246 }
1247 })
1248 }
1249 }
1250
1251 Device (VGA)
1252 {
1253 Name (_ADR, 0x00)
1254 Method (XLCD, 0, NotSerialized)
1255 {
1256 Return (One)
1257 }
1258
1259 Method (XCRT, 0, NotSerialized)
1260 {
1261 Return (One)
1262 }
1263
1264 Method (XTV, 0, NotSerialized)
1265 {
1266 Return (One)
1267 }
1268
1269 Method (XDVI, 0, NotSerialized)
1270 {
1271 Return (One)
1272 }
1273
1274 Scope (\)
1275 {
1276 Name (WLCD, Zero)
1277 Name (WCRT, Zero)
1278 Name (WTV, Zero)
1279 Name (WDVI, Zero)
1280 }
1281
1282 Method (PHTK, 0, NotSerialized)
1283 {
1284 Store (Zero, DSWF)
1285 }
1286
1287 Name (F10T, Package (0x0A)
1288 {
1289 0x01,
1290 0x02,
1291 0x03,
1292 0x04,
1293 0x05,
1294 0x01,
1295 0x02,
1296 0x03,
1297 0x04,
1298 0x05
1299 })
1300 Method (AHTK, 0, NotSerialized)
1301 {
1302 If (LAnd (LEqual (And (ADOS, 0x03), Zero), DSWF))
1303 {
1304 UPDD ()
1305 If (LEqual (DSWF, 0x01))
1306 {
1307 Or (ShiftLeft (CDVI, 0x02), Or (ShiftLeft (CCRT, 0x01), CLCD), Local0)
1308 Or (ShiftLeft (ADVI, 0x02), Or (ShiftLeft (ACRT, 0x01), ALCD), Local1)
1309 Store (Zero, Local2)
1310 Store (0xFF, Local3)
1311 While (LAnd (LLess (Local2, 0x0A), LEqual (Local3, 0xFF)))
1312 {
1313 If (LEqual (DerefOf (Index (F10T, Local2)), Local0))
1314 {
1315 If (LAnd (CTV, ATV))
1316 {
1317 Store (Local2, Local3)
1318 }
1319 Else
1320 {
1321 Add (Local2, 0x01, Local3)
1322 }
1323 }
1324
1325 Increment (Local2)
1326 }
1327
1328 Store (0xFF, Local2)
1329 If (LNot (LEqual (Local3, 0xFF)))
1330 {
1331 While (LAnd (LLess (Local3, 0x0A), LEqual (Local2, 0xFF)))
1332 {
1333 If (LEqual (And (DerefOf (Index (F10T, Local3)), Local1), DerefOf (Index (F10T, Local3))))
1334 {
1335 Store (DerefOf (Index (F10T, Local3)), Local2)
1336 }
1337
1338 Increment (Local3)
1339 }
1340 }
1341
1342 If (LEqual (Local2, 0xFF))
1343 {
1344 If (ALCD)
1345 {
1346 Store (0x01, Local2)
1347 }
1348 Else
1349 {
1350 If (ACRT)
1351 {
1352 Store (0x02, Local2)
1353 }
1354 Else
1355 {
1356 If (ADVI)
1357 {
1358 Store (0x04, Local2)
1359 }
1360 Else
1361 {
1362 Store (0x02, Local2)
1363 }
1364 }
1365 }
1366 }
1367
1368 And (Local2, 0x01, WLCD)
1369 ShiftRight (And (Local2, 0x02), 0x01, WCRT)
1370 ShiftRight (And (Local2, 0x04), 0x02, WDVI)
1371 Store (Zero, WTV)
1372 Notify (\_SB.PCI0.PEGP.VGA, 0x80)
1373 }
1374 Else
1375 {
1376 If (LEqual (DSWF, 0x02))
1377 {
1378 And (CLCD, ALCD, WLCD)
1379 And (CCRT, ACRT, WCRT)
1380 And (CDVI, ADVI, WDVI)
1381 And (XOr (CTV, 0x01), ATV, WTV)
1382 If (LOr (LOr (WTV, WDVI), LOr (WCRT, WLCD)))
1383 {
1384 If (LAnd (LAnd (WLCD, WCRT), WTV))
1385 {
1386 Store (Zero, WCRT)
1387 }
1388
1389 If (LAnd (LAnd (WLCD, WDVI), WTV))
1390 {
1391 Store (Zero, WDVI)
1392 }
1393
1394 If (LAnd (LAnd (WCRT, WDVI), WTV))
1395 {
1396 Store (Zero, WDVI)
1397 }
1398
1399 Notify (\_SB.PCI0.PEGP.VGA, 0x80)
1400 }
1401 }
1402 }
1403 }
1404 }
1405
1406 Method (UPDD, 0, NotSerialized)
1407 {
1408 Store (0xFF, DID)
1409 Store (0x8E, BCMD)
1410 Store (Zero, SMIC)
1411 }
1412
1413 Method (_DOS, 1, NotSerialized)
1414 {
1415 And (Arg0, 0x07, ADOS)
1416 }
1417
1418 Method (_DOD, 0, NotSerialized)
1419 {
1420 Return (Package (0x04)
1421 {
1422 0x00010100,
1423 0x00010110,
1424 0x00010200,
1425 0x00010210
1426 })
1427 }
1428
1429 Device (CRT)
1430 {
1431 Method (_ADR, 0, NotSerialized)
1432 {
1433 Return (0x0100)
1434 }
1435
1436 Method (_DCS, 0, NotSerialized)
1437 {
1438 If (XCRT ())
1439 {
1440 UPDD ()
1441 Return (Or (0x0D, Or (ShiftLeft (ACRT, 0x04), ShiftLeft (CCRT, 0x01))))
1442 }
1443 Else
1444 {
1445 Return (Zero)
1446 }
1447 }
1448
1449 Method (_DGS, 0, NotSerialized)
1450 {
1451 Return (WCRT)
1452 }
1453
1454 Method (_DSS, 1, NotSerialized)
1455 {
1456 Noop
1457 }
1458 }
1459
1460 Device (LCD)
1461 {
1462 Method (_ADR, 0, NotSerialized)
1463 {
1464 Return (0x0110)
1465 }
1466
1467 Method (_DCS, 0, NotSerialized)
1468 {
1469 If (XLCD ())
1470 {
1471 UPDD ()
1472 Return (Or (0x0D, Or (ShiftLeft (ALCD, 0x04), ShiftLeft (CLCD, 0x01))))
1473 }
1474 Else
1475 {
1476 Return (Zero)
1477 }
1478 }
1479
1480 Method (_DGS, 0, NotSerialized)
1481 {
1482 Return (WLCD)
1483 }
1484
1485 Method (_DSS, 1, NotSerialized)
1486 {
1487 Noop
1488 }
1489 }
1490
1491 Device (TV)
1492 {
1493 Method (_ADR, 0, NotSerialized)
1494 {
1495 Return (0x0200)
1496 }
1497
1498 Method (_DCS, 0, NotSerialized)
1499 {
1500 If (XTV ())
1501 {
1502 UPDD ()
1503 Return (Or (0x0D, Or (ShiftLeft (ATV, 0x04), ShiftLeft (CTV, 0x01))))
1504 }
1505 Else
1506 {
1507 Return (Zero)
1508 }
1509 }
1510
1511 Method (_DGS, 0, NotSerialized)
1512 {
1513 Return (WTV)
1514 }
1515
1516 Method (_DSS, 1, NotSerialized)
1517 {
1518 Noop
1519 }
1520 }
1521
1522 Device (DVI)
1523 {
1524 Method (_ADR, 0, NotSerialized)
1525 {
1526 Return (0x0210)
1527 }
1528
1529 Method (_DCS, 0, NotSerialized)
1530 {
1531 If (XDVI ())
1532 {
1533 UPDD ()
1534 Return (Or (0x0D, Or (ShiftLeft (ADVI, 0x04), ShiftLeft (CDVI, 0x01))))
1535 }
1536 Else
1537 {
1538 Return (Zero)
1539 }
1540 }
1541
1542 Method (_DGS, 0, NotSerialized)
1543 {
1544 Return (WDVI)
1545 }
1546
1547 Method (_DSS, 1, NotSerialized)
1548 {
1549 Noop
1550 }
1551 }
1552 }
1553 }
1554
1555 Device (LANC)
1556 {
1557 Name (_ADR, 0x00190000)
1558 OperationRegion (LANF, PCI_Config, 0xCC, 0x04)
1559 Field (LANF, DWordAcc, NoLock, Preserve)
1560 {
1561 , 15,
1562 PMES, 1
1563 }
1564
1565 Name (_PRW, Package (0x02)
1566 {
1567 0x0D,
1568 0x05
1569 })
1570 }
1571
1572 Device (HDEF)
1573 {
1574 Name (_ADR, 0x001B0000)
1575 OperationRegion (HDCS, PCI_Config, 0x54, 0x04)
1576 Field (HDCS, DWordAcc, NoLock, Preserve)
1577 {
1578 , 15,
1579 PMES, 1
1580 }
1581
1582 Name (_PRW, Package (0x02)
1583 {
1584 0x0D,
1585 0x03
1586 })
1587 Name (_PSC, 0x00)
1588 Method (_PS0, 0, NotSerialized)
1589 {
1590 Store (0x00, _PSC)
1591 If (LAnd (HDWA, LNot (LLess (\_SB.OSTP (), 0x40))))
1592 {
1593 Store (Zero, HDWA)
1594 Sleep (0x01F4)
1595 }
1596 }
1597
1598 Method (_PS3, 0, NotSerialized)
1599 {
1600 Store (0x03, _PSC)
1601 }
1602 }
1603
1604 Device (RP01)
1605 {
1606 Name (_ADR, 0x001C0000)
1607 OperationRegion (P1CS, PCI_Config, 0x40, 0xC0)
1608 Field (P1CS, AnyAcc, NoLock, WriteAsZeros)
1609 {
1610 Offset (0x12),
1611 , 13,
1612 LAS1, 1,
1613 Offset (0x1A),
1614 ABP1, 1,
1615 , 2,
1616 PDC1, 1,
1617 , 2,
1618 PDS1, 1,
1619 LSC1, 1,
1620 Offset (0x20),
1621 Offset (0x22),
1622 PSP1, 1,
1623 Offset (0x9C),
1624 , 30,
1625 HPS1, 1,
1626 PMS1, 1
1627 }
1628
1629 Device (PXS1)
1630 {
1631 Name (_ADR, 0x00)
1632 }
1633
1634 Method (_PRT, 0, NotSerialized)
1635 {
1636 If (\GPIC)
1637 {
1638 Return (Package (0x04)
1639 {
1640 Package (0x04)
1641 {
1642 0xFFFF,
1643 0x00,
1644 0x00,
1645 0x10
1646 },
1647
1648 Package (0x04)
1649 {
1650 0xFFFF,
1651 0x01,
1652 0x00,
1653 0x11
1654 },
1655
1656 Package (0x04)
1657 {
1658 0xFFFF,
1659 0x02,
1660 0x00,
1661 0x12
1662 },
1663
1664 Package (0x04)
1665 {
1666 0xFFFF,
1667 0x03,
1668 0x00,
1669 0x13
1670 }
1671 })
1672 }
1673 Else
1674 {
1675 Return (Package (0x04)
1676 {
1677 Package (0x04)
1678 {
1679 0xFFFF,
1680 0x00,
1681 \_SB.PCI0.LPCB.LNKA,
1682 0x00
1683 },
1684
1685 Package (0x04)
1686 {
1687 0xFFFF,
1688 0x01,
1689 \_SB.PCI0.LPCB.LNKB,
1690 0x00
1691 },
1692
1693 Package (0x04)
1694 {
1695 0xFFFF,
1696 0x02,
1697 \_SB.PCI0.LPCB.LNKC,
1698 0x00
1699 },
1700
1701 Package (0x04)
1702 {
1703 0xFFFF,
1704 0x03,
1705 \_SB.PCI0.LPCB.LNKD,
1706 0x00
1707 }
1708 })
1709 }
1710 }
1711 }
1712
1713 Device (RP02)
1714 {
1715 Name (_ADR, 0x001C0001)
1716 OperationRegion (P2CS, PCI_Config, 0x40, 0xC0)
1717 Field (P2CS, AnyAcc, NoLock, WriteAsZeros)
1718 {
1719 Offset (0x12),
1720 , 13,
1721 LAS2, 1,
1722 Offset (0x1A),
1723 ABP2, 1,
1724 , 2,
1725 PDC2, 1,
1726 , 2,
1727 PDS2, 1,
1728 Offset (0x1B),
1729 LSC2, 1,
1730 Offset (0x20),
1731 Offset (0x22),
1732 PSP2, 1,
1733 Offset (0x9C),
1734 , 30,
1735 HPS2, 1,
1736 PMS2, 1
1737 }
1738
1739 Device (PXS2)
1740 {
1741 Name (_ADR, 0x00)
1742 }
1743
1744 Method (_PRT, 0, NotSerialized)
1745 {
1746 If (\GPIC)
1747 {
1748 Return (Package (0x04)
1749 {
1750 Package (0x04)
1751 {
1752 0xFFFF,
1753 0x00,
1754 0x00,
1755 0x11
1756 },
1757
1758 Package (0x04)
1759 {
1760 0xFFFF,
1761 0x01,
1762 0x00,
1763 0x12
1764 },
1765
1766 Package (0x04)
1767 {
1768 0xFFFF,
1769 0x02,
1770 0x00,
1771 0x13
1772 },
1773
1774 Package (0x04)
1775 {
1776 0xFFFF,
1777 0x03,
1778 0x00,
1779 0x10
1780 }
1781 })
1782 }
1783 Else
1784 {
1785 Return (Package (0x04)
1786 {
1787 Package (0x04)
1788 {
1789 0xFFFF,
1790 0x00,
1791 \_SB.PCI0.LPCB.LNKB,
1792 0x00
1793 },
1794
1795 Package (0x04)
1796 {
1797 0xFFFF,
1798 0x01,
1799 \_SB.PCI0.LPCB.LNKC,
1800 0x00
1801 },
1802
1803 Package (0x04)
1804 {
1805 0xFFFF,
1806 0x02,
1807 \_SB.PCI0.LPCB.LNKD,
1808 0x00
1809 },
1810
1811 Package (0x04)
1812 {
1813 0xFFFF,
1814 0x03,
1815 \_SB.PCI0.LPCB.LNKA,
1816 0x00
1817 }
1818 })
1819 }
1820 }
1821 }
1822
1823 Device (RP03)
1824 {
1825 Name (_ADR, 0x001C0002)
1826 OperationRegion (P3CS, PCI_Config, 0x40, 0x0100)
1827 Field (P3CS, AnyAcc, NoLock, WriteAsZeros)
1828 {
1829 Offset (0x12),
1830 , 13,
1831 LAS3, 1,
1832 Offset (0x1A),
1833 ABP3, 1,
1834 , 2,
1835 PDC3, 1,
1836 , 2,
1837 PDS3, 1,
1838 Offset (0x1B),
1839 LSC3, 1,
1840 Offset (0x20),
1841 Offset (0x22),
1842 PSP3, 1,
1843 Offset (0x9C),
1844 , 30,
1845 HPS3, 1,
1846 PMS3, 1
1847 }
1848
1849 Device (PXS3)
1850 {
1851 Name (_ADR, 0x00)
1852 }
1853
1854 Method (_PRT, 0, NotSerialized)
1855 {
1856 If (\GPIC)
1857 {
1858 Return (Package (0x04)
1859 {
1860 Package (0x04)
1861 {
1862 0xFFFF,
1863 0x00,
1864 0x00,
1865 0x12
1866 },
1867
1868 Package (0x04)
1869 {
1870 0xFFFF,
1871 0x01,
1872 0x00,
1873 0x13
1874 },
1875
1876 Package (0x04)
1877 {
1878 0xFFFF,
1879 0x02,
1880 0x00,
1881 0x10
1882 },
1883
1884 Package (0x04)
1885 {
1886 0xFFFF,
1887 0x03,
1888 0x00,
1889 0x11
1890 }
1891 })
1892 }
1893 Else
1894 {
1895 Return (Package (0x04)
1896 {
1897 Package (0x04)
1898 {
1899 0xFFFF,
1900 0x00,
1901 \_SB.PCI0.LPCB.LNKC,
1902 0x00
1903 },
1904
1905 Package (0x04)
1906 {
1907 0xFFFF,
1908 0x01,
1909 \_SB.PCI0.LPCB.LNKD,
1910 0x00
1911 },
1912
1913 Package (0x04)
1914 {
1915 0xFFFF,
1916 0x02,
1917 \_SB.PCI0.LPCB.LNKA,
1918 0x00
1919 },
1920
1921 Package (0x04)
1922 {
1923 0xFFFF,
1924 0x03,
1925 \_SB.PCI0.LPCB.LNKB,
1926 0x00
1927 }
1928 })
1929 }
1930 }
1931 }
1932
1933 Device (RP04)
1934 {
1935 Name (_ADR, 0x001C0003)
1936 OperationRegion (P4CS, PCI_Config, 0x40, 0xC0)
1937 Field (P4CS, AnyAcc, NoLock, WriteAsZeros)
1938 {
1939 Offset (0x12),
1940 , 13,
1941 LAS4, 1,
1942 Offset (0x1A),
1943 ABP4, 1,
1944 , 2,
1945 PDC4, 1,
1946 , 2,
1947 PDS4, 1,
1948 Offset (0x1B),
1949 LSC4, 1,
1950 Offset (0x20),
1951 Offset (0x22),
1952 PSP4, 1,
1953 Offset (0x9C),
1954 , 30,
1955 HPS4, 1,
1956 PMS4, 1
1957 }
1958
1959 Device (PXS4)
1960 {
1961 Name (_ADR, 0x00)
1962 }
1963
1964 Method (_PRT, 0, NotSerialized)
1965 {
1966 If (\GPIC)
1967 {
1968 Return (Package (0x04)
1969 {
1970 Package (0x04)
1971 {
1972 0xFFFF,
1973 0x00,
1974 0x00,
1975 0x13
1976 },
1977
1978 Package (0x04)
1979 {
1980 0xFFFF,
1981 0x01,
1982 0x00,
1983 0x10
1984 },
1985
1986 Package (0x04)
1987 {
1988 0xFFFF,
1989 0x02,
1990 0x00,
1991 0x11
1992 },
1993
1994 Package (0x04)
1995 {
1996 0xFFFF,
1997 0x03,
1998 0x00,
1999 0x12
2000 }
2001 })
2002 }
2003 Else
2004 {
2005 Return (Package (0x04)
2006 {
2007 Package (0x04)
2008 {
2009 0xFFFF,
2010 0x00,
2011 \_SB.PCI0.LPCB.LNKD,
2012 0x00
2013 },
2014
2015 Package (0x04)
2016 {
2017 0xFFFF,
2018 0x01,
2019 \_SB.PCI0.LPCB.LNKA,
2020 0x00
2021 },
2022
2023 Package (0x04)
2024 {
2025 0xFFFF,
2026 0x02,
2027 \_SB.PCI0.LPCB.LNKB,
2028 0x00
2029 },
2030
2031 Package (0x04)
2032 {
2033 0xFFFF,
2034 0x03,
2035 \_SB.PCI0.LPCB.LNKC,
2036 0x00
2037 }
2038 })
2039 }
2040 }
2041 }
2042
2043 Device (RP05)
2044 {
2045 Name (_ADR, 0x001C0004)
2046 OperationRegion (P5CS, PCI_Config, 0x40, 0x0100)
2047 Field (P5CS, AnyAcc, NoLock, WriteAsZeros)
2048 {
2049 SBSR, 1,
2050 Offset (0x12),
2051 , 13,
2052 LAS5, 1,
2053 Offset (0x1A),
2054 ABP5, 1,
2055 , 2,
2056 PDC5, 1,
2057 , 2,
2058 PDS5, 1,
2059 Offset (0x1B),
2060 LSC5, 1,
2061 Offset (0x20),
2062 Offset (0x22),
2063 PSP5, 1,
2064 Offset (0x9C),
2065 , 30,
2066 HPS5, 1,
2067 PMS5, 1
2068 }
2069
2070 Device (PXS5)
2071 {
2072 Name (_ADR, 0x00)
2073 }
2074
2075 Method (_PRT, 0, NotSerialized)
2076 {
2077 If (\GPIC)
2078 {
2079 Return (Package (0x04)
2080 {
2081 Package (0x04)
2082 {
2083 0xFFFF,
2084 0x00,
2085 0x00,
2086 0x10
2087 },
2088
2089 Package (0x04)
2090 {
2091 0xFFFF,
2092 0x01,
2093 0x00,
2094 0x11
2095 },
2096
2097 Package (0x04)
2098 {
2099 0xFFFF,
2100 0x02,
2101 0x00,
2102 0x12
2103 },
2104
2105 Package (0x04)
2106 {
2107 0xFFFF,
2108 0x03,
2109 0x00,
2110 0x13
2111 }
2112 })
2113 }
2114 Else
2115 {
2116 Return (Package (0x04)
2117 {
2118 Package (0x04)
2119 {
2120 0xFFFF,
2121 0x00,
2122 \_SB.PCI0.LPCB.LNKA,
2123 0x00
2124 },
2125
2126 Package (0x04)
2127 {
2128 0xFFFF,
2129 0x01,
2130 \_SB.PCI0.LPCB.LNKB,
2131 0x00
2132 },
2133
2134 Package (0x04)
2135 {
2136 0xFFFF,
2137 0x02,
2138 \_SB.PCI0.LPCB.LNKC,
2139 0x00
2140 },
2141
2142 Package (0x04)
2143 {
2144 0xFFFF,
2145 0x03,
2146 \_SB.PCI0.LPCB.LNKD,
2147 0x00
2148 }
2149 })
2150 }
2151 }
2152 }
2153
2154 Device (RP06)
2155 {
2156 Name (_ADR, 0x001C0005)
2157 OperationRegion (P6CS, PCI_Config, 0x40, 0x0100)
2158 Field (P6CS, AnyAcc, NoLock, WriteAsZeros)
2159 {
2160 Offset (0x12),
2161 , 13,
2162 LAS6, 1,
2163 Offset (0x1A),
2164 ABP6, 1,
2165 , 2,
2166 PDC6, 1,
2167 , 2,
2168 PDS6, 1,
2169 Offset (0x1B),
2170 LSC6, 1,
2171 Offset (0x20),
2172 Offset (0x22),
2173 PSP6, 1,
2174 Offset (0x9C),
2175 , 30,
2176 HPS6, 1,
2177 PMS6, 1
2178 }
2179
2180 Device (PXS6)
2181 {
2182 Name (_ADR, 0x00)
2183 }
2184
2185 Method (_PRT, 0, NotSerialized)
2186 {
2187 If (\GPIC)
2188 {
2189 Return (Package (0x04)
2190 {
2191 Package (0x04)
2192 {
2193 0xFFFF,
2194 0x00,
2195 0x00,
2196 0x11
2197 },
2198
2199 Package (0x04)
2200 {
2201 0xFFFF,
2202 0x01,
2203 0x00,
2204 0x12
2205 },
2206
2207 Package (0x04)
2208 {
2209 0xFFFF,
2210 0x02,
2211 0x00,
2212 0x13
2213 },
2214
2215 Package (0x04)
2216 {
2217 0xFFFF,
2218 0x03,
2219 0x00,
2220 0x10
2221 }
2222 })
2223 }
2224 Else
2225 {
2226 Return (Package (0x04)
2227 {
2228 Package (0x04)
2229 {
2230 0xFFFF,
2231 0x00,
2232 \_SB.PCI0.LPCB.LNKB,
2233 0x00
2234 },
2235
2236 Package (0x04)
2237 {
2238 0xFFFF,
2239 0x01,
2240 \_SB.PCI0.LPCB.LNKC,
2241 0x00
2242 },
2243
2244 Package (0x04)
2245 {
2246 0xFFFF,
2247 0x02,
2248 \_SB.PCI0.LPCB.LNKD,
2249 0x00
2250 },
2251
2252 Package (0x04)
2253 {
2254 0xFFFF,
2255 0x03,
2256 \_SB.PCI0.LPCB.LNKA,
2257 0x00
2258 }
2259 })
2260 }
2261 }
2262 }
2263
2264 Scope (PXS1)
2265 {
2266 Name (_PRW, Package (0x02)
2267 {
2268 0x09,
2269 0x04
2270 })
2271 OperationRegion (MVLN, PCI_Config, 0x4C, 0x08)
2272 Field (MVLN, AnyAcc, NoLock, Preserve)
2273 {
2274 Offset (0x01),
2275 PMEN, 1
2276 }
2277
2278 Method (_PSW, 1, NotSerialized)
2279 {
2280 If (Arg0)
2281 {
2282 Store (Ones, PMEN)
2283 }
2284 Else
2285 {
2286 Store (Zero, PMEN)
2287 }
2288 }
2289 }
2290
2291 Scope (PXS4)
2292 {
2293 Name (_EJD, "\\_SB.PCI0.EHC1.HUB7.PRT6")
2294 Method (_STA, 0, NotSerialized)
2295 {
2296 If (PXRS)
2297 {
2298 Return (0x0F)
2299 }
2300 Else
2301 {
2302 Return (0x00)
2303 }
2304 }
2305
2306 Name (_PRW, Package (0x02)
2307 {
2308 0x09,
2309 0x04
2310 })
2311 Method (_RMV, 0, NotSerialized)
2312 {
2313 Return (One)
2314 }
2315
2316 Method (EXIN, 0, NotSerialized)
2317 {
2318 Sleep (0x64)
2319 Store (Zero, PXCL)
2320 Sleep (0x01)
2321 Store (One, PXRS)
2322 Store (Zero, EXPL)
2323 }
2324
2325 Method (EXRM, 0, NotSerialized)
2326 {
2327 Store (Zero, PXRS)
2328 Store (One, PXCL)
2329 Store (One, EXPL)
2330 }
2331 }
2332
2333 Device (USB1)
2334 {
2335 Name (_ADR, 0x001D0000)
2336 }
2337
2338 Device (USB2)
2339 {
2340 Name (_ADR, 0x001D0001)
2341 }
2342
2343 Device (USB3)
2344 {
2345 Name (_ADR, 0x001D0002)
2346 }
2347
2348 Device (USB4)
2349 {
2350 Name (_ADR, 0x001A0000)
2351 }
2352
2353 Device (USB5)
2354 {
2355 Name (_ADR, 0x001A0001)
2356 Device (HUB5)
2357 {
2358 Name (_ADR, 0x00)
2359 Device (PRT1)
2360 {
2361 Name (_EJD, "\\_SB.PCI0.RP03.PXS3")
2362 Name (_ADR, 0x01)
2363 }
2364 }
2365 }
2366
2367 Device (EHC1)
2368 {
2369 Name (_ADR, 0x001D0007)
2370 OperationRegion (U7CS, PCI_Config, 0x54, 0x04)
2371 Field (U7CS, DWordAcc, NoLock, Preserve)
2372 {
2373 , 15,
2374 PMES, 1
2375 }
2376
2377 Device (HUB7)
2378 {
2379 Name (_ADR, 0x00)
2380 Device (PRT1)
2381 {
2382 Name (_ADR, 0x01)
2383 }
2384
2385 Device (PRT2)
2386 {
2387 Name (_ADR, 0x02)
2388 }
2389
2390 Device (PRT3)
2391 {
2392 Name (_ADR, 0x03)
2393 }
2394
2395 Device (PRT4)
2396 {
2397 Name (_ADR, 0x04)
2398 }
2399
2400 Device (PRT5)
2401 {
2402 Name (_ADR, 0x05)
2403 }
2404
2405 Device (PRT6)
2406 {
2407 Name (_ADR, 0x06)
2408 Name (_EJD, "\\_SB.PCI0.RP04.PXS4")
2409 }
2410 }
2411 }
2412
2413 Device (EHC2)
2414 {
2415 Name (_ADR, 0x001A0007)
2416 OperationRegion (UFCS, PCI_Config, 0x54, 0x04)
2417 Field (UFCS, DWordAcc, NoLock, Preserve)
2418 {
2419 , 15,
2420 PMES, 1
2421 }
2422
2423 Device (HUB7)
2424 {
2425 Name (_ADR, 0x00)
2426 Device (PRT1)
2427 {
2428 Name (_ADR, 0x01)
2429 }
2430
2431 Device (PRT2)
2432 {
2433 Name (_ADR, 0x02)
2434 }
2435
2436 Device (PRT3)
2437 {
2438 Name (_ADR, 0x03)
2439 }
2440
2441 Device (PRT4)
2442 {
2443 Name (_ADR, 0x04)
2444 }
2445 }
2446 }
2447
2448 Device (PCIB)
2449 {
2450 Name (_ADR, 0x001E0000)
2451 Method (_PRT, 0, NotSerialized)
2452 {
2453 If (GPIC)
2454 {
2455 Return (Package (0x01)
2456 {
2457 Package (0x04)
2458 {
2459 0x0003FFFF,
2460 0x00,
2461 0x00,
2462 0x11
2463 }
2464 })
2465 }
2466 Else
2467 {
2468 Return (Package (0x01)
2469 {
2470 Package (0x04)
2471 {
2472 0x0003FFFF,
2473 0x00,
2474 \_SB.PCI0.LPCB.LNKB,
2475 0x00
2476 }
2477 })
2478 }
2479 }
2480
2481 Name (_PRW, Package (0x02)
2482 {
2483 0x0B,
2484 0x04
2485 })
2486 }
2487
2488 Device (LPCB)
2489 {
2490 Name (_ADR, 0x001F0000)
2491 OperationRegion (LPC0, PCI_Config, 0x40, 0xC0)
2492 Field (LPC0, AnyAcc, NoLock, Preserve)
2493 {
2494 Offset (0x20),
2495 PARC, 8,
2496 PBRC, 8,
2497 PCRC, 8,
2498 PDRC, 8,
2499 Offset (0x28),
2500 PERC, 8,
2501 PFRC, 8,
2502 PGRC, 8,
2503 PHRC, 8,
2504 Offset (0x40),
2505 IOD0, 8,
2506 IOD1, 8,
2507 Offset (0x60),
2508 , 2,
2509 CLKR, 1,
2510 Offset (0xB0),
2511 RAEN, 1,
2512 , 13,
2513 RCBA, 18
2514 }
2515
2516 OperationRegion (SIO, SystemIO, 0x2E, 0x02)
2517 OperationRegion (FJIO, SystemIO, 0xFD60, 0x15)
2518 Scope (\)
2519 {
2520 Field (\_SB.PCI0.LPCB.FJIO, ByteAcc, NoLock, Preserve)
2521 {
2522 AIDC, 8,
2523 ADTC, 8,
2524 AIDB, 8,
2525 ADTB, 8,
2526 AIDA, 8,
2527 ADTA, 8,
2528 AIDD, 8,
2529 ADTD, 8,
2530 Offset (0x10),
2531 PMID, 8,
2532 Offset (0x14),
2533 PMDT, 8
2534 }
2535 }
2536
2537 OperationRegion (PMIO, SystemIO, 0x1000, 0x80)
2538 OperationRegion (OGIO, SystemIO, 0x1180, 0x3C)
2539 Scope (\)
2540 {
2541 Field (\_SB.PCI0.LPCB.PMIO, ByteAcc, NoLock, Preserve)
2542 {
2543 Offset (0x10),
2544 Offset (0x11),
2545 FOCT, 1,
2546 Offset (0x42),
2547 , 1,
2548 GPEC, 1,
2549 Offset (0x64),
2550 , 9,
2551 SCIS, 1
2552 }
2553
2554 Field (\_SB.PCI0.LPCB.OGIO, ByteAcc, NoLock, Preserve)
2555 {
2556 Offset (0x0C),
2557 , 20,
2558 SMDP, 1,
2559 Offset (0x2C),
2560 Offset (0x2D),
2561 LPOL, 1,
2562 , 4,
2563 EXPL, 1,
2564 Offset (0x38),
2565 , 1,
2566 PXRS, 1,
2567 PXCL, 1
2568 }
2569 }
2570
2571 Scope (\)
2572 {
2573 Name (TCDT, 0x69)
2574 Name (TCUT, 0x64)
2575 }
2576
2577 Method (TINI, 0, NotSerialized)
2578 {
2579 If (TCOV)
2580 {
2581 Store (CUOV, TCUT)
2582 Store (CDOV, TCDT)
2583 }
2584 Else
2585 {
2586 If (TJ85)
2587 {
2588 Store (0x55, TCUT)
2589 Store (0x5A, TCDT)
2590 }
2591 }
2592
2593 Add (TCUT, 0x40, TCUT)
2594 Add (TCDT, 0x40, TCDT)
2595 }
2596
2597 Method (TCTR, 0, NotSerialized)
2598 {
2599 If (LNot (LLess (PDAT, TCDT)))
2600 {
2601 If (CondRefOf (\_PR.CPU0._PPC, Local0))
2602 {
2603 If (LLess (\_PR.CPU0._PPC, Subtract (PSNM, 0x01)))
2604 {
2605 Increment (\_PR.CPU0._PPC)
2606 Notify (\_PR.CPU0, 0x80)
2607 }
2608 }
2609
2610 If (MPEN)
2611 {
2612 If (CondRefOf (\_PR.CPU1._PPC, Local1))
2613 {
2614 If (LLess (\_PR.CPU1._PPC, Subtract (PSNM, 0x01)))
2615 {
2616 Increment (\_PR.CPU1._PPC)
2617 Notify (\_PR.CPU1, 0x80)
2618 }
2619 }
2620 }
2621 }
2622
2623 If (LNot (LGreater (PDAT, TCUT)))
2624 {
2625 If (CondRefOf (\_PR.CPU0._PPC, Local2))
2626 {
2627 If (\_PR.CPU0._PPC)
2628 {
2629 Decrement (\_PR.CPU0._PPC)
2630 Notify (\_PR.CPU0, 0x80)
2631 }
2632 }
2633
2634 If (MPEN)
2635 {
2636 If (CondRefOf (\_PR.CPU1._PPC, Local3))
2637 {
2638 If (\_PR.CPU1._PPC)
2639 {
2640 Decrement (\_PR.CPU1._PPC)
2641 Notify (\_PR.CPU1, 0x80)
2642 }
2643 }
2644 }
2645 }
2646 }
2647
2648 Method (TPTS, 0, NotSerialized)
2649 {
2650 If (CondRefOf (\_PR.CPU0._PPC, Local0))
2651 {
2652 Store (Zero, \_PR.CPU0._PPC)
2653 Notify (\_PR.CPU0, 0x80)
2654 }
2655
2656 If (MPEN)
2657 {
2658 If (CondRefOf (\_PR.CPU1._PPC, Local1))
2659 {
2660 Store (Zero, \_PR.CPU1._PPC)
2661 Notify (\_PR.CPU1, 0x80)
2662 }
2663 }
2664 }
2665
2666 Method (TWAK, 0, NotSerialized)
2667 {
2668 If (LNot (LLess (PDAT, TCDT)))
2669 {
2670 If (CondRefOf (\_PR.CPU0._PPC, Local0))
2671 {
2672 If (LLess (\_PR.CPU0._PPC, Subtract (PSNM, 0x01)))
2673 {
2674 Increment (\_PR.CPU0._PPC)
2675 Notify (\_PR.CPU0, 0x80)
2676 }
2677 }
2678
2679 If (MPEN)
2680 {
2681 If (CondRefOf (\_PR.CPU1._PPC, Local1))
2682 {
2683 If (LLess (\_PR.CPU1._PPC, Subtract (PSNM, 0x01)))
2684 {
2685 Increment (\_PR.CPU1._PPC)
2686 Notify (\_PR.CPU1, 0x80)
2687 }
2688 }
2689 }
2690 }
2691 }
2692
2693 Device (LNKA)
2694 {
2695 Name (_HID, EisaId ("PNP0C0F"))
2696 Name (_UID, 0x01)
2697 Method (_DIS, 0, Serialized)
2698 {
2699 Store (0x80, PARC)
2700 }
2701
2702 Name (_PRS, ResourceTemplate ()
2703 {
2704 IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,10,12,14,15}
2705 })
2706 Method (_CRS, 0, Serialized)
2707 {
2708 Name (RTLA, ResourceTemplate ()
2709 {
2710 IRQ (Level, ActiveLow, Shared) {}
2711 })
2712 CreateWordField (RTLA, 0x01, IRQ0)
2713 Store (Zero, IRQ0)
2714 ShiftLeft (0x01, And (PARC, 0x0F), IRQ0)
2715 Return (RTLA)
2716 }
2717
2718 Method (_SRS, 1, Serialized)
2719 {
2720 CreateWordField (Arg0, 0x01, IRQ0)
2721 FindSetRightBit (IRQ0, Local0)
2722 Decrement (Local0)
2723 Store (Local0, PARC)
2724 }
2725
2726 Method (_STA, 0, Serialized)
2727 {
2728 If (And (PARC, 0x80))
2729 {
2730 Return (0x09)
2731 }
2732 Else
2733 {
2734 Return (0x0B)
2735 }
2736 }
2737 }
2738
2739 Device (LNKB)
2740 {
2741 Name (_HID, EisaId ("PNP0C0F"))
2742 Name (_UID, 0x02)
2743 Method (_DIS, 0, Serialized)
2744 {
2745 Store (0x80, PBRC)
2746 }
2747
2748 Name (_PRS, ResourceTemplate ()
2749 {
2750 IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,11,12,14,15}
2751 })
2752 Method (_CRS, 0, Serialized)
2753 {
2754 Name (RTLB, ResourceTemplate ()
2755 {
2756 IRQ (Level, ActiveLow, Shared) {}
2757 })
2758 CreateWordField (RTLB, 0x01, IRQ0)
2759 Store (Zero, IRQ0)
2760 ShiftLeft (0x01, And (PBRC, 0x0F), IRQ0)
2761 Return (RTLB)
2762 }
2763
2764 Method (_SRS, 1, Serialized)
2765 {
2766 CreateWordField (Arg0, 0x01, IRQ0)
2767 FindSetRightBit (IRQ0, Local0)
2768 Decrement (Local0)
2769 Store (Local0, PBRC)
2770 }
2771
2772 Method (_STA, 0, Serialized)
2773 {
2774 If (And (PBRC, 0x80))
2775 {
2776 Return (0x09)
2777 }
2778 Else
2779 {
2780 Return (0x0B)
2781 }
2782 }
2783 }
2784
2785 Device (LNKC)
2786 {
2787 Name (_HID, EisaId ("PNP0C0F"))
2788 Name (_UID, 0x03)
2789 Method (_DIS, 0, Serialized)
2790 {
2791 Store (0x80, PCRC)
2792 }
2793
2794 Name (_PRS, ResourceTemplate ()
2795 {
2796 IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,10,12,14,15}
2797 })
2798 Method (_CRS, 0, Serialized)
2799 {
2800 Name (RTLC, ResourceTemplate ()
2801 {
2802 IRQ (Level, ActiveLow, Shared) {}
2803 })
2804 CreateWordField (RTLC, 0x01, IRQ0)
2805 Store (Zero, IRQ0)
2806 ShiftLeft (0x01, And (PCRC, 0x0F), IRQ0)
2807 Return (RTLC)
2808 }
2809
2810 Method (_SRS, 1, Serialized)
2811 {
2812 CreateWordField (Arg0, 0x01, IRQ0)
2813 FindSetRightBit (IRQ0, Local0)
2814 Decrement (Local0)
2815 Store (Local0, PCRC)
2816 }
2817
2818 Method (_STA, 0, Serialized)
2819 {
2820 If (And (PCRC, 0x80))
2821 {
2822 Return (0x09)
2823 }
2824 Else
2825 {
2826 Return (0x0B)
2827 }
2828 }
2829 }
2830
2831 Device (LNKD)
2832 {
2833 Name (_HID, EisaId ("PNP0C0F"))
2834 Name (_UID, 0x04)
2835 Method (_DIS, 0, Serialized)
2836 {
2837 Store (0x80, PDRC)
2838 }
2839
2840 Name (_PRS, ResourceTemplate ()
2841 {
2842 IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,11,12,14,15}
2843 })
2844 Method (_CRS, 0, Serialized)
2845 {
2846 Name (RTLD, ResourceTemplate ()
2847 {
2848 IRQ (Level, ActiveLow, Shared) {}
2849 })
2850 CreateWordField (RTLD, 0x01, IRQ0)
2851 Store (Zero, IRQ0)
2852 ShiftLeft (0x01, And (PDRC, 0x0F), IRQ0)
2853 Return (RTLD)
2854 }
2855
2856 Method (_SRS, 1, Serialized)
2857 {
2858 CreateWordField (Arg0, 0x01, IRQ0)
2859 FindSetRightBit (IRQ0, Local0)
2860 Decrement (Local0)
2861 Store (Local0, PDRC)
2862 }
2863
2864 Method (_STA, 0, Serialized)
2865 {
2866 If (And (PDRC, 0x80))
2867 {
2868 Return (0x09)
2869 }
2870 Else
2871 {
2872 Return (0x0B)
2873 }
2874 }
2875 }
2876
2877 Device (LNKE)
2878 {
2879 Name (_HID, EisaId ("PNP0C0F"))
2880 Name (_UID, 0x05)
2881 Method (_DIS, 0, Serialized)
2882 {
2883 Store (0x80, PERC)
2884 }
2885
2886 Name (_PRS, ResourceTemplate ()
2887 {
2888 IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,10,12,14,15}
2889 })
2890 Method (_CRS, 0, Serialized)
2891 {
2892 Name (RTLE, ResourceTemplate ()
2893 {
2894 IRQ (Level, ActiveLow, Shared) {}
2895 })
2896 CreateWordField (RTLE, 0x01, IRQ0)
2897 Store (Zero, IRQ0)
2898 ShiftLeft (0x01, And (PERC, 0x0F), IRQ0)
2899 Return (RTLE)
2900 }
2901
2902 Method (_SRS, 1, Serialized)
2903 {
2904 CreateWordField (Arg0, 0x01, IRQ0)
2905 FindSetRightBit (IRQ0, Local0)
2906 Decrement (Local0)
2907 Store (Local0, PERC)
2908 }
2909
2910 Method (_STA, 0, Serialized)
2911 {
2912 If (And (PERC, 0x80))
2913 {
2914 Return (0x09)
2915 }
2916 Else
2917 {
2918 Return (0x0B)
2919 }
2920 }
2921 }
2922
2923 Device (LNKF)
2924 {
2925 Name (_HID, EisaId ("PNP0C0F"))
2926 Name (_UID, 0x06)
2927 Method (_DIS, 0, Serialized)
2928 {
2929 Store (0x80, PFRC)
2930 }
2931
2932 Name (_PRS, ResourceTemplate ()
2933 {
2934 IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,11,12,14,15}
2935 })
2936 Method (_CRS, 0, Serialized)
2937 {
2938 Name (RTLF, ResourceTemplate ()
2939 {
2940 IRQ (Level, ActiveLow, Shared) {}
2941 })
2942 CreateWordField (RTLF, 0x01, IRQ0)
2943 Store (Zero, IRQ0)
2944 ShiftLeft (0x01, And (PFRC, 0x0F), IRQ0)
2945 Return (RTLF)
2946 }
2947
2948 Method (_SRS, 1, Serialized)
2949 {
2950 CreateWordField (Arg0, 0x01, IRQ0)
2951 FindSetRightBit (IRQ0, Local0)
2952 Decrement (Local0)
2953 Store (Local0, PFRC)
2954 }
2955
2956 Method (_STA, 0, Serialized)
2957 {
2958 If (And (PFRC, 0x80))
2959 {
2960 Return (0x09)
2961 }
2962 Else
2963 {
2964 Return (0x0B)
2965 }
2966 }
2967 }
2968
2969 Device (LNKG)
2970 {
2971 Name (_HID, EisaId ("PNP0C0F"))
2972 Name (_UID, 0x07)
2973 Method (_DIS, 0, Serialized)
2974 {
2975 Store (0x80, PGRC)
2976 }
2977
2978 Name (_PRS, ResourceTemplate ()
2979 {
2980 IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,10,12,14,15}
2981 })
2982 Method (_CRS, 0, Serialized)
2983 {
2984 Name (RTLG, ResourceTemplate ()
2985 {
2986 IRQ (Level, ActiveLow, Shared) {}
2987 })
2988 CreateWordField (RTLG, 0x01, IRQ0)
2989 Store (Zero, IRQ0)
2990 ShiftLeft (0x01, And (PGRC, 0x0F), IRQ0)
2991 Return (RTLG)
2992 }
2993
2994 Method (_SRS, 1, Serialized)
2995 {
2996 CreateWordField (Arg0, 0x01, IRQ0)
2997 FindSetRightBit (IRQ0, Local0)
2998 Decrement (Local0)
2999 Store (Local0, PGRC)
3000 }
3001
3002 Method (_STA, 0, Serialized)
3003 {
3004 If (And (PGRC, 0x80))
3005 {
3006 Return (0x09)
3007 }
3008 Else
3009 {
3010 Return (0x0B)
3011 }
3012 }
3013 }
3014
3015 Device (LNKH)
3016 {
3017 Name (_HID, EisaId ("PNP0C0F"))
3018 Name (_UID, 0x08)
3019 Method (_DIS, 0, Serialized)
3020 {
3021 Store (0x80, PHRC)
3022 }
3023
3024 Name (_PRS, ResourceTemplate ()
3025 {
3026 IRQ (Level, ActiveLow, Shared) {1,3,4,5,6,7,11,12,14,15}
3027 })
3028 Method (_CRS, 0, Serialized)
3029 {
3030 Name (RTLH, ResourceTemplate ()
3031 {
3032 IRQ (Level, ActiveLow, Shared) {}
3033 })
3034 CreateWordField (RTLH, 0x01, IRQ0)
3035 Store (Zero, IRQ0)
3036 ShiftLeft (0x01, And (PHRC, 0x0F), IRQ0)
3037 Return (RTLH)
3038 }
3039
3040 Method (_SRS, 1, Serialized)
3041 {
3042 CreateWordField (Arg0, 0x01, IRQ0)
3043 FindSetRightBit (IRQ0, Local0)
3044 Decrement (Local0)
3045 Store (Local0, PHRC)
3046 }
3047
3048 Method (_STA, 0, Serialized)
3049 {
3050 If (And (PHRC, 0x80))
3051 {
3052 Return (0x09)
3053 }
3054 Else
3055 {
3056 Return (0x0B)
3057 }
3058 }
3059 }
3060
3061 Method (_INI, 0, NotSerialized)
3062 {
3063 SWCF ()
3064 AINI ()
3065 }
3066
3067 Scope (\)
3068 {
3069 IndexField (AIDA, ADTA, ByteAcc, NoLock, Preserve)
3070 {
3071 Offset (0x09),
3072 RI1M, 1,
3073 RI2M, 1,
3074 RI3M, 1,
3075 RI4M, 1,
3076 RI1, 1,
3077 RI2, 1,
3078 RI3, 1,
3079 RI4, 1,
3080 , 2,
3081 CVCL, 1,
3082 , 3,
3083 BLCT, 2,
3084 Offset (0x20),
3085 G5P0, 8,
3086 G5C0, 8,
3087 G3P0, 8,
3088 G3C0, 8,
3089 Offset (0x40),
3090 SSF0, 8,
3091 SSF1, 8,
3092 SSM0, 8,
3093 SSM1, 8,
3094 SSI0, 8,
3095 SSTM, 8,
3096 SSF2, 8,
3097 SSM2, 8,
3098 SSI1, 8,
3099 Offset (0x52),
3100 G3P1, 8,
3101 G3C1, 8,
3102 G3P2, 8,
3103 G3C2, 8,
3104 QSWC, 8,
3105 Offset (0x60),
3106 SSS0, 8,
3107 SSS1, 8
3108 }
3109
3110 IndexField (AIDB, ADTB, ByteAcc, NoLock, Preserve)
3111 {
3112 Offset (0x29),
3113 BRCL, 8,
3114 LCDB, 8,
3115 Offset (0x30),
3116 LCDC, 8
3117 }
3118
3119 IndexField (AIDC, ADTC, ByteAcc, NoLock, Preserve)
3120 {
3121 TASF, 1,
3122 TBSF, 1,
3123 B1SU, 1,
3124 B1SD, 1,
3125 B2SU, 1,
3126 B2SD, 1,
3127 Offset (0x02),
3128 , 4,
3129 VSTB, 1,
3130 Offset (0x05),
3131 , 6,
3132 ACPW, 1,
3133 Offset (0x20),
3134 BCTL, 8,
3135 Offset (0x23),
3136 TAF, 1,
3137 TASM, 1,
3138 , 2,
3139 TBF, 1,
3140 TBSM, 1,
3141 Offset (0x24),
3142 TIMA, 8,
3143 TIMB, 8,
3144 Offset (0x28),
3145 CDLP, 8,
3146 HDLP, 8,
3147 FDLP, 8,
3148 Offset (0x4E),
3149 B1UM, 1,
3150 B1DM, 1,
3151 , 1,
3152 B1TC, 1,
3153 B2UM, 1,
3154 B2DM, 1,
3155 , 1,
3156 B2TC, 1,
3157 BAPC, 6
3158 }
3159
3160 IndexField (AIDC, ADTC, ByteAcc, NoLock, Preserve)
3161 {
3162 STAE, 8
3163 }
3164
3165 IndexField (AIDD, ADTD, ByteAcc, NoLock, Preserve)
3166 {
3167 Offset (0x80),
3168 GIDI, 8,
3169 GIDC, 8,
3170 GIDO, 8,
3171 Offset (0x90),
3172 G3SI, 8,
3173 G3SC, 8,
3174 G3SO, 8,
3175 G3SM, 8,
3176 Offset (0xA0),
3177 WOXF, 8,
3178 Offset (0xA2),
3179 WOXE, 8,
3180 WOXD, 8,
3181 WOXS, 8,
3182 , 7,
3183 WOXT, 1,
3184 WOXL, 8,
3185 Offset (0xB0),
3186 AMPV, 6
3187 }
3188 }
3189
3190 Scope (\)
3191 {
3192 IndexField (PMID, PMDT, ByteAcc, NoLock, Preserve)
3193 {
3194 Offset (0xA0),
3195 UPPR, 1,
3196 ERRO, 1,
3197 PASS, 1,
3198 PSOK, 1,
3199 PSNG, 1,
3200 TOUT, 1,
3201 SIRN, 1,
3202 STSC, 1,
3203 OVFL, 1,
3204 LWMD, 1,
3205 TALM, 1,
3206 EMGC, 1,
3207 OCNT, 4,
3208 TDTC, 1,
3209 , 4,
3210 AERR, 1,
3211 PERR, 1,
3212 ABSY, 1,
3213 Offset (0xA4),
3214 PDAT, 8,
3215 Offset (0xC0),
3216 Offset (0xC1),
3217 B1P, 1,
3218 B2P, 1,
3219 B1C, 1,
3220 B2C, 1,
3221 B1ER, 1,
3222 B2ER, 1,
3223 PKSH, 1,
3224 CMB, 1,
3225 B1CP, 8,
3226 B2CP, 8,
3227 BAVG, 8,
3228 B1VH, 8,
3229 B1VL, 8,
3230 B2VH, 8,
3231 B2VL, 8,
3232 B1TM, 8,
3233 B2TM, 8,
3234 B1CH, 8,
3235 B1CL, 8,
3236 B2CH, 8,
3237 B2CL, 8,
3238 BTMH, 8,
3239 BTML, 8,
3240 B1LH, 8,
3241 B1LL, 8,
3242 B2LH, 8,
3243 B2LL, 8,
3244 B1ID, 4,
3245 B1NO, 4,
3246 B2ID, 4,
3247 B2NO, 4,
3248 B1DV, 8,
3249 B2DV, 8,
3250 B1DH, 8,
3251 B1DL, 8,
3252 B2DH, 8,
3253 B2DL, 8,
3254 TBSI, 8,
3255 TBSH, 8,
3256 TBSL, 8,
3257 BHDD, 1,
3258 BOPT, 1,
3259 , 5,
3260 ABLC, 1,
3261 Offset (0xE8),
3262 TBCM, 8,
3263 TBMD, 8,
3264 TBIN, 8,
3265 DCOL, 7,
3266 S3EN, 1
3267 }
3268
3269 IndexField (PMID, PMDT, ByteAcc, NoLock, Preserve)
3270 {
3271 Offset (0xA2),
3272 TCST, 8
3273 }
3274 }
3275
3276 Scope (\)
3277 {
3278 IndexField (AIDA, ADTA, ByteAcc, NoLock, Preserve)
3279 {
3280 Offset (0x44),
3281 , 2,
3282 WLSW, 1
3283 }
3284
3285 IndexField (AIDD, ADTD, ByteAcc, NoLock, Preserve)
3286 {
3287 Offset (0x92),
3288 , 2,
3289 WLRF, 1,
3290 FMON, 1
3291 }
3292 }
3293
3294 Method (AINI, 0, NotSerialized)
3295 {
3296 And (SSM1, 0xCF, SSM1)
3297 Store (LWMD, PLWM)
3298 Store (TALM, PTAL)
3299 Store (0x95, BCMD)
3300 Or (PLWM, ShiftLeft (PTAL, 0x01), DID)
3301 Store (Zero, SMIC)
3302 If (LAnd (TALM, LNot (ACPW)))
3303 {
3304 Store (One, FOCT)
3305 }
3306 Else
3307 {
3308 Store (Zero, FOCT)
3309 }
3310
3311 If (LNot (LLess (\_SB.OSTP (), 0x40)))
3312 {
3313 If (AS34)
3314 {
3315 Store (0x01, S3EN)
3316 }
3317
3318 If (LEqual (DCLW, 0x7F))
3319 {
3320 Store (0x05, DCOL)
3321 }
3322 Else
3323 {
3324 Store (DCLW, DCOL)
3325 }
3326 }
3327 }
3328
3329 Method (SWCF, 0, NotSerialized)
3330 {
3331 If (WLSW)
3332 {
3333 Store (One, FMON)
3334 If (WLEN)
3335 {
3336 Store (One, WLRF)
3337 }
3338 Else
3339 {
3340 Store (Zero, WLRF)
3341 }
3342 }
3343 Else
3344 {
3345 Store (Zero, FMON)
3346 Store (Zero, WLRF)
3347 }
3348 }
3349
3350 Name (RGSI, 0x99)
3351 Device (FJEX)
3352 {
3353 Name (_HID, "FUJ02B1")
3354 Method (_STA, 0, NotSerialized)
3355 {
3356 Return (0x0F)
3357 }
3358
3359 Method (RBLL, 0, NotSerialized)
3360 {
3361 Return (BLLM)
3362 }
3363
3364 Scope (\)
3365 {
3366 Name (LBLL, 0x00)
3367 Name (LLCD, Ones)
3368 }
3369
3370 Method (GBLL, 0, NotSerialized)
3371 {
3372 Store (LBLL, Local2)
3373 Store (LCDB, Local1)
3374 If (LNot (LEqual (LLCD, Local1)))
3375 {
3376 Store (Local1, LLCD)
3377 Name (BBCT, Buffer (BLLM) {})
3378 Store (BLLT, BBCT)
3379 Store (BLLM, Local0)
3380 While (Local0)
3381 {
3382 Decrement (Local0)
3383 If (LEqual (GBUF (BBCT, Local0), Local1))
3384 {
3385 Store (Local0, Local2)
3386 Store (Local0, LBLL)
3387 Store (Zero, Local0)
3388 }
3389 }
3390 }
3391
3392 If (BHKF)
3393 {
3394 Store (Zero, BHKF)
3395 Or (Local2, 0x80000000, Local2)
3396 }
3397
3398 Return (Local2)
3399 }
3400
3401 Method (GBLS, 0, NotSerialized)
3402 {
3403 Store (LBLL, Local2)
3404 Store (LCDB, Local1)
3405 If (LNot (LEqual (LLCD, Local1)))
3406 {
3407 Store (Local1, LLCD)
3408 Name (BBCT, Buffer (BLLM) {})
3409 Store (BLLT, BBCT)
3410 Store (BLLM, Local0)
3411 While (Local0)
3412 {
3413 Decrement (Local0)
3414 If (LEqual (GBUF (BBCT, Local0), Local1))
3415 {
3416 Store (Local0, Local2)
3417 Store (Local0, LBLL)
3418 Store (Zero, Local0)
3419 }
3420 }
3421 }
3422
3423 If (BHKF)
3424 {
3425 Or (Local2, 0x80000000, Local2)
3426 }
3427
3428 Return (Local2)
3429 }
3430
3431 Method (SBLL, 1, NotSerialized)
3432 {
3433 If (NGTF)
3434 {
3435 Store (Arg0, LSBL)
3436 Return (Zero)
3437 }
3438
3439 If (And (One, ShiftRight (Arg0, 0x1D)))
3440 {
3441 Store (And (One, ShiftRight (Arg0, 0x1C)), SMDP)
3442 }
3443
3444 If (LLess (Arg0, BLLM))
3445 {
3446 Name (BBCT, Buffer (BLLM) {})
3447 Store (BLLT, BBCT)
3448 CreateByteField (BBCT, Arg0, BLL0)
3449 Store (BLL0, LCDB)
3450 Store (Arg0, DID)
3451 Store (0x82, BCMD)
3452 Store (Zero, SMIC)
3453 }
3454 }
3455
3456 Method (GBUF, 2, NotSerialized)
3457 {
3458 CreateByteField (Arg0, Arg1, BLL0)
3459 Return (BLL0)
3460 }
3461
3462 Method (GMOU, 0, NotSerialized)
3463 {
3464 Store (0x02, DID)
3465 Store (0x91, BCMD)
3466 Store (Zero, SMIC)
3467 Store (DID, Local0)
3468 If (MHKF)
3469 {
3470 Store (Zero, MHKF)
3471 Or (Local0, 0x80000000, Local0)
3472 }
3473
3474 Return (Local0)
3475 }
3476
3477 Method (SMOU, 1, NotSerialized)
3478 {
3479 If (LNot (LGreater (Arg0, One)))
3480 {
3481 Store (Arg0, DID)
3482 Store (0x91, BCMD)
3483 Store (Zero, SMIC)
3484 }
3485 }
3486
3487 Method (GHKS, 0, NotSerialized)
3488 {
3489 If (VHKF)
3490 {
3491 Store (AHKF, Local0)
3492 Store (Zero, VHKF)
3493 Return (Local0)
3494 }
3495
3496 Return (AHKF)
3497 }
3498
3499 Method (GSIF, 0, NotSerialized)
3500 {
3501 If (IMTF)
3502 {
3503 Or (RGSI, 0x08, RGSI)
3504 }
3505 Else
3506 {
3507 And (RGSI, 0xFFFFFFF7, RGSI)
3508 }
3509
3510 Return (RGSI)
3511 }
3512 }
3513
3514 Device (EC)
3515 {
3516 Name (_HID, EisaId ("PNP0C09"))
3517 Name (_CRS, ResourceTemplate ()
3518 {
3519 IO (Decode16, 0x0062, 0x0062, 0x01, 0x01)
3520 IO (Decode16, 0x0066, 0x0066, 0x01, 0x01)
3521 })
3522 Name (_GPE, 0x17)
3523 Scope (\)
3524 {
3525 Name (ECOK, Zero)
3526 }
3527
3528 Method (_REG, 2, NotSerialized)
3529 {
3530 If (LEqual (Arg0, 0x03))
3531 {
3532 Store (Arg1, ECOK)
3533 }
3534 }
3535
3536 OperationRegion (SMB, EmbeddedControl, 0x00, 0xFF)
3537 Scope (\)
3538 {
3539 Field (\_SB.PCI0.LPCB.EC.SMB, ByteAcc, Lock, Preserve)
3540 {
3541 Offset (0x04),
3542 ECCM, 8,
3543 ECD1, 8,
3544 ECD2, 8,
3545 ECD3, 8,
3546 Offset (0xE0),
3547 ECBM, 8,
3548 ECB1, 8,
3549 ECB2, 8,
3550 ECB3, 8,
3551 ECB4, 8,
3552 ECB5, 8,
3553 ECB6, 8,
3554 ECB7, 8,
3555 ECB8, 8,
3556 ECB9, 8,
3557 ECBA, 8,
3558 ECBB, 8,
3559 Offset (0xF8),
3560 ECGM, 8,
3561 ECG1, 8,
3562 ECG2, 8,
3563 ECG3, 8
3564 }
3565 }
3566 }
3567
3568 Device (DMAC)
3569 {
3570 Name (_HID, EisaId ("PNP0200"))
3571 Method (_STA, 0, NotSerialized)
3572 {
3573 Return (0x0F)
3574 }
3575
3576 Name (_CRS, ResourceTemplate ()
3577 {
3578 IO (Decode16, 0x0000, 0x0000, 0x01, 0x10)
3579 IO (Decode16, 0x0081, 0x0081, 0x01, 0x0F)
3580 IO (Decode16, 0x00C0, 0x00C0, 0x01, 0x20)
3581 DMA (Compatibility, NotBusMaster, Transfer16) {4}
3582 })
3583 }
3584
3585 Device (KBC)
3586 {
3587 Name (R101, 0x0303D041)
3588 Name (R106, 0x2003D041)
3589 Method (_HID, 0, NotSerialized)
3590 {
3591 If (SIDF)
3592 {
3593 Return (R101)
3594 }
3595 Else
3596 {
3597 Return (R106)
3598 }
3599 }
3600
3601 Method (_STA, 0, NotSerialized)
3602 {
3603 Return (0x0F)
3604 }
3605
3606 Name (_CRS, ResourceTemplate ()
3607 {
3608 IO (Decode16, 0x0060, 0x0060, 0x01, 0x01)
3609 IO (Decode16, 0x0064, 0x0064, 0x01, 0x01)
3610 IRQNoFlags () {1}
3611 })
3612 }
3613
3614 Device (MATH)
3615 {
3616 Name (_HID, EisaId ("PNP0C04"))
3617 Method (_STA, 0, NotSerialized)
3618 {
3619 Return (0x0F)
3620 }
3621
3622 Name (_CRS, ResourceTemplate ()
3623 {
3624 IO (Decode16, 0x00F0, 0x00F0, 0x01, 0x0F)
3625 IRQNoFlags () {13}
3626 })
3627 }
3628
3629 Device (PIC)
3630 {
3631 Name (_HID, EisaId ("PNP0000"))
3632 Method (_STA, 0, NotSerialized)
3633 {
3634 Return (0x0F)
3635 }
3636
3637 Name (_CRS, ResourceTemplate ()
3638 {
3639 IO (Decode16, 0x0020, 0x0020, 0x01, 0x02)
3640 IO (Decode16, 0x00A0, 0x00A0, 0x01, 0x02)
3641 IRQNoFlags () {2}
3642 })
3643 }
3644
3645 Device (PS2M)
3646 {
3647 Name (_HID, EisaId ("PNP0F13"))
3648 Method (_STA, 0, NotSerialized)
3649 {
3650 Return (0x0F)
3651 }
3652
3653 Name (_CRS, ResourceTemplate ()
3654 {
3655 IRQNoFlags () {12}
3656 })
3657 }
3658
3659 Device (RTC)
3660 {
3661 Name (_HID, EisaId ("PNP0B00"))
3662 Method (_STA, 0, NotSerialized)
3663 {
3664 Return (0x0F)
3665 }
3666
3667 Name (_CRS, ResourceTemplate ()
3668 {
3669 IO (Decode16, 0x0070, 0x0070, 0x01, 0x02)
3670 IRQNoFlags () {8}
3671 })
3672 }
3673
3674 Device (SPKR)
3675 {
3676 Name (_HID, EisaId ("PNP0800"))
3677 Method (_STA, 0, NotSerialized)
3678 {
3679 Return (0x0F)
3680 }
3681
3682 Name (_CRS, ResourceTemplate ()
3683 {
3684 IO (Decode16, 0x0061, 0x0061, 0x01, 0x01)
3685 })
3686 }
3687
3688 Device (TIME)
3689 {
3690 Name (_HID, EisaId ("PNP0100"))
3691 Method (_STA, 0, NotSerialized)
3692 {
3693 Return (0x0F)
3694 }
3695
3696 Name (_CRS, ResourceTemplate ()
3697 {
3698 IO (Decode16, 0x0040, 0x0040, 0x01, 0x04)
3699 IRQNoFlags () {0}
3700 })
3701 }
3702
3703 Scope (LPCB)
3704 {
3705 OperationRegion (LIOD, PCI_Config, 0x80, 0x14)
3706 }
3707
3708 Field (LIOD, AnyAcc, NoLock, Preserve)
3709 {
3710 CADR, 3,
3711 , 1,
3712 CBDR, 3,
3713 Offset (0x01),
3714 LPDR, 2,
3715 , 2,
3716 FDDR, 1,
3717 Offset (0x02),
3718 CALE, 1,
3719 CBLE, 1,
3720 LPLE, 1,
3721 FDLE, 1,
3722 Offset (0x0C),
3723 GD3E, 1,
3724 , 3,
3725 GD3B, 12
3726 }
3727
3728 Name (TCOM, Package (0x08)
3729 {
3730 0x03F8,
3731 0x02F8,
3732 0x0220,
3733 0x0228,
3734 0x0238,
3735 0x02E8,
3736 0x0338,
3737 0x03E8
3738 })
3739 Name (TLPT, Package (0x03)
3740 {
3741 0x0378,
3742 0x0278,
3743 0x03BC
3744 })
3745 Name (TFDD, Package (0x02)
3746 {
3747 0x03F0,
3748 0x0370
3749 })
3750 Method (DENA, 3, Serialized)
3751 {
3752 If (LEqual (Arg0, 0x00))
3753 {
3754 Store (Match (TCOM, MEQ, Arg1, MTR, 0x00, 0x00), Local0)
3755 If (LNot (LEqual (Local0, Ones)))
3756 {
3757 Store (Local0, CADR)
3758 Store (One, CALE)
3759 }
3760 }
3761 Else
3762 {
3763 If (LOr (LEqual (Arg0, 0x01), LEqual (Arg0, 0x02)))
3764 {
3765 Store (Match (TCOM, MEQ, Arg1, MTR, 0x00, 0x00), Local0)
3766 If (LNot (LEqual (Local0, Ones)))
3767 {
3768 Store (Local0, CBDR)
3769 Store (One, CBLE)
3770 }
3771 }
3772 Else
3773 {
3774 If (LEqual (Arg0, 0x03))
3775 {
3776 Store (Match (TCOM, MEQ, Arg1, MTR, 0x00, 0x00), Local0)
3777 If (LNot (LEqual (Local0, Ones)))
3778 {
3779 Store (Local0, CBDR)
3780 Store (One, CBLE)
3781 ShiftRight (Arg2, 0x04, GD3B)
3782 Store (One, GD3E)
3783 }
3784 }
3785 Else
3786 {
3787 If (LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x05)))
3788 {
3789 Store (Match (TLPT, MEQ, Arg1, MTR, 0x00, 0x00), Local0)
3790 If (LNot (LEqual (Local0, Ones)))
3791 {
3792 Store (Local0, LPDR)
3793 Store (One, LPLE)
3794 }
3795 }
3796 Else
3797 {
3798 If (LEqual (Arg0, 0x07))
3799 {
3800 Store (Match (TFDD, MEQ, Arg1, MTR, 0x00, 0x00), Local0)
3801 If (LNot (LEqual (Local0, Ones)))
3802 {
3803 Store (Local0, FDDR)
3804 Store (One, FDLE)
3805 }
3806 }
3807 }
3808 }
3809 }
3810 }
3811 }
3812
3813 Method (DDIS, 1, Serialized)
3814 {
3815 If (LEqual (Arg0, 0x00))
3816 {
3817 Store (Zero, CALE)
3818 }
3819 Else
3820 {
3821 If (LOr (LEqual (Arg0, 0x01), LEqual (Arg0, 0x02)))
3822 {
3823 Store (Zero, CBLE)
3824 }
3825 Else
3826 {
3827 If (LEqual (Arg0, 0x03))
3828 {
3829 Store (Zero, CBLE)
3830 Store (Zero, GD3E)
3831 }
3832 Else
3833 {
3834 If (LOr (LEqual (Arg0, 0x04), LEqual (Arg0, 0x05)))
3835 {
3836 Store (Zero, LPLE)
3837 }
3838 Else
3839 {
3840 If (LEqual (Arg0, 0x07))
3841 {
3842 Store (Zero, FDLE)
3843 }
3844 }
3845 }
3846 }
3847 }
3848 }
3849
3850 Field (SIO, ByteAcc, NoLock, Preserve)
3851 {
3852 SIID, 8,
3853 SIDT, 8
3854 }
3855
3856 IndexField (SIID, SIDT, ByteAcc, NoLock, Preserve)
3857 {
3858 , 3,
3859 FDCP, 1,
3860 Offset (0x01),
3861 , 2,
3862 PPP, 1,
3863 PPM, 1,
3864 Offset (0x02),
3865 , 3,
3866 U1P, 1,
3867 , 3,
3868 U2P, 1,
3869 Offset (0x04),
3870 PPEM, 2,
3871 Offset (0x0C),
3872 U2MD, 6,
3873 Offset (0x20),
3874 FDA, 8,
3875 , 2,
3876 ETOS, 1,
3877 Offset (0x23),
3878 PPA, 8,
3879 U1A, 8,
3880 U2A, 8,
3881 PPD, 4,
3882 FDD, 4,
3883 PPI, 4,
3884 FDI, 4,
3885 U2I, 4,
3886 U1I, 4,
3887 Offset (0x2B),
3888 IRA, 8,
3889 IRD, 4
3890 }
3891
3892 Mutex (MTXS, 0x00)
3893 Method (ENTR, 0, NotSerialized)
3894 {
3895 Acquire (MTXS, 0xFFFF)
3896 Store (0x55, SIID)
3897 }
3898
3899 Method (EXIT, 0, NotSerialized)
3900 {
3901 Store (0xAA, SIID)
3902 Release (MTXS)
3903 }
3904
3905 Method (SETR, 5, NotSerialized)
3906 {
3907 ENTR ()
3908 If (Arg3)
3909 {
3910 Subtract (FindSetRightBit (Arg3), One, Local0)
3911 }
3912 Else
3913 {
3914 Store (Zero, Local0)
3915 }
3916
3917 If (Arg4)
3918 {
3919 Subtract (FindSetRightBit (Arg4), One, Local1)
3920 }
3921 Else
3922 {
3923 Store (0x0F, Local1)
3924 }
3925
3926 If (LEqual (Arg0, 0x00))
3927 {
3928 ShiftRight (Arg1, 0x02, U1A)
3929 Store (Local0, U1I)
3930 }
3931 Else
3932 {
3933 If (LEqual (Arg0, 0x01))
3934 {
3935 ShiftRight (Arg1, 0x02, U2A)
3936 Store (Local0, U2I)
3937 }
3938 Else
3939 {
3940 If (LEqual (Arg0, 0x02))
3941 {
3942 ShiftRight (Arg1, 0x02, U2A)
3943 Store (Local0, U2I)
3944 }
3945 Else
3946 {
3947 If (LEqual (Arg0, 0x03))
3948 {
3949 ShiftRight (Arg1, 0x02, U2A)
3950 ShiftRight (Arg2, 0x03, IRA)
3951 Store (Local0, U2I)
3952 Store (Local1, IRD)
3953 }
3954 Else
3955 {
3956 If (LEqual (Arg0, 0x04))
3957 {
3958 ShiftRight (Arg1, 0x02, PPA)
3959 Store (Local0, PPI)
3960 }
3961 Else
3962 {
3963 If (LEqual (Arg0, 0x05))
3964 {
3965 ShiftRight (Arg1, 0x02, PPA)
3966 Store (Local0, PPI)
3967 Store (Local1, PPD)
3968 }
3969 Else
3970 {
3971 If (LEqual (Arg0, 0x07))
3972 {
3973 ShiftRight (Arg1, 0x02, FDA)
3974 Store (Local0, FDI)
3975 Store (Local1, FDD)
3976 }
3977 }
3978 }
3979 }
3980 }
3981 }
3982 }
3983
3984 EXIT ()
3985 If (Arg1)
3986 {
3987 If (CondRefOf (DENA, Local0))
3988 {
3989 DENA (Arg0, Arg1, Arg2)
3990 }
3991
3992 SETM (Arg0)
3993 }
3994 Else
3995 {
3996 If (CondRefOf (DDIS, Local0))
3997 {
3998 DDIS (Arg0)
3999 }
4000 }
4001 }
4002
4003 Method (GETR, 5, NotSerialized)
4004 {
4005 ENTR ()
4006 Store (Zero, Local0)
4007 Store (0x0F, Local1)
4008 If (LEqual (Arg0, 0x00))
4009 {
4010 ShiftLeft (U1A, 0x02, Arg1)
4011 Store (U1I, Local0)
4012 }
4013 Else
4014 {
4015 If (LEqual (Arg0, 0x01))
4016 {
4017 ShiftLeft (U2A, 0x02, Arg1)
4018 Store (U2I, Local0)
4019 }
4020 Else
4021 {
4022 If (LEqual (Arg0, 0x02))
4023 {
4024 ShiftLeft (U2A, 0x02, Arg1)
4025 Store (U2I, Local0)
4026 }
4027 Else
4028 {
4029 If (LEqual (Arg0, 0x03))
4030 {
4031 ShiftLeft (U2A, 0x02, Arg1)
4032 ShiftLeft (IRA, 0x03, Arg2)
4033 Store (U2I, Local0)
4034 Store (IRD, Local1)
4035 }
4036 Else
4037 {
4038 If (LEqual (Arg0, 0x04))
4039 {
4040 ShiftLeft (PPA, 0x02, Arg1)
4041 Store (PPI, Local0)
4042 }
4043 Else
4044 {
4045 If (LEqual (Arg0, 0x05))
4046 {
4047 ShiftLeft (PPA, 0x02, Arg1)
4048 Store (PPI, Local0)
4049 Store (PPD, Local1)
4050 }
4051 Else
4052 {
4053 If (LEqual (Arg0, 0x07))
4054 {
4055 ShiftLeft (FDA, 0x02, Arg1)
4056 Store (FDI, Local0)
4057 Store (FDD, Local1)
4058 }
4059 }
4060 }
4061 }
4062 }
4063 }
4064 }
4065
4066 If (Local0)
4067 {
4068 ShiftLeft (One, Local0, Arg3)
4069 }
4070 Else
4071 {
4072 Store (Zero, Arg3)
4073 }
4074
4075 If (LNot (LEqual (Local1, 0x0F)))
4076 {
4077 ShiftLeft (One, Local1, Arg4)
4078 }
4079 Else
4080 {
4081 Store (Zero, Arg4)
4082 }
4083
4084 EXIT ()
4085 }
4086
4087 Method (SETM, 1, NotSerialized)
4088 {
4089 ENTR ()
4090 If (LEqual (Arg0, 0x00))
4091 {
4092 Store (One, U1P)
4093 }
4094 Else
4095 {
4096 If (LEqual (Arg0, 0x01))
4097 {
4098 Store (0x06, U2MD)
4099 Store (One, U2P)
4100 }
4101 Else
4102 {
4103 If (LEqual (Arg0, 0x02))
4104 {
4105 Store (0x0E, U2MD)
4106 Store (One, U2P)
4107 }
4108 Else
4109 {
4110 If (LEqual (Arg0, 0x03))
4111 {
4112 Store (0x0E, U2MD)
4113 Store (One, U2P)
4114 }
4115 Else
4116 {
4117 If (LEqual (Arg0, 0x04))
4118 {
4119 If (LEqual (PPF, One))
4120 {
4121 Store (One, PPM)
4122 }
4123 Else
4124 {
4125 Store (Zero, PPM)
4126 Store (Zero, PPEM)
4127 }
4128
4129 Store (One, PPP)
4130 }
4131 Else
4132 {
4133 If (LEqual (Arg0, 0x05))
4134 {
4135 Store (Zero, PPM)
4136 Store (0x02, PPEM)
4137 Store (One, PPP)
4138 }
4139 }
4140 }
4141 }
4142 }
4143 }
4144
4145 EXIT ()
4146 }
4147
4148 Method (SETP, 2, NotSerialized)
4149 {
4150 ENTR ()
4151 If (LEqual (Arg0, 0x00))
4152 {
4153 Store (Arg1, U1P)
4154 }
4155 Else
4156 {
4157 If (LEqual (Arg0, 0x01))
4158 {
4159 Store (Arg1, U2P)
4160 }
4161 Else
4162 {
4163 If (LEqual (Arg0, 0x02))
4164 {
4165 Store (Arg1, U2P)
4166 }
4167 Else
4168 {
4169 If (LEqual (Arg0, 0x03))
4170 {
4171 Store (Arg1, U2P)
4172 }
4173 Else
4174 {
4175 If (LEqual (Arg0, 0x04))
4176 {
4177 Store (Arg1, PPP)
4178 }
4179 Else
4180 {
4181 If (LEqual (Arg0, 0x05))
4182 {
4183 Store (Arg1, PPP)
4184 }
4185 }
4186 }
4187 }
4188 }
4189 }
4190
4191 EXIT ()
4192 }
4193
4194 Method (GETP, 1, NotSerialized)
4195 {
4196 Store (Zero, Local0)
4197 ENTR ()
4198 If (LEqual (Arg0, 0x00))
4199 {
4200 Store (U1P, Local0)
4201 }
4202 Else
4203 {
4204 If (LEqual (Arg0, 0x01))
4205 {
4206 Store (U2P, Local0)
4207 }
4208 Else
4209 {
4210 If (LEqual (Arg0, 0x02))
4211 {
4212 Store (U2P, Local0)
4213 }
4214 Else
4215 {
4216 If (LEqual (Arg0, 0x03))
4217 {
4218 Store (U2P, Local0)
4219 }
4220 Else
4221 {
4222 If (LEqual (Arg0, 0x04))
4223 {
4224 Store (PPP, Local0)
4225 }
4226 Else
4227 {
4228 If (LEqual (Arg0, 0x05))
4229 {
4230 Store (PPP, Local0)
4231 }
4232 }
4233 }
4234 }
4235 }
4236 }
4237
4238 EXIT ()
4239 Return (Local0)
4240 }
4241
4242 Method (CHKM, 1, NotSerialized)
4243 {
4244 If (LEqual (Arg0, 0x00))
4245 {
4246 If (SPAF)
4247 {
4248 Return (One)
4249 }
4250 }
4251 Else
4252 {
4253 If (LEqual (Arg0, 0x01))
4254 {
4255 If (LEqual (SPBF, 0x03))
4256 {
4257 Return (One)
4258 }
4259 }
4260 Else
4261 {
4262 If (LEqual (Arg0, 0x02))
4263 {
4264 If (LEqual (SPBF, One))
4265 {
4266 Return (One)
4267 }
4268 }
4269 Else
4270 {
4271 If (LEqual (Arg0, 0x03))
4272 {
4273 If (LEqual (SPBF, 0x02))
4274 {
4275 Return (One)
4276 }
4277 }
4278 Else
4279 {
4280 If (LEqual (Arg0, 0x04))
4281 {
4282 If (LOr (LEqual (PPF, One), LEqual (PPF, 0x02)))
4283 {
4284 Return (One)
4285 }
4286 }
4287 Else
4288 {
4289 If (LEqual (Arg0, 0x05))
4290 {
4291 If (LEqual (PPF, 0x03))
4292 {
4293 Return (One)
4294 }
4295 }
4296 Else
4297 {
4298 If (LEqual (Arg0, 0x07))
4299 {
4300 If (FDCF)
4301 {
4302 Return (One)
4303 }
4304 }
4305 }
4306 }
4307 }
4308 }
4309 }
4310 }
4311
4312 Return (Zero)
4313 }
4314
4315 Device (UAR1)
4316 {
4317 Name (_HID, EisaId ("PNP0501"))
4318 Name (_UID, 0x01)
4319 Name (RSRC, ResourceTemplate ()
4320 {
4321 IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08)
4322 IRQNoFlags () {4}
4323 })
4324 Name (_PRS, ResourceTemplate ()
4325 {
4326 StartDependentFn (0x00, 0x01)
4327 {
4328 IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08)
4329 IRQNoFlags () {4}
4330 }
4331 StartDependentFnNoPri ()
4332 {
4333 IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08)
4334 IRQNoFlags () {3}
4335 }
4336 StartDependentFnNoPri ()
4337 {
4338 IO (Decode16, 0x03E8, 0x03E8, 0x01, 0x08)
4339 IRQNoFlags () {4}
4340 }
4341 StartDependentFnNoPri ()
4342 {
4343 IO (Decode16, 0x02E8, 0x02E8, 0x01, 0x08)
4344 IRQNoFlags () {3}
4345 }
4346 EndDependentFn ()
4347 })
4348 Method (_STA, 0, NotSerialized)
4349 {
4350 If (CHKM (0x00))
4351 {
4352 GETR (0x00, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4353 If (Local0)
4354 {
4355 Return (0x0F)
4356 }
4357 Else
4358 {
4359 Return (0x0D)
4360 }
4361 }
4362 Else
4363 {
4364 Return (0x00)
4365 }
4366 }
4367
4368 Method (_CRS, 0, NotSerialized)
4369 {
4370 CreateWordField (RSRC, 0x02, IO11)
4371 CreateWordField (RSRC, 0x04, IO12)
4372 CreateWordField (RSRC, 0x09, IRQ1)
4373 GETR (0x00, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4374 Store (Local0, IO11)
4375 Store (Local0, IO12)
4376 Store (Local2, IRQ1)
4377 Return (RSRC)
4378 }
4379
4380 Method (_SRS, 1, NotSerialized)
4381 {
4382 CreateWordField (Arg0, 0x04, IO11)
4383 CreateWordField (Arg0, 0x09, IRQ1)
4384 SETR (0x00, IO11, Zero, IRQ1, Zero)
4385 }
4386
4387 Method (_DIS, 0, NotSerialized)
4388 {
4389 SETR (0x00, Zero, Zero, Zero, Zero)
4390 }
4391
4392 Method (_INI, 0, NotSerialized)
4393 {
4394 If (CHKM (0x00))
4395 {
4396 SETM (0x00)
4397 }
4398 }
4399 }
4400
4401 Device (UAR2)
4402 {
4403 Name (_HID, EisaId ("PNP0501"))
4404 Name (_UID, 0x02)
4405 Name (RSRC, ResourceTemplate ()
4406 {
4407 IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08)
4408 IRQNoFlags () {3}
4409 })
4410 Name (_PRS, ResourceTemplate ()
4411 {
4412 StartDependentFnNoPri ()
4413 {
4414 IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08)
4415 IRQNoFlags () {4}
4416 }
4417 StartDependentFn (0x00, 0x01)
4418 {
4419 IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08)
4420 IRQNoFlags () {3}
4421 }
4422 StartDependentFnNoPri ()
4423 {
4424 IO (Decode16, 0x03E8, 0x03E8, 0x01, 0x08)
4425 IRQNoFlags () {4}
4426 }
4427 StartDependentFnNoPri ()
4428 {
4429 IO (Decode16, 0x02E8, 0x02E8, 0x01, 0x08)
4430 IRQNoFlags () {3}
4431 }
4432 EndDependentFn ()
4433 })
4434 Method (_STA, 0, NotSerialized)
4435 {
4436 If (CHKM (0x01))
4437 {
4438 GETR (0x01, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4439 If (Local0)
4440 {
4441 Return (0x0F)
4442 }
4443 Else
4444 {
4445 Return (0x0D)
4446 }
4447 }
4448 Else
4449 {
4450 Return (0x00)
4451 }
4452 }
4453
4454 Method (_CRS, 0, NotSerialized)
4455 {
4456 CreateWordField (RSRC, 0x02, IO11)
4457 CreateWordField (RSRC, 0x04, IO12)
4458 CreateWordField (RSRC, 0x09, IRQ1)
4459 GETR (0x01, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4460 Store (Local0, IO11)
4461 Store (Local0, IO12)
4462 Store (Local2, IRQ1)
4463 Return (RSRC)
4464 }
4465
4466 Method (_SRS, 1, NotSerialized)
4467 {
4468 CreateWordField (Arg0, 0x04, IO11)
4469 CreateWordField (Arg0, 0x09, IRQ1)
4470 SETR (0x01, IO11, Zero, IRQ1, Zero)
4471 }
4472
4473 Method (_DIS, 0, NotSerialized)
4474 {
4475 SETR (0x01, Zero, Zero, Zero, Zero)
4476 }
4477
4478 Method (_INI, 0, NotSerialized)
4479 {
4480 If (CHKM (0x01))
4481 {
4482 SETM (0x01)
4483 }
4484 }
4485 }
4486
4487 Device (IRDA)
4488 {
4489 Name (_HID, EisaId ("PNP0510"))
4490 Name (RSRC, ResourceTemplate ()
4491 {
4492 IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08)
4493 IRQNoFlags () {3}
4494 })
4495 Name (_PRS, ResourceTemplate ()
4496 {
4497 StartDependentFnNoPri ()
4498 {
4499 IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08)
4500 IRQNoFlags () {4}
4501 }
4502 StartDependentFn (0x00, 0x01)
4503 {
4504 IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08)
4505 IRQNoFlags () {3}
4506 }
4507 StartDependentFnNoPri ()
4508 {
4509 IO (Decode16, 0x03E8, 0x03E8, 0x01, 0x08)
4510 IRQNoFlags () {4}
4511 }
4512 StartDependentFnNoPri ()
4513 {
4514 IO (Decode16, 0x02E8, 0x02E8, 0x01, 0x08)
4515 IRQNoFlags () {3}
4516 }
4517 EndDependentFn ()
4518 })
4519 Method (_STA, 0, NotSerialized)
4520 {
4521 If (CHKM (0x02))
4522 {
4523 GETR (0x02, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4524 If (Local0)
4525 {
4526 Return (0x0F)
4527 }
4528 Else
4529 {
4530 Return (0x0D)
4531 }
4532 }
4533 Else
4534 {
4535 Return (0x00)
4536 }
4537 }
4538
4539 Method (_CRS, 0, NotSerialized)
4540 {
4541 CreateWordField (RSRC, 0x02, IO11)
4542 CreateWordField (RSRC, 0x04, IO12)
4543 CreateWordField (RSRC, 0x09, IRQ1)
4544 GETR (0x02, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4545 Store (Local0, IO11)
4546 Store (Local0, IO12)
4547 Store (Local2, IRQ1)
4548 Return (RSRC)
4549 }
4550
4551 Method (_SRS, 1, NotSerialized)
4552 {
4553 CreateWordField (Arg0, 0x04, IO11)
4554 CreateWordField (Arg0, 0x09, IRQ1)
4555 SETR (0x02, IO11, Zero, IRQ1, Zero)
4556 }
4557
4558 Method (_DIS, 0, NotSerialized)
4559 {
4560 SETR (0x02, Zero, Zero, Zero, Zero)
4561 }
4562
4563 Method (_INI, 0, NotSerialized)
4564 {
4565 If (CHKM (0x02))
4566 {
4567 SETM (0x02)
4568 }
4569 }
4570
4571 Method (_PSC, 0, NotSerialized)
4572 {
4573 If (GETP (0x02))
4574 {
4575 Return (Zero)
4576 }
4577 Else
4578 {
4579 Return (0x03)
4580 }
4581 }
4582
4583 Method (_PS0, 0, NotSerialized)
4584 {
4585 SETP (0x02, One)
4586 }
4587
4588 Method (_PS3, 0, NotSerialized)
4589 {
4590 SETR (0x02, Zero, Zero, Zero, Zero)
4591 SETP (0x02, Zero)
4592 }
4593 }
4594
4595 Device (FIR)
4596 {
4597 Name (_HID, EisaId ("SMCF010"))
4598 Name (RSRC, ResourceTemplate ()
4599 {
4600 IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08)
4601 IO (Decode16, 0x06F8, 0x06F8, 0x01, 0x08)
4602 IRQNoFlags () {3}
4603 DMA (Compatibility, NotBusMaster, Transfer8) {}
4604 })
4605 Name (_PRS, ResourceTemplate ()
4606 {
4607 StartDependentFnNoPri ()
4608 {
4609 IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08)
4610 IO (Decode16, 0x07F8, 0x07F8, 0x01, 0x08)
4611 IRQNoFlags () {4}
4612 }
4613 StartDependentFn (0x00, 0x01)
4614 {
4615 IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08)
4616 IO (Decode16, 0x06F8, 0x06F8, 0x01, 0x08)
4617 IRQNoFlags () {3}
4618 }
4619 StartDependentFnNoPri ()
4620 {
4621 IO (Decode16, 0x03E8, 0x03E8, 0x01, 0x08)
4622 IO (Decode16, 0x07E8, 0x07E8, 0x01, 0x08)
4623 IRQNoFlags () {4}
4624 }
4625 StartDependentFnNoPri ()
4626 {
4627 IO (Decode16, 0x02E8, 0x02E8, 0x01, 0x08)
4628 IO (Decode16, 0x06E8, 0x06E8, 0x01, 0x08)
4629 IRQNoFlags () {3}
4630 }
4631 EndDependentFn ()
4632 DMA (Compatibility, NotBusMaster, Transfer8) {1,3}
4633 })
4634 Method (_STA, 0, NotSerialized)
4635 {
4636 If (CHKM (0x03))
4637 {
4638 GETR (0x03, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4639 If (Local0)
4640 {
4641 Return (0x0F)
4642 }
4643 Else
4644 {
4645 Return (0x0D)
4646 }
4647 }
4648 Else
4649 {
4650 Return (0x00)
4651 }
4652 }
4653
4654 Method (_CRS, 0, NotSerialized)
4655 {
4656 CreateWordField (RSRC, 0x02, IO11)
4657 CreateWordField (RSRC, 0x04, IO12)
4658 CreateWordField (RSRC, 0x0A, IO21)
4659 CreateWordField (RSRC, 0x0C, IO22)
4660 CreateWordField (RSRC, 0x11, IRQ1)
4661 CreateByteField (RSRC, 0x14, DMA1)
4662 GETR (0x03, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4663 Store (Local0, IO11)
4664 Store (Local0, IO12)
4665 Store (Local1, IO21)
4666 Store (Local1, IO22)
4667 Store (Local2, IRQ1)
4668 Store (Local3, DMA1)
4669 Return (RSRC)
4670 }
4671
4672 Method (_SRS, 1, NotSerialized)
4673 {
4674 CreateWordField (Arg0, 0x04, IO11)
4675 CreateWordField (Arg0, 0x0C, IO21)
4676 CreateWordField (Arg0, 0x11, IRQ1)
4677 CreateByteField (Arg0, 0x14, DMA1)
4678 SETR (0x03, IO11, IO21, IRQ1, DMA1)
4679 }
4680
4681 Method (_DIS, 0, NotSerialized)
4682 {
4683 SETR (0x03, Zero, Zero, Zero, Zero)
4684 }
4685
4686 Method (_INI, 0, NotSerialized)
4687 {
4688 If (CHKM (0x03))
4689 {
4690 SETM (0x03)
4691 }
4692 }
4693
4694 Method (_PSC, 0, NotSerialized)
4695 {
4696 If (GETP (0x03))
4697 {
4698 Return (Zero)
4699 }
4700 Else
4701 {
4702 Return (0x03)
4703 }
4704 }
4705
4706 Method (_PS0, 0, NotSerialized)
4707 {
4708 SETP (0x03, One)
4709 }
4710
4711 Method (_PS3, 0, NotSerialized)
4712 {
4713 SETR (0x03, Zero, Zero, Zero, Zero)
4714 SETP (0x03, Zero)
4715 }
4716 }
4717
4718 Device (LPT)
4719 {
4720 Name (_HID, EisaId ("PNP0400"))
4721 Name (RSRC, ResourceTemplate ()
4722 {
4723 IO (Decode16, 0x0378, 0x0378, 0x01, 0x08)
4724 IO (Decode16, 0x0778, 0x0778, 0x01, 0x04)
4725 IRQNoFlags () {7}
4726 })
4727 Name (_PRS, ResourceTemplate ()
4728 {
4729 StartDependentFn (0x00, 0x01)
4730 {
4731 IO (Decode16, 0x0378, 0x0378, 0x01, 0x08)
4732 IO (Decode16, 0x0778, 0x0778, 0x01, 0x04)
4733 IRQNoFlags () {7}
4734 }
4735 StartDependentFnNoPri ()
4736 {
4737 IO (Decode16, 0x0278, 0x0278, 0x01, 0x08)
4738 IO (Decode16, 0x0678, 0x0678, 0x01, 0x04)
4739 IRQNoFlags () {7}
4740 }
4741 StartDependentFnNoPri ()
4742 {
4743 IO (Decode16, 0x03BC, 0x03BC, 0x01, 0x04)
4744 IO (Decode16, 0x07BC, 0x07BC, 0x01, 0x04)
4745 IRQNoFlags () {7}
4746 }
4747 StartDependentFn (0x00, 0x01)
4748 {
4749 IO (Decode16, 0x0378, 0x0378, 0x01, 0x08)
4750 IO (Decode16, 0x0778, 0x0778, 0x01, 0x04)
4751 IRQNoFlags () {5}
4752 }
4753 StartDependentFnNoPri ()
4754 {
4755 IO (Decode16, 0x0278, 0x0278, 0x01, 0x08)
4756 IO (Decode16, 0x0678, 0x0678, 0x01, 0x04)
4757 IRQNoFlags () {5}
4758 }
4759 StartDependentFnNoPri ()
4760 {
4761 IO (Decode16, 0x03BC, 0x03BC, 0x01, 0x04)
4762 IO (Decode16, 0x07BC, 0x07BC, 0x01, 0x04)
4763 IRQNoFlags () {5}
4764 }
4765 EndDependentFn ()
4766 })
4767 Method (_STA, 0, NotSerialized)
4768 {
4769 If (CHKM (0x04))
4770 {
4771 GETR (0x04, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4772 If (Local0)
4773 {
4774 Return (0x0F)
4775 }
4776 Else
4777 {
4778 Return (0x0D)
4779 }
4780 }
4781 Else
4782 {
4783 Return (0x00)
4784 }
4785 }
4786
4787 Method (_CRS, 0, NotSerialized)
4788 {
4789 CreateWordField (RSRC, 0x02, IO11)
4790 CreateWordField (RSRC, 0x04, IO12)
4791 CreateByteField (RSRC, 0x07, IO1L)
4792 CreateWordField (RSRC, 0x0A, IO21)
4793 CreateWordField (RSRC, 0x0C, IO22)
4794 CreateWordField (RSRC, 0x11, IRQ1)
4795 GETR (0x04, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4796 Store (Local0, IO11)
4797 Store (Local0, IO12)
4798 If (LEqual (Local0, 0x03BC))
4799 {
4800 Store (0x04, IO1L)
4801 }
4802 Else
4803 {
4804 Store (0x08, IO1L)
4805 }
4806
4807 Add (Local0, 0x0400, IO21)
4808 Store (IO21, IO22)
4809 Store (Local2, IRQ1)
4810 Return (RSRC)
4811 }
4812
4813 Method (_SRS, 1, NotSerialized)
4814 {
4815 CreateWordField (Arg0, 0x04, IO11)
4816 CreateWordField (Arg0, 0x11, IRQ1)
4817 SETR (0x04, IO11, Zero, IRQ1, Zero)
4818 }
4819
4820 Method (_DIS, 0, NotSerialized)
4821 {
4822 SETR (0x04, Zero, Zero, Zero, Zero)
4823 }
4824
4825 Method (_INI, 0, NotSerialized)
4826 {
4827 If (CHKM (0x04))
4828 {
4829 SETM (0x04)
4830 }
4831 }
4832 }
4833
4834 Device (ECP)
4835 {
4836 Name (_HID, EisaId ("PNP0401"))
4837 Name (RSRC, ResourceTemplate ()
4838 {
4839 IO (Decode16, 0x0378, 0x0378, 0x01, 0x08)
4840 IO (Decode16, 0x0778, 0x0778, 0x01, 0x04)
4841 IRQNoFlags () {7}
4842 DMA (Compatibility, NotBusMaster, Transfer8) {}
4843 })
4844 Name (_PRS, ResourceTemplate ()
4845 {
4846 StartDependentFn (0x00, 0x01)
4847 {
4848 IO (Decode16, 0x0378, 0x0378, 0x01, 0x08)
4849 IO (Decode16, 0x0778, 0x0778, 0x01, 0x04)
4850 IRQNoFlags () {7}
4851 }
4852 StartDependentFnNoPri ()
4853 {
4854 IO (Decode16, 0x0278, 0x0278, 0x01, 0x08)
4855 IO (Decode16, 0x0678, 0x0678, 0x01, 0x04)
4856 IRQNoFlags () {7}
4857 }
4858 StartDependentFnNoPri ()
4859 {
4860 IO (Decode16, 0x03BC, 0x03BC, 0x01, 0x04)
4861 IO (Decode16, 0x07BC, 0x07BC, 0x01, 0x04)
4862 IRQNoFlags () {7}
4863 }
4864 StartDependentFn (0x00, 0x01)
4865 {
4866 IO (Decode16, 0x0378, 0x0378, 0x01, 0x08)
4867 IO (Decode16, 0x0778, 0x0778, 0x01, 0x04)
4868 IRQNoFlags () {5}
4869 }
4870 StartDependentFnNoPri ()
4871 {
4872 IO (Decode16, 0x0278, 0x0278, 0x01, 0x08)
4873 IO (Decode16, 0x0678, 0x0678, 0x01, 0x04)
4874 IRQNoFlags () {5}
4875 }
4876 StartDependentFnNoPri ()
4877 {
4878 IO (Decode16, 0x03BC, 0x03BC, 0x01, 0x04)
4879 IO (Decode16, 0x07BC, 0x07BC, 0x01, 0x04)
4880 IRQNoFlags () {5}
4881 }
4882 EndDependentFn ()
4883 DMA (Compatibility, NotBusMaster, Transfer8) {1,3}
4884 })
4885 Method (_STA, 0, NotSerialized)
4886 {
4887 If (CHKM (0x05))
4888 {
4889 GETR (0x05, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4890 If (Local0)
4891 {
4892 Return (0x0F)
4893 }
4894 Else
4895 {
4896 Return (0x0D)
4897 }
4898 }
4899 Else
4900 {
4901 Return (0x00)
4902 }
4903 }
4904
4905 Method (_CRS, 0, NotSerialized)
4906 {
4907 CreateWordField (RSRC, 0x02, IO11)
4908 CreateWordField (RSRC, 0x04, IO12)
4909 CreateByteField (RSRC, 0x07, IO1L)
4910 CreateWordField (RSRC, 0x0A, IO21)
4911 CreateWordField (RSRC, 0x0C, IO22)
4912 CreateWordField (RSRC, 0x11, IRQ1)
4913 CreateByteField (RSRC, 0x14, DMA1)
4914 GETR (0x05, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4915 Store (Local0, IO11)
4916 Store (Local0, IO12)
4917 If (LEqual (Local0, 0x03BC))
4918 {
4919 Store (0x04, IO1L)
4920 }
4921 Else
4922 {
4923 Store (0x08, IO1L)
4924 }
4925
4926 Add (Local0, 0x0400, IO21)
4927 Store (IO21, IO22)
4928 Store (Local2, IRQ1)
4929 Store (Local3, DMA1)
4930 Return (RSRC)
4931 }
4932
4933 Method (_SRS, 1, NotSerialized)
4934 {
4935 CreateWordField (Arg0, 0x04, IO11)
4936 CreateWordField (Arg0, 0x11, IRQ1)
4937 CreateByteField (Arg0, 0x14, DMA1)
4938 SETR (0x05, IO11, Zero, IRQ1, DMA1)
4939 }
4940
4941 Method (_DIS, 0, NotSerialized)
4942 {
4943 SETR (0x05, Zero, Zero, Zero, Zero)
4944 }
4945
4946 Method (_INI, 0, NotSerialized)
4947 {
4948 If (CHKM (0x05))
4949 {
4950 SETM (0x05)
4951 }
4952 }
4953 }
4954
4955 Device (FDC)
4956 {
4957 Name (_HID, EisaId ("PNP0700"))
4958 Name (RSRC, ResourceTemplate ()
4959 {
4960 IO (Decode16, 0x03F0, 0x03F0, 0x01, 0x06)
4961 IO (Decode16, 0x03F7, 0x03F7, 0x01, 0x01)
4962 IRQNoFlags () {6}
4963 DMA (Compatibility, NotBusMaster, Transfer8) {2}
4964 })
4965 Name (_PRS, ResourceTemplate ()
4966 {
4967 IO (Decode16, 0x03F0, 0x03F0, 0x01, 0x06)
4968 IO (Decode16, 0x03F7, 0x03F7, 0x01, 0x01)
4969 IRQNoFlags () {6}
4970 DMA (Compatibility, NotBusMaster, Transfer8) {2}
4971 })
4972 Method (_STA, 0, NotSerialized)
4973 {
4974 If (CHKM (0x07))
4975 {
4976 GETR (0x07, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
4977 If (Local0)
4978 {
4979 Return (0x0F)
4980 }
4981 Else
4982 {
4983 Return (0x0D)
4984 }
4985 }
4986 Else
4987 {
4988 Return (0x00)
4989 }
4990 }
4991
4992 Method (_CRS, 0, NotSerialized)
4993 {
4994 CreateWordField (RSRC, 0x02, IO11)
4995 CreateWordField (RSRC, 0x04, IO12)
4996 CreateWordField (RSRC, 0x0A, IO21)
4997 CreateWordField (RSRC, 0x0C, IO22)
4998 CreateWordField (RSRC, 0x11, IRQ1)
4999 CreateByteField (RSRC, 0x14, DMA1)
5000 GETR (0x07, RefOf (Local0), RefOf (Local1), RefOf (Local2), RefOf (Local3))
5001 Store (Local0, IO11)
5002 Store (Local0, IO12)
5003 Add (Local0, 0x07, IO21)
5004 Store (IO21, IO22)
5005 Store (Local2, IRQ1)
5006 Store (Local3, DMA1)
5007 Return (RSRC)
5008 }
5009
5010 Method (_SRS, 1, NotSerialized)
5011 {
5012 CreateWordField (Arg0, 0x04, IO11)
5013 CreateWordField (Arg0, 0x11, IRQ1)
5014 CreateByteField (Arg0, 0x14, DMA1)
5015 SETR (0x07, IO11, Zero, IRQ1, DMA1)
5016 }
5017
5018 Method (_DIS, 0, NotSerialized)
5019 {
5020 SETR (0x07, Zero, Zero, Zero, Zero)
5021 }
5022
5023 Method (_FDE, 0, NotSerialized)
5024 {
5025 If (FDS0)
5026 {
5027 Store (0x01, Index (FDEB, 0x00))
5028 }
5029
5030 If (FDS1)
5031 {
5032 Store (0x01, Index (FDEB, 0x04))
5033 }
5034
5035 Return (FDEB)
5036 }
5037
5038 Name (FDEB, Buffer (0x14)
5039 {
5040 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
5041 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
5042 0x00, 0x00, 0x00, 0x00
5043 })
5044 Device (DRV0)
5045 {
5046 Name (_ADR, 0x00)
5047 Method (_STA, 0, NotSerialized)
5048 {
5049 If (FDS0)
5050 {
5051 Store (0x0F, Local7)
5052 }
5053 Else
5054 {
5055 Store (0x00, Local7)
5056 }
5057
5058 Return (Local7)
5059 }
5060
5061 Method (_FDI, 0, NotSerialized)
5062 {
5063 If (LOr (FDS1, LNot (LEqual (FDS0, 0x04))))
5064 {
5065 MKFP (FDS0)
5066 }
5067
5068 Return (FPPK)
5069 }
5070 }
5071
5072 Device (DRV1)
5073 {
5074 Name (_ADR, 0x01)
5075 Method (_STA, 0, NotSerialized)
5076 {
5077 If (FDS1)
5078 {
5079 Store (0x0F, Local7)
5080 }
5081 Else
5082 {
5083 Store (0x00, Local7)
5084 }
5085
5086 Return (Local7)
5087 }
5088
5089 Method (_FDI, 0, NotSerialized)
5090 {
5091 MKFP (FDS1)
5092 Return (FPPK)
5093 }
5094 }
5095
5096 Method (MKFP, 1, NotSerialized)
5097 {
5098 If (LEqual (Arg0, 0x01))
5099 {
5100 Store (FP5D, FPBF)
5101 }
5102 Else
5103 {
5104 If (LEqual (Arg0, 0x02))
5105 {
5106 Store (FP5H, FPBF)
5107 }
5108 Else
5109 {
5110 If (LEqual (Arg0, 0x03))
5111 {
5112 Store (FP3D, FPBF)
5113 }
5114 Else
5115 {
5116 If (LEqual (Arg0, 0x04))
5117 {
5118 Store (FP3H, FPBF)
5119 }
5120 Else
5121 {
5122 If (LEqual (Arg0, 0x06))
5123 {
5124 Store (FP3E, FPBF)
5125 }
5126 }
5127 }
5128 }
5129 }
5130
5131 If (FDS1)
5132 {
5133 Store (0x02, Index (FPBF, 0x00))
5134 }
5135
5136 Store (0x00, Local0)
5137 While (LGreater (0x10, Local0))
5138 {
5139 Store (DerefOf (Index (FPBF, Local0)), Index (FPPK, Local0))
5140 Increment (Local0)
5141 }
5142 }
5143
5144 Name (FPPK, Package (0x10)
5145 {
5146 0x01,
5147 0x04,
5148 0x4F,
5149 0x12,
5150 0x01,
5151 0xDF,
5152 0x02,
5153 0x25,
5154 0x02,
5155 0x12,
5156 0x1B,
5157 0xFF,
5158 0x6C,
5159 0xF6,
5160 0x0F,
5161 0x05
5162 })
5163 Name (FPBF, Buffer (0x10) {})
5164 Name (FP5D, Buffer (0x10)
5165 {
5166 0x01, 0x01, 0x27, 0x09, 0x01, 0xDF, 0x02, 0x25,
5167 0x02, 0x09, 0x2A, 0xFF, 0x50, 0xF6, 0x0F, 0x06
5168 })
5169 Name (FP5H, Buffer (0x10)
5170 {
5171 0x01, 0x02, 0x4F, 0x0F, 0x01, 0xDF, 0x04, 0x25,
5172 0x02, 0x0F, 0x1B, 0xFF, 0x54, 0xF6, 0x0F, 0x06
5173 })
5174 Name (FP3D, Buffer (0x10)
5175 {
5176 0x01, 0x03, 0x4F, 0x09, 0x01, 0xEF, 0x02, 0x25,
5177 0x02, 0x09, 0x1B, 0xFF, 0x50, 0xF6, 0x0F, 0x05
5178 })
5179 Name (FP3H, Buffer (0x10)
5180 {
5181 0x01, 0x04, 0x4F, 0x12, 0x01, 0xDF, 0x02, 0x25,
5182 0x02, 0x12, 0x1B, 0xFF, 0x6C, 0xF6, 0x0F, 0x05
5183 })
5184 Name (FP3E, Buffer (0x10)
5185 {
5186 0x01, 0x06, 0x4F, 0x24, 0x01, 0xAA, 0x08, 0x25,
5187 0x02, 0x24, 0x1B, 0xFF, 0x54, 0xF6, 0x0F, 0x05
5188 })
5189 }
5190
5191 Scope (UAR1)
5192 {
5193 Name (_PRW, Package (0x02)
5194 {
5195 0x08,
5196 0x03
5197 })
5198 Method (_PSW, 1, NotSerialized)
5199 {
5200 If (Arg0)
5201 {
5202 Store (Zero, RI1M)
5203 }
5204 Else
5205 {
5206 Store (One, RI1M)
5207 }
5208 }
5209 }
5210 }
5211
5212 Device (SATA)
5213 {
5214 Name (_ADR, 0x001F0002)
5215 }
5216
5217 Device (SBUS)
5218 {
5219 Name (_ADR, 0x001F0003)
5220 }
5221 }
5222
5223 Scope (\)
5224 {
5225 Name (WBTN, Zero)
5226 Name (NGTM, Zero)
5227 Name (LSBL, Zero)
5228 Name (BNBF, Buffer (0x20) {})
5229 Name (BNSP, Zero)
5230 Name (BNGP, Zero)
5231 Name (BNCT, Zero)
5232 Name (WSEF, Zero)
5233 Name (LIDF, Zero)
5234 }
5235
5236 Device (FEXT)
5237 {
5238 Name (_HID, "FUJ02E3")
5239 Method (_STA, 0, NotSerialized)
5240 {
5241 Return (0x0F)
5242 }
5243
5244 Method (_INI, 0, NotSerialized)
5245 {
5246 Store (Zero, BNSP)
5247 Store (Zero, BNGP)
5248 Store (Zero, BNCT)
5249 Store (Zero, IRBC)
5250 Store (Zero, IRBF)
5251 If (LEqual (FCCT, Zero))
5252 {
5253 Store (Zero, FCCI)
5254 }
5255 }
5256
5257 Method (FUNC, 4, Serialized)
5258 {
5259 Store (0x80000000, Local0)
5260 If (LEqual (Arg0, 0x1000))
5261 {
5262 Store (S000 (Arg1, Arg2, Arg3), Local0)
5263 }
5264
5265 If (LEqual (Arg0, 0x1001))
5266 {
5267 Store (S001 (Arg1, Arg2, Arg3), Local0)
5268 }
5269 Else
5270 {
5271 If (LEqual (Arg0, 0x1002))
5272 {
5273 Store (S002 (Arg1, Arg2, Arg3), Local0)
5274 }
5275 Else
5276 {
5277 If (LEqual (Arg0, 0x1004))
5278 {
5279 Store (S004 (Arg1, Arg2, Arg3), Local0)
5280 }
5281 }
5282 }
5283
5284 If (LEqual (Arg0, 0x1006))
5285 {
5286 Store (S006 (Arg1, Arg2, Arg3), Local0)
5287 }
5288
5289 If (LEqual (Arg0, 0x1007))
5290 {
5291 Store (S007 (Arg1, Arg2, Arg3), Local0)
5292 }
5293
5294 If (LEqual (Arg0, 0x1008))
5295 {
5296 Store (S008 (Arg1, Arg2, Arg3), Local0)
5297 }
5298
5299 Return (Local0)
5300 }
5301
5302 Method (S000, 3, NotSerialized)
5303 {
5304 Store (0x80000000, Local0)
5305 If (LEqual (Arg0, 0x00))
5306 {
5307 Store (Zero, Local0)
5308 Or (Local0, 0x20, Local0)
5309 Or (Local0, 0x0100, Local0)
5310 }
5311 Else
5312 {
5313 If (LEqual (Arg0, 0x01))
5314 {
5315 Store (Zero, Local0)
5316 Or (Local0, ShiftLeft (WSEF, 0x05), Local0)
5317 Store (Zero, WSEF)
5318 Or (Local0, ShiftLeft (LIDF, 0x08), Local0)
5319 Store (Zero, LIDF)
5320 }
5321 Else
5322 {
5323 If (LEqual (Arg0, 0x04))
5324 {
5325 Store (Zero, Local0)
5326 Or (Local0, ShiftLeft (WLSW, 0x05), Local0)
5327 Or (Local0, ShiftLeft (\_SB.LID._LID (), 0x08), Local0)
5328 }
5329 }
5330 }
5331
5332 Return (Local0)
5333 }
5334
5335 Method (S001, 3, NotSerialized)
5336 {
5337 Store (0x80000000, Local0)
5338 If (LEqual (Arg0, Zero))
5339 {
5340 Store (LEDI, Local0)
5341 }
5342 Else
5343 {
5344 If (LEqual (Arg0, One))
5345 {
5346 And (Arg2, 0x03, Local1)
5347 If (LAnd (And (Arg1, LEDI), Local1))
5348 {
5349 Store (0x9B, BCMD)
5350 ShiftRight (And (Arg2, 0x00030000), 0x08, DID)
5351 Store (Zero, SMIC)
5352 }
5353
5354 Store (Zero, Local0)
5355 }
5356 Else
5357 {
5358 If (LEqual (Arg0, 0x02))
5359 {
5360 If (And (Arg1, LEDI))
5361 {
5362 Store (0x9B, BCMD)
5363 Store (One, DID)
5364 Store (Zero, SMIC)
5365 Or (ShiftLeft (DID, 0x10), One, Local0)
5366 }
5367 Else
5368 {
5369 Store (Zero, Local0)
5370 }
5371 }
5372 }
5373 }
5374
5375 Return (Local0)
5376 }
5377
5378 Method (S002, 3, NotSerialized)
5379 {
5380 Store (0x80000000, Local0)
5381 If (LEqual (Arg0, Zero))
5382 {
5383 Store (BTNI, Local0)
5384 }
5385 Else
5386 {
5387 If (LEqual (Arg0, One))
5388 {
5389 Store (GIRB (), Local0)
5390 }
5391 Else
5392 {
5393 If (LEqual (Arg0, 0x02))
5394 {
5395 Store (0x9B, BCMD)
5396 Store (0x02, DID)
5397 Store (Zero, SMIC)
5398 Store (DID, Local0)
5399 }
5400 Else
5401 {
5402 If (LEqual (Arg0, 0x03))
5403 {
5404 If (Arg1)
5405 {
5406 Not (Arg1, Local1)
5407 And (Arg2, Arg1, Local2)
5408 Or (And (WBTN, Local1), Local2, WBTN)
5409 Store (0x9B, BCMD)
5410 Or (ShiftLeft (WBTN, 0x08), 0x03, DID)
5411 Store (Zero, SMIC)
5412 }
5413
5414 Store (WBTN, Local0)
5415 }
5416 }
5417 }
5418 }
5419
5420 Return (Local0)
5421 }
5422
5423 Method (SIRB, 1, NotSerialized)
5424 {
5425 If (LLess (BNCT, 0x10))
5426 {
5427 CreateWordField (BNBF, BNSP, BNP1)
5428 Store (Arg0, BNP1)
5429 Increment (BNCT)
5430 Add (BNSP, 0x02, BNSP)
5431 If (LNot (LLess (BNSP, 0x20)))
5432 {
5433 Store (Zero, BNSP)
5434 }
5435 }
5436 }
5437
5438 Method (GIRB, 0, NotSerialized)
5439 {
5440 If (BNCT)
5441 {
5442 CreateWordField (BNBF, BNGP, BNP2)
5443 Store (BNP2, Local0)
5444 Or (Local0, 0x40000000, Local0)
5445 Decrement (BNCT)
5446 Add (BNGP, 0x02, BNGP)
5447 If (LNot (LLess (BNGP, 0x20)))
5448 {
5449 Store (Zero, BNGP)
5450 }
5451 }
5452 Else
5453 {
5454 Store (Zero, Local0)
5455 }
5456
5457 Return (Local0)
5458 }
5459
5460 Method (S004, 3, NotSerialized)
5461 {
5462 Store (0x80000000, Local0)
5463 If (LEqual (Arg0, Zero))
5464 {
5465 Store (NGTI, Local0)
5466 }
5467 Else
5468 {
5469 If (LEqual (Arg0, One))
5470 {
5471 If (LAnd (LEqual (Arg1, 0x04), And (NGTI, 0x04)))
5472 {
5473 And (Arg2, 0x03, Local1)
5474 If (LOr (LEqual (Local1, 0x03), LEqual (Local1, 0x02)))
5475 {
5476 If (LNot (NGTF))
5477 {
5478 SVBL ()
5479 Store (One, NGTF)
5480 }
5481
5482 SBLC (Local1)
5483 Store (Local1, NGTM)
5484 Store (Zero, Local0)
5485 }
5486
5487 If (LNot (Local1))
5488 {
5489 If (NGTF)
5490 {
5491 Store (Zero, NGTF)
5492 RSBL ()
5493 SBLC (Zero)
5494 }
5495
5496 Store (Zero, NGTM)
5497 Store (Zero, Local0)
5498 }
5499 }
5500 }
5501 Else
5502 {
5503 If (LEqual (Arg0, 0x02))
5504 {
5505 If (LAnd (LEqual (Arg1, 0x04), And (NGTI, 0x04)))
5506 {
5507 Store (NGTM, Local0)
5508 }
5509 }
5510 }
5511 }
5512
5513 Return (Local0)
5514 }
5515
5516 Method (S006, 3, NotSerialized)
5517 {
5518 Store (0x80000000, Local0)
5519 If (ECOK)
5520 {
5521 If (LEqual (Arg0, Zero))
5522 {
5523 Store (ECCI, Local0)
5524 }
5525 Else
5526 {
5527 If (LEqual (Arg0, 0x10))
5528 {
5529 If (Arg1)
5530 {
5531 If (LNot (LEqual (Arg1, 0x0100)))
5532 {
5533 And (Arg1, 0xFF00, Local2)
5534 And (Arg1, 0xFF, ECG1)
5535 If (LEqual (Local2, 0x00))
5536 {
5537 Store (0x23, ECGM)
5538 }
5539 Else
5540 {
5541 If (LEqual (Local2, 0x0100))
5542 {
5543 Store (0x43, ECGM)
5544 }
5545 Else
5546 {
5547 If (LAnd (LNot (LLess (Local2, 0x0400)), LNot (LGreater (Local2, 0xFF00))))
5548 {
5549 Store (Add (ShiftRight (Local2, 0x08), 0x01), ECGM)
5550 }
5551 }
5552 }
5553
5554 Store (Zero, Local1)
5555 While (LAnd (ECGM, LLess (Local1, 0x64)))
5556 {
5557 Sleep (0x01)
5558 Increment (Local1)
5559 }
5560
5561 If (LNot (LLess (Local1, 0x64)))
5562 {
5563 Store (0x80000001, Local0)
5564 }
5565 Else
5566 {
5567 Or (ShiftLeft (ECG2, 0x08), ECG3, Local0)
5568 }
5569 }
5570 Else
5571 {
5572 Or (ShiftLeft (TCST, 0x08), PDAT, Local0)
5573 }
5574 }
5575 Else
5576 {
5577 Store (0xFD70, Local0)
5578 }
5579 }
5580 Else
5581 {
5582 If (LEqual (Arg0, 0x11))
5583 {
5584 And (Arg1, 0xFF00, Local2)
5585 And (Arg1, 0xFF, ECG1)
5586 ShiftRight (And (Arg2, 0xFF00), 0x08, ECG2)
5587 And (Arg2, 0xFF, ECG3)
5588 If (LEqual (Local2, 0x00))
5589 {
5590 Store (0x22, ECGM)
5591 }
5592 Else
5593 {
5594 If (LEqual (Local2, 0x0100))
5595 {
5596 Store (0x42, ECGM)
5597 }
5598 Else
5599 {
5600 If (LAnd (LNot (LLess (Local2, 0x0400)), LNot (LGreater (Local2, 0xFF00))))
5601 {
5602 Store (ShiftRight (Local2, 0x08), ECGM)
5603 }
5604 }
5605 }
5606
5607 Store (Zero, Local1)
5608 While (LAnd (ECGM, LLess (Local1, 0x64)))
5609 {
5610 Sleep (0x01)
5611 Increment (Local1)
5612 }
5613
5614 If (LNot (LLess (Local1, 0x64)))
5615 {
5616 Store (0x80000001, Local0)
5617 }
5618 Else
5619 {
5620 Store (Zero, Local0)
5621 }
5622 }
5623 Else
5624 {
5625 If (LEqual (Arg0, 0x12))
5626 {
5627 Store (GINT, Local0)
5628 Store (Zero, GINT)
5629 }
5630 Else
5631 {
5632 If (LEqual (Arg0, 0x20))
5633 {
5634 ShiftRight (And (Arg1, 0xFF000000), 0x18, ECD3)
5635 ShiftRight (And (Arg1, 0x00FF0000), 0x10, ECD2)
5636 ShiftRight (And (Arg1, 0xFF00), 0x08, ECD1)
5637 And (Arg1, 0xFF, ECCM)
5638 Store (Zero, Local1)
5639 While (LAnd (ECCM, LLess (Local1, 0x64)))
5640 {
5641 Sleep (0x01)
5642 Increment (Local1)
5643 }
5644
5645 If (LNot (LLess (Local1, 0x64)))
5646 {
5647 Store (0x80000001, Local0)
5648 }
5649 Else
5650 {
5651 Or (Or (ShiftLeft (ECD3, 0x10), ShiftLeft (ECD2, 0x08)), ECD1, Local0)
5652 }
5653 }
5654 Else
5655 {
5656 If (LEqual (Arg0, 0x30))
5657 {
5658 Store (0x80000001, Local0)
5659 ShiftRight (And (Arg1, 0xFF00), 0x08, Local1)
5660 ShiftRight (And (Arg1, 0xFFFF0000), 0x10, Local2)
5661 If (LOr (LEqual (Local2, 0xFD64), LEqual (Local2, 0xFD65)))
5662 {
5663 Store (Local1, AIDA)
5664 Store (ADTA, Local0)
5665 }
5666
5667 If (LOr (LEqual (Local2, 0xFD62), LEqual (Local2, 0xFD63)))
5668 {
5669 Store (Local1, AIDB)
5670 Store (ADTB, Local0)
5671 }
5672
5673 If (LOr (LEqual (Local2, 0xFD60), LEqual (Local2, 0xFD61)))
5674 {
5675 Store (Local1, AIDC)
5676 Store (ADTC, Local0)
5677 }
5678
5679 If (LOr (LEqual (Local2, 0xFD66), LEqual (Local2, 0xFD67)))
5680 {
5681 Store (Local1, AIDD)
5682 Store (ADTD, Local0)
5683 }
5684
5685 If (LOr (LEqual (Local2, 0xFD70), LEqual (Local2, 0xFD74)))
5686 {
5687 Store (Local1, PMID)
5688 Store (PMDT, Local0)
5689 }
5690 }
5691 Else
5692 {
5693 If (LEqual (Arg0, 0x31))
5694 {
5695 Store (0x80000001, Local0)
5696 And (Arg1, 0xFF, Local1)
5697 ShiftRight (And (Arg1, 0xFF00), 0x08, Local2)
5698 ShiftRight (And (Arg1, 0xFFFF0000), 0x10, Local3)
5699 If (LOr (LEqual (Local3, 0xFD64), LEqual (Local3, 0xFD65)))
5700 {
5701 Store (Local2, AIDA)
5702 Store (Local1, ADTA)
5703 Store (Zero, Local0)
5704 }
5705
5706 If (LOr (LEqual (Local3, 0xFD62), LEqual (Local3, 0xFD63)))
5707 {
5708 Store (Local2, AIDB)
5709 Store (Local1, ADTB)
5710 Store (Zero, Local0)
5711 }
5712
5713 If (LOr (LEqual (Local3, 0xFD60), LEqual (Local3, 0xFD61)))
5714 {
5715 Store (Local2, AIDC)
5716 Store (Local1, ADTC)
5717 Store (Zero, Local0)
5718 }
5719
5720 If (LOr (LEqual (Local3, 0xFD66), LEqual (Local3, 0xFD67)))
5721 {
5722 Store (Local2, AIDD)
5723 Store (Local1, ADTD)
5724 Store (Zero, Local0)
5725 }
5726
5727 If (LOr (LEqual (Local3, 0xFD70), LEqual (Local3, 0xFD74)))
5728 {
5729 Store (Local2, PMID)
5730 Store (Local1, PMDT)
5731 Store (Zero, Local0)
5732 }
5733 }
5734 }
5735 }
5736 }
5737 }
5738 }
5739 }
5740 }
5741
5742 Return (Local0)
5743 }
5744
5745 Method (S007, 3, NotSerialized)
5746 {
5747 Store (0x80000000, Local0)
5748 If (LEqual (Arg0, Zero))
5749 {
5750 If (LEqual (Arg1, Zero))
5751 {
5752 Store (FCCI, Local0)
5753 }
5754 Else
5755 {
5756 If (LEqual (Arg1, 0x20))
5757 {
5758 Store (Or (FNUM, ShiftLeft (FDLT, 0x04)), Local0)
5759 }
5760 Else
5761 {
5762 If (LEqual (Arg1, 0x30))
5763 {
5764 Store (Zero, Local0)
5765 }
5766 }
5767 }
5768 }
5769 Else
5770 {
5771 If (LAnd (LEqual (Arg0, 0x02), And (FCCI, 0x02)))
5772 {
5773 If (LOr (LEqual (Arg1, 0x00), LLess (Arg2, FNUM)))
5774 {
5775 Store (0x9F, BCMD)
5776 Store (Arg2, DID)
5777 And (DID, 0x0F, DID)
5778 Or (DID, ShiftLeft (Arg1, 0x04), DID)
5779 Store (Zero, SMIC)
5780 And (DID, 0x0F, DID)
5781 Store (DID, Local0)
5782 }
5783 }
5784 }
5785
5786 Return (Local0)
5787 }
5788
5789 Method (S008, 3, NotSerialized)
5790 {
5791 Store (0x80000000, Local0)
5792 If (LEqual (Arg0, 0x00))
5793 {
5794 If (LAnd (LNot (LLess (Arg1, 0x00)), LNot (LGreater (Arg1, 0x05))))
5795 {
5796 If (LEqual (Arg1, Zero))
5797 {
5798 Store (Zero, Local0)
5799 }
5800 Else
5801 {
5802 If (LEqual (Arg1, One))
5803 {
5804 If (LNot (LLess (\_SB.OSTP (), 0x40)))
5805 {
5806 Store (0x02, Local0)
5807 }
5808 Else
5809 {
5810 Store (Zero, Local0)
5811 }
5812 }
5813 Else
5814 {
5815 Store (0xA4, BCMD)
5816 Store (Arg0, QAG1)
5817 Store (Arg1, QAG2)
5818 Store (Arg2, QAG3)
5819 Store (Zero, DID)
5820 Store (Zero, SMIC)
5821 Store (DID, Local0)
5822 }
5823 }
5824 }
5825 }
5826 Else
5827 {
5828 If (LEqual (Arg0, 0x01))
5829 {
5830 If (LAnd (LNot (LLess (Arg1, 0x00)), LNot (LGreater (Arg1, 0x01))))
5831 {
5832 Store (0xA4, BCMD)
5833 Store (Arg0, QAG1)
5834 Store (Arg1, QAG2)
5835 Store (Arg2, QAG3)
5836 Store (Zero, DID)
5837 Store (Zero, SMIC)
5838 Store (DID, Local0)
5839 }
5840 }
5841 Else
5842 {
5843 If (LEqual (Arg0, 0x02))
5844 {
5845 If (LAnd (LNot (LLess (Arg1, 0x00)), LNot (LGreater (Arg1, 0x01))))
5846 {
5847 Store (0xA4, BCMD)
5848 Store (Arg0, QAG1)
5849 Store (Arg1, QAG2)
5850 Store (Arg2, QAG3)
5851 Store (Zero, DID)
5852 Store (Zero, SMIC)
5853 Store (DID, Local0)
5854 }
5855 }
5856 Else
5857 {
5858 If (LEqual (Arg0, 0x03))
5859 {
5860 If (LEqual (Arg1, 0x00))
5861 {
5862 Store (0xA4, BCMD)
5863 Store (Arg0, QAG1)
5864 Store (Arg1, QAG2)
5865 Store (Arg2, QAG3)
5866 Store (Zero, DID)
5867 Store (Zero, SMIC)
5868 Store (DID, Local0)
5869 }
5870 }
5871 Else
5872 {
5873 If (LEqual (Arg0, 0x04))
5874 {
5875 If (LAnd (LNot (LLess (Arg1, 0x00)), LNot (LGreater (Arg1, 0x01))))
5876 {
5877 Store (0xA4, BCMD)
5878 Store (Arg0, QAG1)
5879 Store (Arg1, QAG2)
5880 Store (Arg2, QAG3)
5881 Store (Zero, DID)
5882 Store (Zero, SMIC)
5883 Store (DID, Local0)
5884 }
5885 }
5886 }
5887 }
5888 }
5889 }
5890
5891 Return (Local0)
5892 }
5893 }
5894
5895 Scope (FEXT)
5896 {
5897 Method (SBLC, 1, NotSerialized)
5898 {
5899 If (LNot (Arg0))
5900 {
5901 Store (Zero, BLCT)
5902 }
5903 Else
5904 {
5905 If (LEqual (Arg0, 0x03))
5906 {
5907 Store (One, BLCT)
5908 }
5909 Else
5910 {
5911 If (LEqual (Arg0, 0x02))
5912 {
5913 Name (BBCT, Buffer (BLLM) {})
5914 Store (BLLT, BBCT)
5915 CreateByteField (BBCT, Zero, BLL0)
5916 Store (BLL0, LCDB)
5917 Store (0x01000000, DID)
5918 Or (DID, BLL0, DID)
5919 Store (0x82, BCMD)
5920 Store (Zero, SMIC)
5921 Store (Zero, BLCT)
5922 }
5923 }
5924 }
5925 }
5926
5927 Method (SVBL, 0, NotSerialized)
5928 {
5929 And (\_SB.PCI0.LPCB.FJEX.GBLL (), 0x7FFFFFFF, LSBL)
5930 }
5931
5932 Method (RSBL, 0, NotSerialized)
5933 {
5934 \_SB.PCI0.LPCB.FJEX.SBLL (LSBL)
5935 }
5936 }
5937
5938 Device (AC)
5939 {
5940 Name (_HID, "ACPI0003")
5941 Scope (\)
5942 {
5943 Name (ACPS, Ones)
5944 }
5945
5946 Method (_INI, 0, NotSerialized)
5947 {
5948 Store (ACPW, ACPS)
5949 }
5950
5951 Method (_STA, 0, NotSerialized)
5952 {
5953 Return (0x0F)
5954 }
5955
5956 Method (_PSR, 0, NotSerialized)
5957 {
5958 _INI ()
5959 If (ACPW)
5960 {
5961 Return (One)
5962 }
5963 Else
5964 {
5965 Return (Zero)
5966 }
5967 }
5968
5969 Name (_PCL, Package (0x01)
5970 {
5971 \_SB
5972 })
5973 Method (ACHK, 0, NotSerialized)
5974 {
5975 Store (ACPW, Local0)
5976 If (LNot (LEqual (Local0, ACPS)))
5977 {
5978 Sleep (0x28)
5979 Notify (\_SB.AC, 0x80)
5980 Store (Zero, DID)
5981 Store (0x8D, BCMD)
5982 Store (Zero, SMIC)
5983 \_PR.CSTC ()
5984 Notify (\_PR.CPU0, 0x80)
5985 Store (Local0, ACPS)
5986 }
5987 }
5988 }
5989
5990 Device (CMB1)
5991 {
5992 Name (_HID, EisaId ("PNP0C0A"))
5993 Name (_UID, One)
5994 Name (_PCL, Package (0x01)
5995 {
5996 \_SB
5997 })
5998 Scope (\)
5999 {
6000 Name (B1PS, Ones)
6001 Name (B1RS, Ones)
6002 Name (B1CS, Ones)
6003 Name (B1LS, Ones)
6004 Name (BIF1, Package (0x0D)
6005 {
6006 0x01,
6007 0x00,
6008 0x00,
6009 0x01,
6010 0x00,
6011 0x00,
6012 0x00,
6013 0x01,
6014 0x01,
6015 "",
6016 "1",
6017 "LION",
6018 "Fujitsu"
6019 })
6020 Name (BST1, Package (0x04) {})
6021 Mutex (MTBT, 0x00)
6022 }
6023
6024 Method (MKWD, 2, NotSerialized)
6025 {
6026 If (And (Arg1, 0x80))
6027 {
6028 Or (0xFFFF0000, Arg0, Local0)
6029 Or (Local0, ShiftLeft (Arg1, 0x08), Local0)
6030 Subtract (Zero, Local0, Local0)
6031 }
6032 Else
6033 {
6034 Store (Arg0, Local0)
6035 Or (Local0, ShiftLeft (Arg1, 0x08), Local0)
6036 }
6037
6038 Return (Local0)
6039 }
6040
6041 Method (MBCD, 3, NotSerialized)
6042 {
6043 CreateByteField (Arg1, Arg2, BBF1)
6044 CreateByteField (Arg1, Add (Arg2, One), BBF2)
6045 Add (0x30, ShiftRight (Arg0, 0x04), BBF1)
6046 Add (0x30, And (Arg0, 0x0F), BBF2)
6047 }
6048
6049 Method (_INI, 0, NotSerialized)
6050 {
6051 Store (B1P, B1PS)
6052 Store (B1CP, B1RS)
6053 Store (B1C, B1CS)
6054 Store (MKWD (B1LL, B1LH), B1LS)
6055 }
6056
6057 Method (_BIF, 0, NotSerialized)
6058 {
6059 Name (BUFF, Buffer (0x0C) {})
6060 Name (BUF2, Buffer (0x13) {})
6061 Store (B1NO, Local5)
6062 CreateByteField (BIDT, B1ID, B1IX)
6063 Store (MKWD (B1DL, B1DH), Index (BIF1, 0x01))
6064 Store (MKWD (B1LL, B1LH), Index (BIF1, 0x02))
6065 Store (Multiply (Add (And (B1DV, 0xEF), 0x02), 0x0E10), Index (BIF1, 0x04))
6066 If (LNot (LLess (\_SB.OSTP (), 0x40)))
6067 {
6068 Divide (Multiply (Add (Multiply (0x0C, 0x0A), 0x04), DerefOf (Index (BIF1, 0x01))), 0x03E8, Local0, Index (BIF1, 0x05))
6069 }
6070
6071 If (LNot (LLess (\_SB.OSTP (), 0x40)))
6072 {
6073 If (LEqual (BIFL, 0xFF))
6074 {
6075 Store (0x07, Local1)
6076 }
6077 Else
6078 {
6079 Store (BIFL, Local1)
6080 }
6081
6082 Divide (Multiply (Add (Multiply (Local1, 0x0A), 0x04), DerefOf (Index (BIF1, 0x01))), 0x03E8, Local0, Index (BIF1, 0x06))
6083 }
6084
6085 If (Local5)
6086 {
6087 Store (DerefOf (Index (BMST, B1IX)), BUFF)
6088 Store (0x07, Local0)
6089 Store (Local5, Local2)
6090 While (LAnd (Local2, LNot (LLess (Local0, 0x02))))
6091 {
6092 Store (Subtract (DerefOf (Index (BUFF, Local0)), 0x30), Local1)
6093 Divide (Add (Local1, Local2), 0x0A, Local1, Local2)
6094 Store (Add (Local1, 0x30), Index (BUFF, Local0))
6095 Decrement (Local0)
6096 }
6097
6098 Store (BUFF, Index (BIF1, 0x09))
6099 }
6100 Else
6101 {
6102 Store (DerefOf (Index (BMNT, B1IX)), Index (BIF1, 0x09))
6103 }
6104
6105 Store (0x31, Index (BUF2, 0x00))
6106 Store (Zero, Index (BUF2, 0x01))
6107 If (ECOK)
6108 {
6109 Acquire (MTBT, 0x1000)
6110 Store (Zero, ECB1)
6111 Store (One, ECBM)
6112 Store (Zero, Local1)
6113 While (LAnd (ECBM, LLess (Local1, 0x64)))
6114 {
6115 Sleep (0x01)
6116 Increment (Local1)
6117 }
6118
6119 If (LLess (Local1, 0x64))
6120 {
6121 If (ECB1)
6122 {
6123 MBCD (ECB2, BUF2, 0x00)
6124 Store (ECB3, Index (BUF2, 0x02))
6125 Store (0x2D, Index (BUF2, 0x03))
6126 Store (ECB4, Index (BUF2, 0x04))
6127 MBCD (ECB5, BUF2, 0x05)
6128 MBCD (ECB6, BUF2, 0x07)
6129 MBCD (ECB7, BUF2, 0x09)
6130 MBCD (ECB8, BUF2, 0x0B)
6131 MBCD (ECB9, BUF2, 0x0D)
6132 MBCD (ECBA, BUF2, 0x0F)
6133 Store (ECBB, Index (BUF2, 0x11))
6134 Store (Zero, Index (BUF2, 0x12))
6135 Store (Zero, ECB1)
6136 Store (0x03, ECBM)
6137 Store (Zero, Local1)
6138 While (LAnd (ECBM, LLess (Local1, 0x64)))
6139 {
6140 Sleep (0x01)
6141 Increment (Local1)
6142 }
6143
6144 If (LLess (Local1, 0x64))
6145 {
6146 Store (0x43, Index (BUFF, 0x00))
6147 Store (0x50, Index (BUFF, 0x01))
6148 MBCD (ECB1, BUFF, 0x02)
6149 MBCD (ECB2, BUFF, 0x04)
6150 MBCD (ECB3, BUFF, 0x06)
6151 Store (0x2D, Index (BUFF, 0x08))
6152 MBCD (ECB4, BUFF, 0x09)
6153 Store (Zero, Index (BUFF, 0x0B))
6154 Store (BUFF, Index (BIF1, 0x09))
6155 }
6156 }
6157 }
6158
6159 Release (MTBT)
6160 }
6161
6162 Store (BUF2, Index (BIF1, 0x0A))
6163 Return (BIF1)
6164 }
6165
6166 Method (_BST, 0, NotSerialized)
6167 {
6168 _INI ()
6169 Store (Zero, Local0)
6170 If (B1P)
6171 {
6172 If (B1C)
6173 {
6174 Or (Local0, 0x02, Local0)
6175 }
6176 Else
6177 {
6178 If (LNot (ACPS))
6179 {
6180 Or (Local0, One, Local0)
6181 }
6182 }
6183
6184 If (LNot (LGreater (B1CP, One)))
6185 {
6186 Or (Local0, 0x04, Local0)
6187 }
6188 }
6189
6190 Store (MKWD (B1CL, B1CH), Local1)
6191 Divide (Multiply (B1CP, MKWD (B1LL, B1LH)), 0x03E8, Local4, Local2)
6192 If (Local4)
6193 {
6194 Increment (Local2)
6195 }
6196
6197 Multiply (Local2, 0x0A, Local2)
6198 Store (MKWD (B1VL, B1VH), Local3)
6199 Store (Local0, Index (BST1, Zero))
6200 Store (Local1, Index (BST1, One))
6201 Store (Local2, Index (BST1, 0x02))
6202 Store (Local3, Index (BST1, 0x03))
6203 Return (BST1)
6204 }
6205
6206 Method (_STA, 0, NotSerialized)
6207 {
6208 If (B1P)
6209 {
6210 Return (0x1F)
6211 }
6212
6213 Return (0x0F)
6214 }
6215
6216 Method (BCHK, 0, NotSerialized)
6217 {
6218 If (LNot (LEqual (B1P, B1PS)))
6219 {
6220 Notify (\_SB.CMB1, 0x81)
6221 Store (B1P, B1PS)
6222 }
6223
6224 If (B1PS)
6225 {
6226 Store (MKWD (B1LL, B1LH), Local0)
6227 If (LNot (LEqual (Local0, B1LS)))
6228 {
6229 Notify (\_SB.CMB1, 0x81)
6230 }
6231
6232 If (LOr (LNot (LEqual (B1C, B1CS)), LNot (LEqual (B1CP, B1RS))))
6233 {
6234 Notify (\_SB.CMB1, 0x80)
6235 }
6236
6237 Store (Local0, B1LS)
6238 Store (B1C, B1CS)
6239 Store (B1CP, B1RS)
6240 }
6241 }
6242 }
6243
6244 Device (LID)
6245 {
6246 Name (_HID, EisaId ("PNP0C0D"))
6247 Method (_LID, 0, NotSerialized)
6248 {
6249 If (CVCL)
6250 {
6251 Return (Zero)
6252 }
6253 Else
6254 {
6255 Return (One)
6256 }
6257 }
6258
6259 Name (_PRW, Package (0x02)
6260 {
6261 0x18,
6262 0x04
6263 })
6264 Method (_PSW, 1, NotSerialized)
6265 {
6266 Noop
6267 }
6268 }
6269
6270 Device (PWRB)
6271 {
6272 Name (_HID, EisaId ("PNP0C0C"))
6273 Method (_STA, 0, NotSerialized)
6274 {
6275 Return (0x0F)
6276 }
6277 }
6278 }
6279
6280 Scope (_TZ)
6281 {
6282 ThermalZone (TZ00)
6283 {
6284 Method (_CRT, 0, Serialized)
6285 {
6286 Return (Add (0x0AAC, Multiply (CRTT, 0x0A)))
6287 }
6288
6289 Method (_TMP, 0, Serialized)
6290 {
6291 If (DTSE)
6292 {
6293 Store (0x9C, BCMD)
6294 Store (Zero, SMIC)
6295 Return (Add (0x0AAC, Multiply (DTS1, 0x0A)))
6296 }
6297 Else
6298 {
6299 Return (0x0BB8)
6300 }
6301 }
6302
6303 Method (_PSL, 0, Serialized)
6304 {
6305 If (MPEN)
6306 {
6307 Return (Package (0x02)
6308 {
6309 \_PR.CPU0,
6310 \_PR.CPU1
6311 })
6312 }
6313 Else
6314 {
6315 Return (Package (0x01)
6316 {
6317 \_PR.CPU0
6318 })
6319 }
6320 }
6321
6322 Method (_PSV, 0, Serialized)
6323 {
6324 Return (Add (0x0AAC, Multiply (PSVT, 0x0A)))
6325 }
6326
6327 Method (_TC1, 0, Serialized)
6328 {
6329 Return (TC1V)
6330 }
6331
6332 Method (_TC2, 0, Serialized)
6333 {
6334 Return (TC2V)
6335 }
6336
6337 Method (_TSP, 0, Serialized)
6338 {
6339 Return (TSPV)
6340 }
6341 }
6342
6343 ThermalZone (TZ01)
6344 {
6345 Method (_CRT, 0, Serialized)
6346 {
6347 Return (Add (0x0AAC, Multiply (CRTT, 0x0A)))
6348 }
6349
6350 Method (_TMP, 0, Serialized)
6351 {
6352 If (LAnd (DTSE, MPEN))
6353 {
6354 Store (0x9C, BCMD)
6355 Store (Zero, SMIC)
6356 Return (Add (0x0AAC, Multiply (DTS2, 0x0A)))
6357 }
6358 Else
6359 {
6360 Return (0x0BB8)
6361 }
6362 }
6363
6364 Method (_PSL, 0, Serialized)
6365 {
6366 If (MPEN)
6367 {
6368 Return (Package (0x02)
6369 {
6370 \_PR.CPU0,
6371 \_PR.CPU1
6372 })
6373 }
6374 Else
6375 {
6376 Return (Package (0x01)
6377 {
6378 \_PR.CPU0
6379 })
6380 }
6381 }
6382
6383 Method (_PSV, 0, Serialized)
6384 {
6385 Return (Add (0x0AAC, Multiply (PSVT, 0x0A)))
6386 }
6387
6388 Method (_TC1, 0, Serialized)
6389 {
6390 Return (TC1V)
6391 }
6392
6393 Method (_TC2, 0, Serialized)
6394 {
6395 Return (TC2V)
6396 }
6397
6398 Method (_TSP, 0, Serialized)
6399 {
6400 Return (TSPV)
6401 }
6402 }
6403 }
6404
6405 Scope (_GPE)
6406 {
6407 Method (_L02, 0, NotSerialized)
6408 {
6409 Store (0x00, GPEC)
6410 Notify (\_TZ.TZ00, 0x80)
6411 If (MPEN)
6412 {
6413 Notify (\_TZ.TZ01, 0x80)
6414 }
6415 }
6416
6417 Method (_L08, 0, NotSerialized)
6418 {
6419 }
6420
6421 Method (_L09, 0, NotSerialized)
6422 {
6423 If (\_SB.PCI0.RP01.PSP1)
6424 {
6425 Store (0x01, \_SB.PCI0.RP01.PSP1)
6426 Store (0x01, \_SB.PCI0.RP01.PMS1)
6427 Notify (\_SB.PCI0.RP01, 0x02)
6428 }
6429
6430 If (\_SB.PCI0.RP02.PSP2)
6431 {
6432 Store (0x01, \_SB.PCI0.RP02.PSP2)
6433 Store (0x01, \_SB.PCI0.RP02.PMS2)
6434 Notify (\_SB.PCI0.RP02, 0x02)
6435 }
6436
6437 If (\_SB.PCI0.RP03.PSP3)
6438 {
6439 Store (0x01, \_SB.PCI0.RP03.PSP3)
6440 Store (0x01, \_SB.PCI0.RP03.PMS3)
6441 Notify (\_SB.PCI0.RP03, 0x02)
6442 }
6443
6444 If (\_SB.PCI0.RP04.PSP4)
6445 {
6446 Store (0x01, \_SB.PCI0.RP04.PSP4)
6447 Store (0x01, \_SB.PCI0.RP04.PMS4)
6448 Notify (\_SB.PCI0.RP04, 0x02)
6449 }
6450
6451 If (\_SB.PCI0.RP05.PSP5)
6452 {
6453 Store (0x01, \_SB.PCI0.RP05.PSP5)
6454 Store (0x01, \_SB.PCI0.RP05.PMS5)
6455 Notify (\_SB.PCI0.RP05, 0x02)
6456 }
6457
6458 If (\_SB.PCI0.RP06.PSP6)
6459 {
6460 Store (0x01, \_SB.PCI0.RP06.PSP6)
6461 Store (0x01, \_SB.PCI0.RP06.PMS6)
6462 Notify (\_SB.PCI0.RP06, 0x02)
6463 }
6464 }
6465
6466 Method (_L0B, 0, NotSerialized)
6467 {
6468 Notify (\_SB.PCI0.PCIB, 0x02)
6469 }
6470
6471 Method (_L0D, 0, NotSerialized)
6472 {
6473 If (\_SB.PCI0.EHC1.PMES)
6474 {
6475 Store (0x01, \_SB.PCI0.EHC1.PMES)
6476 Notify (\_SB.PCI0.EHC1, 0x02)
6477 }
6478
6479 If (\_SB.PCI0.EHC2.PMES)
6480 {
6481 Store (0x01, \_SB.PCI0.EHC2.PMES)
6482 Notify (\_SB.PCI0.EHC2, 0x02)
6483 }
6484
6485 If (\_SB.PCI0.HDEF.PMES)
6486 {
6487 Store (0x01, \_SB.PCI0.HDEF.PMES)
6488 Notify (\_SB.PCI0.HDEF, 0x02)
6489 }
6490
6491 If (\_SB.PCI0.LANC.PMES)
6492 {
6493 Store (0x01, \_SB.PCI0.LANC.PMES)
6494 Notify (\_SB.PCI0.LANC, 0x02)
6495 }
6496 }
6497
6498 Method (_L18, 0, NotSerialized)
6499 {
6500 Sleep (0xFA)
6501 Not (LPOL, LPOL)
6502 Store (One, LIDF)
6503 Notify (\_SB.FEXT, 0x80)
6504 Notify (\_SB.LID, 0x80)
6505 }
6506
6507 Method (_L1C, 0, NotSerialized)
6508 {
6509 Store (SSF0, Local0)
6510 Store (Local0, SSF0)
6511 And (Local0, Not (SSM0), Local0)
6512 Store (SSF1, Local1)
6513 Store (Local1, SSF1)
6514 And (Local1, Not (SSM1), Local1)
6515 Store (SSF2, Local2)
6516 Store (Local2, SSF2)
6517 And (Local2, Not (SSM2), Local2)
6518 If (And (Local0, 0x01))
6519 {
6520 \_SB.PCI0.PEGP.VGA.PHTK ()
6521 Store (0x80, BCMD)
6522 Store (Zero, SMIC)
6523 \_SB.PCI0.PEGP.VGA.AHTK ()
6524 If (BSWF)
6525 {
6526 If (LNot (LLess (\_SB.OSTP (), 0x40)))
6527 {
6528 \_SB.PCI0.PEGP.VGA.LCD.BLNF
6529 }
6530 }
6531
6532 If (AHKF)
6533 {
6534 Notify (\_SB.PCI0.LPCB.FJEX, 0x80)
6535 }
6536
6537 If (IRBF)
6538 {
6539 If (LEqual (IRBC, 0xFD00))
6540 {
6541 Store (One, GINT)
6542 }
6543 Else
6544 {
6545 \_SB.FEXT.SIRB (IRBC)
6546 }
6547
6548 Notify (\_SB.FEXT, 0x80)
6549 Store (Zero, IRBF)
6550 }
6551 }
6552
6553 If (And (Local1, 0x30))
6554 {
6555 Store (0x01, WSEF)
6556 Notify (\_SB.FEXT, 0x80)
6557 \_SB.PCI0.LPCB.SWCF ()
6558 }
6559
6560 If (And (Local2, 0x08))
6561 {
6562 Store (B1SU, Local3)
6563 Store (B1SD, Local4)
6564 Store (TBSF, Local5)
6565 Store (Zero, STAE)
6566 If (LAnd (Local3, LNot (B1TC)))
6567 {
6568 If (LNot (CPBL))
6569 {
6570 \_SB.PCI0.PATA.PRIM.MAST.EOFF
6571 }
6572 }
6573
6574 If (Local5)
6575 {
6576 Store (0x00, TBSM)
6577 }
6578
6579 If (LOr (LAnd (Local4, B1TC), Local5))
6580 {
6581 If (LNot (CPBL))
6582 {
6583 \_SB.PCI0.PATA.PRIM.MAST.EON
6584 }
6585 }
6586 }
6587
6588 If (And (Local2, 0x10))
6589 {
6590 \_SB.AC.ACHK ()
6591 \_SB.CMB1.BCHK ()
6592 If (LOr (LNot (LEqual (LWMD, PLWM)), LNot (LEqual (TALM, PTAL))))
6593 {
6594 Store (LWMD, PLWM)
6595 Store (TALM, PTAL)
6596 Store (0x95, BCMD)
6597 Or (PLWM, ShiftLeft (PTAL, 0x01), DID)
6598 Store (Zero, SMIC)
6599 }
6600
6601 \_SB.PCI0.LPCB.TCTR ()
6602 If (LAnd (TALM, LNot (ACPW)))
6603 {
6604 Store (One, FOCT)
6605 }
6606 Else
6607 {
6608 Store (Zero, FOCT)
6609 }
6610 }
6611 }
6612
6613 Method (_L1D, 0, NotSerialized)
6614 {
6615 If (EXPL)
6616 {
6617 \_SB.PCI0.RP04.PXS4.EXIN ()
6618 }
6619 Else
6620 {
6621 \_SB.PCI0.RP04.PXS4.EXRM ()
6622 }
6623
6624 Sleep (0x64)
6625 Notify (\_SB.PCI0.RP04, Zero)
6626 }
6627 }
6628
6629 Name (_S0, Package (0x03)
6630 {
6631 0x00,
6632 0x00,
6633 0x00
6634 })
6635 Name (_S3, Package (0x03)
6636 {
6637 0x05,
6638 0x05,
6639 0x00
6640 })
6641 Name (_S4, Package (0x03)
6642 {
6643 0x06,
6644 0x06,
6645 0x00
6646 })
6647 Name (_S5, Package (0x03)
6648 {
6649 0x07,
6650 0x07,
6651 0x00
6652 })
6653 Method (_PTS, 1, NotSerialized)
6654 {
6655 Add (0xDD, Arg0, PO80)
6656 If (LAnd (LNot (LLess (Arg0, One)), LNot (LGreater (Arg0, 0x04))))
6657 {
6658 If (LNot (CPBL))
6659 {
6660 \_SB.PCI0.PATA.PRIM.MAST.EPTS
6661 }
6662
6663 If (\_SB.PCI0.RP04.PXS4._STA ())
6664 {
6665 Store (Zero, EXIS)
6666 }
6667 Else
6668 {
6669 Store (0xFF, EXIS)
6670 }
6671 }
6672
6673 Store (Zero, WAPB)
6674 \_SB.PCI0.LPCB.TPTS ()
6675 Store (One, HDWA)
6676 Add (0xE0, Arg0, PO80)
6677 }
6678
6679 Method (_WAK, 1, NotSerialized)
6680 {
6681 Add (0xEE, Arg0, PO80)
6682 \_SB.PCI0.LPCB.TWAK ()
6683 \_PR.CSTC ()
6684 \_SB.PCI0.LPCB.AINI ()
6685 \_SB.PCI0.LPCB.SWCF ()
6686 \_SB.FEXT._INI ()
6687 If (LEqual (Arg0, 0x03))
6688 {
6689 Store (0x9B, BCMD)
6690 Store (0x04, DID)
6691 Store (Zero, SMIC)
6692 }
6693
6694 If (WAPB)
6695 {
6696 Notify (\_SB.PWRB, 0x02)
6697 }
6698
6699 If (LEqual (Arg0, 0x04))
6700 {
6701 \_SB.FEXT.FUNC (0x1002, 0x03, Ones, WBTN)
6702 }
6703
6704 If (LAnd (LNot (LLess (Arg0, One)), LNot (LGreater (Arg0, 0x04))))
6705 {
6706 If (LNot (CPBL))
6707 {
6708 Store (Arg0, SSTA)
6709 \_SB.PCI0.PATA.PRIM.MAST.EWAK
6710 }
6711
6712 If (\_SB.PCI0.RP04.PXS4._STA ())
6713 {
6714 If (EXIS)
6715 {
6716 Notify (\_SB.PCI0.RP04, Zero)
6717 }
6718 }
6719 Else
6720 {
6721 If (LNot (EXIS))
6722 {
6723 Notify (\_SB.PCI0.RP04, Zero)
6724 }
6725 }
6726 }
6727
6728 If (LAnd (LNot (LLess (Arg0, One)), LNot (LGreater (Arg0, 0x04))))
6729 {
6730 If (NGTM)
6731 {
6732 \_SB.FEXT.FUNC (0x1004, 0x01, 0x04, 0x00)
6733 }
6734 }
6735
6736 Add (0xF0, Arg0, PO80)
6737 Return (Package (0x02)
6738 {
6739 0x00,
6740 0x00
6741 })
6742 }
6743
6744 Scope (FEXT)
6745 {
6746 Method (BINI, 0, NotSerialized)
6747 {
6748 Store (0x0100, LEDI)
6749 Store (0x00FF0303, BTNI)
6750 }
6751 }
6752}
6753