Advertisement
Guest User

Toshiba L855-10W

a guest
Jul 29th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 275.52 KB | None | 0 0
  1. ACPI Error: Argument count mismatch for method \_SB_.PCI0.LPCB.LREG 0 2 (20100528/dmextern-387)
  2. /*
  3. * Intel ACPI Component Architecture
  4. * AML Disassembler version 20100528
  5. *
  6. * Disassembly of DSDT, Sun Jun 10 23:48:03 2012
  7. *
  8. *
  9. * Original Table Header:
  10. * Signature "DSDT"
  11. * Length 0x00007F66 (32614)
  12. * Revision 0x01 **** ACPI 1.0, no 64-bit math support
  13. * Checksum 0x9A
  14. * OEM ID "TOSINV"
  15. * OEM Table ID "TOSINV00"
  16. * OEM Revision 0x00000000 (0)
  17. * Compiler ID "ACPI"
  18. * Compiler Version 0x00040000 (262144)
  19. */
  20. DefinitionBlock ("DSDT.aml", "DSDT", 1, "TOSINV", "TOSINV00", 0x00000000)
  21. {
  22. External (HNOT, MethodObj) // 1 Arguments
  23. External (SNXD)
  24. External (HWID, IntObj)
  25. External (IDAB, MethodObj) // 0 Arguments
  26. External (HDOS, MethodObj) // 0 Arguments
  27. External (BCMF)
  28. External (BRLV, IntObj)
  29. External (PWM6)
  30. External (PWM5)
  31. External (PWM4)
  32. External (PWM3)
  33. External (PWM2)
  34. External (PWM1)
  35. External (PWM0)
  36. External (PANL)
  37. External (PWM7)
  38. External (TNOT, MethodObj) // 0 Arguments
  39. External (PDC7)
  40. External (PDC6)
  41. External (PDC5)
  42. External (PDC4)
  43. External (PDC3)
  44. External (PDC2)
  45. External (PDC1)
  46. External (PDC0)
  47. External (CFGD)
  48. External (ECE2)
  49. External (SPS3, MethodObj) // 0 Arguments
  50. External (SPS0, MethodObj) // 0 Arguments
  51. External (\TNOT)
  52. External (\_SB_.CPTO, IntObj)
  53. External (\_SB_.TWAK, MethodObj) // 1 Arguments
  54. External (\_SB_.KUPP)
  55. External (\_SB_.TPTS, MethodObj) // 1 Arguments
  56. External (\_PR_.CPU0._PPC)
  57. External (\_SB_.PCI0.LPCB.ECA3)
  58. External (\_SB_.PCI0.LPCB.PNID)
  59. External (\_SB_.PCI0.IEIT.EITV, MethodObj) // 0 Arguments
  60. External (\_SB_.PCI0.LPCB.EC9C, IntObj)
  61. External (\_SB_.PCI0.LPCB.LREG, MethodObj) // 0 Arguments
  62.  
  63. Name (SS1, Zero)
  64. Name (SS2, Zero)
  65. Name (SS3, One)
  66. Name (SS4, One)
  67. Name (IOST, 0xFFFF)
  68. Name (SP2O, 0x4E)
  69. Name (SP1O, 0x2E)
  70. Name (IO1B, 0x0600)
  71. Name (IO1L, 0x70)
  72. Name (IO2B, 0x0600)
  73. Name (IO2L, 0x20)
  74. Name (IO3B, 0x0290)
  75. Name (IO3L, 0x10)
  76. Name (SP3O, 0x2E)
  77. Name (IO4B, 0x0A20)
  78. Name (IO4L, 0x20)
  79. Name (MCHB, 0xFED10000)
  80. Name (MCHL, 0x8000)
  81. Name (EGPB, 0xFED19000)
  82. Name (EGPL, 0x1000)
  83. Name (DMIB, 0xFED18000)
  84. Name (DMIL, 0x1000)
  85. Name (IFPB, 0xFED14000)
  86. Name (IFPL, 0x1000)
  87. Name (PEBS, 0xE0000000)
  88. Name (PELN, 0x10000000)
  89. Name (SMBS, 0x0580)
  90. Name (SMBL, 0x20)
  91. Name (PBLK, 0x0410)
  92. Name (PMBS, 0x0400)
  93. Name (PMLN, 0x80)
  94. Name (LVL2, 0x0414)
  95. Name (LVL3, 0x0415)
  96. Name (LVL4, 0x0416)
  97. Name (SMIP, 0xB2)
  98. Name (GPBS, 0x0500)
  99. Name (GPLN, 0x80)
  100. Name (APCB, 0xFEC00000)
  101. Name (APCL, 0x1000)
  102. Name (PM30, 0x0430)
  103. Name (SRCB, 0xFED1C000)
  104. Name (SRCL, 0x4000)
  105. Name (HPTB, 0xFED00000)
  106. Name (HPTC, 0xFED1F404)
  107. Name (ACPH, 0xDE)
  108. Name (ASSB, Zero)
  109. Name (AOTB, Zero)
  110. Name (AAXB, Zero)
  111. Name (DSSP, Zero)
  112. Name (FHPP, Zero)
  113. Name (FMBL, One)
  114. Name (FDTP, 0x02)
  115. Name (FUPS, 0x03)
  116. Name (BEL, One)
  117. Name (BEH, 0x02)
  118. Name (BRH, 0x03)
  119. Name (BTF, 0x04)
  120. Name (BYB, 0x06)
  121. Name (BWB, 0x06)
  122. Name (BELC, 0x09)
  123. Name (BRHP, 0x0A)
  124. Name (BTFC, 0x0B)
  125. Name (BEHP, 0x0C)
  126. Name (BELP, 0x0E)
  127. Name (BTL, 0x10)
  128. Name (BTFP, 0x11)
  129. Name (BSR, 0x14)
  130. Name (BCC, 0x1C)
  131. Name (BEF, 0x21)
  132. Name (BLLE, 0x22)
  133. Name (BLLC, 0x23)
  134. Name (BLCA, 0x24)
  135. Name (BLLS, 0x25)
  136. Name (BLLP, 0x26)
  137. Name (BLLD, 0x27)
  138. Name (BKF, 0x28)
  139. Name (BHBE, 0x30)
  140. Name (BHBC, 0x31)
  141. Name (BHBN, 0x32)
  142. Name (BHBM, 0x33)
  143. Name (TCGM, One)
  144. Name (TRTP, One)
  145. Name (WDTE, One)
  146. Name (TRTD, 0x02)
  147. Name (TRTI, 0x03)
  148. Name (GCDD, One)
  149. Name (DSTA, 0x0A)
  150. Name (DSLO, 0x0C)
  151. Name (DSLC, 0x0E)
  152. Name (PITS, 0x10)
  153. Name (SBCS, 0x12)
  154. Name (SALS, 0x13)
  155. Name (LSSS, 0x2A)
  156. Name (SOOT, 0x35)
  157. Name (PDBR, 0x4D)
  158. Name (DPPB, 0xFED98000)
  159. Name (DPPL, 0x8000)
  160. OperationRegion (GNVS, SystemMemory, 0xAF7BDC98, 0x00000203)
  161. Field (GNVS, AnyAcc, Lock, Preserve)
  162. {
  163. OSYS, 16,
  164. SMIF, 8,
  165. PRM0, 8,
  166. PRM1, 8,
  167. SCIF, 8,
  168. PRM2, 8,
  169. PRM3, 8,
  170. LCKF, 8,
  171. PRM4, 8,
  172. PRM5, 8,
  173. P80D, 32,
  174. LIDS, 8,
  175. PWRS, 8,
  176. DBGS, 8,
  177. THOF, 8,
  178. ACT1, 8,
  179. ACTT, 8,
  180. PSVT, 8,
  181. TC1V, 8,
  182. TC2V, 8,
  183. TSPV, 8,
  184. CRTT, 8,
  185. DTSE, 8,
  186. DTS1, 8,
  187. DTS2, 8,
  188. DTSF, 8,
  189. Offset (0x25),
  190. REVN, 8,
  191. RES3, 8,
  192. Offset (0x28),
  193. APIC, 8,
  194. TCNT, 8,
  195. PCP0, 8,
  196. PCP1, 8,
  197. PPCM, 8,
  198. PPMF, 32,
  199. C67L, 8,
  200. NATP, 8,
  201. CMAP, 8,
  202. CMBP, 8,
  203. LPTP, 8,
  204. FDCP, 8,
  205. COMA, 8,
  206. COMB, 8,
  207. SMSC, 8,
  208. W381, 8,
  209. SMC1, 8,
  210. IGDS, 8,
  211. TLST, 8,
  212. CADL, 8,
  213. PADL, 8,
  214. CSTE, 16,
  215. NSTE, 16,
  216. SSTE, 16,
  217. NDID, 8,
  218. DID1, 32,
  219. DID2, 32,
  220. DID3, 32,
  221. DID4, 32,
  222. DID5, 32,
  223. KSV0, 32,
  224. KSV1, 8,
  225. Offset (0x67),
  226. BLCS, 8,
  227. BRTL, 8,
  228. ALSE, 8,
  229. ALAF, 8,
  230. LLOW, 8,
  231. LHIH, 8,
  232. Offset (0x6E),
  233. EMAE, 8,
  234. EMAP, 16,
  235. EMAL, 16,
  236. Offset (0x74),
  237. MEFE, 8,
  238. DSTS, 8,
  239. Offset (0x78),
  240. TPMP, 8,
  241. TPME, 8,
  242. MORD, 8,
  243. TCGP, 8,
  244. PPRP, 32,
  245. PPRQ, 8,
  246. LPPR, 8,
  247. GTF0, 56,
  248. GTF2, 56,
  249. IDEM, 8,
  250. GTF1, 56,
  251. BID, 8,
  252. PLID, 8,
  253. Offset (0xAA),
  254. ASLB, 32,
  255. IBTT, 8,
  256. IPAT, 8,
  257. ITVF, 8,
  258. ITVM, 8,
  259. IPSC, 8,
  260. IBLC, 8,
  261. IBIA, 8,
  262. ISSC, 8,
  263. I409, 8,
  264. I509, 8,
  265. I609, 8,
  266. I709, 8,
  267. IPCF, 8,
  268. IDMS, 8,
  269. IF1E, 8,
  270. HVCO, 8,
  271. NXD1, 32,
  272. NXD2, 32,
  273. NXD3, 32,
  274. NXD4, 32,
  275. NXD5, 32,
  276. NXD6, 32,
  277. NXD7, 32,
  278. NXD8, 32,
  279. GSMI, 8,
  280. PAVP, 8,
  281. Offset (0xE1),
  282. OSCC, 8,
  283. NEXP, 8,
  284. SBV1, 8,
  285. SBV2, 8,
  286. Offset (0xEB),
  287. DSEN, 8,
  288. Offset (0xED),
  289. GPIC, 8,
  290. CTYP, 8,
  291. L01C, 8,
  292. VFN0, 8,
  293. VFN1, 8,
  294. VFN2, 8,
  295. VFN3, 8,
  296. VFN4, 8,
  297. Offset (0x100),
  298. NVGA, 32,
  299. NVHA, 32,
  300. AMDA, 32,
  301. DID6, 32,
  302. DID7, 32,
  303. DID8, 32,
  304. EBAS, 32,
  305. CPSP, 32,
  306. EECP, 32,
  307. EVCP, 32,
  308. XBAS, 32,
  309. OBS1, 32,
  310. OBS2, 32,
  311. OBS3, 32,
  312. OBS4, 32,
  313. OBS5, 32,
  314. OBS6, 32,
  315. OBS7, 32,
  316. OBS8, 32,
  317. Offset (0x157),
  318. ATMC, 8,
  319. PTMC, 8,
  320. ATRA, 8,
  321. PTRA, 8,
  322. PNHM, 32,
  323. TBAB, 32,
  324. TBAH, 32,
  325. RTIP, 8,
  326. TSOD, 8,
  327. ATPC, 8,
  328. PTPC, 8,
  329. PFLV, 8,
  330. BREV, 8,
  331. SGMD, 8,
  332. SGFL, 8,
  333. PWOK, 8,
  334. HLRS, 8,
  335. DSEL, 8,
  336. ESEL, 8,
  337. PSEL, 8,
  338. PWEN, 8,
  339. PRST, 8,
  340. MXD1, 32,
  341. MXD2, 32,
  342. MXD3, 32,
  343. MXD4, 32,
  344. MXD5, 32,
  345. MXD6, 32,
  346. MXD7, 32,
  347. MXD8, 32,
  348. GBAS, 16,
  349. SGGP, 8,
  350. Offset (0x19D),
  351. ALFP, 8,
  352. IMON, 8,
  353. PDTS, 8,
  354. PKGA, 8,
  355. PAMT, 8,
  356. AC0F, 8,
  357. AC1F, 8,
  358. DTS3, 8,
  359. DTS4, 8,
  360. Offset (0x1B2),
  361. XHCI, 8,
  362. XHPM, 8,
  363. Offset (0x1B7),
  364. XTUB, 32,
  365. XTUS, 32,
  366. XMPB, 32,
  367. Offset (0x1C4),
  368. LPMV, 8,
  369. Offset (0x1C6),
  370. DDRF, 8,
  371. MM64, 8,
  372. Offset (0x1E0),
  373. CCMD, 8,
  374. COMD, 8,
  375. LPT1, 8,
  376. PSTP, 8,
  377. WKMD, 8,
  378. IDER, 8,
  379. PIE0, 8,
  380. PIE1, 8,
  381. CSTS, 8,
  382. PMEE, 8,
  383. WOLE, 8,
  384. NVAD, 32,
  385. NVSZ, 32,
  386. OPTF, 8,
  387. IFSE, 8,
  388. AOAC, 8,
  389. S1C0, 16,
  390. S1C1, 16,
  391. S2C0, 16,
  392. S2C1, 16,
  393. SLPS, 8,
  394. ALAT, 32
  395. }
  396.  
  397. OperationRegion (OGNS, SystemMemory, 0xAF7BCC18, 0x000002D6)
  398. Field (OGNS, AnyAcc, Lock, Preserve)
  399. {
  400. OG00, 8,
  401. OG01, 8,
  402. OG02, 8,
  403. OG03, 8,
  404. OG04, 8,
  405. OG05, 8,
  406. OG06, 8,
  407. OG07, 8,
  408. OG08, 8,
  409. OG09, 8,
  410. OG10, 8,
  411. ECON, 8,
  412. OEMR, 64,
  413. ACPS, 8,
  414. CPUS, 8,
  415. CPUL, 8,
  416. ECRO, 8,
  417. ECRM, 8,
  418. ECRS, 8,
  419. ECRD, 8,
  420. REVD, 8,
  421. EGST, 8,
  422. LCDS, 8,
  423. BTOP, 8,
  424. HSWK, 8,
  425. LCMD, 8,
  426. SVCF, 8,
  427. SWBF, 256,
  428. KYBF, 256,
  429. IECS, 24,
  430. CECC, 8,
  431. CECE, 32,
  432. CECI, 16,
  433. CECZ, 8,
  434. CECF, 8,
  435. CARG, 160,
  436. LENA, 8,
  437. LENB, 8,
  438. LENC, 8,
  439. LEND, 8,
  440. IFNK, 864,
  441. ICMD, 3456,
  442. RESL, 32,
  443. RESV, 16,
  444. USC1, 32,
  445. USC2, 32,
  446. VGAM, 8,
  447. USBM, 32,
  448. TPID, 8,
  449. NODD, 8,
  450. IHDD, 8,
  451. TJET, 8,
  452. CPUM, 8,
  453. POLI, 8,
  454. TCCR, 8,
  455. TEST, 8,
  456. LCDA, 8,
  457. PWMV, 64,
  458. EJLL, 8,
  459. EJLR, 8,
  460. SCFG, 8,
  461. FKRG, 8,
  462. HFMF, 8,
  463. HYBT, 8,
  464. SKEY, 8,
  465. UCSP, 8,
  466. CBTN, 8,
  467. KBLE, 8,
  468. CPTO, 8,
  469. KUPP, 8,
  470. SLMC, 8,
  471. IREX, 8,
  472. SATR, 8,
  473. GPUR, 8
  474. }
  475.  
  476. OperationRegion (PSMI, SystemIO, 0xB2, 0x02)
  477. Field (PSMI, ByteAcc, NoLock, Preserve)
  478. {
  479. APMC, 8,
  480. APMD, 8
  481. }
  482.  
  483. Method (OSMI, 1, NotSerialized)
  484. {
  485. Store (Arg0, APMD)
  486. Store (0xBE, APMC)
  487. Stall (0xFF)
  488. Stall (0xFF)
  489. Stall (0xFF)
  490. Stall (0xFF)
  491. Stall (0xFF)
  492. Stall (0xFF)
  493. }
  494.  
  495. Scope (_SB)
  496. {
  497. Name (PRSA, ResourceTemplate ()
  498. {
  499. IRQ (Level, ActiveLow, Shared, )
  500. {1,3,4,5,6,10,11,12,14,15}
  501. })
  502. Alias (PRSA, PRSB)
  503. Alias (PRSA, PRSC)
  504. Alias (PRSA, PRSD)
  505. Alias (PRSA, PRSE)
  506. Alias (PRSA, PRSF)
  507. Alias (PRSA, PRSG)
  508. Alias (PRSA, PRSH)
  509. Device (PCI0)
  510. {
  511. Name (_HID, EisaId ("PNP0A08"))
  512. Name (_CID, EisaId ("PNP0A03"))
  513. Name (_ADR, Zero)
  514. Method (^BN00, 0, NotSerialized)
  515. {
  516. Return (Zero)
  517. }
  518.  
  519. Method (_BBN, 0, NotSerialized)
  520. {
  521. Return (BN00 ())
  522. }
  523.  
  524. Name (_UID, Zero)
  525. Name (PR00, Package (0x25)
  526. {
  527. Package (0x04)
  528. {
  529. 0x0014FFFF,
  530. Zero,
  531. LNKA,
  532. Zero
  533. },
  534.  
  535. Package (0x04)
  536. {
  537. 0x0016FFFF,
  538. Zero,
  539. LNKA,
  540. Zero
  541. },
  542.  
  543. Package (0x04)
  544. {
  545. 0x0016FFFF,
  546. One,
  547. LNKB,
  548. Zero
  549. },
  550.  
  551. Package (0x04)
  552. {
  553. 0x0016FFFF,
  554. 0x02,
  555. LNKC,
  556. Zero
  557. },
  558.  
  559. Package (0x04)
  560. {
  561. 0x0016FFFF,
  562. 0x03,
  563. LNKD,
  564. Zero
  565. },
  566.  
  567. Package (0x04)
  568. {
  569. 0x0019FFFF,
  570. Zero,
  571. LNKE,
  572. Zero
  573. },
  574.  
  575. Package (0x04)
  576. {
  577. 0x001AFFFF,
  578. Zero,
  579. LNKA,
  580. Zero
  581. },
  582.  
  583. Package (0x04)
  584. {
  585. 0x001AFFFF,
  586. One,
  587. LNKF,
  588. Zero
  589. },
  590.  
  591. Package (0x04)
  592. {
  593. 0x001AFFFF,
  594. 0x02,
  595. LNKD,
  596. Zero
  597. },
  598.  
  599. Package (0x04)
  600. {
  601. 0x001AFFFF,
  602. 0x03,
  603. LNKC,
  604. Zero
  605. },
  606.  
  607. Package (0x04)
  608. {
  609. 0x001BFFFF,
  610. Zero,
  611. LNKG,
  612. Zero
  613. },
  614.  
  615. Package (0x04)
  616. {
  617. 0x001CFFFF,
  618. Zero,
  619. LNKB,
  620. Zero
  621. },
  622.  
  623. Package (0x04)
  624. {
  625. 0x001CFFFF,
  626. One,
  627. LNKA,
  628. Zero
  629. },
  630.  
  631. Package (0x04)
  632. {
  633. 0x001CFFFF,
  634. 0x02,
  635. LNKC,
  636. Zero
  637. },
  638.  
  639. Package (0x04)
  640. {
  641. 0x001CFFFF,
  642. 0x03,
  643. LNKD,
  644. Zero
  645. },
  646.  
  647. Package (0x04)
  648. {
  649. 0x001DFFFF,
  650. Zero,
  651. LNKH,
  652. Zero
  653. },
  654.  
  655. Package (0x04)
  656. {
  657. 0x001DFFFF,
  658. One,
  659. LNKD,
  660. Zero
  661. },
  662.  
  663. Package (0x04)
  664. {
  665. 0x001DFFFF,
  666. 0x02,
  667. LNKC,
  668. Zero
  669. },
  670.  
  671. Package (0x04)
  672. {
  673. 0x001DFFFF,
  674. 0x03,
  675. LNKA,
  676. Zero
  677. },
  678.  
  679. Package (0x04)
  680. {
  681. 0x001FFFFF,
  682. Zero,
  683. LNKF,
  684. Zero
  685. },
  686.  
  687. Package (0x04)
  688. {
  689. 0x001FFFFF,
  690. One,
  691. LNKD,
  692. Zero
  693. },
  694.  
  695. Package (0x04)
  696. {
  697. 0x001FFFFF,
  698. 0x02,
  699. LNKD,
  700. Zero
  701. },
  702.  
  703. Package (0x04)
  704. {
  705. 0x001FFFFF,
  706. 0x03,
  707. LNKA,
  708. Zero
  709. },
  710.  
  711. Package (0x04)
  712. {
  713. 0x0001FFFF,
  714. Zero,
  715. LNKA,
  716. Zero
  717. },
  718.  
  719. Package (0x04)
  720. {
  721. 0x0001FFFF,
  722. One,
  723. LNKB,
  724. Zero
  725. },
  726.  
  727. Package (0x04)
  728. {
  729. 0x0001FFFF,
  730. 0x02,
  731. LNKC,
  732. Zero
  733. },
  734.  
  735. Package (0x04)
  736. {
  737. 0x0001FFFF,
  738. 0x03,
  739. LNKD,
  740. Zero
  741. },
  742.  
  743. Package (0x04)
  744. {
  745. 0x0002FFFF,
  746. Zero,
  747. LNKA,
  748. Zero
  749. },
  750.  
  751. Package (0x04)
  752. {
  753. 0x0004FFFF,
  754. Zero,
  755. LNKA,
  756. Zero
  757. },
  758.  
  759. Package (0x04)
  760. {
  761. 0x0004FFFF,
  762. One,
  763. LNKB,
  764. Zero
  765. },
  766.  
  767. Package (0x04)
  768. {
  769. 0x0004FFFF,
  770. 0x02,
  771. LNKC,
  772. Zero
  773. },
  774.  
  775. Package (0x04)
  776. {
  777. 0x0004FFFF,
  778. 0x03,
  779. LNKD,
  780. Zero
  781. },
  782.  
  783. Package (0x04)
  784. {
  785. 0x0006FFFF,
  786. Zero,
  787. LNKD,
  788. Zero
  789. },
  790.  
  791. Package (0x04)
  792. {
  793. 0x0006FFFF,
  794. One,
  795. LNKA,
  796. Zero
  797. },
  798.  
  799. Package (0x04)
  800. {
  801. 0x0006FFFF,
  802. 0x02,
  803. LNKB,
  804. Zero
  805. },
  806.  
  807. Package (0x04)
  808. {
  809. 0x0006FFFF,
  810. 0x03,
  811. LNKC,
  812. Zero
  813. },
  814.  
  815. Package (0x04)
  816. {
  817. 0x0018FFFF,
  818. Zero,
  819. LNKE,
  820. Zero
  821. }
  822. })
  823. Name (AR00, Package (0x25)
  824. {
  825. Package (0x04)
  826. {
  827. 0x0014FFFF,
  828. Zero,
  829. Zero,
  830. 0x15
  831. },
  832.  
  833. Package (0x04)
  834. {
  835. 0x0016FFFF,
  836. Zero,
  837. Zero,
  838. 0x10
  839. },
  840.  
  841. Package (0x04)
  842. {
  843. 0x0016FFFF,
  844. One,
  845. Zero,
  846. 0x11
  847. },
  848.  
  849. Package (0x04)
  850. {
  851. 0x0016FFFF,
  852. 0x02,
  853. Zero,
  854. 0x12
  855. },
  856.  
  857. Package (0x04)
  858. {
  859. 0x0016FFFF,
  860. 0x03,
  861. Zero,
  862. 0x13
  863. },
  864.  
  865. Package (0x04)
  866. {
  867. 0x0019FFFF,
  868. Zero,
  869. Zero,
  870. 0x14
  871. },
  872.  
  873. Package (0x04)
  874. {
  875. 0x001AFFFF,
  876. Zero,
  877. Zero,
  878. 0x10
  879. },
  880.  
  881. Package (0x04)
  882. {
  883. 0x001AFFFF,
  884. One,
  885. Zero,
  886. 0x15
  887. },
  888.  
  889. Package (0x04)
  890. {
  891. 0x001AFFFF,
  892. 0x02,
  893. Zero,
  894. 0x13
  895. },
  896.  
  897. Package (0x04)
  898. {
  899. 0x001AFFFF,
  900. 0x03,
  901. Zero,
  902. 0x12
  903. },
  904.  
  905. Package (0x04)
  906. {
  907. 0x001BFFFF,
  908. Zero,
  909. Zero,
  910. 0x16
  911. },
  912.  
  913. Package (0x04)
  914. {
  915. 0x001CFFFF,
  916. Zero,
  917. Zero,
  918. 0x11
  919. },
  920.  
  921. Package (0x04)
  922. {
  923. 0x001CFFFF,
  924. One,
  925. Zero,
  926. 0x10
  927. },
  928.  
  929. Package (0x04)
  930. {
  931. 0x001CFFFF,
  932. 0x02,
  933. Zero,
  934. 0x12
  935. },
  936.  
  937. Package (0x04)
  938. {
  939. 0x001CFFFF,
  940. 0x03,
  941. Zero,
  942. 0x13
  943. },
  944.  
  945. Package (0x04)
  946. {
  947. 0x001DFFFF,
  948. Zero,
  949. Zero,
  950. 0x17
  951. },
  952.  
  953. Package (0x04)
  954. {
  955. 0x001DFFFF,
  956. One,
  957. Zero,
  958. 0x13
  959. },
  960.  
  961. Package (0x04)
  962. {
  963. 0x001DFFFF,
  964. 0x02,
  965. Zero,
  966. 0x12
  967. },
  968.  
  969. Package (0x04)
  970. {
  971. 0x001DFFFF,
  972. 0x03,
  973. Zero,
  974. 0x10
  975. },
  976.  
  977. Package (0x04)
  978. {
  979. 0x001FFFFF,
  980. Zero,
  981. Zero,
  982. 0x15
  983. },
  984.  
  985. Package (0x04)
  986. {
  987. 0x001FFFFF,
  988. One,
  989. Zero,
  990. 0x13
  991. },
  992.  
  993. Package (0x04)
  994. {
  995. 0x001FFFFF,
  996. 0x02,
  997. Zero,
  998. 0x13
  999. },
  1000.  
  1001. Package (0x04)
  1002. {
  1003. 0x001FFFFF,
  1004. 0x03,
  1005. Zero,
  1006. 0x10
  1007. },
  1008.  
  1009. Package (0x04)
  1010. {
  1011. 0x0001FFFF,
  1012. Zero,
  1013. Zero,
  1014. 0x10
  1015. },
  1016.  
  1017. Package (0x04)
  1018. {
  1019. 0x0001FFFF,
  1020. One,
  1021. Zero,
  1022. 0x11
  1023. },
  1024.  
  1025. Package (0x04)
  1026. {
  1027. 0x0001FFFF,
  1028. 0x02,
  1029. Zero,
  1030. 0x12
  1031. },
  1032.  
  1033. Package (0x04)
  1034. {
  1035. 0x0001FFFF,
  1036. 0x03,
  1037. Zero,
  1038. 0x13
  1039. },
  1040.  
  1041. Package (0x04)
  1042. {
  1043. 0x0002FFFF,
  1044. Zero,
  1045. Zero,
  1046. 0x10
  1047. },
  1048.  
  1049. Package (0x04)
  1050. {
  1051. 0x0004FFFF,
  1052. Zero,
  1053. Zero,
  1054. 0x10
  1055. },
  1056.  
  1057. Package (0x04)
  1058. {
  1059. 0x0004FFFF,
  1060. One,
  1061. Zero,
  1062. 0x11
  1063. },
  1064.  
  1065. Package (0x04)
  1066. {
  1067. 0x0004FFFF,
  1068. 0x02,
  1069. Zero,
  1070. 0x12
  1071. },
  1072.  
  1073. Package (0x04)
  1074. {
  1075. 0x0004FFFF,
  1076. 0x03,
  1077. Zero,
  1078. 0x13
  1079. },
  1080.  
  1081. Package (0x04)
  1082. {
  1083. 0x0006FFFF,
  1084. Zero,
  1085. Zero,
  1086. 0x13
  1087. },
  1088.  
  1089. Package (0x04)
  1090. {
  1091. 0x0006FFFF,
  1092. One,
  1093. Zero,
  1094. 0x10
  1095. },
  1096.  
  1097. Package (0x04)
  1098. {
  1099. 0x0006FFFF,
  1100. 0x02,
  1101. Zero,
  1102. 0x11
  1103. },
  1104.  
  1105. Package (0x04)
  1106. {
  1107. 0x0006FFFF,
  1108. 0x03,
  1109. Zero,
  1110. 0x12
  1111. },
  1112.  
  1113. Package (0x04)
  1114. {
  1115. 0x0018FFFF,
  1116. Zero,
  1117. Zero,
  1118. 0x14
  1119. }
  1120. })
  1121. Method (_PRT, 0, NotSerialized)
  1122. {
  1123. If (PICM)
  1124. {
  1125. Return (AR00)
  1126. }
  1127.  
  1128. Return (PR00)
  1129. }
  1130.  
  1131. Method (_PS0, 0, NotSerialized)
  1132. {
  1133. If (LLessEqual (OSYS, 0x07D5))
  1134. {
  1135. If (LEqual (XINI, Zero))
  1136. {
  1137. Store (One, XINI)
  1138. ^LPCB.LREG ()
  1139. }
  1140. }
  1141.  
  1142. SPS0 ()
  1143. }
  1144.  
  1145. Method (_PS3, 0, NotSerialized)
  1146. {
  1147. SPS3 ()
  1148. }
  1149.  
  1150. OperationRegion (HBUS, PCI_Config, Zero, 0x0100)
  1151. Field (HBUS, DWordAcc, NoLock, Preserve)
  1152. {
  1153. Offset (0x40),
  1154. EPEN, 1,
  1155. , 11,
  1156. EPBR, 20,
  1157. Offset (0x48),
  1158. MHEN, 1,
  1159. , 14,
  1160. MHBR, 17,
  1161. Offset (0x50),
  1162. GCLK, 1,
  1163. Offset (0x54),
  1164. D0EN, 1,
  1165. Offset (0x60),
  1166. PXEN, 1,
  1167. PXSZ, 2,
  1168. , 23,
  1169. PXBR, 6,
  1170. Offset (0x68),
  1171. DIEN, 1,
  1172. , 11,
  1173. DIBR, 20,
  1174. Offset (0x70),
  1175. , 20,
  1176. MEBR, 12,
  1177. Offset (0x80),
  1178. , 4,
  1179. PM0H, 2,
  1180. Offset (0x81),
  1181. PM1L, 2,
  1182. , 2,
  1183. PM1H, 2,
  1184. Offset (0x82),
  1185. PM2L, 2,
  1186. , 2,
  1187. PM2H, 2,
  1188. Offset (0x83),
  1189. PM3L, 2,
  1190. , 2,
  1191. PM3H, 2,
  1192. Offset (0x84),
  1193. PM4L, 2,
  1194. , 2,
  1195. PM4H, 2,
  1196. Offset (0x85),
  1197. PM5L, 2,
  1198. , 2,
  1199. PM5H, 2,
  1200. Offset (0x86),
  1201. PM6L, 2,
  1202. , 2,
  1203. PM6H, 2,
  1204. Offset (0x87),
  1205. Offset (0xA8),
  1206. , 20,
  1207. TUUD, 19,
  1208. Offset (0xBC),
  1209. , 20,
  1210. TLUD, 12,
  1211. Offset (0xC8),
  1212. , 7,
  1213. HTSE, 1
  1214. }
  1215.  
  1216. OperationRegion (MCHT, SystemMemory, 0xFED10000, 0x1100)
  1217. Field (MCHT, ByteAcc, NoLock, Preserve)
  1218. {
  1219. }
  1220.  
  1221. Name (BUF0, ResourceTemplate ()
  1222. {
  1223. WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
  1224. 0x0000, // Granularity
  1225. 0x0000, // Range Minimum
  1226. 0x00FF, // Range Maximum
  1227. 0x0000, // Translation Offset
  1228. 0x0100, // Length
  1229. ,, )
  1230. DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  1231. 0x00000000, // Granularity
  1232. 0x00000000, // Range Minimum
  1233. 0x00000CF7, // Range Maximum
  1234. 0x00000000, // Translation Offset
  1235. 0x00000CF8, // Length
  1236. ,, , TypeStatic)
  1237. IO (Decode16,
  1238. 0x0CF8, // Range Minimum
  1239. 0x0CF8, // Range Maximum
  1240. 0x01, // Alignment
  1241. 0x08, // Length
  1242. )
  1243. DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  1244. 0x00000000, // Granularity
  1245. 0x00000D00, // Range Minimum
  1246. 0x0000FFFF, // Range Maximum
  1247. 0x00000000, // Translation Offset
  1248. 0x0000F300, // Length
  1249. ,, , TypeStatic)
  1250. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1251. 0x00000000, // Granularity
  1252. 0x000A0000, // Range Minimum
  1253. 0x000BFFFF, // Range Maximum
  1254. 0x00000000, // Translation Offset
  1255. 0x00020000, // Length
  1256. ,, , AddressRangeMemory, TypeStatic)
  1257. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1258. 0x00000000, // Granularity
  1259. 0x000C0000, // Range Minimum
  1260. 0x000C3FFF, // Range Maximum
  1261. 0x00000000, // Translation Offset
  1262. 0x00004000, // Length
  1263. ,, , AddressRangeMemory, TypeStatic)
  1264. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1265. 0x00000000, // Granularity
  1266. 0x000C4000, // Range Minimum
  1267. 0x000C7FFF, // Range Maximum
  1268. 0x00000000, // Translation Offset
  1269. 0x00004000, // Length
  1270. ,, , AddressRangeMemory, TypeStatic)
  1271. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1272. 0x00000000, // Granularity
  1273. 0x000C8000, // Range Minimum
  1274. 0x000CBFFF, // Range Maximum
  1275. 0x00000000, // Translation Offset
  1276. 0x00004000, // Length
  1277. ,, , AddressRangeMemory, TypeStatic)
  1278. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1279. 0x00000000, // Granularity
  1280. 0x000CC000, // Range Minimum
  1281. 0x000CFFFF, // Range Maximum
  1282. 0x00000000, // Translation Offset
  1283. 0x00004000, // Length
  1284. ,, , AddressRangeMemory, TypeStatic)
  1285. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1286. 0x00000000, // Granularity
  1287. 0x000D0000, // Range Minimum
  1288. 0x000D3FFF, // Range Maximum
  1289. 0x00000000, // Translation Offset
  1290. 0x00004000, // Length
  1291. ,, , AddressRangeMemory, TypeStatic)
  1292. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1293. 0x00000000, // Granularity
  1294. 0x000D4000, // Range Minimum
  1295. 0x000D7FFF, // Range Maximum
  1296. 0x00000000, // Translation Offset
  1297. 0x00004000, // Length
  1298. ,, , AddressRangeMemory, TypeStatic)
  1299. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1300. 0x00000000, // Granularity
  1301. 0x000D8000, // Range Minimum
  1302. 0x000DBFFF, // Range Maximum
  1303. 0x00000000, // Translation Offset
  1304. 0x00004000, // Length
  1305. ,, , AddressRangeMemory, TypeStatic)
  1306. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1307. 0x00000000, // Granularity
  1308. 0x000DC000, // Range Minimum
  1309. 0x000DFFFF, // Range Maximum
  1310. 0x00000000, // Translation Offset
  1311. 0x00004000, // Length
  1312. ,, , AddressRangeMemory, TypeStatic)
  1313. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1314. 0x00000000, // Granularity
  1315. 0x000E0000, // Range Minimum
  1316. 0x000E3FFF, // Range Maximum
  1317. 0x00000000, // Translation Offset
  1318. 0x00004000, // Length
  1319. ,, , AddressRangeMemory, TypeStatic)
  1320. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1321. 0x00000000, // Granularity
  1322. 0x000E4000, // Range Minimum
  1323. 0x000E7FFF, // Range Maximum
  1324. 0x00000000, // Translation Offset
  1325. 0x00004000, // Length
  1326. ,, , AddressRangeMemory, TypeStatic)
  1327. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1328. 0x00000000, // Granularity
  1329. 0x000E8000, // Range Minimum
  1330. 0x000EBFFF, // Range Maximum
  1331. 0x00000000, // Translation Offset
  1332. 0x00004000, // Length
  1333. ,, , AddressRangeMemory, TypeStatic)
  1334. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1335. 0x00000000, // Granularity
  1336. 0x000EC000, // Range Minimum
  1337. 0x000EFFFF, // Range Maximum
  1338. 0x00000000, // Translation Offset
  1339. 0x00004000, // Length
  1340. ,, , AddressRangeMemory, TypeStatic)
  1341. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1342. 0x00000000, // Granularity
  1343. 0x000F0000, // Range Minimum
  1344. 0x000FFFFF, // Range Maximum
  1345. 0x00000000, // Translation Offset
  1346. 0x00010000, // Length
  1347. ,, , AddressRangeMemory, TypeStatic)
  1348. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1349. 0x00000000, // Granularity
  1350. 0x00000000, // Range Minimum
  1351. 0xFEAFFFFF, // Range Maximum
  1352. 0x00000000, // Translation Offset
  1353. 0xFEB00000, // Length
  1354. ,, , AddressRangeMemory, TypeStatic)
  1355. QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  1356. 0x0000000000000000, // Granularity
  1357. 0x0000000000010000, // Range Minimum
  1358. 0x000000000001FFFF, // Range Maximum
  1359. 0x0000000000000000, // Translation Offset
  1360. 0x0000000000010000, // Length
  1361. ,, , AddressRangeMemory, TypeStatic)
  1362. })
  1363. Method (_CRS, 0, Serialized)
  1364. {
  1365. CreateWordField (BUF0, 0x0A, PBMX)
  1366. Store (Subtract (ShiftRight (PELN, 0x14), 0x02), PBMX)
  1367. CreateWordField (BUF0, 0x0E, PBLN)
  1368. Store (Subtract (ShiftRight (PELN, 0x14), One), PBLN)
  1369. If (PM1L)
  1370. {
  1371. CreateDWordField (BUF0, 0x7C, C0LN)
  1372. Store (Zero, C0LN)
  1373. }
  1374.  
  1375. If (LEqual (PM1L, One))
  1376. {
  1377. CreateBitField (BUF0, 0x0358, C0RW)
  1378. Store (Zero, C0RW)
  1379. }
  1380.  
  1381. If (PM1H)
  1382. {
  1383. CreateDWordField (BUF0, 0x96, C4LN)
  1384. Store (Zero, C4LN)
  1385. }
  1386.  
  1387. If (LEqual (PM1H, One))
  1388. {
  1389. CreateBitField (BUF0, 0x0428, C4RW)
  1390. Store (Zero, C4RW)
  1391. }
  1392.  
  1393. If (PM2L)
  1394. {
  1395. CreateDWordField (BUF0, 0xB0, C8LN)
  1396. Store (Zero, C8LN)
  1397. }
  1398.  
  1399. If (LEqual (PM2L, One))
  1400. {
  1401. CreateBitField (BUF0, 0x04F8, C8RW)
  1402. Store (Zero, C8RW)
  1403. }
  1404.  
  1405. If (PM2H)
  1406. {
  1407. CreateDWordField (BUF0, 0xCA, CCLN)
  1408. Store (Zero, CCLN)
  1409. }
  1410.  
  1411. If (LEqual (PM2H, One))
  1412. {
  1413. CreateBitField (BUF0, 0x05C8, CCRW)
  1414. Store (Zero, CCRW)
  1415. }
  1416.  
  1417. If (PM3L)
  1418. {
  1419. CreateDWordField (BUF0, 0xE4, D0LN)
  1420. Store (Zero, D0LN)
  1421. }
  1422.  
  1423. If (LEqual (PM3L, One))
  1424. {
  1425. CreateBitField (BUF0, 0x0698, D0RW)
  1426. Store (Zero, D0RW)
  1427. }
  1428.  
  1429. If (PM3H)
  1430. {
  1431. CreateDWordField (BUF0, 0xFE, D4LN)
  1432. Store (Zero, D4LN)
  1433. }
  1434.  
  1435. If (LEqual (PM3H, One))
  1436. {
  1437. CreateBitField (BUF0, 0x0768, D4RW)
  1438. Store (Zero, D4RW)
  1439. }
  1440.  
  1441. If (PM4L)
  1442. {
  1443. CreateDWordField (BUF0, 0x0118, D8LN)
  1444. Store (Zero, D8LN)
  1445. }
  1446.  
  1447. If (LEqual (PM4L, One))
  1448. {
  1449. CreateBitField (BUF0, 0x0838, D8RW)
  1450. Store (Zero, D8RW)
  1451. }
  1452.  
  1453. If (PM4H)
  1454. {
  1455. CreateDWordField (BUF0, 0x0132, DCLN)
  1456. Store (Zero, DCLN)
  1457. }
  1458.  
  1459. If (LEqual (PM4H, One))
  1460. {
  1461. CreateBitField (BUF0, 0x0908, DCRW)
  1462. Store (Zero, DCRW)
  1463. }
  1464.  
  1465. If (PM5L)
  1466. {
  1467. CreateDWordField (BUF0, 0x014C, E0LN)
  1468. Store (Zero, E0LN)
  1469. }
  1470.  
  1471. If (LEqual (PM5L, One))
  1472. {
  1473. CreateBitField (BUF0, 0x09D8, E0RW)
  1474. Store (Zero, E0RW)
  1475. }
  1476.  
  1477. If (PM5H)
  1478. {
  1479. CreateDWordField (BUF0, 0x0166, E4LN)
  1480. Store (Zero, E4LN)
  1481. }
  1482.  
  1483. If (LEqual (PM5H, One))
  1484. {
  1485. CreateBitField (BUF0, 0x0AA8, E4RW)
  1486. Store (Zero, E4RW)
  1487. }
  1488.  
  1489. If (PM6L)
  1490. {
  1491. CreateDWordField (BUF0, 0x0180, E8LN)
  1492. Store (Zero, E8LN)
  1493. }
  1494.  
  1495. If (LEqual (PM6L, One))
  1496. {
  1497. CreateBitField (BUF0, 0x0B78, E8RW)
  1498. Store (Zero, E8RW)
  1499. }
  1500.  
  1501. If (PM6H)
  1502. {
  1503. CreateDWordField (BUF0, 0x019A, ECLN)
  1504. Store (Zero, ECLN)
  1505. }
  1506.  
  1507. If (LEqual (PM6H, One))
  1508. {
  1509. CreateBitField (BUF0, 0x0C48, ECRW)
  1510. Store (Zero, ECRW)
  1511. }
  1512.  
  1513. If (PM0H)
  1514. {
  1515. CreateDWordField (BUF0, 0x01B4, F0LN)
  1516. Store (Zero, F0LN)
  1517. }
  1518.  
  1519. If (LEqual (PM0H, One))
  1520. {
  1521. CreateBitField (BUF0, 0x0D18, F0RW)
  1522. Store (Zero, F0RW)
  1523. }
  1524.  
  1525. CreateDWordField (BUF0, 0x01C2, M1MN)
  1526. CreateDWordField (BUF0, 0x01C6, M1MX)
  1527. CreateDWordField (BUF0, 0x01CE, M1LN)
  1528. ShiftLeft (TLUD, 0x14, M1MN)
  1529. Add (Subtract (M1MX, M1MN), One, M1LN)
  1530. If (LOr (LEqual (MM64, Zero), LLessEqual (OSYS, 0x07D3)))
  1531. {
  1532. CreateDWordField (BUF0, 0x01F8, MSLN)
  1533. Store (Zero, MSLN)
  1534. }
  1535. Else
  1536. {
  1537. CreateQWordField (BUF0, 0x01F8, M2LN)
  1538. CreateQWordField (BUF0, 0x01E0, M2MN)
  1539. CreateQWordField (BUF0, 0x01E8, M2MX)
  1540. Store (0x00000000, M2LN)
  1541. If (LGreaterEqual (TUUD, 0x1000))
  1542. {
  1543. ShiftLeft (TUUD, 0x14, M2MN)
  1544. }
  1545. Else
  1546. {
  1547. Store (0x00000000, M2MN)
  1548. }
  1549.  
  1550. Subtract (Add (M2MN, M2LN), One, M2MX)
  1551. }
  1552.  
  1553. Return (BUF0)
  1554. }
  1555.  
  1556. Name (GUID, Buffer (0x10)
  1557. {
  1558. /* 0000 */ 0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40,
  1559. /* 0008 */ 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66
  1560. })
  1561. Name (SUPP, Zero)
  1562. Name (CTRL, Zero)
  1563. Name (XCNT, Zero)
  1564. Method (_OSC, 4, Serialized)
  1565. {
  1566. Store (Arg3, Local0)
  1567. CreateDWordField (Local0, Zero, CDW1)
  1568. CreateDWordField (Local0, 0x04, CDW2)
  1569. CreateDWordField (Local0, 0x08, CDW3)
  1570. If (^XHC.CUID (Arg0))
  1571. {
  1572. Return (^XHC.POSC (Arg1, Arg2, Arg3))
  1573. }
  1574. Else
  1575. {
  1576. If (_OSI ("Windows 2012"))
  1577. {
  1578. If (LEqual (XCNT, Zero))
  1579. {
  1580. ^XHC.XSEL ()
  1581. Increment (XCNT)
  1582. }
  1583. }
  1584. }
  1585.  
  1586. If (LAnd (LEqual (Arg0, GUID), NEXP))
  1587. {
  1588. Store (CDW2, SUPP)
  1589. Store (CDW3, CTRL)
  1590. If (Not (And (CDW1, One)))
  1591. {
  1592. If (And (CTRL, One))
  1593. {
  1594. NHPG ()
  1595. }
  1596.  
  1597. If (And (CTRL, 0x04))
  1598. {
  1599. NPME ()
  1600. }
  1601. }
  1602.  
  1603. If (LNotEqual (Arg1, One))
  1604. {
  1605. Or (CDW1, 0x08, CDW1)
  1606. }
  1607.  
  1608. If (LNotEqual (CDW3, CTRL))
  1609. {
  1610. Or (CDW1, 0x10, CDW1)
  1611. }
  1612.  
  1613. Store (CTRL, CDW3)
  1614. Store (CTRL, OSCC)
  1615. Return (Local0)
  1616. }
  1617. Else
  1618. {
  1619. Or (CDW1, 0x04, CDW1)
  1620. Return (Local0)
  1621. }
  1622. }
  1623.  
  1624. Device (P0P1)
  1625. {
  1626. Name (_ADR, 0x001E0000)
  1627. Method (_PRW, 0, NotSerialized)
  1628. {
  1629. If (PMEE)
  1630. {
  1631. Return (Package (0x02)
  1632. {
  1633. 0x0B,
  1634. 0x04
  1635. })
  1636. }
  1637. Else
  1638. {
  1639. Return (Package (0x02)
  1640. {
  1641. 0x0B,
  1642. Zero
  1643. })
  1644. }
  1645. }
  1646.  
  1647. Name (PR04, Package (0x0C)
  1648. {
  1649. Package (0x04)
  1650. {
  1651. 0xFFFF,
  1652. Zero,
  1653. LNKF,
  1654. Zero
  1655. },
  1656.  
  1657. Package (0x04)
  1658. {
  1659. 0xFFFF,
  1660. One,
  1661. LNKG,
  1662. Zero
  1663. },
  1664.  
  1665. Package (0x04)
  1666. {
  1667. 0xFFFF,
  1668. 0x02,
  1669. LNKH,
  1670. Zero
  1671. },
  1672.  
  1673. Package (0x04)
  1674. {
  1675. 0xFFFF,
  1676. 0x03,
  1677. LNKE,
  1678. Zero
  1679. },
  1680.  
  1681. Package (0x04)
  1682. {
  1683. 0x0001FFFF,
  1684. Zero,
  1685. LNKG,
  1686. Zero
  1687. },
  1688.  
  1689. Package (0x04)
  1690. {
  1691. 0x0001FFFF,
  1692. One,
  1693. LNKF,
  1694. Zero
  1695. },
  1696.  
  1697. Package (0x04)
  1698. {
  1699. 0x0001FFFF,
  1700. 0x02,
  1701. LNKE,
  1702. Zero
  1703. },
  1704.  
  1705. Package (0x04)
  1706. {
  1707. 0x0001FFFF,
  1708. 0x03,
  1709. LNKH,
  1710. Zero
  1711. },
  1712.  
  1713. Package (0x04)
  1714. {
  1715. 0x0005FFFF,
  1716. Zero,
  1717. LNKC,
  1718. Zero
  1719. },
  1720.  
  1721. Package (0x04)
  1722. {
  1723. 0x0005FFFF,
  1724. One,
  1725. LNKE,
  1726. Zero
  1727. },
  1728.  
  1729. Package (0x04)
  1730. {
  1731. 0x0005FFFF,
  1732. 0x02,
  1733. LNKG,
  1734. Zero
  1735. },
  1736.  
  1737. Package (0x04)
  1738. {
  1739. 0x0005FFFF,
  1740. 0x03,
  1741. LNKF,
  1742. Zero
  1743. }
  1744. })
  1745. Name (AR04, Package (0x0C)
  1746. {
  1747. Package (0x04)
  1748. {
  1749. 0xFFFF,
  1750. Zero,
  1751. Zero,
  1752. 0x15
  1753. },
  1754.  
  1755. Package (0x04)
  1756. {
  1757. 0xFFFF,
  1758. One,
  1759. Zero,
  1760. 0x16
  1761. },
  1762.  
  1763. Package (0x04)
  1764. {
  1765. 0xFFFF,
  1766. 0x02,
  1767. Zero,
  1768. 0x17
  1769. },
  1770.  
  1771. Package (0x04)
  1772. {
  1773. 0xFFFF,
  1774. 0x03,
  1775. Zero,
  1776. 0x14
  1777. },
  1778.  
  1779. Package (0x04)
  1780. {
  1781. 0x0001FFFF,
  1782. Zero,
  1783. Zero,
  1784. 0x16
  1785. },
  1786.  
  1787. Package (0x04)
  1788. {
  1789. 0x0001FFFF,
  1790. One,
  1791. Zero,
  1792. 0x15
  1793. },
  1794.  
  1795. Package (0x04)
  1796. {
  1797. 0x0001FFFF,
  1798. 0x02,
  1799. Zero,
  1800. 0x14
  1801. },
  1802.  
  1803. Package (0x04)
  1804. {
  1805. 0x0001FFFF,
  1806. 0x03,
  1807. Zero,
  1808. 0x17
  1809. },
  1810.  
  1811. Package (0x04)
  1812. {
  1813. 0x0005FFFF,
  1814. Zero,
  1815. Zero,
  1816. 0x12
  1817. },
  1818.  
  1819. Package (0x04)
  1820. {
  1821. 0x0005FFFF,
  1822. One,
  1823. Zero,
  1824. 0x14
  1825. },
  1826.  
  1827. Package (0x04)
  1828. {
  1829. 0x0005FFFF,
  1830. 0x02,
  1831. Zero,
  1832. 0x16
  1833. },
  1834.  
  1835. Package (0x04)
  1836. {
  1837. 0x0005FFFF,
  1838. 0x03,
  1839. Zero,
  1840. 0x15
  1841. }
  1842. })
  1843. Method (_PRT, 0, NotSerialized)
  1844. {
  1845. If (PICM)
  1846. {
  1847. Return (AR04)
  1848. }
  1849.  
  1850. Return (PR04)
  1851. }
  1852. }
  1853.  
  1854. Device (LPCB)
  1855. {
  1856. Name (_ADR, 0x001F0000)
  1857. Scope (\_SB)
  1858. {
  1859. OperationRegion (PCI0.LPCB.LPC1, PCI_Config, 0x40, 0xC0)
  1860. Field (PCI0.LPCB.LPC1, AnyAcc, NoLock, Preserve)
  1861. {
  1862. Offset (0x20),
  1863. PARC, 8,
  1864. PBRC, 8,
  1865. PCRC, 8,
  1866. PDRC, 8,
  1867. Offset (0x28),
  1868. PERC, 8,
  1869. PFRC, 8,
  1870. PGRC, 8,
  1871. PHRC, 8,
  1872. Offset (0x6C),
  1873. Offset (0x6D),
  1874. Offset (0x6E),
  1875. XUSB, 1
  1876. }
  1877.  
  1878. Device (LNKA)
  1879. {
  1880. Name (_HID, EisaId ("PNP0C0F"))
  1881. Name (_UID, One)
  1882. Method (_DIS, 0, Serialized)
  1883. {
  1884. Or (PARC, 0x80, PARC)
  1885. }
  1886.  
  1887. Method (_PRS, 0, Serialized)
  1888. {
  1889. Return (PRSA)
  1890. }
  1891.  
  1892. Method (_CRS, 0, Serialized)
  1893. {
  1894. Name (RTLA, ResourceTemplate ()
  1895. {
  1896. IRQ (Level, ActiveLow, Shared, )
  1897. {}
  1898. })
  1899. CreateWordField (RTLA, One, IRQ0)
  1900. Store (Zero, IRQ0)
  1901. ShiftLeft (One, And (PARC, 0x0F), IRQ0)
  1902. Return (RTLA)
  1903. }
  1904.  
  1905. Method (_SRS, 1, Serialized)
  1906. {
  1907. CreateWordField (Arg0, One, IRQ0)
  1908. FindSetRightBit (IRQ0, Local0)
  1909. Decrement (Local0)
  1910. Store (Local0, PARC)
  1911. }
  1912.  
  1913. Method (_STA, 0, Serialized)
  1914. {
  1915. If (And (PARC, 0x80))
  1916. {
  1917. Return (0x09)
  1918. }
  1919. Else
  1920. {
  1921. Return (0x0B)
  1922. }
  1923. }
  1924. }
  1925.  
  1926. Device (LNKB)
  1927. {
  1928. Name (_HID, EisaId ("PNP0C0F"))
  1929. Name (_UID, 0x02)
  1930. Method (_DIS, 0, Serialized)
  1931. {
  1932. Or (PBRC, 0x80, PBRC)
  1933. }
  1934.  
  1935. Method (_PRS, 0, Serialized)
  1936. {
  1937. Return (PRSB)
  1938. }
  1939.  
  1940. Method (_CRS, 0, Serialized)
  1941. {
  1942. Name (RTLB, ResourceTemplate ()
  1943. {
  1944. IRQ (Level, ActiveLow, Shared, )
  1945. {}
  1946. })
  1947. CreateWordField (RTLB, One, IRQ0)
  1948. Store (Zero, IRQ0)
  1949. ShiftLeft (One, And (PBRC, 0x0F), IRQ0)
  1950. Return (RTLB)
  1951. }
  1952.  
  1953. Method (_SRS, 1, Serialized)
  1954. {
  1955. CreateWordField (Arg0, One, IRQ0)
  1956. FindSetRightBit (IRQ0, Local0)
  1957. Decrement (Local0)
  1958. Store (Local0, PBRC)
  1959. }
  1960.  
  1961. Method (_STA, 0, Serialized)
  1962. {
  1963. If (And (PBRC, 0x80))
  1964. {
  1965. Return (0x09)
  1966. }
  1967. Else
  1968. {
  1969. Return (0x0B)
  1970. }
  1971. }
  1972. }
  1973.  
  1974. Device (LNKC)
  1975. {
  1976. Name (_HID, EisaId ("PNP0C0F"))
  1977. Name (_UID, 0x03)
  1978. Method (_DIS, 0, Serialized)
  1979. {
  1980. Or (PCRC, 0x80, PCRC)
  1981. }
  1982.  
  1983. Method (_PRS, 0, Serialized)
  1984. {
  1985. Return (PRSC)
  1986. }
  1987.  
  1988. Method (_CRS, 0, Serialized)
  1989. {
  1990. Name (RTLC, ResourceTemplate ()
  1991. {
  1992. IRQ (Level, ActiveLow, Shared, )
  1993. {}
  1994. })
  1995. CreateWordField (RTLC, One, IRQ0)
  1996. Store (Zero, IRQ0)
  1997. ShiftLeft (One, And (PCRC, 0x0F), IRQ0)
  1998. Return (RTLC)
  1999. }
  2000.  
  2001. Method (_SRS, 1, Serialized)
  2002. {
  2003. CreateWordField (Arg0, One, IRQ0)
  2004. FindSetRightBit (IRQ0, Local0)
  2005. Decrement (Local0)
  2006. Store (Local0, PCRC)
  2007. }
  2008.  
  2009. Method (_STA, 0, Serialized)
  2010. {
  2011. If (And (PCRC, 0x80))
  2012. {
  2013. Return (0x09)
  2014. }
  2015. Else
  2016. {
  2017. Return (0x0B)
  2018. }
  2019. }
  2020. }
  2021.  
  2022. Device (LNKD)
  2023. {
  2024. Name (_HID, EisaId ("PNP0C0F"))
  2025. Name (_UID, 0x04)
  2026. Method (_DIS, 0, Serialized)
  2027. {
  2028. Or (PDRC, 0x80, PDRC)
  2029. }
  2030.  
  2031. Method (_PRS, 0, Serialized)
  2032. {
  2033. Return (PRSD)
  2034. }
  2035.  
  2036. Method (_CRS, 0, Serialized)
  2037. {
  2038. Name (RTLD, ResourceTemplate ()
  2039. {
  2040. IRQ (Level, ActiveLow, Shared, )
  2041. {}
  2042. })
  2043. CreateWordField (RTLD, One, IRQ0)
  2044. Store (Zero, IRQ0)
  2045. ShiftLeft (One, And (PDRC, 0x0F), IRQ0)
  2046. Return (RTLD)
  2047. }
  2048.  
  2049. Method (_SRS, 1, Serialized)
  2050. {
  2051. CreateWordField (Arg0, One, IRQ0)
  2052. FindSetRightBit (IRQ0, Local0)
  2053. Decrement (Local0)
  2054. Store (Local0, PDRC)
  2055. }
  2056.  
  2057. Method (_STA, 0, Serialized)
  2058. {
  2059. If (And (PDRC, 0x80))
  2060. {
  2061. Return (0x09)
  2062. }
  2063. Else
  2064. {
  2065. Return (0x0B)
  2066. }
  2067. }
  2068. }
  2069.  
  2070. Device (LNKE)
  2071. {
  2072. Name (_HID, EisaId ("PNP0C0F"))
  2073. Name (_UID, 0x05)
  2074. Method (_DIS, 0, Serialized)
  2075. {
  2076. Or (PERC, 0x80, PERC)
  2077. }
  2078.  
  2079. Method (_PRS, 0, Serialized)
  2080. {
  2081. Return (PRSE)
  2082. }
  2083.  
  2084. Method (_CRS, 0, Serialized)
  2085. {
  2086. Name (RTLE, ResourceTemplate ()
  2087. {
  2088. IRQ (Level, ActiveLow, Shared, )
  2089. {}
  2090. })
  2091. CreateWordField (RTLE, One, IRQ0)
  2092. Store (Zero, IRQ0)
  2093. ShiftLeft (One, And (PERC, 0x0F), IRQ0)
  2094. Return (RTLE)
  2095. }
  2096.  
  2097. Method (_SRS, 1, Serialized)
  2098. {
  2099. CreateWordField (Arg0, One, IRQ0)
  2100. FindSetRightBit (IRQ0, Local0)
  2101. Decrement (Local0)
  2102. Store (Local0, PERC)
  2103. }
  2104.  
  2105. Method (_STA, 0, Serialized)
  2106. {
  2107. If (And (PERC, 0x80))
  2108. {
  2109. Return (0x09)
  2110. }
  2111. Else
  2112. {
  2113. Return (0x0B)
  2114. }
  2115. }
  2116. }
  2117.  
  2118. Device (LNKF)
  2119. {
  2120. Name (_HID, EisaId ("PNP0C0F"))
  2121. Name (_UID, 0x06)
  2122. Method (_DIS, 0, Serialized)
  2123. {
  2124. Or (PFRC, 0x80, PFRC)
  2125. }
  2126.  
  2127. Method (_PRS, 0, Serialized)
  2128. {
  2129. Return (PRSF)
  2130. }
  2131.  
  2132. Method (_CRS, 0, Serialized)
  2133. {
  2134. Name (RTLF, ResourceTemplate ()
  2135. {
  2136. IRQ (Level, ActiveLow, Shared, )
  2137. {}
  2138. })
  2139. CreateWordField (RTLF, One, IRQ0)
  2140. Store (Zero, IRQ0)
  2141. ShiftLeft (One, And (PFRC, 0x0F), IRQ0)
  2142. Return (RTLF)
  2143. }
  2144.  
  2145. Method (_SRS, 1, Serialized)
  2146. {
  2147. CreateWordField (Arg0, One, IRQ0)
  2148. FindSetRightBit (IRQ0, Local0)
  2149. Decrement (Local0)
  2150. Store (Local0, PFRC)
  2151. }
  2152.  
  2153. Method (_STA, 0, Serialized)
  2154. {
  2155. If (And (PFRC, 0x80))
  2156. {
  2157. Return (0x09)
  2158. }
  2159. Else
  2160. {
  2161. Return (0x0B)
  2162. }
  2163. }
  2164. }
  2165.  
  2166. Device (LNKG)
  2167. {
  2168. Name (_HID, EisaId ("PNP0C0F"))
  2169. Name (_UID, 0x07)
  2170. Method (_DIS, 0, Serialized)
  2171. {
  2172. Or (PGRC, 0x80, PGRC)
  2173. }
  2174.  
  2175. Method (_PRS, 0, Serialized)
  2176. {
  2177. Return (PRSG)
  2178. }
  2179.  
  2180. Method (_CRS, 0, Serialized)
  2181. {
  2182. Name (RTLG, ResourceTemplate ()
  2183. {
  2184. IRQ (Level, ActiveLow, Shared, )
  2185. {}
  2186. })
  2187. CreateWordField (RTLG, One, IRQ0)
  2188. Store (Zero, IRQ0)
  2189. ShiftLeft (One, And (PGRC, 0x0F), IRQ0)
  2190. Return (RTLG)
  2191. }
  2192.  
  2193. Method (_SRS, 1, Serialized)
  2194. {
  2195. CreateWordField (Arg0, One, IRQ0)
  2196. FindSetRightBit (IRQ0, Local0)
  2197. Decrement (Local0)
  2198. Store (Local0, PGRC)
  2199. }
  2200.  
  2201. Method (_STA, 0, Serialized)
  2202. {
  2203. If (And (PGRC, 0x80))
  2204. {
  2205. Return (0x09)
  2206. }
  2207. Else
  2208. {
  2209. Return (0x0B)
  2210. }
  2211. }
  2212. }
  2213.  
  2214. Device (LNKH)
  2215. {
  2216. Name (_HID, EisaId ("PNP0C0F"))
  2217. Name (_UID, 0x08)
  2218. Method (_DIS, 0, Serialized)
  2219. {
  2220. Or (PHRC, 0x80, PHRC)
  2221. }
  2222.  
  2223. Method (_PRS, 0, Serialized)
  2224. {
  2225. Return (PRSH)
  2226. }
  2227.  
  2228. Method (_CRS, 0, Serialized)
  2229. {
  2230. Name (RTLH, ResourceTemplate ()
  2231. {
  2232. IRQ (Level, ActiveLow, Shared, )
  2233. {}
  2234. })
  2235. CreateWordField (RTLH, One, IRQ0)
  2236. Store (Zero, IRQ0)
  2237. ShiftLeft (One, And (PHRC, 0x0F), IRQ0)
  2238. Return (RTLH)
  2239. }
  2240.  
  2241. Method (_SRS, 1, Serialized)
  2242. {
  2243. CreateWordField (Arg0, One, IRQ0)
  2244. FindSetRightBit (IRQ0, Local0)
  2245. Decrement (Local0)
  2246. Store (Local0, PHRC)
  2247. }
  2248.  
  2249. Method (_STA, 0, Serialized)
  2250. {
  2251. If (And (PHRC, 0x80))
  2252. {
  2253. Return (0x09)
  2254. }
  2255. Else
  2256. {
  2257. Return (0x0B)
  2258. }
  2259. }
  2260. }
  2261. }
  2262.  
  2263. OperationRegion (LPC0, PCI_Config, 0x40, 0xC0)
  2264. Field (LPC0, AnyAcc, NoLock, Preserve)
  2265. {
  2266. Offset (0x40),
  2267. IOD0, 8,
  2268. IOD1, 8,
  2269. Offset (0xB0),
  2270. RAEN, 1,
  2271. , 13,
  2272. RCBA, 18
  2273. }
  2274.  
  2275. Device (DMAC)
  2276. {
  2277. Name (_HID, EisaId ("PNP0200"))
  2278. Name (_CRS, ResourceTemplate ()
  2279. {
  2280. IO (Decode16,
  2281. 0x0000, // Range Minimum
  2282. 0x0000, // Range Maximum
  2283. 0x01, // Alignment
  2284. 0x20, // Length
  2285. )
  2286. IO (Decode16,
  2287. 0x0081, // Range Minimum
  2288. 0x0081, // Range Maximum
  2289. 0x01, // Alignment
  2290. 0x11, // Length
  2291. )
  2292. IO (Decode16,
  2293. 0x0093, // Range Minimum
  2294. 0x0093, // Range Maximum
  2295. 0x01, // Alignment
  2296. 0x0D, // Length
  2297. )
  2298. IO (Decode16,
  2299. 0x00C0, // Range Minimum
  2300. 0x00C0, // Range Maximum
  2301. 0x01, // Alignment
  2302. 0x20, // Length
  2303. )
  2304. DMA (Compatibility, NotBusMaster, Transfer8_16, )
  2305. {4}
  2306. })
  2307. }
  2308.  
  2309. Device (FWHD)
  2310. {
  2311. Name (_HID, EisaId ("INT0800"))
  2312. Name (_CRS, ResourceTemplate ()
  2313. {
  2314. Memory32Fixed (ReadOnly,
  2315. 0xFF000000, // Address Base
  2316. 0x01000000, // Address Length
  2317. )
  2318. })
  2319. }
  2320.  
  2321. Device (HPET)
  2322. {
  2323. Name (_HID, EisaId ("PNP0103"))
  2324. Name (_UID, Zero)
  2325. Name (BUF0, ResourceTemplate ()
  2326. {
  2327. Memory32Fixed (ReadWrite,
  2328. 0xFED00000, // Address Base
  2329. 0x00000400, // Address Length
  2330. )
  2331. })
  2332. Method (_STA, 0, NotSerialized)
  2333. {
  2334. If (LGreaterEqual (OSYS, 0x07D1))
  2335. {
  2336. If (HPAE)
  2337. {
  2338. Return (0x0F)
  2339. }
  2340. }
  2341. Else
  2342. {
  2343. If (HPAE)
  2344. {
  2345. Return (0x0B)
  2346. }
  2347. }
  2348.  
  2349. Return (Zero)
  2350. }
  2351.  
  2352. Method (_CRS, 0, Serialized)
  2353. {
  2354. If (HPAE)
  2355. {
  2356. CreateDWordField (BUF0, 0x04, HPT0)
  2357. If (LEqual (HPAS, One))
  2358. {
  2359. Store (0xFED01000, HPT0)
  2360. }
  2361.  
  2362. If (LEqual (HPAS, 0x02))
  2363. {
  2364. Store (0xFED02000, HPT0)
  2365. }
  2366.  
  2367. If (LEqual (HPAS, 0x03))
  2368. {
  2369. Store (0xFED03000, HPT0)
  2370. }
  2371. }
  2372.  
  2373. Return (BUF0)
  2374. }
  2375. }
  2376.  
  2377. Device (IPIC)
  2378. {
  2379. Name (_HID, EisaId ("PNP0000"))
  2380. Name (_CRS, ResourceTemplate ()
  2381. {
  2382. IO (Decode16,
  2383. 0x0020, // Range Minimum
  2384. 0x0020, // Range Maximum
  2385. 0x01, // Alignment
  2386. 0x02, // Length
  2387. )
  2388. IO (Decode16,
  2389. 0x0024, // Range Minimum
  2390. 0x0024, // Range Maximum
  2391. 0x01, // Alignment
  2392. 0x02, // Length
  2393. )
  2394. IO (Decode16,
  2395. 0x0028, // Range Minimum
  2396. 0x0028, // Range Maximum
  2397. 0x01, // Alignment
  2398. 0x02, // Length
  2399. )
  2400. IO (Decode16,
  2401. 0x002C, // Range Minimum
  2402. 0x002C, // Range Maximum
  2403. 0x01, // Alignment
  2404. 0x02, // Length
  2405. )
  2406. IO (Decode16,
  2407. 0x0030, // Range Minimum
  2408. 0x0030, // Range Maximum
  2409. 0x01, // Alignment
  2410. 0x02, // Length
  2411. )
  2412. IO (Decode16,
  2413. 0x0034, // Range Minimum
  2414. 0x0034, // Range Maximum
  2415. 0x01, // Alignment
  2416. 0x02, // Length
  2417. )
  2418. IO (Decode16,
  2419. 0x0038, // Range Minimum
  2420. 0x0038, // Range Maximum
  2421. 0x01, // Alignment
  2422. 0x02, // Length
  2423. )
  2424. IO (Decode16,
  2425. 0x003C, // Range Minimum
  2426. 0x003C, // Range Maximum
  2427. 0x01, // Alignment
  2428. 0x02, // Length
  2429. )
  2430. IO (Decode16,
  2431. 0x00A0, // Range Minimum
  2432. 0x00A0, // Range Maximum
  2433. 0x01, // Alignment
  2434. 0x02, // Length
  2435. )
  2436. IO (Decode16,
  2437. 0x00A4, // Range Minimum
  2438. 0x00A4, // Range Maximum
  2439. 0x01, // Alignment
  2440. 0x02, // Length
  2441. )
  2442. IO (Decode16,
  2443. 0x00A8, // Range Minimum
  2444. 0x00A8, // Range Maximum
  2445. 0x01, // Alignment
  2446. 0x02, // Length
  2447. )
  2448. IO (Decode16,
  2449. 0x00AC, // Range Minimum
  2450. 0x00AC, // Range Maximum
  2451. 0x01, // Alignment
  2452. 0x02, // Length
  2453. )
  2454. IO (Decode16,
  2455. 0x00B0, // Range Minimum
  2456. 0x00B0, // Range Maximum
  2457. 0x01, // Alignment
  2458. 0x02, // Length
  2459. )
  2460. IO (Decode16,
  2461. 0x00B4, // Range Minimum
  2462. 0x00B4, // Range Maximum
  2463. 0x01, // Alignment
  2464. 0x02, // Length
  2465. )
  2466. IO (Decode16,
  2467. 0x00B8, // Range Minimum
  2468. 0x00B8, // Range Maximum
  2469. 0x01, // Alignment
  2470. 0x02, // Length
  2471. )
  2472. IO (Decode16,
  2473. 0x00BC, // Range Minimum
  2474. 0x00BC, // Range Maximum
  2475. 0x01, // Alignment
  2476. 0x02, // Length
  2477. )
  2478. IO (Decode16,
  2479. 0x04D0, // Range Minimum
  2480. 0x04D0, // Range Maximum
  2481. 0x01, // Alignment
  2482. 0x02, // Length
  2483. )
  2484. IRQNoFlags ()
  2485. {2}
  2486. })
  2487. }
  2488.  
  2489. Device (MATH)
  2490. {
  2491. Name (_HID, EisaId ("PNP0C04"))
  2492. Name (_CRS, ResourceTemplate ()
  2493. {
  2494. IO (Decode16,
  2495. 0x00F0, // Range Minimum
  2496. 0x00F0, // Range Maximum
  2497. 0x01, // Alignment
  2498. 0x01, // Length
  2499. )
  2500. IRQNoFlags ()
  2501. {13}
  2502. })
  2503. }
  2504.  
  2505. Device (LDRC)
  2506. {
  2507. Name (_HID, EisaId ("PNP0C02"))
  2508. Name (_UID, 0x02)
  2509. Name (_CRS, ResourceTemplate ()
  2510. {
  2511. IO (Decode16,
  2512. 0x002E, // Range Minimum
  2513. 0x002E, // Range Maximum
  2514. 0x01, // Alignment
  2515. 0x02, // Length
  2516. )
  2517. IO (Decode16,
  2518. 0x004E, // Range Minimum
  2519. 0x004E, // Range Maximum
  2520. 0x01, // Alignment
  2521. 0x02, // Length
  2522. )
  2523. IO (Decode16,
  2524. 0x0061, // Range Minimum
  2525. 0x0061, // Range Maximum
  2526. 0x01, // Alignment
  2527. 0x01, // Length
  2528. )
  2529. IO (Decode16,
  2530. 0x0063, // Range Minimum
  2531. 0x0063, // Range Maximum
  2532. 0x01, // Alignment
  2533. 0x01, // Length
  2534. )
  2535. IO (Decode16,
  2536. 0x0062, // Range Minimum
  2537. 0x0062, // Range Maximum
  2538. 0x01, // Alignment
  2539. 0x01, // Length
  2540. )
  2541. IO (Decode16,
  2542. 0x0065, // Range Minimum
  2543. 0x0065, // Range Maximum
  2544. 0x01, // Alignment
  2545. 0x01, // Length
  2546. )
  2547. IO (Decode16,
  2548. 0x0066, // Range Minimum
  2549. 0x0066, // Range Maximum
  2550. 0x01, // Alignment
  2551. 0x01, // Length
  2552. )
  2553. IO (Decode16,
  2554. 0x0067, // Range Minimum
  2555. 0x0067, // Range Maximum
  2556. 0x01, // Alignment
  2557. 0x01, // Length
  2558. )
  2559. IO (Decode16,
  2560. 0x0068, // Range Minimum
  2561. 0x0068, // Range Maximum
  2562. 0x01, // Alignment
  2563. 0x01, // Length
  2564. )
  2565. IO (Decode16,
  2566. 0x006C, // Range Minimum
  2567. 0x006C, // Range Maximum
  2568. 0x01, // Alignment
  2569. 0x01, // Length
  2570. )
  2571. IO (Decode16,
  2572. 0x0070, // Range Minimum
  2573. 0x0070, // Range Maximum
  2574. 0x01, // Alignment
  2575. 0x01, // Length
  2576. )
  2577. IO (Decode16,
  2578. 0x0080, // Range Minimum
  2579. 0x0080, // Range Maximum
  2580. 0x01, // Alignment
  2581. 0x01, // Length
  2582. )
  2583. IO (Decode16,
  2584. 0x0092, // Range Minimum
  2585. 0x0092, // Range Maximum
  2586. 0x01, // Alignment
  2587. 0x01, // Length
  2588. )
  2589. IO (Decode16,
  2590. 0x00B2, // Range Minimum
  2591. 0x00B2, // Range Maximum
  2592. 0x01, // Alignment
  2593. 0x02, // Length
  2594. )
  2595. IO (Decode16,
  2596. 0x0680, // Range Minimum
  2597. 0x0680, // Range Maximum
  2598. 0x01, // Alignment
  2599. 0x20, // Length
  2600. )
  2601. IO (Decode16,
  2602. 0x1000, // Range Minimum
  2603. 0x1000, // Range Maximum
  2604. 0x01, // Alignment
  2605. 0x10, // Length
  2606. )
  2607. IO (Decode16,
  2608. 0xFFFF, // Range Minimum
  2609. 0xFFFF, // Range Maximum
  2610. 0x01, // Alignment
  2611. 0x01, // Length
  2612. )
  2613. IO (Decode16,
  2614. 0xFFFF, // Range Minimum
  2615. 0xFFFF, // Range Maximum
  2616. 0x01, // Alignment
  2617. 0x01, // Length
  2618. )
  2619. IO (Decode16,
  2620. 0x0400, // Range Minimum
  2621. 0x0400, // Range Maximum
  2622. 0x01, // Alignment
  2623. 0x54, // Length
  2624. )
  2625. IO (Decode16,
  2626. 0x0458, // Range Minimum
  2627. 0x0458, // Range Maximum
  2628. 0x01, // Alignment
  2629. 0x28, // Length
  2630. )
  2631. IO (Decode16,
  2632. 0x0500, // Range Minimum
  2633. 0x0500, // Range Maximum
  2634. 0x01, // Alignment
  2635. 0x80, // Length
  2636. )
  2637. IO (Decode16,
  2638. 0x164E, // Range Minimum
  2639. 0x164E, // Range Maximum
  2640. 0x01, // Alignment
  2641. 0x02, // Length
  2642. )
  2643. })
  2644. }
  2645.  
  2646. Device (RTC)
  2647. {
  2648. Name (_HID, EisaId ("PNP0B00"))
  2649. Name (_CRS, ResourceTemplate ()
  2650. {
  2651. IO (Decode16,
  2652. 0x0070, // Range Minimum
  2653. 0x0070, // Range Maximum
  2654. 0x01, // Alignment
  2655. 0x08, // Length
  2656. )
  2657. IRQNoFlags ()
  2658. {8}
  2659. })
  2660. }
  2661.  
  2662. Device (TIMR)
  2663. {
  2664. Name (_HID, EisaId ("PNP0100"))
  2665. Name (_CRS, ResourceTemplate ()
  2666. {
  2667. IO (Decode16,
  2668. 0x0040, // Range Minimum
  2669. 0x0040, // Range Maximum
  2670. 0x01, // Alignment
  2671. 0x04, // Length
  2672. )
  2673. IO (Decode16,
  2674. 0x0050, // Range Minimum
  2675. 0x0050, // Range Maximum
  2676. 0x10, // Alignment
  2677. 0x04, // Length
  2678. )
  2679. IRQNoFlags ()
  2680. {0}
  2681. })
  2682. }
  2683.  
  2684. Device (CWDT)
  2685. {
  2686. Name (_HID, EisaId ("INT3F0D"))
  2687. Name (_CID, EisaId ("PNP0C02"))
  2688. Name (BUF0, ResourceTemplate ()
  2689. {
  2690. IO (Decode16,
  2691. 0x0454, // Range Minimum
  2692. 0x0454, // Range Maximum
  2693. 0x04, // Alignment
  2694. 0x04, // Length
  2695. )
  2696. })
  2697. Method (_STA, 0, Serialized)
  2698. {
  2699. Return (0x0F)
  2700. }
  2701.  
  2702. Method (_CRS, 0, Serialized)
  2703. {
  2704. Return (BUF0)
  2705. }
  2706. }
  2707.  
  2708. Device (KBC)
  2709. {
  2710. Name (_HID, EisaId ("PNP0303"))
  2711. Name (_CRS, ResourceTemplate ()
  2712. {
  2713. IO (Decode16,
  2714. 0x0060, // Range Minimum
  2715. 0x0060, // Range Maximum
  2716. 0x01, // Alignment
  2717. 0x01, // Length
  2718. )
  2719. IO (Decode16,
  2720. 0x0064, // Range Minimum
  2721. 0x0064, // Range Maximum
  2722. 0x01, // Alignment
  2723. 0x01, // Length
  2724. )
  2725. IRQ (Edge, ActiveHigh, Exclusive, )
  2726. {1}
  2727. })
  2728. }
  2729.  
  2730. Device (MOUE)
  2731. {
  2732. Method (_HID, 0, NotSerialized)
  2733. {
  2734. Return (0x1003F351)
  2735. }
  2736.  
  2737. Name (_CID, Package (0x03)
  2738. {
  2739. EisaId ("SYN1900"),
  2740. EisaId ("SYN0002"),
  2741. EisaId ("PNP0F13")
  2742. })
  2743. Name (_CRS, ResourceTemplate ()
  2744. {
  2745. IRQ (Edge, ActiveHigh, Exclusive, )
  2746. {12}
  2747. })
  2748. }
  2749.  
  2750. Device (NCIR)
  2751. {
  2752. Method (_STA, 0, NotSerialized)
  2753. {
  2754. If (LEqual (And (ECE2, 0x06), 0x06))
  2755. {
  2756. If (LEqual (IREX, One))
  2757. {
  2758. Return (0xFF)
  2759. }
  2760. }
  2761.  
  2762. Return (Zero)
  2763. }
  2764.  
  2765. Method (_HID, 0, NotSerialized)
  2766. {
  2767. Return (0x2310A35C)
  2768. }
  2769.  
  2770. Name (_CRS, ResourceTemplate ()
  2771. {
  2772. IO (Decode16,
  2773. 0x0620, // Range Minimum
  2774. 0x0620, // Range Maximum
  2775. 0x01, // Alignment
  2776. 0x20, // Length
  2777. )
  2778. IRQ (Edge, ActiveHigh, Exclusive, )
  2779. {4}
  2780. })
  2781. }
  2782.  
  2783. Device (RCIR)
  2784. {
  2785. Method (_STA, 0, NotSerialized)
  2786. {
  2787. If (LEqual (And (ECE2, 0x02), 0x02))
  2788. {
  2789. If (LNotEqual (And (ECE2, 0x04), 0x04))
  2790. {
  2791. If (LEqual (IREX, One))
  2792. {
  2793. Return (0xFF)
  2794. }
  2795. }
  2796. }
  2797.  
  2798. Return (Zero)
  2799. }
  2800.  
  2801. Method (_HID, 0, NotSerialized)
  2802. {
  2803. Return (0x2310A35C)
  2804. }
  2805.  
  2806. Name (_CRS, ResourceTemplate ()
  2807. {
  2808. IO (Decode16,
  2809. 0x0620, // Range Minimum
  2810. 0x0620, // Range Maximum
  2811. 0x01, // Alignment
  2812. 0x20, // Length
  2813. )
  2814. IRQ (Edge, ActiveHigh, Exclusive, )
  2815. {4}
  2816. })
  2817. }
  2818. }
  2819. }
  2820. }
  2821.  
  2822. Name (XINI, Zero)
  2823. Mutex (MUTX, 0x00)
  2824. OperationRegion (PRT0, SystemIO, 0x80, 0x04)
  2825. Field (PRT0, DWordAcc, Lock, Preserve)
  2826. {
  2827. P80H, 32
  2828. }
  2829.  
  2830. Method (P8XH, 3, Serialized)
  2831. {
  2832. If (LEqual (Arg0, Zero))
  2833. {
  2834. Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D)
  2835. }
  2836.  
  2837. If (LEqual (Arg0, One))
  2838. {
  2839. Store (Or (And (P80D, 0xFFFF00FF), ShiftLeft (Arg1, 0x08)
  2840. ), P80D)
  2841. }
  2842.  
  2843. If (LEqual (Arg0, 0x02))
  2844. {
  2845. Store (Or (And (P80D, 0xFF00FFFF), ShiftLeft (Arg1, 0x10)
  2846. ), P80D)
  2847. }
  2848.  
  2849. If (LEqual (Arg0, 0x03))
  2850. {
  2851. Store (Or (And (P80D, 0x00FFFFFF), ShiftLeft (Arg1, 0x18)
  2852. ), P80D)
  2853. }
  2854.  
  2855. If (LEqual (Arg0, 0x04))
  2856. {
  2857. Store (Or (And (P80D, Zero), Arg1), P80D)
  2858. }
  2859.  
  2860. If (LEqual (Arg2, Zero)) {}
  2861. If (LEqual (Arg2, One))
  2862. {
  2863. Store (P80D, P80H)
  2864. }
  2865. }
  2866.  
  2867. OperationRegion (SPRT, SystemIO, 0xB2, 0x02)
  2868. Field (SPRT, ByteAcc, Lock, Preserve)
  2869. {
  2870. SSMP, 8
  2871. }
  2872.  
  2873. Method (_PIC, 1, NotSerialized)
  2874. {
  2875. Store (Arg0, GPIC)
  2876. Store (Arg0, PICM)
  2877. }
  2878.  
  2879. Method (_PTS, 1, NotSerialized)
  2880. {
  2881. Store (Zero, P80D)
  2882. P8XH (Zero, Arg0, Zero)
  2883. Store (Arg0, SLPS)
  2884. \_SB.TPTS (Arg0)
  2885. If (LEqual (Arg0, 0x03))
  2886. {
  2887. P8XH (0x04, 0x53, Zero)
  2888. P8XH (0x04, 0x53, One)
  2889. If (LAnd (DTSE, LGreater (TCNT, One)))
  2890. {
  2891. TRAP (TRTD, 0x1E)
  2892. }
  2893. }
  2894.  
  2895. If (LEqual (Arg0, 0x04))
  2896. {
  2897. P8XH (0x04, 0x54, Zero)
  2898. P8XH (0x04, 0x54, One)
  2899. }
  2900.  
  2901. If (LEqual (Arg0, 0x05))
  2902. {
  2903. P8XH (0x04, 0x55, Zero)
  2904. P8XH (0x04, 0x55, One)
  2905. }
  2906.  
  2907. If (LOr (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)), LEqual (
  2908. Arg0, 0x05)))
  2909. {
  2910. If (LEqual (PFLV, FDTP))
  2911. {
  2912. Store (One, GP27)
  2913. }
  2914. }
  2915. }
  2916.  
  2917. Method (_WAK, 1, Serialized)
  2918. {
  2919. Store (Zero, P80D)
  2920. If (NEXP)
  2921. {
  2922. If (And (OSCC, 0x02))
  2923. {
  2924. \_SB.PCI0.NHPG ()
  2925. }
  2926.  
  2927. If (And (OSCC, 0x04))
  2928. {
  2929. \_SB.PCI0.NPME ()
  2930. }
  2931. }
  2932.  
  2933. If (LEqual (Arg0, 0x03))
  2934. {
  2935. P8XH (0x04, 0xE3, Zero)
  2936. P8XH (0x04, 0xE3, One)
  2937. Store (0xEC, SSMP)
  2938. Store (0x22, \_SB.KUPP)
  2939. }
  2940.  
  2941. If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04)))
  2942. {
  2943. If (LAnd (DTSE, LGreater (TCNT, One)))
  2944. {
  2945. TRAP (TRTD, 0x14)
  2946. }
  2947.  
  2948. If (LEqual (OSYS, 0x07D2))
  2949. {
  2950. If (And (CFGD, One))
  2951. {
  2952. If (LGreater (\_PR.CPU0._PPC, Zero))
  2953. {
  2954. Subtract (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC)
  2955. PNOT ()
  2956. Add (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC)
  2957. PNOT ()
  2958. }
  2959. Else
  2960. {
  2961. Add (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC)
  2962. PNOT ()
  2963. Subtract (\_PR.CPU0._PPC, One, \_PR.CPU0._PPC)
  2964. PNOT ()
  2965. }
  2966. }
  2967. }
  2968.  
  2969. If (LEqual (ECON, One)) {}
  2970. If (LEqual (RP1D, Zero))
  2971. {
  2972. Notify (\_SB.PCI0.RP01, Zero)
  2973. }
  2974.  
  2975. If (LEqual (RP2D, Zero))
  2976. {
  2977. Notify (\_SB.PCI0.RP02, Zero)
  2978. }
  2979.  
  2980. If (LEqual (RP3D, Zero))
  2981. {
  2982. Notify (\_SB.PCI0.RP03, Zero)
  2983. }
  2984.  
  2985. If (LEqual (RP4D, Zero))
  2986. {
  2987. Notify (\_SB.PCI0.RP04, Zero)
  2988. }
  2989.  
  2990. If (LEqual (RP5D, Zero))
  2991. {
  2992. Notify (\_SB.PCI0.RP05, Zero)
  2993. }
  2994.  
  2995. If (LEqual (RP6D, Zero))
  2996. {
  2997. Notify (\_SB.PCI0.RP06, Zero)
  2998. }
  2999.  
  3000. If (LEqual (RP7D, Zero))
  3001. {
  3002. If (LEqual (DSTS, Zero))
  3003. {
  3004. Notify (\_SB.PCI0.RP07, Zero)
  3005. }
  3006. }
  3007.  
  3008. If (LEqual (RP8D, Zero))
  3009. {
  3010. If (LEqual (DSTS, Zero))
  3011. {
  3012. Notify (\_SB.PCI0.RP08, Zero)
  3013. }
  3014. }
  3015. }
  3016.  
  3017. If (LEqual (Arg0, 0x04))
  3018. {
  3019. \_SB.PCI0.LPCB.LREG ()
  3020. P8XH (0x04, 0xE4, Zero)
  3021. P8XH (0x04, 0xE4, One)
  3022. }
  3023.  
  3024. If (LEqual (Arg0, 0x05))
  3025. {
  3026. P8XH (0x04, 0xE5, Zero)
  3027. P8XH (0x04, 0xE5, One)
  3028. }
  3029.  
  3030. \_SB.TWAK (Arg0)
  3031. Return (Package (0x02)
  3032. {
  3033. Zero,
  3034. Zero
  3035. })
  3036. }
  3037.  
  3038. Method (GETB, 3, Serialized)
  3039. {
  3040. Multiply (Arg0, 0x08, Local0)
  3041. Multiply (Arg1, 0x08, Local1)
  3042. CreateField (Arg2, Local0, Local1, TBF3)
  3043. Return (TBF3)
  3044. }
  3045.  
  3046. Method (PNOT, 0, Serialized)
  3047. {
  3048. If (LGreater (TCNT, One))
  3049. {
  3050. If (And (PDC0, 0x08))
  3051. {
  3052. Notify (\_PR.CPU0, 0x80)
  3053. If (And (PDC0, 0x10))
  3054. {
  3055. Sleep (0x64)
  3056. Notify (\_PR.CPU0, 0x81)
  3057. }
  3058. }
  3059.  
  3060. If (And (PDC1, 0x08))
  3061. {
  3062. Notify (\_PR.CPU1, 0x80)
  3063. If (And (PDC1, 0x10))
  3064. {
  3065. Sleep (0x64)
  3066. Notify (\_PR.CPU1, 0x81)
  3067. }
  3068. }
  3069.  
  3070. If (And (PDC2, 0x08))
  3071. {
  3072. Notify (\_PR.CPU2, 0x80)
  3073. If (And (PDC2, 0x10))
  3074. {
  3075. Sleep (0x64)
  3076. Notify (\_PR.CPU2, 0x81)
  3077. }
  3078. }
  3079.  
  3080. If (And (PDC3, 0x08))
  3081. {
  3082. Notify (\_PR.CPU3, 0x80)
  3083. If (And (PDC3, 0x10))
  3084. {
  3085. Sleep (0x64)
  3086. Notify (\_PR.CPU3, 0x81)
  3087. }
  3088. }
  3089.  
  3090. If (And (PDC4, 0x08))
  3091. {
  3092. Notify (\_PR.CPU4, 0x80)
  3093. If (And (PDC4, 0x10))
  3094. {
  3095. Sleep (0x64)
  3096. Notify (\_PR.CPU4, 0x81)
  3097. }
  3098. }
  3099.  
  3100. If (And (PDC5, 0x08))
  3101. {
  3102. Notify (\_PR.CPU5, 0x80)
  3103. If (And (PDC5, 0x10))
  3104. {
  3105. Sleep (0x64)
  3106. Notify (\_PR.CPU5, 0x81)
  3107. }
  3108. }
  3109.  
  3110. If (And (PDC6, 0x08))
  3111. {
  3112. Notify (\_PR.CPU6, 0x80)
  3113. If (And (PDC6, 0x10))
  3114. {
  3115. Sleep (0x64)
  3116. Notify (\_PR.CPU6, 0x81)
  3117. }
  3118. }
  3119.  
  3120. If (And (PDC7, 0x08))
  3121. {
  3122. Notify (\_PR.CPU7, 0x80)
  3123. If (And (PDC7, 0x10))
  3124. {
  3125. Sleep (0x64)
  3126. Notify (\_PR.CPU7, 0x81)
  3127. }
  3128. }
  3129. }
  3130. Else
  3131. {
  3132. Notify (\_PR.CPU0, 0x80)
  3133. Sleep (0x64)
  3134. Notify (\_PR.CPU0, 0x81)
  3135. }
  3136. }
  3137.  
  3138. Method (TRAP, 2, Serialized)
  3139. {
  3140. Store (Arg1, SMIF)
  3141. If (LEqual (Arg0, TRTP))
  3142. {
  3143. Store (Zero, TRP0)
  3144. }
  3145.  
  3146. If (LEqual (Arg0, TRTD))
  3147. {
  3148. Store (Arg1, DTSF)
  3149. Store (Zero, TRPD)
  3150. Return (DTSF)
  3151. }
  3152.  
  3153. If (LEqual (Arg0, TRTI))
  3154. {
  3155. Store (Zero, TRPH)
  3156. }
  3157.  
  3158. Return (SMIF)
  3159. }
  3160.  
  3161. Scope (_SB.PCI0)
  3162. {
  3163. Method (_INI, 0, NotSerialized)
  3164. {
  3165. Store (0x07D0, OSYS)
  3166. If (CondRefOf (\_OSI, Local0))
  3167. {
  3168. If (_OSI ("Windows 2001"))
  3169. {
  3170. Store (0x07D1, OSYS)
  3171. }
  3172.  
  3173. If (_OSI ("Windows 2001 SP1"))
  3174. {
  3175. Store (0x07D1, OSYS)
  3176. }
  3177.  
  3178. If (_OSI ("Windows 2001 SP2"))
  3179. {
  3180. Store (0x07D2, OSYS)
  3181. }
  3182.  
  3183. If (_OSI ("Windows 2001.1"))
  3184. {
  3185. Store (0x07D3, OSYS)
  3186. }
  3187.  
  3188. If (_OSI ("Windows 2006"))
  3189. {
  3190. Store (0x07D6, OSYS)
  3191. }
  3192.  
  3193. If (_OSI ("Windows 2009"))
  3194. {
  3195. Store (0x07D9, OSYS)
  3196. }
  3197. }
  3198.  
  3199. If (LGreater (OSYS, 0x07D5))
  3200. {
  3201. OSMI (0xE4)
  3202. ^LPCB.LREG ()
  3203. }
  3204. Else
  3205. {
  3206. Store (Zero, XINI)
  3207. }
  3208. }
  3209.  
  3210. Method (NHPG, 0, Serialized)
  3211. {
  3212. Store (Zero, ^RP01.HPEX)
  3213. Store (Zero, ^RP02.HPEX)
  3214. Store (Zero, ^RP03.HPEX)
  3215. Store (Zero, ^RP04.HPEX)
  3216. Store (One, ^RP01.HPSX)
  3217. Store (One, ^RP02.HPSX)
  3218. Store (One, ^RP03.HPSX)
  3219. Store (One, ^RP04.HPSX)
  3220. }
  3221.  
  3222. Method (NPME, 0, Serialized)
  3223. {
  3224. Store (Zero, ^RP01.PMEX)
  3225. Store (Zero, ^RP02.PMEX)
  3226. Store (Zero, ^RP03.PMEX)
  3227. Store (Zero, ^RP04.PMEX)
  3228. Store (Zero, ^RP05.PMEX)
  3229. Store (Zero, ^RP06.PMEX)
  3230. Store (Zero, ^RP07.PMEX)
  3231. Store (Zero, ^RP08.PMEX)
  3232. Store (One, ^RP01.PMSX)
  3233. Store (One, ^RP02.PMSX)
  3234. Store (One, ^RP03.PMSX)
  3235. Store (One, ^RP04.PMSX)
  3236. Store (One, ^RP05.PMSX)
  3237. Store (One, ^RP06.PMSX)
  3238. Store (One, ^RP07.PMSX)
  3239. Store (One, ^RP08.PMSX)
  3240. }
  3241. }
  3242.  
  3243. Scope (\)
  3244. {
  3245. Name (PICM, Zero)
  3246. }
  3247.  
  3248. Scope (_PR)
  3249. {
  3250. Processor (CPU0, 0x01, 0x00000410, 0x06) {}
  3251. Processor (CPU1, 0x02, 0x00000410, 0x06) {}
  3252. Processor (CPU2, 0x03, 0x00000410, 0x06) {}
  3253. Processor (CPU3, 0x04, 0x00000410, 0x06) {}
  3254. Processor (CPU4, 0x05, 0x00000410, 0x06) {}
  3255. Processor (CPU5, 0x06, 0x00000410, 0x06) {}
  3256. Processor (CPU6, 0x07, 0x00000410, 0x06) {}
  3257. Processor (CPU7, 0x08, 0x00000410, 0x06) {}
  3258. }
  3259.  
  3260. Scope (_TZ)
  3261. {
  3262. PowerResource (FN00, 0x00, 0x0000)
  3263. {
  3264. Method (_STA, 0, Serialized)
  3265. {
  3266. Return (One)
  3267. }
  3268.  
  3269. Method (_ON, 0, Serialized)
  3270. {
  3271. }
  3272.  
  3273. Method (_OFF, 0, Serialized)
  3274. {
  3275. }
  3276. }
  3277.  
  3278. Device (FAN)
  3279. {
  3280. Name (_HID, EisaId ("PNP0C0B"))
  3281. Name (_UID, Zero)
  3282. Name (_PR0, Package (0x01)
  3283. {
  3284. FN00
  3285. })
  3286. }
  3287.  
  3288. ThermalZone (THRM)
  3289. {
  3290. Method (_TMP, 0, Serialized)
  3291. {
  3292. Store (\_SB.PCI0.LPCB.EC9C, Local0)
  3293. If (LGreater (Local0, 0x72))
  3294. {
  3295. Return (0x0EB2)
  3296. }
  3297.  
  3298. Return (Add (0x0AAC, Multiply (Local0, 0x0A)))
  3299. }
  3300.  
  3301. Method (_AC0, 0, Serialized)
  3302. {
  3303. Return (0x0D68)
  3304. }
  3305.  
  3306. Method (_PSV, 0, Serialized)
  3307. {
  3308. If (\_SB.CPTO)
  3309. {
  3310. Return (0x0EF8)
  3311. }
  3312. Else
  3313. {
  3314. Return (0x0FA2)
  3315. }
  3316. }
  3317.  
  3318. Method (_CRT, 0, Serialized)
  3319. {
  3320. If (\_SB.CPTO)
  3321. {
  3322. Return (0x0EF8)
  3323. }
  3324. Else
  3325. {
  3326. Return (0x0FA2)
  3327. }
  3328. }
  3329.  
  3330. Method (_SCP, 1, Serialized)
  3331. {
  3332. Store (Arg0, CTYP)
  3333. }
  3334.  
  3335. Name (_AL0, Package (0x01)
  3336. {
  3337. FAN
  3338. })
  3339. Method (_PSL, 0, Serialized)
  3340. {
  3341. If (LEqual (TCNT, 0x08))
  3342. {
  3343. Return (Package (0x08)
  3344. {
  3345. \_PR.CPU0,
  3346. \_PR.CPU1,
  3347. \_PR.CPU2,
  3348. \_PR.CPU3,
  3349. \_PR.CPU4,
  3350. \_PR.CPU5,
  3351. \_PR.CPU6,
  3352. \_PR.CPU7
  3353. })
  3354. }
  3355.  
  3356. If (LEqual (TCNT, 0x04))
  3357. {
  3358. Return (Package (0x04)
  3359. {
  3360. \_PR.CPU0,
  3361. \_PR.CPU1,
  3362. \_PR.CPU2,
  3363. \_PR.CPU3
  3364. })
  3365. }
  3366.  
  3367. If (LEqual (TCNT, 0x02))
  3368. {
  3369. Return (Package (0x02)
  3370. {
  3371. \_PR.CPU0,
  3372. \_PR.CPU1
  3373. })
  3374. }
  3375.  
  3376. Return (Package (0x01)
  3377. {
  3378. \_PR.CPU0
  3379. })
  3380. }
  3381.  
  3382. Name (_TC1, 0x02)
  3383. Name (_TC2, 0x05)
  3384. Name (_TSP, 0x012C)
  3385. }
  3386. }
  3387.  
  3388. Scope (_SB.PCI0)
  3389. {
  3390. Device (PDRC)
  3391. {
  3392. Name (_HID, EisaId ("PNP0C02"))
  3393. Name (_UID, One)
  3394. Name (BUF0, ResourceTemplate ()
  3395. {
  3396. Memory32Fixed (ReadWrite,
  3397. 0x00000000, // Address Base
  3398. 0x00004000, // Address Length
  3399. )
  3400. Memory32Fixed (ReadWrite,
  3401. 0x00000000, // Address Base
  3402. 0x00008000, // Address Length
  3403. )
  3404. Memory32Fixed (ReadWrite,
  3405. 0x00000000, // Address Base
  3406. 0x00001000, // Address Length
  3407. )
  3408. Memory32Fixed (ReadWrite,
  3409. 0x00000000, // Address Base
  3410. 0x00001000, // Address Length
  3411. )
  3412. Memory32Fixed (ReadWrite,
  3413. 0x00000000, // Address Base
  3414. 0x00000000, // Address Length
  3415. )
  3416. Memory32Fixed (ReadWrite,
  3417. 0xFED20000, // Address Base
  3418. 0x00020000, // Address Length
  3419. )
  3420. Memory32Fixed (ReadOnly,
  3421. 0xFED90000, // Address Base
  3422. 0x00004000, // Address Length
  3423. )
  3424. Memory32Fixed (ReadOnly,
  3425. 0xFF000000, // Address Base
  3426. 0x01000000, // Address Length
  3427. )
  3428. Memory32Fixed (ReadOnly,
  3429. 0xFEE00000, // Address Base
  3430. 0x00100000, // Address Length
  3431. )
  3432. Memory32Fixed (ReadWrite,
  3433. 0x00000000, // Address Base
  3434. 0x00001000, // Address Length
  3435. )
  3436. Memory32Fixed (ReadWrite,
  3437. 0xFF800000, // Address Base
  3438. 0x00000200, // Address Length
  3439. )
  3440. })
  3441. Method (_CRS, 0, Serialized)
  3442. {
  3443. CreateDWordField (BUF0, 0x04, RBR0)
  3444. ShiftLeft (^^LPCB.RCBA, 0x0E, RBR0)
  3445. CreateDWordField (BUF0, 0x70, TBR0)
  3446. Store (TBAB, TBR0)
  3447. CreateDWordField (BUF0, 0x74, TBLN)
  3448. If (LEqual (TBAB, Zero))
  3449. {
  3450. Store (Zero, TBLN)
  3451. }
  3452.  
  3453. CreateDWordField (BUF0, 0x10, MBR0)
  3454. ShiftLeft (MHBR, 0x0F, MBR0)
  3455. CreateDWordField (BUF0, 0x1C, DBR0)
  3456. ShiftLeft (DIBR, 0x0C, DBR0)
  3457. CreateDWordField (BUF0, 0x28, EBR0)
  3458. ShiftLeft (EPBR, 0x0C, EBR0)
  3459. CreateDWordField (BUF0, 0x34, XBR0)
  3460. ShiftLeft (PXBR, 0x1A, XBR0)
  3461. CreateDWordField (BUF0, 0x38, XSZ0)
  3462. ShiftRight (0x10000000, PXSZ, XSZ0)
  3463. Return (BUF0)
  3464. }
  3465. }
  3466. }
  3467.  
  3468. Method (BRTN, 1, Serialized)
  3469. {
  3470. If (LEqual (And (DID1, 0x0F00), 0x0400))
  3471. {
  3472. Notify (\_SB.PCI0.GFX0.DD01, Arg0)
  3473. }
  3474.  
  3475. If (LEqual (And (DID2, 0x0F00), 0x0400))
  3476. {
  3477. Notify (\_SB.PCI0.GFX0.DD02, Arg0)
  3478. }
  3479.  
  3480. If (LEqual (And (DID3, 0x0F00), 0x0400))
  3481. {
  3482. Notify (\_SB.PCI0.GFX0.DD03, Arg0)
  3483. }
  3484.  
  3485. If (LEqual (And (DID4, 0x0F00), 0x0400))
  3486. {
  3487. Notify (\_SB.PCI0.GFX0.DD04, Arg0)
  3488. }
  3489.  
  3490. If (LEqual (And (DID5, 0x0F00), 0x0400))
  3491. {
  3492. Notify (\_SB.PCI0.GFX0.DD05, Arg0)
  3493. }
  3494.  
  3495. If (LEqual (And (DID6, 0x0F00), 0x0400))
  3496. {
  3497. Notify (\_SB.PCI0.GFX0.DD06, Arg0)
  3498. }
  3499.  
  3500. If (LEqual (And (DID7, 0x0F00), 0x0400))
  3501. {
  3502. Notify (\_SB.PCI0.GFX0.DD07, Arg0)
  3503. }
  3504.  
  3505. If (LEqual (And (DID8, 0x0F00), 0x0400))
  3506. {
  3507. Notify (\_SB.PCI0.GFX0.DD08, Arg0)
  3508. }
  3509. }
  3510.  
  3511. Scope (_GPE)
  3512. {
  3513. Method (_L0B, 0, NotSerialized)
  3514. {
  3515. Notify (\_SB.PCI0.P0P1, 0x02)
  3516. }
  3517.  
  3518. Method (_L09, 0, NotSerialized)
  3519. {
  3520. If (LEqual (RP1D, Zero))
  3521. {
  3522. \_SB.PCI0.RP01.HPME ()
  3523. Notify (\_SB.PCI0.RP01, 0x02)
  3524. }
  3525.  
  3526. If (LEqual (RP2D, Zero))
  3527. {
  3528. \_SB.PCI0.RP02.HPME ()
  3529. Notify (\_SB.PCI0.RP02, 0x02)
  3530. }
  3531.  
  3532. If (LEqual (RP3D, Zero))
  3533. {
  3534. \_SB.PCI0.RP03.HPME ()
  3535. Notify (\_SB.PCI0.RP03, 0x02)
  3536. }
  3537.  
  3538. If (LEqual (RP4D, Zero))
  3539. {
  3540. \_SB.PCI0.RP04.HPME ()
  3541. Notify (\_SB.PCI0.RP04, 0x02)
  3542. }
  3543.  
  3544. If (LEqual (RP5D, Zero))
  3545. {
  3546. \_SB.PCI0.RP05.HPME ()
  3547. Notify (\_SB.PCI0.RP05, 0x02)
  3548. }
  3549.  
  3550. If (LEqual (RP6D, Zero))
  3551. {
  3552. \_SB.PCI0.RP06.HPME ()
  3553. Notify (\_SB.PCI0.RP06, 0x02)
  3554. }
  3555.  
  3556. If (LEqual (RP7D, Zero))
  3557. {
  3558. \_SB.PCI0.RP07.HPME ()
  3559. Notify (\_SB.PCI0.RP07, 0x02)
  3560. }
  3561.  
  3562. If (LEqual (RP8D, Zero))
  3563. {
  3564. \_SB.PCI0.RP08.HPME ()
  3565. Notify (\_SB.PCI0.RP08, 0x02)
  3566. }
  3567.  
  3568. Notify (\_SB.PCI0.PEG0, 0x02)
  3569. Notify (\_SB.PCI0.PEG0.PEGP, 0x02)
  3570. Notify (\_SB.PCI0.PEG1, 0x02)
  3571. Notify (\_SB.PCI0.PEG2, 0x02)
  3572. Notify (\_SB.PCI0.PEG3, 0x02)
  3573. }
  3574.  
  3575. Method (_L0D, 0, NotSerialized)
  3576. {
  3577. Notify (\_SB.PCI0.EHC1, 0x02)
  3578. Notify (\_SB.PCI0.EHC2, 0x02)
  3579. Notify (\_SB.PCI0.HDEF, 0x02)
  3580. Notify (\_SB.PCI0.GLAN, 0x02)
  3581. }
  3582.  
  3583. Method (_L01, 0, NotSerialized)
  3584. {
  3585. Add (L01C, One, L01C)
  3586. If (LAnd (LEqual (RP1D, Zero), \_SB.PCI0.RP01.HPSX))
  3587. {
  3588. P8XH (One, One, One)
  3589. P8XH (Zero, L01C, One)
  3590. Sleep (0x64)
  3591. If (\_SB.PCI0.RP01.PDCX)
  3592. {
  3593. Store (One, \_SB.PCI0.RP01.PDCX)
  3594. Store (One, \_SB.PCI0.RP01.HPSX)
  3595. If (LNot (\_SB.PCI0.RP01.PDSX))
  3596. {
  3597. Store (Zero, \_SB.PCI0.RP01.L0SE)
  3598. }
  3599.  
  3600. Notify (\_SB.PCI0.RP01, Zero)
  3601. }
  3602. Else
  3603. {
  3604. Store (One, \_SB.PCI0.RP01.HPSX)
  3605. }
  3606. }
  3607.  
  3608. If (LAnd (LEqual (RP2D, Zero), \_SB.PCI0.RP02.HPSX))
  3609. {
  3610. P8XH (One, 0x02, One)
  3611. P8XH (Zero, L01C, One)
  3612. Sleep (0x64)
  3613. If (\_SB.PCI0.RP02.PDCX)
  3614. {
  3615. Store (One, \_SB.PCI0.RP02.PDCX)
  3616. Store (One, \_SB.PCI0.RP02.HPSX)
  3617. If (LNot (\_SB.PCI0.RP02.PDSX))
  3618. {
  3619. Store (Zero, \_SB.PCI0.RP02.L0SE)
  3620. }
  3621.  
  3622. Notify (\_SB.PCI0.RP02, Zero)
  3623. }
  3624. Else
  3625. {
  3626. Store (One, \_SB.PCI0.RP02.HPSX)
  3627. }
  3628. }
  3629.  
  3630. If (LAnd (LEqual (RP3D, Zero), \_SB.PCI0.RP03.HPSX))
  3631. {
  3632. P8XH (One, 0x03, One)
  3633. P8XH (Zero, L01C, One)
  3634. Sleep (0x64)
  3635. If (\_SB.PCI0.RP03.PDCX)
  3636. {
  3637. Store (One, \_SB.PCI0.RP03.PDCX)
  3638. Store (One, \_SB.PCI0.RP03.HPSX)
  3639. If (LNot (\_SB.PCI0.RP03.PDSX))
  3640. {
  3641. Store (Zero, \_SB.PCI0.RP03.L0SE)
  3642. }
  3643.  
  3644. Notify (\_SB.PCI0.RP03, Zero)
  3645. }
  3646. Else
  3647. {
  3648. Store (One, \_SB.PCI0.RP03.HPSX)
  3649. }
  3650. }
  3651.  
  3652. If (LAnd (LEqual (RP4D, Zero), \_SB.PCI0.RP04.HPSX))
  3653. {
  3654. P8XH (One, 0x04, One)
  3655. P8XH (Zero, L01C, One)
  3656. Sleep (0x64)
  3657. If (\_SB.PCI0.RP04.PDCX)
  3658. {
  3659. Store (One, \_SB.PCI0.RP04.PDCX)
  3660. Store (One, \_SB.PCI0.RP04.HPSX)
  3661. If (LNot (\_SB.PCI0.RP04.PDSX))
  3662. {
  3663. Store (Zero, \_SB.PCI0.RP04.L0SE)
  3664. }
  3665.  
  3666. Notify (\_SB.PCI0.RP04, Zero)
  3667. }
  3668. Else
  3669. {
  3670. Store (One, \_SB.PCI0.RP04.HPSX)
  3671. }
  3672. }
  3673.  
  3674. If (LAnd (LEqual (RP5D, Zero), \_SB.PCI0.RP05.HPSX))
  3675. {
  3676. P8XH (One, 0x05, One)
  3677. P8XH (Zero, L01C, One)
  3678. Sleep (0x64)
  3679. If (\_SB.PCI0.RP05.PDCX)
  3680. {
  3681. Store (One, \_SB.PCI0.RP05.PDCX)
  3682. Store (One, \_SB.PCI0.RP05.HPSX)
  3683. If (LNot (\_SB.PCI0.RP05.PDSX))
  3684. {
  3685. Store (Zero, \_SB.PCI0.RP05.L0SE)
  3686. }
  3687.  
  3688. Notify (\_SB.PCI0.RP05, Zero)
  3689. }
  3690. Else
  3691. {
  3692. Store (One, \_SB.PCI0.RP05.HPSX)
  3693. }
  3694. }
  3695.  
  3696. If (LAnd (LEqual (RP6D, Zero), \_SB.PCI0.RP06.HPSX))
  3697. {
  3698. Sleep (0x64)
  3699. If (\_SB.PCI0.RP06.PDCX)
  3700. {
  3701. Store (One, \_SB.PCI0.RP06.PDCX)
  3702. Store (One, \_SB.PCI0.RP06.HPSX)
  3703. If (LNot (\_SB.PCI0.RP06.PDSX))
  3704. {
  3705. Store (Zero, \_SB.PCI0.RP06.L0SE)
  3706. }
  3707.  
  3708. Notify (\_SB.PCI0.RP06, Zero)
  3709. }
  3710. Else
  3711. {
  3712. Store (One, \_SB.PCI0.RP06.HPSX)
  3713. }
  3714. }
  3715.  
  3716. If (LAnd (LEqual (RP7D, Zero), \_SB.PCI0.RP07.HPSX))
  3717. {
  3718. P8XH (One, 0x07, One)
  3719. P8XH (Zero, L01C, One)
  3720. Sleep (0x64)
  3721. If (\_SB.PCI0.RP07.PDCX)
  3722. {
  3723. Store (One, \_SB.PCI0.RP07.PDCX)
  3724. Store (One, \_SB.PCI0.RP07.HPSX)
  3725. If (LNot (\_SB.PCI0.RP07.PDSX))
  3726. {
  3727. Store (Zero, \_SB.PCI0.RP07.L0SE)
  3728. }
  3729. }
  3730. Else
  3731. {
  3732. Store (One, \_SB.PCI0.RP07.HPSX)
  3733. }
  3734. }
  3735.  
  3736. If (LAnd (LEqual (RP8D, Zero), \_SB.PCI0.RP08.HPSX))
  3737. {
  3738. P8XH (One, 0x08, One)
  3739. P8XH (Zero, L01C, One)
  3740. Sleep (0x64)
  3741. If (\_SB.PCI0.RP08.PDCX)
  3742. {
  3743. Store (One, \_SB.PCI0.RP08.PDCX)
  3744. Store (One, \_SB.PCI0.RP08.HPSX)
  3745. If (LNot (\_SB.PCI0.RP08.PDSX))
  3746. {
  3747. Store (Zero, \_SB.PCI0.RP08.L0SE)
  3748. }
  3749. }
  3750. Else
  3751. {
  3752. Store (One, \_SB.PCI0.RP08.HPSX)
  3753. }
  3754. }
  3755. }
  3756.  
  3757. Method (_L02, 0, NotSerialized)
  3758. {
  3759. Store (Zero, GPEC)
  3760. If (CondRefOf (\_SB.PCI0.IEIT.EITV))
  3761. {
  3762. \_SB.PCI0.IEIT.EITV ()
  3763. }
  3764.  
  3765. If (CondRefOf (\TNOT))
  3766. {
  3767. TNOT ()
  3768. }
  3769. }
  3770.  
  3771. Method (_L06, 0, NotSerialized)
  3772. {
  3773. If (LAnd (\_SB.PCI0.GFX0.GSSE, LNot (GSMI)))
  3774. {
  3775. \_SB.PCI0.GFX0.GSCI ()
  3776. }
  3777. }
  3778.  
  3779. Method (_L07, 0, NotSerialized)
  3780. {
  3781. Store (0x20, \_SB.PCI0.SBUS.HSTS)
  3782. }
  3783. }
  3784.  
  3785. Scope (\)
  3786. {
  3787. OperationRegion (IO_T, SystemIO, 0x1000, 0x10)
  3788. Field (IO_T, ByteAcc, NoLock, Preserve)
  3789. {
  3790. TRPI, 16,
  3791. Offset (0x04),
  3792. Offset (0x06),
  3793. Offset (0x08),
  3794. TRP0, 8,
  3795. Offset (0x0A),
  3796. Offset (0x0B),
  3797. Offset (0x0C),
  3798. Offset (0x0D),
  3799. Offset (0x0E),
  3800. Offset (0x0F),
  3801. Offset (0x10)
  3802. }
  3803.  
  3804. OperationRegion (IO_D, SystemIO, 0x0810, 0x04)
  3805. Field (IO_D, ByteAcc, NoLock, Preserve)
  3806. {
  3807. TRPD, 8
  3808. }
  3809.  
  3810. OperationRegion (IO_H, SystemIO, 0x1000, 0x04)
  3811. Field (IO_H, ByteAcc, NoLock, Preserve)
  3812. {
  3813. TRPH, 8
  3814. }
  3815.  
  3816. OperationRegion (PMIO, SystemIO, PMBS, 0x80)
  3817. Field (PMIO, ByteAcc, NoLock, Preserve)
  3818. {
  3819. Offset (0x28),
  3820. Offset (0x2A),
  3821. , 3,
  3822. GPE3, 1,
  3823. Offset (0x3C),
  3824. PMEN, 1,
  3825. UPRW, 1,
  3826. Offset (0x42),
  3827. , 1,
  3828. GPEC, 1
  3829. }
  3830.  
  3831. Field (PMIO, ByteAcc, NoLock, WriteAsZeros)
  3832. {
  3833. Offset (0x20),
  3834. Offset (0x22),
  3835. , 3,
  3836. GPS3, 1,
  3837. Offset (0x64),
  3838. , 9,
  3839. SCIS, 1,
  3840. Offset (0x66)
  3841. }
  3842.  
  3843. OperationRegion (GPIO, SystemIO, GPBS, 0x64)
  3844. Field (GPIO, ByteAcc, NoLock, Preserve)
  3845. {
  3846. GU00, 8,
  3847. GU01, 8,
  3848. GU02, 8,
  3849. GU03, 8,
  3850. GIO0, 8,
  3851. GIO1, 8,
  3852. GIO2, 8,
  3853. GIO3, 8,
  3854. Offset (0x0C),
  3855. GL00, 8,
  3856. GL01, 8,
  3857. GL02, 8,
  3858. GP24, 1,
  3859. , 2,
  3860. GP27, 1,
  3861. GP28, 1,
  3862. Offset (0x10),
  3863. Offset (0x18),
  3864. GB00, 8,
  3865. GB01, 8,
  3866. GB02, 8,
  3867. GB03, 8,
  3868. Offset (0x2C),
  3869. GIV0, 8,
  3870. GIV1, 8,
  3871. GIV2, 8,
  3872. GIV3, 8,
  3873. GU04, 8,
  3874. GU05, 8,
  3875. GU06, 8,
  3876. GU07, 8,
  3877. GIO4, 8,
  3878. GIO5, 8,
  3879. GIO6, 8,
  3880. GIO7, 8,
  3881. GL04, 8,
  3882. GL05, 8,
  3883. GL06, 8,
  3884. , 1,
  3885. BTIO, 1,
  3886. Offset (0x3C),
  3887. Offset (0x40),
  3888. GU08, 8,
  3889. GU09, 8,
  3890. GU0A, 8,
  3891. GU0B, 8,
  3892. GIO8, 8,
  3893. GIO9, 8,
  3894. GIOA, 8,
  3895. GIOB, 8,
  3896. GL08, 8,
  3897. GL09, 8,
  3898. GL0A, 8,
  3899. GL0B, 8
  3900. }
  3901.  
  3902. OperationRegion (RCRB, SystemMemory, SRCB, 0x4000)
  3903. Field (RCRB, DWordAcc, Lock, Preserve)
  3904. {
  3905. Offset (0x1000),
  3906. Offset (0x3000),
  3907. Offset (0x3404),
  3908. HPAS, 2,
  3909. , 5,
  3910. HPAE, 1,
  3911. Offset (0x3418),
  3912. , 1,
  3913. , 1,
  3914. SATD, 1,
  3915. SMBD, 1,
  3916. HDAD, 1,
  3917. Offset (0x341A),
  3918. RP1D, 1,
  3919. RP2D, 1,
  3920. RP3D, 1,
  3921. RP4D, 1,
  3922. RP5D, 1,
  3923. RP6D, 1,
  3924. RP7D, 1,
  3925. RP8D, 1,
  3926. Offset (0x359C),
  3927. UP0D, 1,
  3928. UP1D, 1,
  3929. UP2D, 1,
  3930. UP3D, 1,
  3931. UP4D, 1,
  3932. UP5D, 1,
  3933. UP6D, 1,
  3934. UP7D, 1,
  3935. UP8D, 1,
  3936. UP9D, 1,
  3937. UPAD, 1,
  3938. UPBD, 1,
  3939. UPCD, 1,
  3940. UPDD, 1,
  3941. , 1,
  3942. Offset (0x359E)
  3943. }
  3944.  
  3945. Method (GPI0, 4, NotSerialized)
  3946. {
  3947. If (LEqual (Or (Arg0, Arg1), Zero))
  3948. {
  3949. Return (Ones)
  3950. }
  3951. Else
  3952. {
  3953. If (And (LEqual (Arg0, Zero), LEqual (Arg1, One)))
  3954. {
  3955. Return (0x0384)
  3956. }
  3957. }
  3958.  
  3959. Return (Multiply (0x1E, Subtract (0x09, Add (Arg2, Arg3))
  3960. ))
  3961. }
  3962.  
  3963. Method (GDMA, 2, NotSerialized)
  3964. {
  3965. If (LEqual (Arg0, One))
  3966. {
  3967. If (LEqual (Arg1, One))
  3968. {
  3969. Return (0x0F)
  3970. }
  3971. }
  3972.  
  3973. Return (Ones)
  3974. }
  3975.  
  3976. Method (SFLG, 5, NotSerialized)
  3977. {
  3978. Store (Zero, Local0)
  3979. Or (Arg1, Local0, Local0)
  3980. Or (ShiftLeft (Arg0, One), Local0, Local0)
  3981. Or (ShiftLeft (Arg2, 0x03), Local0, Local0)
  3982. Or (ShiftLeft (Arg3, 0x02), Local0, Local0)
  3983. Or (ShiftLeft (Arg4, 0x04), Local0, Local0)
  3984. Return (Local0)
  3985. }
  3986.  
  3987. Method (SPIO, 3, NotSerialized)
  3988. {
  3989. Name (PBUF, Buffer (0x05)
  3990. {
  3991. 0x00, 0x00, 0x00, 0x00, 0x00
  3992. })
  3993. CreateByteField (PBUF, Zero, RCT)
  3994. CreateByteField (PBUF, One, ISP)
  3995. CreateByteField (PBUF, 0x02, FAST)
  3996. CreateByteField (PBUF, 0x03, DMAE)
  3997. CreateByteField (PBUF, 0x04, PIOT)
  3998. If (LOr (LEqual (Arg0, Zero), LEqual (Arg0, Ones)))
  3999. {
  4000. Return (PBUF)
  4001. }
  4002.  
  4003. If (LGreater (Arg0, 0xF0))
  4004. {
  4005. Store (One, DMAE)
  4006. Store (Zero, PIOT)
  4007. }
  4008. Else
  4009. {
  4010. Store (One, FAST)
  4011. If (And (Arg1, 0x02))
  4012. {
  4013. If (And (LEqual (Arg0, 0x78), And (Arg2, 0x02)))
  4014. {
  4015. Store (0x03, RCT)
  4016. Store (0x02, ISP)
  4017. Store (0x04, PIOT)
  4018. Return (PBUF)
  4019. }
  4020.  
  4021. If (And (LLessEqual (Arg0, 0xB4), And (Arg2, One)
  4022. ))
  4023. {
  4024. Store (One, RCT)
  4025. Store (0x02, ISP)
  4026. Store (0x03, PIOT)
  4027. Return (PBUF)
  4028. }
  4029. Else
  4030. {
  4031. Store (Zero, RCT)
  4032. Store (One, ISP)
  4033. Store (0x02, PIOT)
  4034. }
  4035. }
  4036. }
  4037.  
  4038. Return (PBUF)
  4039. }
  4040.  
  4041. Method (SDMA, 3, NotSerialized)
  4042. {
  4043. Name (PBUF, Buffer (0x05)
  4044. {
  4045. 0x00, 0x00, 0x00, 0x00
  4046. })
  4047. CreateByteField (PBUF, Zero, PCT)
  4048. CreateByteField (PBUF, One, PCB)
  4049. CreateByteField (PBUF, 0x02, UDMT)
  4050. CreateByteField (PBUF, 0x03, UDME)
  4051. CreateByteField (PBUF, 0x04, DMAT)
  4052. If (LOr (LEqual (Arg0, Zero), LEqual (Arg0, Ones)))
  4053. {
  4054. Return (PBUF)
  4055. }
  4056.  
  4057. If (LLessEqual (Arg0, 0x78))
  4058. {
  4059. If (And (Arg1, 0x04))
  4060. {
  4061. Store (One, UDME)
  4062. If (And (LLessEqual (Arg0, 0x0F), And (Arg2, 0x40)
  4063. ))
  4064. {
  4065. Store (One, UDMT)
  4066. Store (One, PCB)
  4067. Store (One, PCT)
  4068. Store (0x06, DMAT)
  4069. Return (PBUF)
  4070. }
  4071.  
  4072. If (And (LLessEqual (Arg0, 0x14), And (Arg2, 0x20)
  4073. ))
  4074. {
  4075. Store (One, UDMT)
  4076. Store (One, PCB)
  4077. Store (One, PCT)
  4078. Store (0x05, DMAT)
  4079. Return (PBUF)
  4080. }
  4081.  
  4082. If (And (LLessEqual (Arg0, 0x1E), And (Arg2, 0x10)
  4083. ))
  4084. {
  4085. Store (One, PCB)
  4086. Store (0x02, PCT)
  4087. Store (0x04, DMAT)
  4088. Return (PBUF)
  4089. }
  4090.  
  4091. If (And (LLessEqual (Arg0, 0x2D), And (Arg2, 0x08)
  4092. ))
  4093. {
  4094. Store (One, PCB)
  4095. Store (One, PCT)
  4096. Store (0x03, DMAT)
  4097. Return (PBUF)
  4098. }
  4099.  
  4100. If (And (LLessEqual (Arg0, 0x3C), And (Arg2, 0x04)
  4101. ))
  4102. {
  4103. Store (0x02, PCT)
  4104. Store (0x02, DMAT)
  4105. Return (PBUF)
  4106. }
  4107.  
  4108. If (And (LLessEqual (Arg0, 0x5A), And (Arg2, 0x02)
  4109. ))
  4110. {
  4111. Store (One, PCT)
  4112. Store (One, DMAT)
  4113. Return (PBUF)
  4114. }
  4115.  
  4116. If (And (LLessEqual (Arg0, 0x78), And (Arg2, One)
  4117. ))
  4118. {
  4119. Store (Zero, DMAT)
  4120. }
  4121. }
  4122. }
  4123.  
  4124. Return (PBUF)
  4125. }
  4126.  
  4127. Method (SETT, 3, Serialized)
  4128. {
  4129. If (And (Arg1, 0x02))
  4130. {
  4131. If (LAnd (LLessEqual (Arg0, 0x78), And (Arg2, 0x02)))
  4132. {
  4133. Return (0x0B)
  4134. }
  4135.  
  4136. If (LAnd (LLessEqual (Arg0, 0xB4), And (Arg2, One)))
  4137. {
  4138. Return (0x09)
  4139. }
  4140. }
  4141.  
  4142. Return (0x04)
  4143. }
  4144. }
  4145.  
  4146. Scope (_SB.PCI0)
  4147. {
  4148. Device (GLAN)
  4149. {
  4150. Name (_ADR, 0x00190000)
  4151. Method (_PRW, 0, NotSerialized)
  4152. {
  4153. If (WOLE)
  4154. {
  4155. Return (Package (0x02)
  4156. {
  4157. 0x0D,
  4158. 0x04
  4159. })
  4160. }
  4161. Else
  4162. {
  4163. Return (Package (0x02)
  4164. {
  4165. 0x0D,
  4166. Zero
  4167. })
  4168. }
  4169. }
  4170. }
  4171.  
  4172. Device (EHC1)
  4173. {
  4174. Name (_ADR, 0x001D0000)
  4175. OperationRegion (PWKE, PCI_Config, 0x62, 0x04)
  4176. Field (PWKE, DWordAcc, NoLock, Preserve)
  4177. {
  4178. , 1,
  4179. PWUC, 8
  4180. }
  4181.  
  4182. Method (_PSW, 1, NotSerialized)
  4183. {
  4184. If (Arg0)
  4185. {
  4186. Store (Ones, PWUC)
  4187. }
  4188. Else
  4189. {
  4190. Store (Zero, PWUC)
  4191. }
  4192.  
  4193. Store (KUPP, Local0)
  4194. And (Local0, 0x0F, Local0)
  4195. If (LEqual (Local0, Zero))
  4196. {
  4197. And (KUPP, 0xF0, KUPP)
  4198. Or (KUPP, 0x03, KUPP)
  4199. }
  4200. Else
  4201. {
  4202. And (KUPP, 0xF0, KUPP)
  4203. Or (KUPP, One, KUPP)
  4204. }
  4205. }
  4206.  
  4207. Method (_S3D, 0, NotSerialized)
  4208. {
  4209. Return (0x02)
  4210. }
  4211.  
  4212. Method (_S4D, 0, NotSerialized)
  4213. {
  4214. Return (0x02)
  4215. }
  4216.  
  4217. Device (HUBN)
  4218. {
  4219. Name (_ADR, Zero)
  4220. Device (PR01)
  4221. {
  4222. Name (_ADR, One)
  4223. Name (_UPC, Package (0x04)
  4224. {
  4225. Zero,
  4226. 0xFF,
  4227. Zero,
  4228. Zero
  4229. })
  4230. Device (PR11)
  4231. {
  4232. Name (_ADR, One)
  4233. Name (_UPC, Package (0x04)
  4234. {
  4235. 0xFF,
  4236. Zero,
  4237. Zero,
  4238. Zero
  4239. })
  4240. Name (_PLD, Package (0x01)
  4241. {
  4242. Buffer (0x10)
  4243. {
  4244. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4245. /* 0008 */ 0x91, 0x12, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
  4246. }
  4247. })
  4248. }
  4249.  
  4250. Device (PR12)
  4251. {
  4252. Name (_ADR, 0x02)
  4253. Name (_UPC, Package (0x04)
  4254. {
  4255. 0xFF,
  4256. Zero,
  4257. Zero,
  4258. Zero
  4259. })
  4260. Name (_PLD, Package (0x01)
  4261. {
  4262. Buffer (0x10)
  4263. {
  4264. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4265. /* 0008 */ 0x59, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
  4266. }
  4267. })
  4268. }
  4269.  
  4270. Device (PR13)
  4271. {
  4272. Name (_ADR, 0x03)
  4273. Name (_UPC, Package (0x04)
  4274. {
  4275. 0xFF,
  4276. Zero,
  4277. Zero,
  4278. Zero
  4279. })
  4280. Name (_PLD, Package (0x01)
  4281. {
  4282. Buffer (0x10)
  4283. {
  4284. /* 0000 */ 0x81, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  4285. /* 0008 */ 0x59, 0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00
  4286. }
  4287. })
  4288. }
  4289.  
  4290. Device (PR14)
  4291. {
  4292. Name (_ADR, 0x04)
  4293. Name (_UPC, Package (0x04)
  4294. {
  4295. Zero,
  4296. 0xFF,
  4297. Zero,
  4298. Zero
  4299. })
  4300. }
  4301.  
  4302. Device (PR15)
  4303. {
  4304. Name (_ADR, 0x05)
  4305. Name (_UPC, Package (0x04)
  4306. {
  4307. Zero,
  4308. 0xFF,
  4309. Zero,
  4310. Zero
  4311. })
  4312. }
  4313.  
  4314. Device (PR16)
  4315. {
  4316. Name (_ADR, 0x06)
  4317. Name (_UPC, Package (0x04)
  4318. {
  4319. Zero,
  4320. 0xFF,
  4321. Zero,
  4322. Zero
  4323. })
  4324. }
  4325.  
  4326. Device (PR17)
  4327. {
  4328. Name (_ADR, 0x07)
  4329. Name (_UPC, Package (0x04)
  4330. {
  4331. Zero,
  4332. 0xFF,
  4333. Zero,
  4334. Zero
  4335. })
  4336. }
  4337.  
  4338. Device (PR18)
  4339. {
  4340. Name (_ADR, 0x08)
  4341. Name (_UPC, Package (0x04)
  4342. {
  4343. Zero,
  4344. 0xFF,
  4345. Zero,
  4346. Zero
  4347. })
  4348. }
  4349. }
  4350. }
  4351.  
  4352. Name (_PRW, Package (0x02)
  4353. {
  4354. 0x0D,
  4355. 0x03
  4356. })
  4357. }
  4358.  
  4359. Device (EHC2)
  4360. {
  4361. Name (_ADR, 0x001A0000)
  4362. OperationRegion (PWKE, PCI_Config, 0x62, 0x04)
  4363. Field (PWKE, DWordAcc, NoLock, Preserve)
  4364. {
  4365. , 1,
  4366. PWUC, 6
  4367. }
  4368.  
  4369. Method (_PSW, 1, NotSerialized)
  4370. {
  4371. If (Arg0)
  4372. {
  4373. Store (Ones, PWUC)
  4374. }
  4375. Else
  4376. {
  4377. Store (Zero, PWUC)
  4378. }
  4379.  
  4380. Store (KUPP, Local0)
  4381. And (Local0, 0x0F, Local0)
  4382. If (LEqual (Local0, Zero))
  4383. {
  4384. And (KUPP, 0xF0, KUPP)
  4385. Or (KUPP, 0x03, KUPP)
  4386. }
  4387. Else
  4388. {
  4389. And (KUPP, 0xF0, KUPP)
  4390. Or (KUPP, One, KUPP)
  4391. }
  4392. }
  4393.  
  4394. Method (_S3D, 0, NotSerialized)
  4395. {
  4396. Return (0x02)
  4397. }
  4398.  
  4399. Method (_S4D, 0, NotSerialized)
  4400. {
  4401. Return (0x02)
  4402. }
  4403.  
  4404. Device (HUBN)
  4405. {
  4406. Name (_ADR, Zero)
  4407. Device (PR01)
  4408. {
  4409. Name (_ADR, One)
  4410. Name (_UPC, Package (0x04)
  4411. {
  4412. Zero,
  4413. 0xFF,
  4414. Zero,
  4415. Zero
  4416. })
  4417. Device (PR11)
  4418. {
  4419. Name (_ADR, One)
  4420. Name (_UPC, Package (0x04)
  4421. {
  4422. Zero,
  4423. 0xFF,
  4424. Zero,
  4425. Zero
  4426. })
  4427. }
  4428.  
  4429. Device (PR12)
  4430. {
  4431. Name (_ADR, 0x02)
  4432. Name (_UPC, Package (0x04)
  4433. {
  4434. Zero,
  4435. 0xFF,
  4436. Zero,
  4437. Zero
  4438. })
  4439. }
  4440.  
  4441. Device (PR13)
  4442. {
  4443. Name (_ADR, 0x03)
  4444. Name (_UPC, Package (0x04)
  4445. {
  4446. Zero,
  4447. 0xFF,
  4448. Zero,
  4449. Zero
  4450. })
  4451. }
  4452.  
  4453. Device (PR14)
  4454. {
  4455. Name (_ADR, 0x04)
  4456. Name (_UPC, Package (0x04)
  4457. {
  4458. Zero,
  4459. 0xFF,
  4460. Zero,
  4461. Zero
  4462. })
  4463. }
  4464.  
  4465. Device (PR15)
  4466. {
  4467. Name (_ADR, 0x05)
  4468. Name (_UPC, Package (0x04)
  4469. {
  4470. Zero,
  4471. 0xFF,
  4472. Zero,
  4473. Zero
  4474. })
  4475. }
  4476.  
  4477. Device (PR16)
  4478. {
  4479. Name (_ADR, 0x06)
  4480. Name (_UPC, Package (0x04)
  4481. {
  4482. Zero,
  4483. 0xFF,
  4484. Zero,
  4485. Zero
  4486. })
  4487. }
  4488. }
  4489. }
  4490. }
  4491.  
  4492. Device (XHC)
  4493. {
  4494. Name (_ADR, 0x00140000)
  4495. OperationRegion (XPRT, PCI_Config, 0xD0, 0x10)
  4496. Field (XPRT, DWordAcc, NoLock, Preserve)
  4497. {
  4498. PR2, 32,
  4499. PR2M, 32,
  4500. PR3, 32,
  4501. PR3M, 32
  4502. }
  4503.  
  4504. Method (CUID, 1, Serialized)
  4505. {
  4506. If (LEqual (Arg0, Buffer (0x10)
  4507. {
  4508. /* 0000 */ 0xA9, 0x12, 0x95, 0x7C, 0x05, 0x17, 0xB4, 0x4C,
  4509. /* 0008 */ 0xAF, 0x7D, 0x50, 0x6A, 0x24, 0x23, 0xAB, 0x71
  4510. }))
  4511. {
  4512. Return (One)
  4513. }
  4514.  
  4515. Return (Zero)
  4516. }
  4517.  
  4518. Method (POSC, 3, Serialized)
  4519. {
  4520. CreateDWordField (Arg2, Zero, CDW1)
  4521. CreateDWordField (Arg2, 0x08, CDW3)
  4522. If (LNotEqual (Arg1, One))
  4523. {
  4524. Or (CDW1, 0x08, CDW1)
  4525. }
  4526.  
  4527. If (LEqual (XHCI, Zero))
  4528. {
  4529. Or (CDW1, 0x02, CDW1)
  4530. }
  4531.  
  4532. If (LNot (And (CDW1, One)))
  4533. {
  4534. If (And (CDW3, One))
  4535. {
  4536. ESEL ()
  4537. }
  4538. Else
  4539. {
  4540. XSEL ()
  4541. }
  4542. }
  4543.  
  4544. Return (Arg2)
  4545. }
  4546.  
  4547. Method (XSEL, 0, Serialized)
  4548. {
  4549. If (LOr (LEqual (XHCI, 0x02), LEqual (XHCI, 0x03)))
  4550. {
  4551. Store (Zero, Local0)
  4552. And (PR3, 0xFFFFFFF0, Local0)
  4553. Or (Local0, XHPM, Local0)
  4554. And (Local0, PR3M, PR3)
  4555. Store (Zero, Local0)
  4556. And (PR2, 0xFFFFFFF0, Local0)
  4557. Or (Local0, XHPM, Local0)
  4558. And (Local0, PR2M, PR2)
  4559. Store (One, XUSB)
  4560. }
  4561. }
  4562.  
  4563. Method (ESEL, 0, Serialized)
  4564. {
  4565. If (LOr (LEqual (XHCI, 0x02), LEqual (XHCI, 0x03)))
  4566. {
  4567. And (PR3, 0xFFFFFFF0, PR3)
  4568. And (PR2, 0xFFFFFFF0, PR2)
  4569. Store (Zero, XUSB)
  4570. }
  4571. }
  4572.  
  4573. Method (_S3D, 0, NotSerialized)
  4574. {
  4575. Return (0x02)
  4576. }
  4577.  
  4578. Method (_S4D, 0, NotSerialized)
  4579. {
  4580. Return (0x02)
  4581. }
  4582.  
  4583. Method (_PSW, 1, NotSerialized)
  4584. {
  4585. Store (KUPP, Local0)
  4586. And (Local0, 0xF0, Local0)
  4587. If (LEqual (Local0, Zero))
  4588. {
  4589. And (KUPP, 0x0F, KUPP)
  4590. Or (KUPP, 0x30, KUPP)
  4591. }
  4592. Else
  4593. {
  4594. And (KUPP, 0x0F, KUPP)
  4595. Or (KUPP, 0x10, KUPP)
  4596. }
  4597. }
  4598.  
  4599. Device (RHUB)
  4600. {
  4601. Name (_ADR, Zero)
  4602. Device (HSP1)
  4603. {
  4604. Name (_ADR, One)
  4605. Method (_UPC, 0, Serialized)
  4606. {
  4607. Name (UPCP, Package (0x04)
  4608. {
  4609. 0xFF,
  4610. 0x03,
  4611. Zero,
  4612. Zero
  4613. })
  4614. If (LNot (And (PR2, One)))
  4615. {
  4616. Store (Zero, Index (UPCP, Zero))
  4617. }
  4618.  
  4619. Return (UPCP)
  4620. }
  4621.  
  4622. Method (_PLD, 0, Serialized)
  4623. {
  4624. Name (PLDP, Package (0x01)
  4625. {
  4626. Buffer (0x10)
  4627. {
  4628. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
  4629. /* 0008 */ 0x69, 0x0C, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00
  4630. }
  4631. })
  4632. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  4633. If (LNot (And (PR2, One)))
  4634. {
  4635. And (VIS, Zero, VIS)
  4636. }
  4637.  
  4638. Return (PLDP)
  4639. }
  4640. }
  4641.  
  4642. Device (HSP2)
  4643. {
  4644. Name (_ADR, 0x02)
  4645. Method (_UPC, 0, Serialized)
  4646. {
  4647. Name (UPCP, Package (0x04)
  4648. {
  4649. 0xFF,
  4650. 0x03,
  4651. Zero,
  4652. Zero
  4653. })
  4654. If (LNot (And (PR2, 0x02)))
  4655. {
  4656. Store (Zero, Index (UPCP, Zero))
  4657. }
  4658.  
  4659. Return (UPCP)
  4660. }
  4661.  
  4662. Method (_PLD, 0, Serialized)
  4663. {
  4664. Name (PLDP, Package (0x01)
  4665. {
  4666. Buffer (0x10)
  4667. {
  4668. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
  4669. /* 0008 */ 0x69, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00
  4670. }
  4671. })
  4672. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  4673. If (LNot (And (PR2, 0x02)))
  4674. {
  4675. And (VIS, Zero, VIS)
  4676. }
  4677.  
  4678. Return (PLDP)
  4679. }
  4680. }
  4681.  
  4682. Device (HSP3)
  4683. {
  4684. Name (_ADR, 0x03)
  4685. Method (_UPC, 0, Serialized)
  4686. {
  4687. Name (UPCP, Package (0x04)
  4688. {
  4689. 0xFF,
  4690. 0x03,
  4691. Zero,
  4692. Zero
  4693. })
  4694. If (LNot (And (PR2, 0x04)))
  4695. {
  4696. Store (Zero, Index (UPCP, Zero))
  4697. }
  4698.  
  4699. Return (UPCP)
  4700. }
  4701.  
  4702. Method (_PLD, 0, Serialized)
  4703. {
  4704. Name (PLDP, Package (0x01)
  4705. {
  4706. Buffer (0x10)
  4707. {
  4708. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
  4709. /* 0008 */ 0x69, 0x0C, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00
  4710. }
  4711. })
  4712. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  4713. If (LNot (And (PR2, 0x04)))
  4714. {
  4715. And (VIS, Zero, VIS)
  4716. }
  4717.  
  4718. Return (PLDP)
  4719. }
  4720. }
  4721.  
  4722. Device (HSP4)
  4723. {
  4724. Name (_ADR, 0x04)
  4725. Method (_UPC, 0, Serialized)
  4726. {
  4727. Name (UPCP, Package (0x04)
  4728. {
  4729. 0xFF,
  4730. 0x03,
  4731. Zero,
  4732. Zero
  4733. })
  4734. If (LNot (And (PR2, 0x08)))
  4735. {
  4736. Store (Zero, Index (UPCP, Zero))
  4737. }
  4738.  
  4739. Return (UPCP)
  4740. }
  4741.  
  4742. Method (_PLD, 0, Serialized)
  4743. {
  4744. Name (PLDP, Package (0x01)
  4745. {
  4746. Buffer (0x10)
  4747. {
  4748. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
  4749. /* 0008 */ 0x69, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00
  4750. }
  4751. })
  4752. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  4753. If (LNot (And (PR2, 0x08)))
  4754. {
  4755. And (VIS, Zero, VIS)
  4756. }
  4757.  
  4758. Return (PLDP)
  4759. }
  4760. }
  4761.  
  4762. Device (SSP1)
  4763. {
  4764. Name (_ADR, 0x05)
  4765. Method (_UPC, 0, Serialized)
  4766. {
  4767. Name (UPCP, Package (0x04)
  4768. {
  4769. 0xFF,
  4770. 0x03,
  4771. Zero,
  4772. Zero
  4773. })
  4774. If (LNot (And (PR3, One)))
  4775. {
  4776. Store (Zero, Index (UPCP, Zero))
  4777. }
  4778.  
  4779. Return (UPCP)
  4780. }
  4781.  
  4782. Method (_PLD, 0, Serialized)
  4783. {
  4784. Name (PLDP, Package (0x01)
  4785. {
  4786. Buffer (0x10)
  4787. {
  4788. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
  4789. /* 0008 */ 0x69, 0x0C, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00
  4790. }
  4791. })
  4792. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  4793. If (LNot (And (PR3, One)))
  4794. {
  4795. And (VIS, Zero, VIS)
  4796. }
  4797.  
  4798. Return (PLDP)
  4799. }
  4800. }
  4801.  
  4802. Device (SSP2)
  4803. {
  4804. Name (_ADR, 0x06)
  4805. Method (_UPC, 0, Serialized)
  4806. {
  4807. Name (UPCP, Package (0x04)
  4808. {
  4809. 0xFF,
  4810. 0x03,
  4811. Zero,
  4812. Zero
  4813. })
  4814. If (LNot (And (PR3, 0x02)))
  4815. {
  4816. Store (Zero, Index (UPCP, Zero))
  4817. }
  4818.  
  4819. Return (UPCP)
  4820. }
  4821.  
  4822. Method (_PLD, 0, Serialized)
  4823. {
  4824. Name (PLDP, Package (0x01)
  4825. {
  4826. Buffer (0x10)
  4827. {
  4828. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
  4829. /* 0008 */ 0x69, 0x0C, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00
  4830. }
  4831. })
  4832. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  4833. If (LNot (And (PR3, 0x02)))
  4834. {
  4835. And (VIS, Zero, VIS)
  4836. }
  4837.  
  4838. Return (PLDP)
  4839. }
  4840. }
  4841.  
  4842. Device (SSP3)
  4843. {
  4844. Name (_ADR, 0x07)
  4845. Method (_UPC, 0, Serialized)
  4846. {
  4847. Name (UPCP, Package (0x04)
  4848. {
  4849. 0xFF,
  4850. 0x03,
  4851. Zero,
  4852. Zero
  4853. })
  4854. If (LNot (And (PR3, 0x04)))
  4855. {
  4856. Store (Zero, Index (UPCP, Zero))
  4857. }
  4858.  
  4859. Return (UPCP)
  4860. }
  4861.  
  4862. Method (_PLD, 0, Serialized)
  4863. {
  4864. Name (PLDP, Package (0x01)
  4865. {
  4866. Buffer (0x10)
  4867. {
  4868. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
  4869. /* 0008 */ 0x69, 0x0C, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00
  4870. }
  4871. })
  4872. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  4873. If (LNot (And (PR3, 0x04)))
  4874. {
  4875. And (VIS, Zero, VIS)
  4876. }
  4877.  
  4878. Return (PLDP)
  4879. }
  4880. }
  4881.  
  4882. Device (SSP4)
  4883. {
  4884. Name (_ADR, 0x08)
  4885. Method (_UPC, 0, Serialized)
  4886. {
  4887. Name (UPCP, Package (0x04)
  4888. {
  4889. 0xFF,
  4890. 0x03,
  4891. Zero,
  4892. Zero
  4893. })
  4894. If (LNot (And (PR3, 0x08)))
  4895. {
  4896. Store (Zero, Index (UPCP, Zero))
  4897. }
  4898.  
  4899. Return (UPCP)
  4900. }
  4901.  
  4902. Method (_PLD, 0, Serialized)
  4903. {
  4904. Name (PLDP, Package (0x01)
  4905. {
  4906. Buffer (0x10)
  4907. {
  4908. /* 0000 */ 0x01, 0xC6, 0x72, 0x00, 0x00, 0x00, 0x00, 0x00,
  4909. /* 0008 */ 0x69, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00
  4910. }
  4911. })
  4912. CreateBitField (DerefOf (Index (PLDP, Zero)), 0x40, VIS)
  4913. If (LNot (And (PR3, 0x08)))
  4914. {
  4915. And (VIS, Zero, VIS)
  4916. }
  4917.  
  4918. Return (PLDP)
  4919. }
  4920. }
  4921. }
  4922.  
  4923. Name (_PRW, Package (0x02)
  4924. {
  4925. 0x0D,
  4926. 0x04
  4927. })
  4928. }
  4929.  
  4930. Device (HDEF)
  4931. {
  4932. Name (_ADR, 0x001B0000)
  4933. OperationRegion (HDAR, PCI_Config, 0x4C, 0x10)
  4934. Field (HDAR, WordAcc, NoLock, Preserve)
  4935. {
  4936. DCKA, 1,
  4937. Offset (0x01),
  4938. DCKM, 1,
  4939. , 6,
  4940. DCKS, 1,
  4941. Offset (0x08),
  4942. , 15,
  4943. PMES, 1
  4944. }
  4945.  
  4946. Method (_PRW, 0, NotSerialized)
  4947. {
  4948. If (WKMD)
  4949. {
  4950. Return (Package (0x02)
  4951. {
  4952. 0x0D,
  4953. 0x03
  4954. })
  4955. }
  4956. Else
  4957. {
  4958. Return (Package (0x02)
  4959. {
  4960. 0x0D,
  4961. Zero
  4962. })
  4963. }
  4964. }
  4965. }
  4966.  
  4967. Device (DOCK)
  4968. {
  4969. Name (_HID, "ABCD0000")
  4970. Name (_CID, EisaId ("PNP0C15"))
  4971. Name (_UID, "SADDLESTRING")
  4972. Method (_EJ0, 1, NotSerialized)
  4973. {
  4974. P8XH (Zero, 0xED, Zero)
  4975. If (LEqual (ECON, One)) {}
  4976. Return (One)
  4977. }
  4978.  
  4979. Method (_STA, 0, NotSerialized)
  4980. {
  4981. If (LEqual (ECON, Zero))
  4982. {
  4983. Return (Zero)
  4984. }
  4985.  
  4986. If (DSTS)
  4987. {
  4988. Return (0x0F)
  4989. }
  4990. Else
  4991. {
  4992. Return (Zero)
  4993. }
  4994. }
  4995.  
  4996. Method (_DCK, 1, NotSerialized)
  4997. {
  4998. P8XH (Zero, 0xD3, Zero)
  4999. If (Arg0)
  5000. {
  5001. Return (One)
  5002. }
  5003. Else
  5004. {
  5005. Store (Zero, DSTS)
  5006. If (LEqual (ECON, One)) {}
  5007. Return (One)
  5008. }
  5009. }
  5010.  
  5011. Name (_EDL, Package (0x05)
  5012. {
  5013. ^RP07.PXSX,
  5014. ^RP08.PXSX,
  5015. EHC1,
  5016. SAT0,
  5017. HDEF
  5018. })
  5019. }
  5020.  
  5021. Device (RP01)
  5022. {
  5023. Name (_ADR, 0x001C0000)
  5024. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  5025. Field (PXCS, AnyAcc, NoLock, Preserve)
  5026. {
  5027. Offset (0x10),
  5028. L0SE, 1,
  5029. Offset (0x11),
  5030. Offset (0x12),
  5031. , 13,
  5032. LASX, 1,
  5033. Offset (0x1A),
  5034. ABPX, 1,
  5035. , 2,
  5036. PDCX, 1,
  5037. , 2,
  5038. PDSX, 1,
  5039. Offset (0x1B),
  5040. Offset (0x20),
  5041. Offset (0x22),
  5042. PSPX, 1,
  5043. Offset (0x98),
  5044. , 30,
  5045. HPEX, 1,
  5046. PMEX, 1
  5047. }
  5048.  
  5049. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  5050. {
  5051. Offset (0x9C),
  5052. , 30,
  5053. HPSX, 1,
  5054. PMSX, 1
  5055. }
  5056.  
  5057. Device (PXSX)
  5058. {
  5059. Name (_ADR, Zero)
  5060. Name (_PRW, Package (0x02)
  5061. {
  5062. 0x09,
  5063. 0x04
  5064. })
  5065. }
  5066.  
  5067. Method (HPME, 0, Serialized)
  5068. {
  5069. If (PMSX)
  5070. {
  5071. Store (0xC8, Local0)
  5072. While (Local0)
  5073. {
  5074. Store (One, PMSX)
  5075. If (PMSX)
  5076. {
  5077. Decrement (Local0)
  5078. }
  5079. Else
  5080. {
  5081. Store (Zero, Local0)
  5082. }
  5083. }
  5084.  
  5085. Notify (PXSX, 0x02)
  5086. }
  5087. }
  5088.  
  5089. Name (_PRW, Package (0x02)
  5090. {
  5091. 0x09,
  5092. 0x04
  5093. })
  5094. Name (PR05, Package (0x04)
  5095. {
  5096. Package (0x04)
  5097. {
  5098. 0xFFFF,
  5099. Zero,
  5100. LNKA,
  5101. Zero
  5102. },
  5103.  
  5104. Package (0x04)
  5105. {
  5106. 0xFFFF,
  5107. One,
  5108. LNKB,
  5109. Zero
  5110. },
  5111.  
  5112. Package (0x04)
  5113. {
  5114. 0xFFFF,
  5115. 0x02,
  5116. LNKC,
  5117. Zero
  5118. },
  5119.  
  5120. Package (0x04)
  5121. {
  5122. 0xFFFF,
  5123. 0x03,
  5124. LNKD,
  5125. Zero
  5126. }
  5127. })
  5128. Name (AR05, Package (0x04)
  5129. {
  5130. Package (0x04)
  5131. {
  5132. 0xFFFF,
  5133. Zero,
  5134. Zero,
  5135. 0x10
  5136. },
  5137.  
  5138. Package (0x04)
  5139. {
  5140. 0xFFFF,
  5141. One,
  5142. Zero,
  5143. 0x11
  5144. },
  5145.  
  5146. Package (0x04)
  5147. {
  5148. 0xFFFF,
  5149. 0x02,
  5150. Zero,
  5151. 0x12
  5152. },
  5153.  
  5154. Package (0x04)
  5155. {
  5156. 0xFFFF,
  5157. 0x03,
  5158. Zero,
  5159. 0x13
  5160. }
  5161. })
  5162. Method (_PRT, 0, NotSerialized)
  5163. {
  5164. If (PICM)
  5165. {
  5166. Return (AR05)
  5167. }
  5168.  
  5169. Return (PR05)
  5170. }
  5171. }
  5172.  
  5173. Device (RP02)
  5174. {
  5175. Name (_ADR, 0x001C0001)
  5176. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  5177. Field (PXCS, AnyAcc, NoLock, Preserve)
  5178. {
  5179. Offset (0x10),
  5180. L0SE, 1,
  5181. Offset (0x11),
  5182. Offset (0x12),
  5183. , 13,
  5184. LASX, 1,
  5185. Offset (0x1A),
  5186. ABPX, 1,
  5187. , 2,
  5188. PDCX, 1,
  5189. , 2,
  5190. PDSX, 1,
  5191. Offset (0x1B),
  5192. Offset (0x20),
  5193. Offset (0x22),
  5194. PSPX, 1,
  5195. Offset (0x98),
  5196. , 30,
  5197. HPEX, 1,
  5198. PMEX, 1
  5199. }
  5200.  
  5201. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  5202. {
  5203. Offset (0x9C),
  5204. , 30,
  5205. HPSX, 1,
  5206. PMSX, 1
  5207. }
  5208.  
  5209. Device (PXSX)
  5210. {
  5211. Name (_ADR, Zero)
  5212. Name (_PRW, Package (0x02)
  5213. {
  5214. 0x09,
  5215. 0x04
  5216. })
  5217. }
  5218.  
  5219. Method (HPME, 0, Serialized)
  5220. {
  5221. If (PMSX)
  5222. {
  5223. Store (0xC8, Local0)
  5224. While (Local0)
  5225. {
  5226. Store (One, PMSX)
  5227. If (PMSX)
  5228. {
  5229. Decrement (Local0)
  5230. }
  5231. Else
  5232. {
  5233. Store (Zero, Local0)
  5234. }
  5235. }
  5236.  
  5237. Notify (PXSX, 0x02)
  5238. }
  5239. }
  5240.  
  5241. Name (_PRW, Package (0x02)
  5242. {
  5243. 0x09,
  5244. Zero
  5245. })
  5246. Name (PR06, Package (0x04)
  5247. {
  5248. Package (0x04)
  5249. {
  5250. 0xFFFF,
  5251. Zero,
  5252. LNKB,
  5253. Zero
  5254. },
  5255.  
  5256. Package (0x04)
  5257. {
  5258. 0xFFFF,
  5259. One,
  5260. LNKC,
  5261. Zero
  5262. },
  5263.  
  5264. Package (0x04)
  5265. {
  5266. 0xFFFF,
  5267. 0x02,
  5268. LNKD,
  5269. Zero
  5270. },
  5271.  
  5272. Package (0x04)
  5273. {
  5274. 0xFFFF,
  5275. 0x03,
  5276. LNKA,
  5277. Zero
  5278. }
  5279. })
  5280. Name (AR06, Package (0x04)
  5281. {
  5282. Package (0x04)
  5283. {
  5284. 0xFFFF,
  5285. Zero,
  5286. Zero,
  5287. 0x11
  5288. },
  5289.  
  5290. Package (0x04)
  5291. {
  5292. 0xFFFF,
  5293. One,
  5294. Zero,
  5295. 0x12
  5296. },
  5297.  
  5298. Package (0x04)
  5299. {
  5300. 0xFFFF,
  5301. 0x02,
  5302. Zero,
  5303. 0x13
  5304. },
  5305.  
  5306. Package (0x04)
  5307. {
  5308. 0xFFFF,
  5309. 0x03,
  5310. Zero,
  5311. 0x10
  5312. }
  5313. })
  5314. Method (_PRT, 0, NotSerialized)
  5315. {
  5316. If (PICM)
  5317. {
  5318. Return (AR06)
  5319. }
  5320.  
  5321. Return (PR06)
  5322. }
  5323. }
  5324.  
  5325. Device (RP03)
  5326. {
  5327. Name (_ADR, 0x001C0002)
  5328. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  5329. Field (PXCS, AnyAcc, NoLock, Preserve)
  5330. {
  5331. Offset (0x10),
  5332. L0SE, 1,
  5333. Offset (0x11),
  5334. Offset (0x12),
  5335. , 13,
  5336. LASX, 1,
  5337. Offset (0x1A),
  5338. ABPX, 1,
  5339. , 2,
  5340. PDCX, 1,
  5341. , 2,
  5342. PDSX, 1,
  5343. Offset (0x1B),
  5344. Offset (0x20),
  5345. Offset (0x22),
  5346. PSPX, 1,
  5347. Offset (0x98),
  5348. , 30,
  5349. HPEX, 1,
  5350. PMEX, 1
  5351. }
  5352.  
  5353. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  5354. {
  5355. Offset (0x9C),
  5356. , 30,
  5357. HPSX, 1,
  5358. PMSX, 1
  5359. }
  5360.  
  5361. Device (PXSX)
  5362. {
  5363. Name (_ADR, Zero)
  5364. Name (_PRW, Package (0x02)
  5365. {
  5366. 0x09,
  5367. 0x04
  5368. })
  5369. }
  5370.  
  5371. Method (HPME, 0, Serialized)
  5372. {
  5373. If (PMSX)
  5374. {
  5375. Store (0xC8, Local0)
  5376. While (Local0)
  5377. {
  5378. Store (One, PMSX)
  5379. If (PMSX)
  5380. {
  5381. Decrement (Local0)
  5382. }
  5383. Else
  5384. {
  5385. Store (Zero, Local0)
  5386. }
  5387. }
  5388.  
  5389. Notify (PXSX, 0x02)
  5390. }
  5391. }
  5392.  
  5393. Name (_PRW, Package (0x02)
  5394. {
  5395. 0x09,
  5396. 0x04
  5397. })
  5398. Name (PR07, Package (0x04)
  5399. {
  5400. Package (0x04)
  5401. {
  5402. 0xFFFF,
  5403. Zero,
  5404. LNKC,
  5405. Zero
  5406. },
  5407.  
  5408. Package (0x04)
  5409. {
  5410. 0xFFFF,
  5411. One,
  5412. LNKD,
  5413. Zero
  5414. },
  5415.  
  5416. Package (0x04)
  5417. {
  5418. 0xFFFF,
  5419. 0x02,
  5420. LNKA,
  5421. Zero
  5422. },
  5423.  
  5424. Package (0x04)
  5425. {
  5426. 0xFFFF,
  5427. 0x03,
  5428. LNKB,
  5429. Zero
  5430. }
  5431. })
  5432. Name (AR07, Package (0x04)
  5433. {
  5434. Package (0x04)
  5435. {
  5436. 0xFFFF,
  5437. Zero,
  5438. Zero,
  5439. 0x12
  5440. },
  5441.  
  5442. Package (0x04)
  5443. {
  5444. 0xFFFF,
  5445. One,
  5446. Zero,
  5447. 0x13
  5448. },
  5449.  
  5450. Package (0x04)
  5451. {
  5452. 0xFFFF,
  5453. 0x02,
  5454. Zero,
  5455. 0x10
  5456. },
  5457.  
  5458. Package (0x04)
  5459. {
  5460. 0xFFFF,
  5461. 0x03,
  5462. Zero,
  5463. 0x11
  5464. }
  5465. })
  5466. Method (_PRT, 0, NotSerialized)
  5467. {
  5468. If (PICM)
  5469. {
  5470. Return (AR07)
  5471. }
  5472.  
  5473. Return (PR07)
  5474. }
  5475. }
  5476.  
  5477. Device (RP04)
  5478. {
  5479. Name (_ADR, 0x001C0003)
  5480. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  5481. Field (PXCS, AnyAcc, NoLock, Preserve)
  5482. {
  5483. Offset (0x10),
  5484. L0SE, 1,
  5485. Offset (0x11),
  5486. Offset (0x12),
  5487. , 13,
  5488. LASX, 1,
  5489. Offset (0x1A),
  5490. ABPX, 1,
  5491. , 2,
  5492. PDCX, 1,
  5493. , 2,
  5494. PDSX, 1,
  5495. Offset (0x1B),
  5496. Offset (0x20),
  5497. Offset (0x22),
  5498. PSPX, 1,
  5499. Offset (0x98),
  5500. , 30,
  5501. HPEX, 1,
  5502. PMEX, 1
  5503. }
  5504.  
  5505. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  5506. {
  5507. Offset (0x9C),
  5508. , 30,
  5509. HPSX, 1,
  5510. PMSX, 1
  5511. }
  5512.  
  5513. Device (PXSX)
  5514. {
  5515. Name (_ADR, Zero)
  5516. Name (_PRW, Package (0x02)
  5517. {
  5518. 0x09,
  5519. 0x04
  5520. })
  5521. }
  5522.  
  5523. Method (HPME, 0, Serialized)
  5524. {
  5525. If (PMSX)
  5526. {
  5527. Store (0xC8, Local0)
  5528. While (Local0)
  5529. {
  5530. Store (One, PMSX)
  5531. If (PMSX)
  5532. {
  5533. Decrement (Local0)
  5534. }
  5535. Else
  5536. {
  5537. Store (Zero, Local0)
  5538. }
  5539. }
  5540.  
  5541. Notify (PXSX, 0x02)
  5542. }
  5543. }
  5544.  
  5545. Name (PR08, Package (0x04)
  5546. {
  5547. Package (0x04)
  5548. {
  5549. 0xFFFF,
  5550. Zero,
  5551. LNKD,
  5552. Zero
  5553. },
  5554.  
  5555. Package (0x04)
  5556. {
  5557. 0xFFFF,
  5558. One,
  5559. LNKA,
  5560. Zero
  5561. },
  5562.  
  5563. Package (0x04)
  5564. {
  5565. 0xFFFF,
  5566. 0x02,
  5567. LNKB,
  5568. Zero
  5569. },
  5570.  
  5571. Package (0x04)
  5572. {
  5573. 0xFFFF,
  5574. 0x03,
  5575. LNKC,
  5576. Zero
  5577. }
  5578. })
  5579. Name (AR08, Package (0x04)
  5580. {
  5581. Package (0x04)
  5582. {
  5583. 0xFFFF,
  5584. Zero,
  5585. Zero,
  5586. 0x13
  5587. },
  5588.  
  5589. Package (0x04)
  5590. {
  5591. 0xFFFF,
  5592. One,
  5593. Zero,
  5594. 0x10
  5595. },
  5596.  
  5597. Package (0x04)
  5598. {
  5599. 0xFFFF,
  5600. 0x02,
  5601. Zero,
  5602. 0x11
  5603. },
  5604.  
  5605. Package (0x04)
  5606. {
  5607. 0xFFFF,
  5608. 0x03,
  5609. Zero,
  5610. 0x12
  5611. }
  5612. })
  5613. Method (_PRT, 0, NotSerialized)
  5614. {
  5615. If (PICM)
  5616. {
  5617. Return (AR08)
  5618. }
  5619.  
  5620. Return (PR08)
  5621. }
  5622. }
  5623.  
  5624. Device (RP05)
  5625. {
  5626. Name (_ADR, 0x001C0004)
  5627. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  5628. Field (PXCS, AnyAcc, NoLock, Preserve)
  5629. {
  5630. Offset (0x10),
  5631. L0SE, 1,
  5632. Offset (0x11),
  5633. Offset (0x12),
  5634. , 13,
  5635. LASX, 1,
  5636. Offset (0x1A),
  5637. ABPX, 1,
  5638. , 2,
  5639. PDCX, 1,
  5640. , 2,
  5641. PDSX, 1,
  5642. Offset (0x1B),
  5643. Offset (0x20),
  5644. Offset (0x22),
  5645. PSPX, 1,
  5646. Offset (0x98),
  5647. , 30,
  5648. HPEX, 1,
  5649. PMEX, 1
  5650. }
  5651.  
  5652. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  5653. {
  5654. Offset (0x9C),
  5655. , 30,
  5656. HPSX, 1,
  5657. PMSX, 1
  5658. }
  5659.  
  5660. Device (PXSX)
  5661. {
  5662. Name (_ADR, Zero)
  5663. Name (_PRW, Package (0x02)
  5664. {
  5665. 0x09,
  5666. 0x04
  5667. })
  5668. }
  5669.  
  5670. Method (HPME, 0, Serialized)
  5671. {
  5672. If (PMSX)
  5673. {
  5674. Store (0xC8, Local0)
  5675. While (Local0)
  5676. {
  5677. Store (One, PMSX)
  5678. If (PMSX)
  5679. {
  5680. Decrement (Local0)
  5681. }
  5682. Else
  5683. {
  5684. Store (Zero, Local0)
  5685. }
  5686. }
  5687.  
  5688. Notify (PXSX, 0x02)
  5689. }
  5690. }
  5691.  
  5692. Name (PR09, Package (0x04)
  5693. {
  5694. Package (0x04)
  5695. {
  5696. 0xFFFF,
  5697. Zero,
  5698. LNKA,
  5699. Zero
  5700. },
  5701.  
  5702. Package (0x04)
  5703. {
  5704. 0xFFFF,
  5705. One,
  5706. LNKB,
  5707. Zero
  5708. },
  5709.  
  5710. Package (0x04)
  5711. {
  5712. 0xFFFF,
  5713. 0x02,
  5714. LNKC,
  5715. Zero
  5716. },
  5717.  
  5718. Package (0x04)
  5719. {
  5720. 0xFFFF,
  5721. 0x03,
  5722. LNKD,
  5723. Zero
  5724. }
  5725. })
  5726. Name (AR09, Package (0x04)
  5727. {
  5728. Package (0x04)
  5729. {
  5730. 0xFFFF,
  5731. Zero,
  5732. Zero,
  5733. 0x10
  5734. },
  5735.  
  5736. Package (0x04)
  5737. {
  5738. 0xFFFF,
  5739. One,
  5740. Zero,
  5741. 0x11
  5742. },
  5743.  
  5744. Package (0x04)
  5745. {
  5746. 0xFFFF,
  5747. 0x02,
  5748. Zero,
  5749. 0x12
  5750. },
  5751.  
  5752. Package (0x04)
  5753. {
  5754. 0xFFFF,
  5755. 0x03,
  5756. Zero,
  5757. 0x13
  5758. }
  5759. })
  5760. Method (_PRT, 0, NotSerialized)
  5761. {
  5762. If (PICM)
  5763. {
  5764. Return (AR09)
  5765. }
  5766.  
  5767. Return (PR09)
  5768. }
  5769. }
  5770.  
  5771. Device (RP06)
  5772. {
  5773. Name (_ADR, 0x001C0005)
  5774. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  5775. Field (PXCS, AnyAcc, NoLock, Preserve)
  5776. {
  5777. Offset (0x10),
  5778. L0SE, 1,
  5779. Offset (0x11),
  5780. Offset (0x12),
  5781. , 13,
  5782. LASX, 1,
  5783. Offset (0x1A),
  5784. ABPX, 1,
  5785. , 2,
  5786. PDCX, 1,
  5787. , 2,
  5788. PDSX, 1,
  5789. Offset (0x1B),
  5790. Offset (0x20),
  5791. Offset (0x22),
  5792. PSPX, 1,
  5793. Offset (0x98),
  5794. , 30,
  5795. HPEX, 1,
  5796. PMEX, 1
  5797. }
  5798.  
  5799. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  5800. {
  5801. Offset (0x9C),
  5802. , 30,
  5803. HPSX, 1,
  5804. PMSX, 1
  5805. }
  5806.  
  5807. Device (PXSX)
  5808. {
  5809. Name (_ADR, Zero)
  5810. Name (_PRW, Package (0x02)
  5811. {
  5812. 0x09,
  5813. 0x04
  5814. })
  5815. }
  5816.  
  5817. Method (HPME, 0, Serialized)
  5818. {
  5819. If (PMSX)
  5820. {
  5821. Store (0xC8, Local0)
  5822. While (Local0)
  5823. {
  5824. Store (One, PMSX)
  5825. If (PMSX)
  5826. {
  5827. Decrement (Local0)
  5828. }
  5829. Else
  5830. {
  5831. Store (Zero, Local0)
  5832. }
  5833. }
  5834.  
  5835. Notify (PXSX, 0x02)
  5836. }
  5837. }
  5838.  
  5839. Name (PR0C, Package (0x04)
  5840. {
  5841. Package (0x04)
  5842. {
  5843. 0xFFFF,
  5844. Zero,
  5845. LNKB,
  5846. Zero
  5847. },
  5848.  
  5849. Package (0x04)
  5850. {
  5851. 0xFFFF,
  5852. One,
  5853. LNKC,
  5854. Zero
  5855. },
  5856.  
  5857. Package (0x04)
  5858. {
  5859. 0xFFFF,
  5860. 0x02,
  5861. LNKD,
  5862. Zero
  5863. },
  5864.  
  5865. Package (0x04)
  5866. {
  5867. 0xFFFF,
  5868. 0x03,
  5869. LNKA,
  5870. Zero
  5871. }
  5872. })
  5873. Name (AR0C, Package (0x04)
  5874. {
  5875. Package (0x04)
  5876. {
  5877. 0xFFFF,
  5878. Zero,
  5879. Zero,
  5880. 0x11
  5881. },
  5882.  
  5883. Package (0x04)
  5884. {
  5885. 0xFFFF,
  5886. One,
  5887. Zero,
  5888. 0x12
  5889. },
  5890.  
  5891. Package (0x04)
  5892. {
  5893. 0xFFFF,
  5894. 0x02,
  5895. Zero,
  5896. 0x13
  5897. },
  5898.  
  5899. Package (0x04)
  5900. {
  5901. 0xFFFF,
  5902. 0x03,
  5903. Zero,
  5904. 0x10
  5905. }
  5906. })
  5907. Method (_PRT, 0, NotSerialized)
  5908. {
  5909. If (PICM)
  5910. {
  5911. Return (AR0C)
  5912. }
  5913.  
  5914. Return (PR0C)
  5915. }
  5916. }
  5917.  
  5918. Device (RP07)
  5919. {
  5920. Name (_ADR, 0x001C0006)
  5921. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  5922. Field (PXCS, AnyAcc, NoLock, Preserve)
  5923. {
  5924. Offset (0x10),
  5925. L0SE, 1,
  5926. Offset (0x11),
  5927. Offset (0x12),
  5928. , 13,
  5929. LASX, 1,
  5930. Offset (0x1A),
  5931. ABPX, 1,
  5932. , 2,
  5933. PDCX, 1,
  5934. , 2,
  5935. PDSX, 1,
  5936. Offset (0x1B),
  5937. Offset (0x20),
  5938. Offset (0x22),
  5939. PSPX, 1,
  5940. Offset (0x98),
  5941. , 30,
  5942. HPEX, 1,
  5943. PMEX, 1
  5944. }
  5945.  
  5946. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  5947. {
  5948. Offset (0x9C),
  5949. , 30,
  5950. HPSX, 1,
  5951. PMSX, 1
  5952. }
  5953.  
  5954. Device (PXSX)
  5955. {
  5956. Name (_ADR, Zero)
  5957. Name (_PRW, Package (0x02)
  5958. {
  5959. 0x09,
  5960. 0x04
  5961. })
  5962. }
  5963.  
  5964. Method (HPME, 0, Serialized)
  5965. {
  5966. If (PMSX)
  5967. {
  5968. Store (0xC8, Local0)
  5969. While (Local0)
  5970. {
  5971. Store (One, PMSX)
  5972. If (PMSX)
  5973. {
  5974. Decrement (Local0)
  5975. }
  5976. Else
  5977. {
  5978. Store (Zero, Local0)
  5979. }
  5980. }
  5981.  
  5982. Notify (PXSX, 0x02)
  5983. }
  5984. }
  5985.  
  5986. Name (PR0D, Package (0x04)
  5987. {
  5988. Package (0x04)
  5989. {
  5990. 0xFFFF,
  5991. Zero,
  5992. LNKC,
  5993. Zero
  5994. },
  5995.  
  5996. Package (0x04)
  5997. {
  5998. 0xFFFF,
  5999. One,
  6000. LNKD,
  6001. Zero
  6002. },
  6003.  
  6004. Package (0x04)
  6005. {
  6006. 0xFFFF,
  6007. 0x02,
  6008. LNKE,
  6009. Zero
  6010. },
  6011.  
  6012. Package (0x04)
  6013. {
  6014. 0xFFFF,
  6015. 0x03,
  6016. LNKF,
  6017. Zero
  6018. }
  6019. })
  6020. Name (AR0D, Package (0x04)
  6021. {
  6022. Package (0x04)
  6023. {
  6024. 0xFFFF,
  6025. Zero,
  6026. Zero,
  6027. 0x12
  6028. },
  6029.  
  6030. Package (0x04)
  6031. {
  6032. 0xFFFF,
  6033. One,
  6034. Zero,
  6035. 0x13
  6036. },
  6037.  
  6038. Package (0x04)
  6039. {
  6040. 0xFFFF,
  6041. 0x02,
  6042. Zero,
  6043. 0x14
  6044. },
  6045.  
  6046. Package (0x04)
  6047. {
  6048. 0xFFFF,
  6049. 0x03,
  6050. Zero,
  6051. 0x15
  6052. }
  6053. })
  6054. Method (_PRT, 0, NotSerialized)
  6055. {
  6056. If (PICM)
  6057. {
  6058. Return (AR0D)
  6059. }
  6060.  
  6061. Return (PR0D)
  6062. }
  6063. }
  6064.  
  6065. Device (RP08)
  6066. {
  6067. Name (_ADR, 0x001C0007)
  6068. OperationRegion (PXCS, PCI_Config, 0x40, 0xC0)
  6069. Field (PXCS, AnyAcc, NoLock, Preserve)
  6070. {
  6071. Offset (0x10),
  6072. L0SE, 1,
  6073. Offset (0x11),
  6074. Offset (0x12),
  6075. , 13,
  6076. LASX, 1,
  6077. Offset (0x1A),
  6078. ABPX, 1,
  6079. , 2,
  6080. PDCX, 1,
  6081. , 2,
  6082. PDSX, 1,
  6083. Offset (0x1B),
  6084. Offset (0x20),
  6085. Offset (0x22),
  6086. PSPX, 1,
  6087. Offset (0x98),
  6088. , 30,
  6089. HPEX, 1,
  6090. PMEX, 1
  6091. }
  6092.  
  6093. Field (PXCS, AnyAcc, NoLock, WriteAsZeros)
  6094. {
  6095. Offset (0x9C),
  6096. , 30,
  6097. HPSX, 1,
  6098. PMSX, 1
  6099. }
  6100.  
  6101. Device (PXSX)
  6102. {
  6103. Name (_ADR, Zero)
  6104. Name (_PRW, Package (0x02)
  6105. {
  6106. 0x09,
  6107. 0x04
  6108. })
  6109. }
  6110.  
  6111. Method (HPME, 0, Serialized)
  6112. {
  6113. If (PMSX)
  6114. {
  6115. Store (0xC8, Local0)
  6116. While (Local0)
  6117. {
  6118. Store (One, PMSX)
  6119. If (PMSX)
  6120. {
  6121. Decrement (Local0)
  6122. }
  6123. Else
  6124. {
  6125. Store (Zero, Local0)
  6126. }
  6127. }
  6128.  
  6129. Notify (PXSX, 0x02)
  6130. }
  6131. }
  6132.  
  6133. Name (PR0E, Package (0x04)
  6134. {
  6135. Package (0x04)
  6136. {
  6137. 0xFFFF,
  6138. Zero,
  6139. LNKD,
  6140. Zero
  6141. },
  6142.  
  6143. Package (0x04)
  6144. {
  6145. 0xFFFF,
  6146. One,
  6147. LNKA,
  6148. Zero
  6149. },
  6150.  
  6151. Package (0x04)
  6152. {
  6153. 0xFFFF,
  6154. 0x02,
  6155. LNKB,
  6156. Zero
  6157. },
  6158.  
  6159. Package (0x04)
  6160. {
  6161. 0xFFFF,
  6162. 0x03,
  6163. LNKC,
  6164. Zero
  6165. }
  6166. })
  6167. Name (AR0E, Package (0x04)
  6168. {
  6169. Package (0x04)
  6170. {
  6171. 0xFFFF,
  6172. Zero,
  6173. Zero,
  6174. 0x13
  6175. },
  6176.  
  6177. Package (0x04)
  6178. {
  6179. 0xFFFF,
  6180. One,
  6181. Zero,
  6182. 0x10
  6183. },
  6184.  
  6185. Package (0x04)
  6186. {
  6187. 0xFFFF,
  6188. 0x02,
  6189. Zero,
  6190. 0x11
  6191. },
  6192.  
  6193. Package (0x04)
  6194. {
  6195. 0xFFFF,
  6196. 0x03,
  6197. Zero,
  6198. 0x12
  6199. }
  6200. })
  6201. Method (_PRT, 0, NotSerialized)
  6202. {
  6203. If (PICM)
  6204. {
  6205. Return (AR0E)
  6206. }
  6207.  
  6208. Return (PR0E)
  6209. }
  6210. }
  6211.  
  6212. Device (SAT0)
  6213. {
  6214. Name (_ADR, 0x001F0002)
  6215. }
  6216.  
  6217. Device (SAT1)
  6218. {
  6219. Name (_ADR, 0x001F0005)
  6220. }
  6221.  
  6222. Device (SBUS)
  6223. {
  6224. Name (_ADR, 0x001F0003)
  6225. OperationRegion (SMBP, PCI_Config, 0x40, 0xC0)
  6226. Field (SMBP, DWordAcc, NoLock, Preserve)
  6227. {
  6228. , 2,
  6229. I2CE, 1
  6230. }
  6231.  
  6232. OperationRegion (SMPB, PCI_Config, 0x20, 0x04)
  6233. Field (SMPB, DWordAcc, NoLock, Preserve)
  6234. {
  6235. , 5,
  6236. SBAR, 11
  6237. }
  6238.  
  6239. OperationRegion (SMBI, SystemIO, ShiftLeft (SBAR, 0x05), 0x10)
  6240. Field (SMBI, ByteAcc, NoLock, Preserve)
  6241. {
  6242. HSTS, 8,
  6243. Offset (0x02),
  6244. HCON, 8,
  6245. HCOM, 8,
  6246. TXSA, 8,
  6247. DAT0, 8,
  6248. DAT1, 8,
  6249. HBDR, 8,
  6250. PECR, 8,
  6251. RXSA, 8,
  6252. SDAT, 16
  6253. }
  6254.  
  6255. Method (SSXB, 2, Serialized)
  6256. {
  6257. If (STRT ())
  6258. {
  6259. Return (Zero)
  6260. }
  6261.  
  6262. Store (Zero, I2CE)
  6263. Store (0xBF, HSTS)
  6264. Store (Arg0, TXSA)
  6265. Store (Arg1, HCOM)
  6266. Store (0x48, HCON)
  6267. If (COMP ())
  6268. {
  6269. Or (HSTS, 0xFF, HSTS)
  6270. Return (One)
  6271. }
  6272.  
  6273. Return (Zero)
  6274. }
  6275.  
  6276. Method (SRXB, 1, Serialized)
  6277. {
  6278. If (STRT ())
  6279. {
  6280. Return (0xFFFF)
  6281. }
  6282.  
  6283. Store (Zero, I2CE)
  6284. Store (0xBF, HSTS)
  6285. Store (Or (Arg0, One), TXSA)
  6286. Store (0x44, HCON)
  6287. If (COMP ())
  6288. {
  6289. Or (HSTS, 0xFF, HSTS)
  6290. Return (DAT0)
  6291. }
  6292.  
  6293. Return (0xFFFF)
  6294. }
  6295.  
  6296. Method (SWRB, 3, Serialized)
  6297. {
  6298. If (STRT ())
  6299. {
  6300. Return (Zero)
  6301. }
  6302.  
  6303. Store (Zero, I2CE)
  6304. Store (0xBF, HSTS)
  6305. Store (Arg0, TXSA)
  6306. Store (Arg1, HCOM)
  6307. Store (Arg2, DAT0)
  6308. Store (0x48, HCON)
  6309. If (COMP ())
  6310. {
  6311. Or (HSTS, 0xFF, HSTS)
  6312. Return (One)
  6313. }
  6314.  
  6315. Return (Zero)
  6316. }
  6317.  
  6318. Method (SRDB, 2, Serialized)
  6319. {
  6320. If (STRT ())
  6321. {
  6322. Return (0xFFFF)
  6323. }
  6324.  
  6325. Store (Zero, I2CE)
  6326. Store (0xBF, HSTS)
  6327. Store (Or (Arg0, One), TXSA)
  6328. Store (Arg1, HCOM)
  6329. Store (0x48, HCON)
  6330. If (COMP ())
  6331. {
  6332. Or (HSTS, 0xFF, HSTS)
  6333. Return (DAT0)
  6334. }
  6335.  
  6336. Return (0xFFFF)
  6337. }
  6338.  
  6339. Method (SWRW, 3, Serialized)
  6340. {
  6341. If (STRT ())
  6342. {
  6343. Return (Zero)
  6344. }
  6345.  
  6346. Store (Zero, I2CE)
  6347. Store (0xBF, HSTS)
  6348. Store (Arg0, TXSA)
  6349. Store (Arg1, HCOM)
  6350. And (Arg2, 0xFF, DAT1)
  6351. And (ShiftRight (Arg2, 0x08), 0xFF, DAT0)
  6352. Store (0x4C, HCON)
  6353. If (COMP ())
  6354. {
  6355. Or (HSTS, 0xFF, HSTS)
  6356. Return (One)
  6357. }
  6358.  
  6359. Return (Zero)
  6360. }
  6361.  
  6362. Method (SRDW, 2, Serialized)
  6363. {
  6364. If (STRT ())
  6365. {
  6366. Return (0xFFFF)
  6367. }
  6368.  
  6369. Store (Zero, I2CE)
  6370. Store (0xBF, HSTS)
  6371. Store (Or (Arg0, One), TXSA)
  6372. Store (Arg1, HCOM)
  6373. Store (0x4C, HCON)
  6374. If (COMP ())
  6375. {
  6376. Or (HSTS, 0xFF, HSTS)
  6377. Return (Or (ShiftLeft (DAT0, 0x08), DAT1))
  6378. }
  6379.  
  6380. Return (Ones)
  6381. }
  6382.  
  6383. Method (SBLW, 4, Serialized)
  6384. {
  6385. If (STRT ())
  6386. {
  6387. Return (Zero)
  6388. }
  6389.  
  6390. Store (Arg3, I2CE)
  6391. Store (0xBF, HSTS)
  6392. Store (Arg0, TXSA)
  6393. Store (Arg1, HCOM)
  6394. Store (SizeOf (Arg2), DAT0)
  6395. Store (Zero, Local1)
  6396. Store (DerefOf (Index (Arg2, Zero)), HBDR)
  6397. Store (0x54, HCON)
  6398. While (LGreater (SizeOf (Arg2), Local1))
  6399. {
  6400. Store (0x0FA0, Local0)
  6401. While (LAnd (LNot (And (HSTS, 0x80)), Local0))
  6402. {
  6403. Decrement (Local0)
  6404. Stall (0x32)
  6405. }
  6406.  
  6407. If (LNot (Local0))
  6408. {
  6409. KILL ()
  6410. Return (Zero)
  6411. }
  6412.  
  6413. Store (0x80, HSTS)
  6414. Increment (Local1)
  6415. If (LGreater (SizeOf (Arg2), Local1))
  6416. {
  6417. Store (DerefOf (Index (Arg2, Local1)), HBDR)
  6418. }
  6419. }
  6420.  
  6421. If (COMP ())
  6422. {
  6423. Or (HSTS, 0xFF, HSTS)
  6424. Return (One)
  6425. }
  6426.  
  6427. Return (Zero)
  6428. }
  6429.  
  6430. Method (SBLR, 3, Serialized)
  6431. {
  6432. Name (TBUF, Buffer (0x0100) {})
  6433. If (STRT ())
  6434. {
  6435. Return (Zero)
  6436. }
  6437.  
  6438. Store (Arg2, I2CE)
  6439. Store (0xBF, HSTS)
  6440. Store (Or (Arg0, One), TXSA)
  6441. Store (Arg1, HCOM)
  6442. Store (0x54, HCON)
  6443. Store (0x0FA0, Local0)
  6444. While (LAnd (LNot (And (HSTS, 0x80)), Local0))
  6445. {
  6446. Decrement (Local0)
  6447. Stall (0x32)
  6448. }
  6449.  
  6450. If (LNot (Local0))
  6451. {
  6452. KILL ()
  6453. Return (Zero)
  6454. }
  6455.  
  6456. Store (DAT0, Index (TBUF, Zero))
  6457. Store (0x80, HSTS)
  6458. Store (One, Local1)
  6459. While (LLess (Local1, DerefOf (Index (TBUF, Zero))))
  6460. {
  6461. Store (0x0FA0, Local0)
  6462. While (LAnd (LNot (And (HSTS, 0x80)), Local0))
  6463. {
  6464. Decrement (Local0)
  6465. Stall (0x32)
  6466. }
  6467.  
  6468. If (LNot (Local0))
  6469. {
  6470. KILL ()
  6471. Return (Zero)
  6472. }
  6473.  
  6474. Store (HBDR, Index (TBUF, Local1))
  6475. Store (0x80, HSTS)
  6476. Increment (Local1)
  6477. }
  6478.  
  6479. If (COMP ())
  6480. {
  6481. Or (HSTS, 0xFF, HSTS)
  6482. Return (TBUF)
  6483. }
  6484.  
  6485. Return (Zero)
  6486. }
  6487.  
  6488. Method (STRT, 0, Serialized)
  6489. {
  6490. Store (0xC8, Local0)
  6491. While (Local0)
  6492. {
  6493. If (And (HSTS, 0x40))
  6494. {
  6495. Decrement (Local0)
  6496. Sleep (One)
  6497. If (LEqual (Local0, Zero))
  6498. {
  6499. Return (One)
  6500. }
  6501. }
  6502. Else
  6503. {
  6504. Store (Zero, Local0)
  6505. }
  6506. }
  6507.  
  6508. Store (0x0FA0, Local0)
  6509. While (Local0)
  6510. {
  6511. If (And (HSTS, One))
  6512. {
  6513. Decrement (Local0)
  6514. Stall (0x32)
  6515. If (LEqual (Local0, Zero))
  6516. {
  6517. KILL ()
  6518. }
  6519. }
  6520. Else
  6521. {
  6522. Return (Zero)
  6523. }
  6524. }
  6525.  
  6526. Return (One)
  6527. }
  6528.  
  6529. Method (COMP, 0, Serialized)
  6530. {
  6531. Store (0x0FA0, Local0)
  6532. While (Local0)
  6533. {
  6534. If (And (HSTS, 0x02))
  6535. {
  6536. Return (One)
  6537. }
  6538. Else
  6539. {
  6540. Decrement (Local0)
  6541. Stall (0x32)
  6542. If (LEqual (Local0, Zero))
  6543. {
  6544. KILL ()
  6545. }
  6546. }
  6547. }
  6548.  
  6549. Return (Zero)
  6550. }
  6551.  
  6552. Method (KILL, 0, Serialized)
  6553. {
  6554. Or (HCON, 0x02, HCON)
  6555. Or (HSTS, 0xFF, HSTS)
  6556. }
  6557. }
  6558. }
  6559.  
  6560. Name (BUFN, Zero)
  6561. Name (MBUF, Buffer (0x1000) {})
  6562. OperationRegion (MDBG, SystemMemory, 0xAF7B9018, 0x00001004)
  6563. Field (MDBG, AnyAcc, Lock, Preserve)
  6564. {
  6565. MDG0, 32768
  6566. }
  6567.  
  6568. Method (DB2H, 1, Serialized)
  6569. {
  6570. SHOW (Arg0)
  6571. MDGC (0x20)
  6572. }
  6573.  
  6574. Method (DW2H, 1, Serialized)
  6575. {
  6576. Store (Arg0, Local0)
  6577. ShiftRight (Arg0, 0x08, Local1)
  6578. And (Local0, 0xFF, Local0)
  6579. And (Local1, 0xFF, Local1)
  6580. DB2H (Local1)
  6581. Decrement (BUFN)
  6582. DB2H (Local0)
  6583. }
  6584.  
  6585. Method (DD2H, 1, Serialized)
  6586. {
  6587. Store (Arg0, Local0)
  6588. ShiftRight (Arg0, 0x10, Local1)
  6589. And (Local0, 0xFFFF, Local0)
  6590. And (Local1, 0xFFFF, Local1)
  6591. DW2H (Local1)
  6592. Decrement (BUFN)
  6593. DW2H (Local0)
  6594. }
  6595.  
  6596. Method (MBGS, 1, Serialized)
  6597. {
  6598. Store (SizeOf (Arg0), Local0)
  6599. Name (BUFS, Buffer (Local0) {})
  6600. Store (Arg0, BUFS)
  6601. MDGC (0x20)
  6602. While (Local0)
  6603. {
  6604. MDGC (DerefOf (Index (BUFS, Subtract (SizeOf (Arg0), Local0))))
  6605. Decrement (Local0)
  6606. }
  6607. }
  6608.  
  6609. Method (SHOW, 1, Serialized)
  6610. {
  6611. MDGC (NTOC (ShiftRight (Arg0, 0x04)))
  6612. MDGC (NTOC (Arg0))
  6613. }
  6614.  
  6615. Method (LINE, 0, Serialized)
  6616. {
  6617. Store (BUFN, Local0)
  6618. And (Local0, 0x0F, Local0)
  6619. While (Local0)
  6620. {
  6621. MDGC (Zero)
  6622. Increment (Local0)
  6623. And (Local0, 0x0F, Local0)
  6624. }
  6625. }
  6626.  
  6627. Method (MDGC, 1, Serialized)
  6628. {
  6629. Store (Arg0, Index (MBUF, BUFN))
  6630. Add (BUFN, One, BUFN)
  6631. If (LGreater (BUFN, 0x0FFF))
  6632. {
  6633. And (BUFN, 0x0FFF, BUFN)
  6634. UP_L (One)
  6635. }
  6636. }
  6637.  
  6638. Method (UP_L, 1, Serialized)
  6639. {
  6640. Store (Arg0, Local2)
  6641. ShiftLeft (Local2, 0x04, Local2)
  6642. MOVE (Local2)
  6643. Subtract (0x1000, Local2, Local3)
  6644. While (Local2)
  6645. {
  6646. Store (Zero, Index (MBUF, Local3))
  6647. Increment (Local3)
  6648. Decrement (Local2)
  6649. }
  6650. }
  6651.  
  6652. Method (MOVE, 1, Serialized)
  6653. {
  6654. Store (Arg0, Local4)
  6655. Store (Zero, BUFN)
  6656. Subtract (0x1000, Local4, Local5)
  6657. While (Local5)
  6658. {
  6659. Decrement (Local5)
  6660. Store (DerefOf (Index (MBUF, Local4)), Index (MBUF, BUFN))
  6661. Increment (BUFN)
  6662. Increment (Local4)
  6663. }
  6664. }
  6665.  
  6666. Method (NTOC, 1, Serialized)
  6667. {
  6668. And (Arg0, 0x0F, Local0)
  6669. If (LLess (Local0, 0x0A))
  6670. {
  6671. Add (Local0, 0x30, Local0)
  6672. }
  6673. Else
  6674. {
  6675. Add (Local0, 0x37, Local0)
  6676. }
  6677.  
  6678. Return (Local0)
  6679. }
  6680.  
  6681. Scope (_SB.PCI0.SAT0)
  6682. {
  6683. Device (PRT5)
  6684. {
  6685. Name (_ADR, 0x0005FFFF)
  6686. Method (_DSM, 4, Serialized)
  6687. {
  6688. Name (_T_1, Zero)
  6689. Name (_T_0, Zero)
  6690. If (LEqual (Arg0, Buffer (0x10)
  6691. {
  6692. /* 0000 */ 0x30, 0xEF, 0xFA, 0xBD, 0xBB, 0xAE, 0xDE, 0x11,
  6693. /* 0008 */ 0x8A, 0x39, 0x08, 0x00, 0x20, 0x0C, 0x9A, 0x66
  6694. }))
  6695. {
  6696. While (One)
  6697. {
  6698. Store (Arg2, _T_0)
  6699. If (LEqual (_T_0, Zero))
  6700. {
  6701. While (One)
  6702. {
  6703. Store (Arg1, _T_1)
  6704. If (LEqual (_T_1, One))
  6705. {
  6706. Return (Buffer (One)
  6707. {
  6708. 0x00
  6709. })
  6710. }
  6711. Else
  6712. {
  6713. Return (Buffer (One)
  6714. {
  6715. 0x00
  6716. })
  6717. }
  6718.  
  6719. Break
  6720. }
  6721. }
  6722. Else
  6723. {
  6724. If (LEqual (_T_0, One))
  6725. {
  6726. Return (One)
  6727. }
  6728. Else
  6729. {
  6730. If (LEqual (_T_0, 0x02))
  6731. {
  6732. Store (Zero, GPE3)
  6733. If (LEqual (And (GL00, 0x08), 0x08))
  6734. {
  6735. Or (GIV0, 0x08, GIV0)
  6736. }
  6737. Else
  6738. {
  6739. And (GIV0, 0xF7, GIV0)
  6740. }
  6741.  
  6742. And (GL08, 0xEF, GL08)
  6743. Sleep (0xC8)
  6744. Store (One, GPS3)
  6745. Store (One, GPE3)
  6746. Return (One)
  6747. }
  6748. Else
  6749. {
  6750. If (LEqual (_T_0, 0x03))
  6751. {
  6752. Store (Zero, GPE3)
  6753. Store (One, GPS3)
  6754. Or (GL08, 0x10, GL08)
  6755. Return (One)
  6756. }
  6757. Else
  6758. {
  6759. Return (Zero)
  6760. }
  6761. }
  6762. }
  6763. }
  6764.  
  6765. Break
  6766. }
  6767. }
  6768. Else
  6769. {
  6770. Return (Zero)
  6771. }
  6772. }
  6773. }
  6774. }
  6775.  
  6776. Scope (_GPE)
  6777. {
  6778. Method (_L13, 0, NotSerialized)
  6779. {
  6780. If (LEqual (PFLV, FDTP))
  6781. {
  6782. Return (Zero)
  6783. }
  6784.  
  6785. Store (Zero, GPE3)
  6786. Or (GL08, 0x10, GL08)
  6787. Notify (\_SB.PCI0.SAT0, 0x85)
  6788. Return (Zero)
  6789. }
  6790. }
  6791.  
  6792. Scope (_SB.PCI0)
  6793. {
  6794. Device (PEG0)
  6795. {
  6796. Name (_ADR, 0x00010000)
  6797. Name (_PRW, Package (0x02)
  6798. {
  6799. 0x09,
  6800. 0x04
  6801. })
  6802. Name (PR0A, Package (0x04)
  6803. {
  6804. Package (0x04)
  6805. {
  6806. 0xFFFF,
  6807. Zero,
  6808. LNKA,
  6809. Zero
  6810. },
  6811.  
  6812. Package (0x04)
  6813. {
  6814. 0xFFFF,
  6815. One,
  6816. LNKB,
  6817. Zero
  6818. },
  6819.  
  6820. Package (0x04)
  6821. {
  6822. 0xFFFF,
  6823. 0x02,
  6824. LNKC,
  6825. Zero
  6826. },
  6827.  
  6828. Package (0x04)
  6829. {
  6830. 0xFFFF,
  6831. 0x03,
  6832. LNKD,
  6833. Zero
  6834. }
  6835. })
  6836. Name (AR0A, Package (0x04)
  6837. {
  6838. Package (0x04)
  6839. {
  6840. 0xFFFF,
  6841. Zero,
  6842. Zero,
  6843. 0x10
  6844. },
  6845.  
  6846. Package (0x04)
  6847. {
  6848. 0xFFFF,
  6849. One,
  6850. Zero,
  6851. 0x11
  6852. },
  6853.  
  6854. Package (0x04)
  6855. {
  6856. 0xFFFF,
  6857. 0x02,
  6858. Zero,
  6859. 0x12
  6860. },
  6861.  
  6862. Package (0x04)
  6863. {
  6864. 0xFFFF,
  6865. 0x03,
  6866. Zero,
  6867. 0x13
  6868. }
  6869. })
  6870. Method (_PRT, 0, NotSerialized)
  6871. {
  6872. If (PICM)
  6873. {
  6874. Return (AR0A)
  6875. }
  6876.  
  6877. Return (PR0A)
  6878. }
  6879.  
  6880. Device (PEGP)
  6881. {
  6882. Name (_ADR, 0xFFFF)
  6883. OperationRegion (DGFX, PCI_Config, Zero, 0xF0)
  6884. Field (DGFX, DWordAcc, Lock, Preserve)
  6885. {
  6886. Offset (0x0B),
  6887. LNKV, 8
  6888. }
  6889.  
  6890. Name (_PRW, Package (0x02)
  6891. {
  6892. 0x09,
  6893. 0x04
  6894. })
  6895. }
  6896.  
  6897. Device (VGA)
  6898. {
  6899. Name (_ADR, Zero)
  6900. Name (CSTT, Zero)
  6901. Name (BCML, 0x64)
  6902. Name (LCD0, One)
  6903. Name (CNT, Zero)
  6904. Name (TMP1, Zero)
  6905. Name (TMP2, Zero)
  6906. OperationRegion (GPPB, PCI_Config, 0xB4, 0x14)
  6907. Field (GPPB, ByteAcc, NoLock, Preserve)
  6908. {
  6909. PBCI, 8,
  6910. PBNP, 8,
  6911. PBLS, 8,
  6912. PBCC, 8,
  6913. PBCR, 32,
  6914. PBDI, 32,
  6915. PBDO, 32,
  6916. PBMR, 32
  6917. }
  6918.  
  6919. Method (_STA, 0, NotSerialized)
  6920. {
  6921. If (LOr (LEqual (VGAM, One), LEqual (VGAM, 0x02)))
  6922. {
  6923. Return (0x0F)
  6924. }
  6925.  
  6926. Return (Zero)
  6927. }
  6928.  
  6929. Method (_INI, 0, NotSerialized)
  6930. {
  6931. UDCS ()
  6932. UDGS ()
  6933. }
  6934.  
  6935. Method (_DOS, 1, NotSerialized)
  6936. {
  6937. Store (Arg0, DSEN)
  6938. }
  6939.  
  6940. Method (_DOD, 0, NotSerialized)
  6941. {
  6942. If (LEqual (VGAM, One))
  6943. {
  6944. Return (Package (0x04)
  6945. {
  6946. 0x0100,
  6947. 0x0110,
  6948. 0x0210,
  6949. 0x0220
  6950. })
  6951. }
  6952. Else
  6953. {
  6954. Return (Package (0x04)
  6955. {
  6956. 0x0110,
  6957. 0x00010100,
  6958. 0x80007330,
  6959. 0x8001A440
  6960. })
  6961. }
  6962. }
  6963.  
  6964. Method (_DSM, 4, NotSerialized)
  6965. {
  6966. If (LEqual (Arg0, Buffer (0x10)
  6967. {
  6968. /* 0000 */ 0x75, 0x0B, 0xA5, 0xD4, 0xC7, 0x65, 0xF7, 0x46,
  6969. /* 0008 */ 0xBF, 0xB7, 0x41, 0x51, 0x4C, 0xEA, 0x02, 0x44
  6970. }))
  6971. {
  6972. If (LNotEqual (Arg1, 0x0102))
  6973. {
  6974. Return (Buffer (0x04)
  6975. {
  6976. 0x02, 0x00, 0x00, 0x80
  6977. })
  6978. }
  6979.  
  6980. If (LEqual (Arg2, Zero))
  6981. {
  6982. Return (Buffer (0x04)
  6983. {
  6984. 0x01, 0x00, 0x10, 0x00
  6985. })
  6986. }
  6987.  
  6988. If (LEqual (Arg2, 0x14))
  6989. {
  6990. Return (Package (0x09)
  6991. {
  6992. 0x0110,
  6993. 0x0100,
  6994. Zero,
  6995. Zero,
  6996. One,
  6997. One,
  6998. 0xD2,
  6999. Zero,
  7000. 0x03E8
  7001. })
  7002. }
  7003. }
  7004. }
  7005.  
  7006. Device (CRT)
  7007. {
  7008. Name (_ADR, 0x0100)
  7009. Name (_DCS, 0x1F)
  7010. Name (_DGS, Zero)
  7011. Method (_DSS, 1, NotSerialized)
  7012. {
  7013. And (_DCS, 0xFFFFFFFD, _DCS)
  7014. And (Arg0, One, Local0)
  7015. ShiftLeft (Local0, One, Local0)
  7016. Or (_DCS, Local0, _DCS)
  7017. }
  7018. }
  7019.  
  7020. Device (LCD)
  7021. {
  7022. Name (_ADR, 0x0110)
  7023. Name (_DCS, 0x1F)
  7024. Name (_DGS, Zero)
  7025. Method (_DSS, 1, NotSerialized)
  7026. {
  7027. And (_DCS, 0xFFFFFFFD, _DCS)
  7028. And (Arg0, One, Local0)
  7029. ShiftLeft (Local0, One, Local0)
  7030. Or (_DCS, Local0, _DCS)
  7031. }
  7032.  
  7033. Method (_BCL, 0, NotSerialized)
  7034. {
  7035. If (LEqual (PWM7, Zero))
  7036. {
  7037. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), 0x02)),
  7038. PWM0)
  7039. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), 0x03)),
  7040. PWM1)
  7041. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), 0x04)),
  7042. PWM2)
  7043. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), 0x05)),
  7044. PWM3)
  7045. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), 0x06)),
  7046. PWM4)
  7047. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), 0x07)),
  7048. PWM5)
  7049. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), 0x08)),
  7050. PWM6)
  7051. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), 0x09)),
  7052. PWM7)
  7053. }
  7054.  
  7055. Return (BRLV)
  7056. }
  7057.  
  7058. Method (_BCM, 1, Serialized)
  7059. {
  7060. Store (Zero, BCMF)
  7061. Store (Arg0, BCML)
  7062. If (LAnd (LGreaterEqual (Arg0, Zero), LLessEqual (Arg0, 0x64)))
  7063. {
  7064. Store (SizeOf (BRLV), Local0)
  7065. While (Local0)
  7066. {
  7067. Decrement (Local0)
  7068. Store (DerefOf (Index (BRLV, Local0)), Local1)
  7069. If (LEqual (Arg0, Local1))
  7070. {
  7071. Break
  7072. }
  7073. }
  7074.  
  7075. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^^LPCB.PNID)), Local0)),
  7076. BRTL)
  7077. Subtract (Local0, 0x02, ^^^^LPCB.ECA3)
  7078. If (LEqual (VGAM, One))
  7079. {
  7080. F2B7 (Store (Divide (Multiply (BRTL, 0xFF), 0x64, ),
  7081. Local0))
  7082. }
  7083. }
  7084.  
  7085. If (LEqual (VGAM, 0x02))
  7086. {
  7087. Store (BRTL, Arg0)
  7088. If (LEqual (PBCC, One))
  7089. {
  7090. If (LEqual (PBMR, Zero))
  7091. {
  7092. Store (0x02, PBMR)
  7093. If (LEqual (PBMR, 0x02))
  7094. {
  7095. While (LAnd (LAnd (PBCC, 0xFF), LLess (CNT, 0x0A)))
  7096. {
  7097. Increment (CNT)
  7098. Sleep (One)
  7099. }
  7100.  
  7101. If (LEqual (And (PBCR, 0x02), Zero))
  7102. {
  7103. Multiply (Arg0, 0x0A, TMP1)
  7104. ShiftLeft (TMP1, 0x08, TMP2)
  7105. Or (TMP2, LCD0, TMP1)
  7106. Store (TMP1, PBDI)
  7107. Store (0x86100000, PBCR)
  7108. }
  7109.  
  7110. Store (Zero, PBMR)
  7111. Return (One)
  7112. }
  7113. }
  7114. }
  7115.  
  7116. Return (Zero)
  7117. }
  7118. }
  7119.  
  7120. Method (_BQC, 0, Serialized)
  7121. {
  7122. Return (BCML)
  7123. }
  7124. }
  7125.  
  7126. Device (DFP1)
  7127. {
  7128. Method (_ADR, 0, NotSerialized)
  7129. {
  7130. If (LEqual (VGAM, One))
  7131. {
  7132. Return (0x0210)
  7133. }
  7134. Else
  7135. {
  7136. Return (0x80007330)
  7137. }
  7138. }
  7139.  
  7140. Name (_DCS, 0x1F)
  7141. Name (_DGS, Zero)
  7142. Method (_DSS, 1, NotSerialized)
  7143. {
  7144. And (_DCS, 0xFFFFFFFD, _DCS)
  7145. And (Arg0, One, Local0)
  7146. ShiftLeft (Local0, One, Local0)
  7147. Or (_DCS, Local0, _DCS)
  7148. }
  7149. }
  7150.  
  7151. Device (DFP2)
  7152. {
  7153. Method (_ADR, 0, NotSerialized)
  7154. {
  7155. If (LEqual (VGAM, One))
  7156. {
  7157. Return (0x0220)
  7158. }
  7159. Else
  7160. {
  7161. Return (0x80006342)
  7162. }
  7163. }
  7164.  
  7165. Name (_DCS, 0x1F)
  7166. Name (_DGS, Zero)
  7167. Method (_DSS, 1, NotSerialized)
  7168. {
  7169. And (_DCS, 0xFFFFFFFD, _DCS)
  7170. And (Arg0, One, Local0)
  7171. ShiftLeft (Local0, One, Local0)
  7172. Or (_DCS, Local0, _DCS)
  7173. }
  7174. }
  7175.  
  7176. Method (UDCS, 0, NotSerialized)
  7177. {
  7178. And (^LCD._DCS, 0xFFFFFFFD, ^LCD._DCS)
  7179. And (^CRT._DCS, 0xFFFFFFFD, ^CRT._DCS)
  7180. And (^DFP1._DCS, 0xFFFFFFFD, ^DFP1._DCS)
  7181. And (^DFP2._DCS, 0xFFFFFFFD, ^DFP2._DCS)
  7182. OSMI (0xA8)
  7183. Store (CSTE, CSTT)
  7184. If (LEqual (CSTT, One))
  7185. {
  7186. Or (^LCD._DCS, 0x02, ^LCD._DCS)
  7187. }
  7188.  
  7189. If (LEqual (CSTT, 0x02))
  7190. {
  7191. Or (^CRT._DCS, 0x02, ^CRT._DCS)
  7192. }
  7193.  
  7194. If (LEqual (CSTT, 0x04))
  7195. {
  7196. Or (^DFP1._DCS, 0x02, ^DFP1._DCS)
  7197. }
  7198.  
  7199. If (LEqual (CSTT, 0x08))
  7200. {
  7201. Or (^DFP2._DCS, 0x02, ^DFP2._DCS)
  7202. }
  7203. }
  7204.  
  7205. Method (UDGS, 0, NotSerialized)
  7206. {
  7207. And (^LCD._DGS, 0xFFFFFFFE, ^LCD._DGS)
  7208. And (^CRT._DGS, 0xFFFFFFFE, ^CRT._DGS)
  7209. And (^DFP1._DGS, 0xFFFFFFFE, ^DFP1._DGS)
  7210. And (^DFP2._DGS, 0xFFFFFFFE, ^DFP2._DGS)
  7211. And (^LCD._DCS, 0x02, Local1)
  7212. And (^CRT._DCS, 0x02, Local2)
  7213. And (^DFP1._DCS, 0x02, Local3)
  7214. And (^DFP2._DCS, 0x02, Local4)
  7215. ShiftRight (Local1, One, Local1)
  7216. ShiftLeft (Local3, One, Local3)
  7217. ShiftLeft (Local4, 0x02, Local4)
  7218. Or (Local1, Local2, Local1)
  7219. Or (Local1, Local3, Local1)
  7220. Or (Local1, Local4, Local1)
  7221. OSMI (0xFF)
  7222. ShiftRight (CSTT, One, CSTT)
  7223. While (LNot (And (PADL, CSTT)))
  7224. {
  7225. ShiftRight (CSTT, One, CSTT)
  7226. If (LEqual (CSTT, Zero))
  7227. {
  7228. Store (0x08, CSTT)
  7229. }
  7230. }
  7231.  
  7232. If (LEqual (CSTT, One))
  7233. {
  7234. Or (^LCD._DGS, One, ^LCD._DGS)
  7235. }
  7236.  
  7237. If (LEqual (CSTT, 0x02))
  7238. {
  7239. Or (^CRT._DGS, One, ^CRT._DGS)
  7240. }
  7241.  
  7242. If (LEqual (CSTT, 0x04))
  7243. {
  7244. Or (^DFP1._DGS, One, ^DFP1._DGS)
  7245. }
  7246.  
  7247. If (LEqual (CSTT, 0x08))
  7248. {
  7249. Or (^DFP2._DGS, One, ^DFP2._DGS)
  7250. }
  7251.  
  7252. Store (CSTT, NSTE)
  7253. }
  7254.  
  7255. Name (ATIB, Buffer (0x0100) {})
  7256. Name (PSBR, Zero)
  7257. Method (ATIF, 2, NotSerialized)
  7258. {
  7259. If (LEqual (Arg0, Zero))
  7260. {
  7261. Return (AF00 ())
  7262. }
  7263.  
  7264. If (LEqual (Arg0, One))
  7265. {
  7266. Return (AF01 ())
  7267. }
  7268.  
  7269. If (LEqual (Arg0, 0x02))
  7270. {
  7271. Return (AF02 ())
  7272. }
  7273.  
  7274. If (LEqual (Arg0, 0x05))
  7275. {
  7276. Return (AF05 ())
  7277. }
  7278.  
  7279. If (LEqual (Arg0, 0x06))
  7280. {
  7281. AF06 (Arg1)
  7282. Return (ATIB)
  7283. }
  7284. Else
  7285. {
  7286. CreateWordField (ATIB, Zero, SSZE)
  7287. CreateWordField (ATIB, 0x02, VERN)
  7288. CreateDWordField (ATIB, 0x04, NMSK)
  7289. CreateDWordField (ATIB, 0x08, SFUN)
  7290. Store (Zero, SSZE)
  7291. Store (Zero, VERN)
  7292. Store (Zero, NMSK)
  7293. Store (Zero, SFUN)
  7294. Return (ATIB)
  7295. }
  7296. }
  7297.  
  7298. Method (AF00, 0, NotSerialized)
  7299. {
  7300. CreateWordField (ATIB, Zero, SSZE)
  7301. CreateWordField (ATIB, 0x02, VERN)
  7302. CreateDWordField (ATIB, 0x04, NMSK)
  7303. CreateDWordField (ATIB, 0x08, SFUN)
  7304. Store (0x0C, SSZE)
  7305. Store (One, VERN)
  7306. Store (0x80, NMSK)
  7307. Store (0x02, SFUN)
  7308. Return (ATIB)
  7309. }
  7310.  
  7311. Method (AF01, 0, NotSerialized)
  7312. {
  7313. CreateWordField (ATIB, Zero, SSZE)
  7314. CreateDWordField (ATIB, 0x02, VMSK)
  7315. CreateDWordField (ATIB, 0x06, FLGS)
  7316. Store (0x0A, SSZE)
  7317. Store (0x03, VMSK)
  7318. Store (One, FLGS)
  7319. Return (ATIB)
  7320. }
  7321.  
  7322. Method (AF02, 0, NotSerialized)
  7323. {
  7324. CreateWordField (ATIB, Zero, SSZE)
  7325. CreateDWordField (ATIB, 0x02, PSBI)
  7326. CreateByteField (ATIB, 0x06, EXPM)
  7327. CreateByteField (ATIB, 0x07, THRM)
  7328. CreateByteField (ATIB, 0x08, THID)
  7329. CreateByteField (ATIB, 0x09, FPWR)
  7330. CreateByteField (ATIB, 0x0A, FPID)
  7331. CreateByteField (ATIB, 0x0B, SPWR)
  7332. CreateByteField (ATIB, 0x0C, BRIL)
  7333. Store (0x0D, SSZE)
  7334. Store (PSBR, PSBI)
  7335. Store (Zero, PSBR)
  7336. Return (ATIB)
  7337. }
  7338.  
  7339. Method (F2B7, 1, Serialized)
  7340. {
  7341. Or (PSBR, 0x80, PSBR)
  7342. CreateByteField (ATIB, 0x0C, BRIL)
  7343. Store (Arg0, BRIL)
  7344. Notify (VGA, 0x81)
  7345. }
  7346.  
  7347. Method (AF05, 0, NotSerialized)
  7348. {
  7349. CreateWordField (ATIB, Zero, SSZE)
  7350. CreateByteField (ATIB, 0x02, TSEF)
  7351. CreateByteField (ATIB, 0x03, TVIF)
  7352. Store (0x04, SSZE)
  7353. Store (Zero, TSEF)
  7354. OSMI (0x56)
  7355. Store (PRM1, TVIF)
  7356. Return (ATIB)
  7357. }
  7358.  
  7359. Method (AF06, 1, NotSerialized)
  7360. {
  7361. CreateWordField (ATIB, Zero, SSZE)
  7362. CreateByteField (ATIB, 0x02, TSEF)
  7363. CreateByteField (ATIB, 0x03, TVIF)
  7364. Store (0x04, SSZE)
  7365. Store (Zero, TSEF)
  7366. Store (Arg0, TVIF)
  7367. Store (TVIF, PRM0)
  7368. OSMI (0x57)
  7369. }
  7370. }
  7371. }
  7372.  
  7373. Device (PEG1)
  7374. {
  7375. Name (_ADR, 0x00010001)
  7376. Name (_PRW, Package (0x02)
  7377. {
  7378. 0x09,
  7379. 0x04
  7380. })
  7381. Name (PR02, Package (0x04)
  7382. {
  7383. Package (0x04)
  7384. {
  7385. 0xFFFF,
  7386. Zero,
  7387. LNKB,
  7388. Zero
  7389. },
  7390.  
  7391. Package (0x04)
  7392. {
  7393. 0xFFFF,
  7394. One,
  7395. LNKC,
  7396. Zero
  7397. },
  7398.  
  7399. Package (0x04)
  7400. {
  7401. 0xFFFF,
  7402. 0x02,
  7403. LNKD,
  7404. Zero
  7405. },
  7406.  
  7407. Package (0x04)
  7408. {
  7409. 0xFFFF,
  7410. 0x03,
  7411. LNKA,
  7412. Zero
  7413. }
  7414. })
  7415. Name (AR02, Package (0x04)
  7416. {
  7417. Package (0x04)
  7418. {
  7419. 0xFFFF,
  7420. Zero,
  7421. Zero,
  7422. 0x11
  7423. },
  7424.  
  7425. Package (0x04)
  7426. {
  7427. 0xFFFF,
  7428. One,
  7429. Zero,
  7430. 0x12
  7431. },
  7432.  
  7433. Package (0x04)
  7434. {
  7435. 0xFFFF,
  7436. 0x02,
  7437. Zero,
  7438. 0x13
  7439. },
  7440.  
  7441. Package (0x04)
  7442. {
  7443. 0xFFFF,
  7444. 0x03,
  7445. Zero,
  7446. 0x10
  7447. }
  7448. })
  7449. Method (_PRT, 0, NotSerialized)
  7450. {
  7451. If (PICM)
  7452. {
  7453. Return (AR02)
  7454. }
  7455.  
  7456. Return (PR02)
  7457. }
  7458. }
  7459.  
  7460. Device (PEG2)
  7461. {
  7462. Name (_ADR, 0x00010002)
  7463. Name (_PRW, Package (0x02)
  7464. {
  7465. 0x09,
  7466. 0x04
  7467. })
  7468. Name (PR03, Package (0x04)
  7469. {
  7470. Package (0x04)
  7471. {
  7472. 0xFFFF,
  7473. Zero,
  7474. LNKC,
  7475. Zero
  7476. },
  7477.  
  7478. Package (0x04)
  7479. {
  7480. 0xFFFF,
  7481. One,
  7482. LNKD,
  7483. Zero
  7484. },
  7485.  
  7486. Package (0x04)
  7487. {
  7488. 0xFFFF,
  7489. 0x02,
  7490. LNKA,
  7491. Zero
  7492. },
  7493.  
  7494. Package (0x04)
  7495. {
  7496. 0xFFFF,
  7497. 0x03,
  7498. LNKB,
  7499. Zero
  7500. }
  7501. })
  7502. Name (AR03, Package (0x04)
  7503. {
  7504. Package (0x04)
  7505. {
  7506. 0xFFFF,
  7507. Zero,
  7508. Zero,
  7509. 0x12
  7510. },
  7511.  
  7512. Package (0x04)
  7513. {
  7514. 0xFFFF,
  7515. One,
  7516. Zero,
  7517. 0x13
  7518. },
  7519.  
  7520. Package (0x04)
  7521. {
  7522. 0xFFFF,
  7523. 0x02,
  7524. Zero,
  7525. 0x10
  7526. },
  7527.  
  7528. Package (0x04)
  7529. {
  7530. 0xFFFF,
  7531. 0x03,
  7532. Zero,
  7533. 0x11
  7534. }
  7535. })
  7536. Method (_PRT, 0, NotSerialized)
  7537. {
  7538. If (PICM)
  7539. {
  7540. Return (AR03)
  7541. }
  7542.  
  7543. Return (PR03)
  7544. }
  7545. }
  7546.  
  7547. Device (PEG3)
  7548. {
  7549. Name (_ADR, 0x00060000)
  7550. Name (_PRW, Package (0x02)
  7551. {
  7552. 0x09,
  7553. 0x04
  7554. })
  7555. Name (PR0B, Package (0x04)
  7556. {
  7557. Package (0x04)
  7558. {
  7559. 0xFFFF,
  7560. Zero,
  7561. LNKD,
  7562. Zero
  7563. },
  7564.  
  7565. Package (0x04)
  7566. {
  7567. 0xFFFF,
  7568. One,
  7569. LNKA,
  7570. Zero
  7571. },
  7572.  
  7573. Package (0x04)
  7574. {
  7575. 0xFFFF,
  7576. 0x02,
  7577. LNKB,
  7578. Zero
  7579. },
  7580.  
  7581. Package (0x04)
  7582. {
  7583. 0xFFFF,
  7584. 0x03,
  7585. LNKC,
  7586. Zero
  7587. }
  7588. })
  7589. Name (AR0B, Package (0x04)
  7590. {
  7591. Package (0x04)
  7592. {
  7593. 0xFFFF,
  7594. Zero,
  7595. Zero,
  7596. 0x13
  7597. },
  7598.  
  7599. Package (0x04)
  7600. {
  7601. 0xFFFF,
  7602. One,
  7603. Zero,
  7604. 0x10
  7605. },
  7606.  
  7607. Package (0x04)
  7608. {
  7609. 0xFFFF,
  7610. 0x02,
  7611. Zero,
  7612. 0x11
  7613. },
  7614.  
  7615. Package (0x04)
  7616. {
  7617. 0xFFFF,
  7618. 0x03,
  7619. Zero,
  7620. 0x12
  7621. }
  7622. })
  7623. Method (_PRT, 0, NotSerialized)
  7624. {
  7625. If (PICM)
  7626. {
  7627. Return (AR0B)
  7628. }
  7629.  
  7630. Return (PR0B)
  7631. }
  7632. }
  7633.  
  7634. Device (B0D4)
  7635. {
  7636. Name (_ADR, 0x00040000)
  7637. }
  7638.  
  7639. Device (GFX0)
  7640. {
  7641. Name (_ADR, 0x00020000)
  7642. OperationRegion (IGDT, SystemMemory, ASLB, 0x0400)
  7643. Field (IGDT, AnyAcc, NoLock, Preserve)
  7644. {
  7645. Offset (0x31C),
  7646. DUT0, 8,
  7647. LVE0, 8,
  7648. DUT1, 8,
  7649. LVE1, 8,
  7650. DUT2, 8,
  7651. LVE2, 8,
  7652. DUT3, 8,
  7653. LVE3, 8,
  7654. DUT4, 8,
  7655. LVE4, 8,
  7656. DUT5, 8,
  7657. LVE5, 8,
  7658. DUT6, 8,
  7659. LVE6, 8,
  7660. DUT7, 8,
  7661. LVE7, 8
  7662. }
  7663.  
  7664. Method (_DOS, 1, NotSerialized)
  7665. {
  7666. Store (And (Arg0, 0x07), DSEN)
  7667. If (LEqual (And (Arg0, 0x03), Zero))
  7668. {
  7669. If (CondRefOf (HDOS))
  7670. {
  7671. HDOS ()
  7672. }
  7673. }
  7674. }
  7675.  
  7676. Method (_DOD, 0, NotSerialized)
  7677. {
  7678. If (CondRefOf (IDAB))
  7679. {
  7680. IDAB ()
  7681. }
  7682. Else
  7683. {
  7684. Store (Zero, NDID)
  7685. If (LNotEqual (DIDL, Zero))
  7686. {
  7687. Store (SDDL (DIDL), DID1)
  7688. }
  7689.  
  7690. If (LNotEqual (DDL2, Zero))
  7691. {
  7692. Store (SDDL (DDL2), DID2)
  7693. }
  7694.  
  7695. If (LNotEqual (DDL3, Zero))
  7696. {
  7697. Store (SDDL (DDL3), DID3)
  7698. }
  7699.  
  7700. If (LNotEqual (DDL4, Zero))
  7701. {
  7702. Store (SDDL (DDL4), DID4)
  7703. }
  7704.  
  7705. If (LNotEqual (DDL5, Zero))
  7706. {
  7707. Store (SDDL (DDL5), DID5)
  7708. }
  7709.  
  7710. If (LNotEqual (DDL6, Zero))
  7711. {
  7712. Store (SDDL (DDL6), DID6)
  7713. }
  7714.  
  7715. If (LNotEqual (DDL7, Zero))
  7716. {
  7717. Store (SDDL (DDL7), DID7)
  7718. }
  7719.  
  7720. If (LNotEqual (DDL8, Zero))
  7721. {
  7722. Store (SDDL (DDL8), DID8)
  7723. }
  7724. }
  7725.  
  7726. If (LEqual (NDID, One))
  7727. {
  7728. Name (TMP1, Package (0x01)
  7729. {
  7730. Ones
  7731. })
  7732. Store (Or (0x00010000, DID1), Index (TMP1, Zero))
  7733. Return (TMP1)
  7734. }
  7735.  
  7736. If (LEqual (NDID, 0x02))
  7737. {
  7738. Name (TMP2, Package (0x02)
  7739. {
  7740. Ones,
  7741. Ones
  7742. })
  7743. Store (Or (0x00010000, DID1), Index (TMP2, Zero))
  7744. Store (Or (0x00010000, DID2), Index (TMP2, One))
  7745. Return (TMP2)
  7746. }
  7747.  
  7748. If (LEqual (NDID, 0x03))
  7749. {
  7750. Name (TMP3, Package (0x03)
  7751. {
  7752. Ones,
  7753. Ones,
  7754. Ones
  7755. })
  7756. Store (Or (0x00010000, DID1), Index (TMP3, Zero))
  7757. Store (Or (0x00010000, DID2), Index (TMP3, One))
  7758. Store (Or (0x00010000, DID3), Index (TMP3, 0x02))
  7759. Return (TMP3)
  7760. }
  7761.  
  7762. If (LEqual (NDID, 0x04))
  7763. {
  7764. Name (TMP4, Package (0x04)
  7765. {
  7766. Ones,
  7767. Ones,
  7768. Ones,
  7769. Ones
  7770. })
  7771. Store (Or (0x00010000, DID1), Index (TMP4, Zero))
  7772. Store (Or (0x00010000, DID2), Index (TMP4, One))
  7773. Store (Or (0x00010000, DID3), Index (TMP4, 0x02))
  7774. Store (Or (0x00010000, DID4), Index (TMP4, 0x03))
  7775. Return (TMP4)
  7776. }
  7777.  
  7778. If (LEqual (NDID, 0x05))
  7779. {
  7780. Name (TMP5, Package (0x05)
  7781. {
  7782. Ones,
  7783. Ones,
  7784. Ones,
  7785. Ones,
  7786. Ones
  7787. })
  7788. Store (Or (0x00010000, DID1), Index (TMP5, Zero))
  7789. Store (Or (0x00010000, DID2), Index (TMP5, One))
  7790. Store (Or (0x00010000, DID3), Index (TMP5, 0x02))
  7791. Store (Or (0x00010000, DID4), Index (TMP5, 0x03))
  7792. Store (Or (0x00010000, DID5), Index (TMP5, 0x04))
  7793. Return (TMP5)
  7794. }
  7795.  
  7796. If (LEqual (NDID, 0x06))
  7797. {
  7798. Name (TMP6, Package (0x06)
  7799. {
  7800. Ones,
  7801. Ones,
  7802. Ones,
  7803. Ones,
  7804. Ones,
  7805. Ones
  7806. })
  7807. Store (Or (0x00010000, DID1), Index (TMP6, Zero))
  7808. Store (Or (0x00010000, DID2), Index (TMP6, One))
  7809. Store (Or (0x00010000, DID3), Index (TMP6, 0x02))
  7810. Store (Or (0x00010000, DID4), Index (TMP6, 0x03))
  7811. Store (Or (0x00010000, DID5), Index (TMP6, 0x04))
  7812. Store (Or (0x00010000, DID6), Index (TMP6, 0x05))
  7813. Return (TMP6)
  7814. }
  7815.  
  7816. If (LEqual (NDID, 0x07))
  7817. {
  7818. Name (TMP7, Package (0x07)
  7819. {
  7820. Ones,
  7821. Ones,
  7822. Ones,
  7823. Ones,
  7824. Ones,
  7825. Ones,
  7826. Ones
  7827. })
  7828. Store (Or (0x00010000, DID1), Index (TMP7, Zero))
  7829. Store (Or (0x00010000, DID2), Index (TMP7, One))
  7830. Store (Or (0x00010000, DID3), Index (TMP7, 0x02))
  7831. Store (Or (0x00010000, DID4), Index (TMP7, 0x03))
  7832. Store (Or (0x00010000, DID5), Index (TMP7, 0x04))
  7833. Store (Or (0x00010000, DID6), Index (TMP7, 0x05))
  7834. Store (Or (0x00010000, DID7), Index (TMP7, 0x06))
  7835. Return (TMP7)
  7836. }
  7837.  
  7838. If (LEqual (NDID, 0x08))
  7839. {
  7840. Name (TMP8, Package (0x08)
  7841. {
  7842. Ones,
  7843. Ones,
  7844. Ones,
  7845. Ones,
  7846. Ones,
  7847. Ones,
  7848. Ones,
  7849. Ones
  7850. })
  7851. Store (Or (0x00010000, DID1), Index (TMP8, Zero))
  7852. Store (Or (0x00010000, DID2), Index (TMP8, One))
  7853. Store (Or (0x00010000, DID3), Index (TMP8, 0x02))
  7854. Store (Or (0x00010000, DID4), Index (TMP8, 0x03))
  7855. Store (Or (0x00010000, DID5), Index (TMP8, 0x04))
  7856. Store (Or (0x00010000, DID6), Index (TMP8, 0x05))
  7857. Store (Or (0x00010000, DID7), Index (TMP8, 0x06))
  7858. Store (Or (0x00010000, DID8), Index (TMP8, 0x07))
  7859. Return (TMP8)
  7860. }
  7861.  
  7862. If (LEqual (NDID, 0x09))
  7863. {
  7864. If (CondRefOf (HWID))
  7865. {
  7866. Return (HWID)
  7867. }
  7868. }
  7869.  
  7870. Return (Package (0x01)
  7871. {
  7872. 0x0400
  7873. })
  7874. }
  7875.  
  7876. Device (DD01)
  7877. {
  7878. Method (_ADR, 0, Serialized)
  7879. {
  7880. If (LEqual (DID1, Zero))
  7881. {
  7882. Return (One)
  7883. }
  7884. Else
  7885. {
  7886. Return (And (0xFFFF, DID1))
  7887. }
  7888. }
  7889.  
  7890. Method (_DCS, 0, NotSerialized)
  7891. {
  7892. Return (CDDS (DID1))
  7893. }
  7894.  
  7895. Method (_DGS, 0, NotSerialized)
  7896. {
  7897. If (LAnd (LEqual (And (SGMD, 0x7F), One), CondRefOf (SNXD
  7898. )))
  7899. {
  7900. Return (NXD1)
  7901. }
  7902.  
  7903. Return (NDDS (DID1))
  7904. }
  7905.  
  7906. Method (_DSS, 1, NotSerialized)
  7907. {
  7908. If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
  7909. {
  7910. Store (NSTE, CSTE)
  7911. }
  7912. }
  7913. }
  7914.  
  7915. Device (DD02)
  7916. {
  7917. Method (_ADR, 0, Serialized)
  7918. {
  7919. If (LEqual (DID2, Zero))
  7920. {
  7921. Return (0x02)
  7922. }
  7923. Else
  7924. {
  7925. Return (And (0xFFFF, DID2))
  7926. }
  7927. }
  7928.  
  7929. Method (_DCS, 0, NotSerialized)
  7930. {
  7931. If (LEqual (LIDS, Zero))
  7932. {
  7933. Return (Zero)
  7934. }
  7935.  
  7936. Return (CDDS (DID2))
  7937. }
  7938.  
  7939. Method (_DGS, 0, NotSerialized)
  7940. {
  7941. If (LAnd (LEqual (And (SGMD, 0x7F), One), CondRefOf (SNXD
  7942. )))
  7943. {
  7944. Return (NXD2)
  7945. }
  7946.  
  7947. Return (NDDS (DID2))
  7948. }
  7949.  
  7950. Method (_DSS, 1, NotSerialized)
  7951. {
  7952. If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
  7953. {
  7954. Store (NSTE, CSTE)
  7955. }
  7956. }
  7957.  
  7958. Method (_BCL, 0, NotSerialized)
  7959. {
  7960. If (LEqual (PWM7, Zero))
  7961. {
  7962. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), 0x02)),
  7963. PWM0)
  7964. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), 0x03)),
  7965. PWM1)
  7966. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), 0x04)),
  7967. PWM2)
  7968. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), 0x05)),
  7969. PWM3)
  7970. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), 0x06)),
  7971. PWM4)
  7972. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), 0x07)),
  7973. PWM5)
  7974. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), 0x08)),
  7975. PWM6)
  7976. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), 0x09)),
  7977. PWM7)
  7978. }
  7979.  
  7980. Store (Zero, BCLM)
  7981. Store (0x8A, LVE0)
  7982. Store (0x99, LVE1)
  7983. Store (0xA3, LVE2)
  7984. Store (0xB2, LVE3)
  7985. Store (0xBC, LVE4)
  7986. Store (0xCB, LVE5)
  7987. Store (0xDA, LVE6)
  7988. Store (0xE4, LVE7)
  7989. Store (Divide (Multiply (PWM0, 0xFF), 0x64, ), DUT0)
  7990. Store (Divide (Multiply (PWM1, 0xFF), 0x64, ), DUT1)
  7991. Store (Divide (Multiply (PWM2, 0xFF), 0x64, ), DUT2)
  7992. Store (Divide (Multiply (PWM3, 0xFF), 0x64, ), DUT3)
  7993. Store (Divide (Multiply (PWM4, 0xFF), 0x64, ), DUT4)
  7994. Store (Divide (Multiply (PWM5, 0xFF), 0x64, ), DUT5)
  7995. Store (Divide (Multiply (PWM6, 0xFF), 0x64, ), DUT6)
  7996. Store (Divide (Multiply (PWM7, 0xFF), 0x64, ), DUT7)
  7997. Return (BRLV)
  7998. }
  7999.  
  8000. Method (_BCM, 1, NotSerialized)
  8001. {
  8002. Store (Zero, BCMF)
  8003. If (LAnd (LGreaterEqual (Arg0, Zero), LLessEqual (Arg0, 0x64)))
  8004. {
  8005. Store (Arg0, BRTL)
  8006. Store (SizeOf (BRLV), Local0)
  8007. While (Local0)
  8008. {
  8009. Decrement (Local0)
  8010. Store (DerefOf (Index (BRLV, Local0)), Local1)
  8011. If (LEqual (Arg0, Local1))
  8012. {
  8013. Break
  8014. }
  8015. }
  8016.  
  8017. Store (DerefOf (Index (DerefOf (Index (PANL, ^^^LPCB.PNID)), Local0)),
  8018. Arg0)
  8019. Store (Divide (Multiply (Arg0, 0xFF), 0x64, ), BCLP)
  8020. Or (BCLP, 0x80000000, BCLP)
  8021. AINT (One, Arg0)
  8022. Subtract (Local0, 0x02, ^^^LPCB.ECA3)
  8023. }
  8024. }
  8025.  
  8026. Method (_BQC, 0, NotSerialized)
  8027. {
  8028. Return (BRTL)
  8029. }
  8030. }
  8031.  
  8032. Device (DD03)
  8033. {
  8034. Method (_ADR, 0, Serialized)
  8035. {
  8036. If (LEqual (DID3, Zero))
  8037. {
  8038. Return (0x03)
  8039. }
  8040. Else
  8041. {
  8042. Return (And (0xFFFF, DID3))
  8043. }
  8044. }
  8045.  
  8046. Method (_DCS, 0, NotSerialized)
  8047. {
  8048. If (LEqual (DID3, Zero))
  8049. {
  8050. Return (0x0B)
  8051. }
  8052. Else
  8053. {
  8054. Return (CDDS (DID3))
  8055. }
  8056. }
  8057.  
  8058. Method (_DGS, 0, NotSerialized)
  8059. {
  8060. If (LAnd (LEqual (And (SGMD, 0x7F), One), CondRefOf (SNXD
  8061. )))
  8062. {
  8063. Return (NXD3)
  8064. }
  8065.  
  8066. Return (NDDS (DID3))
  8067. }
  8068.  
  8069. Method (_DSS, 1, NotSerialized)
  8070. {
  8071. If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
  8072. {
  8073. Store (NSTE, CSTE)
  8074. }
  8075. }
  8076. }
  8077.  
  8078. Device (DD04)
  8079. {
  8080. Method (_ADR, 0, Serialized)
  8081. {
  8082. If (LEqual (DID4, Zero))
  8083. {
  8084. Return (0x04)
  8085. }
  8086. Else
  8087. {
  8088. Return (And (0xFFFF, DID4))
  8089. }
  8090. }
  8091.  
  8092. Method (_DCS, 0, NotSerialized)
  8093. {
  8094. If (LEqual (DID4, Zero))
  8095. {
  8096. Return (0x0B)
  8097. }
  8098. Else
  8099. {
  8100. Return (CDDS (DID4))
  8101. }
  8102. }
  8103.  
  8104. Method (_DGS, 0, NotSerialized)
  8105. {
  8106. If (LAnd (LEqual (And (SGMD, 0x7F), One), CondRefOf (SNXD
  8107. )))
  8108. {
  8109. Return (NXD4)
  8110. }
  8111.  
  8112. Return (NDDS (DID4))
  8113. }
  8114.  
  8115. Method (_DSS, 1, NotSerialized)
  8116. {
  8117. If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
  8118. {
  8119. Store (NSTE, CSTE)
  8120. }
  8121. }
  8122. }
  8123.  
  8124. Device (DD05)
  8125. {
  8126. Method (_ADR, 0, Serialized)
  8127. {
  8128. If (LEqual (DID5, Zero))
  8129. {
  8130. Return (0x05)
  8131. }
  8132. Else
  8133. {
  8134. Return (And (0xFFFF, DID5))
  8135. }
  8136. }
  8137.  
  8138. Method (_DCS, 0, NotSerialized)
  8139. {
  8140. If (LEqual (DID5, Zero))
  8141. {
  8142. Return (0x0B)
  8143. }
  8144. Else
  8145. {
  8146. Return (CDDS (DID5))
  8147. }
  8148. }
  8149.  
  8150. Method (_DGS, 0, NotSerialized)
  8151. {
  8152. If (LAnd (LEqual (And (SGMD, 0x7F), One), CondRefOf (SNXD
  8153. )))
  8154. {
  8155. Return (NXD5)
  8156. }
  8157.  
  8158. Return (NDDS (DID5))
  8159. }
  8160.  
  8161. Method (_DSS, 1, NotSerialized)
  8162. {
  8163. If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
  8164. {
  8165. Store (NSTE, CSTE)
  8166. }
  8167. }
  8168. }
  8169.  
  8170. Device (DD06)
  8171. {
  8172. Method (_ADR, 0, Serialized)
  8173. {
  8174. If (LEqual (DID6, Zero))
  8175. {
  8176. Return (0x06)
  8177. }
  8178. Else
  8179. {
  8180. Return (And (0xFFFF, DID6))
  8181. }
  8182. }
  8183.  
  8184. Method (_DCS, 0, NotSerialized)
  8185. {
  8186. If (LEqual (DID6, Zero))
  8187. {
  8188. Return (0x0B)
  8189. }
  8190. Else
  8191. {
  8192. Return (CDDS (DID6))
  8193. }
  8194. }
  8195.  
  8196. Method (_DGS, 0, NotSerialized)
  8197. {
  8198. If (LAnd (LEqual (And (SGMD, 0x7F), One), CondRefOf (SNXD
  8199. )))
  8200. {
  8201. Return (NXD6)
  8202. }
  8203.  
  8204. Return (NDDS (DID6))
  8205. }
  8206.  
  8207. Method (_DSS, 1, NotSerialized)
  8208. {
  8209. If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
  8210. {
  8211. Store (NSTE, CSTE)
  8212. }
  8213. }
  8214. }
  8215.  
  8216. Device (DD07)
  8217. {
  8218. Method (_ADR, 0, Serialized)
  8219. {
  8220. If (LEqual (DID7, Zero))
  8221. {
  8222. Return (0x07)
  8223. }
  8224. Else
  8225. {
  8226. Return (And (0xFFFF, DID7))
  8227. }
  8228. }
  8229.  
  8230. Method (_DCS, 0, NotSerialized)
  8231. {
  8232. If (LEqual (DID7, Zero))
  8233. {
  8234. Return (0x0B)
  8235. }
  8236. Else
  8237. {
  8238. Return (CDDS (DID7))
  8239. }
  8240. }
  8241.  
  8242. Method (_DGS, 0, NotSerialized)
  8243. {
  8244. If (LAnd (LEqual (And (SGMD, 0x7F), One), CondRefOf (SNXD
  8245. )))
  8246. {
  8247. Return (NXD7)
  8248. }
  8249.  
  8250. Return (NDDS (DID7))
  8251. }
  8252.  
  8253. Method (_DSS, 1, NotSerialized)
  8254. {
  8255. If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
  8256. {
  8257. Store (NSTE, CSTE)
  8258. }
  8259. }
  8260. }
  8261.  
  8262. Device (DD08)
  8263. {
  8264. Method (_ADR, 0, Serialized)
  8265. {
  8266. If (LEqual (DID8, Zero))
  8267. {
  8268. Return (0x08)
  8269. }
  8270. Else
  8271. {
  8272. Return (And (0xFFFF, DID8))
  8273. }
  8274. }
  8275.  
  8276. Method (_DCS, 0, NotSerialized)
  8277. {
  8278. If (LEqual (DID8, Zero))
  8279. {
  8280. Return (0x0B)
  8281. }
  8282. Else
  8283. {
  8284. Return (CDDS (DID8))
  8285. }
  8286. }
  8287.  
  8288. Method (_DGS, 0, NotSerialized)
  8289. {
  8290. If (LAnd (LEqual (And (SGMD, 0x7F), One), CondRefOf (SNXD
  8291. )))
  8292. {
  8293. Return (NXD8)
  8294. }
  8295.  
  8296. Return (NDDS (DID8))
  8297. }
  8298.  
  8299. Method (_DSS, 1, NotSerialized)
  8300. {
  8301. If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
  8302. {
  8303. Store (NSTE, CSTE)
  8304. }
  8305. }
  8306. }
  8307.  
  8308. Method (SDDL, 1, NotSerialized)
  8309. {
  8310. Increment (NDID)
  8311. Store (And (Arg0, 0x0F0F), Local0)
  8312. Or (0x80000000, Local0, Local1)
  8313. If (LEqual (DIDL, Local0))
  8314. {
  8315. Return (Local1)
  8316. }
  8317.  
  8318. If (LEqual (DDL2, Local0))
  8319. {
  8320. Return (Local1)
  8321. }
  8322.  
  8323. If (LEqual (DDL3, Local0))
  8324. {
  8325. Return (Local1)
  8326. }
  8327.  
  8328. If (LEqual (DDL4, Local0))
  8329. {
  8330. Return (Local1)
  8331. }
  8332.  
  8333. If (LEqual (DDL5, Local0))
  8334. {
  8335. Return (Local1)
  8336. }
  8337.  
  8338. If (LEqual (DDL6, Local0))
  8339. {
  8340. Return (Local1)
  8341. }
  8342.  
  8343. If (LEqual (DDL7, Local0))
  8344. {
  8345. Return (Local1)
  8346. }
  8347.  
  8348. If (LEqual (DDL8, Local0))
  8349. {
  8350. Return (Local1)
  8351. }
  8352.  
  8353. Return (Zero)
  8354. }
  8355.  
  8356. Method (CDDS, 1, NotSerialized)
  8357. {
  8358. Store (And (Arg0, 0x0F0F), Local0)
  8359. If (LEqual (Zero, Local0))
  8360. {
  8361. Return (0x1D)
  8362. }
  8363.  
  8364. If (LEqual (CADL, Local0))
  8365. {
  8366. Return (0x1F)
  8367. }
  8368.  
  8369. If (LEqual (CAL2, Local0))
  8370. {
  8371. Return (0x1F)
  8372. }
  8373.  
  8374. If (LEqual (CAL3, Local0))
  8375. {
  8376. Return (0x1F)
  8377. }
  8378.  
  8379. If (LEqual (CAL4, Local0))
  8380. {
  8381. Return (0x1F)
  8382. }
  8383.  
  8384. If (LEqual (CAL5, Local0))
  8385. {
  8386. Return (0x1F)
  8387. }
  8388.  
  8389. If (LEqual (CAL6, Local0))
  8390. {
  8391. Return (0x1F)
  8392. }
  8393.  
  8394. If (LEqual (CAL7, Local0))
  8395. {
  8396. Return (0x1F)
  8397. }
  8398.  
  8399. If (LEqual (CAL8, Local0))
  8400. {
  8401. Return (0x1F)
  8402. }
  8403.  
  8404. Return (0x1D)
  8405. }
  8406.  
  8407. Method (NDDS, 1, NotSerialized)
  8408. {
  8409. Store (And (Arg0, 0x0F0F), Local0)
  8410. If (LEqual (Zero, Local0))
  8411. {
  8412. Return (Zero)
  8413. }
  8414.  
  8415. If (LEqual (NADL, Local0))
  8416. {
  8417. Return (One)
  8418. }
  8419.  
  8420. If (LEqual (NDL2, Local0))
  8421. {
  8422. Return (One)
  8423. }
  8424.  
  8425. If (LEqual (NDL3, Local0))
  8426. {
  8427. Return (One)
  8428. }
  8429.  
  8430. If (LEqual (NDL4, Local0))
  8431. {
  8432. Return (One)
  8433. }
  8434.  
  8435. If (LEqual (NDL5, Local0))
  8436. {
  8437. Return (One)
  8438. }
  8439.  
  8440. If (LEqual (NDL6, Local0))
  8441. {
  8442. Return (One)
  8443. }
  8444.  
  8445. If (LEqual (NDL7, Local0))
  8446. {
  8447. Return (One)
  8448. }
  8449.  
  8450. If (LEqual (NDL8, Local0))
  8451. {
  8452. Return (One)
  8453. }
  8454.  
  8455. Return (Zero)
  8456. }
  8457.  
  8458. Method (STBL, 1, NotSerialized)
  8459. {
  8460. If (LEqual (Arg0, Zero))
  8461. {
  8462. Store (0x0400, NADL)
  8463. Store (Zero, NDL2)
  8464. }
  8465. Else
  8466. {
  8467. OSMI (0xA8)
  8468. Store (CSTE, Local0)
  8469. OSMI (0xFF)
  8470. ShiftRight (Local0, One, Local0)
  8471. While (LNot (And (PADL, Local0)))
  8472. {
  8473. ShiftRight (Local0, One, Local0)
  8474. If (LEqual (Local0, Zero))
  8475. {
  8476. Store (0x08, Local0)
  8477. }
  8478. }
  8479.  
  8480. If (LEqual (Local0, One))
  8481. {
  8482. Store (0x0400, NADL)
  8483. }
  8484.  
  8485. If (LEqual (Local0, 0x02))
  8486. {
  8487. Store (0x0100, NADL)
  8488. }
  8489.  
  8490. If (LEqual (Local0, 0x04))
  8491. {
  8492. Store (0x0300, NADL)
  8493. }
  8494.  
  8495. If (LEqual (Local0, 0x08))
  8496. {
  8497. Store (0x0500, NADL)
  8498. }
  8499.  
  8500. Store (Zero, NDL2)
  8501. }
  8502. }
  8503.  
  8504. Scope (^^PCI0)
  8505. {
  8506. OperationRegion (MCHP, PCI_Config, 0x40, 0xC0)
  8507. Field (MCHP, AnyAcc, NoLock, Preserve)
  8508. {
  8509. Offset (0x60),
  8510. TASM, 10,
  8511. Offset (0x62)
  8512. }
  8513. }
  8514.  
  8515. OperationRegion (IGDP, PCI_Config, 0x40, 0xC0)
  8516. Field (IGDP, AnyAcc, NoLock, Preserve)
  8517. {
  8518. Offset (0x12),
  8519. , 1,
  8520. GIVD, 1,
  8521. , 2,
  8522. GUMA, 3,
  8523. Offset (0x14),
  8524. , 4,
  8525. GMFN, 1,
  8526. Offset (0x18),
  8527. Offset (0xA4),
  8528. ASLE, 8,
  8529. Offset (0xA8),
  8530. GSSE, 1,
  8531. GSSB, 14,
  8532. GSES, 1,
  8533. Offset (0xB0),
  8534. , 12,
  8535. CDVL, 1,
  8536. Offset (0xB2),
  8537. Offset (0xB5),
  8538. LBPC, 8,
  8539. Offset (0xBC),
  8540. ASLS, 32
  8541. }
  8542.  
  8543. OperationRegion (IGDM, SystemMemory, ASLB, 0x2000)
  8544. Field (IGDM, AnyAcc, NoLock, Preserve)
  8545. {
  8546. SIGN, 128,
  8547. SIZE, 32,
  8548. OVER, 32,
  8549. SVER, 256,
  8550. VVER, 128,
  8551. GVER, 128,
  8552. MBOX, 32,
  8553. DMOD, 32,
  8554. Offset (0x100),
  8555. DRDY, 32,
  8556. CSTS, 32,
  8557. CEVT, 32,
  8558. Offset (0x120),
  8559. DIDL, 32,
  8560. DDL2, 32,
  8561. DDL3, 32,
  8562. DDL4, 32,
  8563. DDL5, 32,
  8564. DDL6, 32,
  8565. DDL7, 32,
  8566. DDL8, 32,
  8567. CPDL, 32,
  8568. CPL2, 32,
  8569. CPL3, 32,
  8570. CPL4, 32,
  8571. CPL5, 32,
  8572. CPL6, 32,
  8573. CPL7, 32,
  8574. CPL8, 32,
  8575. CADL, 32,
  8576. CAL2, 32,
  8577. CAL3, 32,
  8578. CAL4, 32,
  8579. CAL5, 32,
  8580. CAL6, 32,
  8581. CAL7, 32,
  8582. CAL8, 32,
  8583. NADL, 32,
  8584. NDL2, 32,
  8585. NDL3, 32,
  8586. NDL4, 32,
  8587. NDL5, 32,
  8588. NDL6, 32,
  8589. NDL7, 32,
  8590. NDL8, 32,
  8591. ASLP, 32,
  8592. TIDX, 32,
  8593. CHPD, 32,
  8594. CLID, 32,
  8595. CDCK, 32,
  8596. SXSW, 32,
  8597. EVTS, 32,
  8598. CNOT, 32,
  8599. NRDY, 32,
  8600. Offset (0x200),
  8601. SCIE, 1,
  8602. GEFC, 4,
  8603. GXFC, 3,
  8604. GESF, 8,
  8605. Offset (0x204),
  8606. PARM, 32,
  8607. DSLP, 32,
  8608. Offset (0x300),
  8609. ARDY, 32,
  8610. ASLC, 32,
  8611. TCHE, 32,
  8612. ALSI, 32,
  8613. BCLP, 32,
  8614. PFIT, 32,
  8615. CBLV, 32,
  8616. BCLM, 320,
  8617. CPFM, 32,
  8618. EPFM, 32,
  8619. PLUT, 592,
  8620. PFMB, 32,
  8621. CCDV, 32,
  8622. PCFT, 32,
  8623. Offset (0x400),
  8624. GVD1, 49152,
  8625. PHED, 32,
  8626. BDDC, 2048
  8627. }
  8628.  
  8629. Name (DBTB, Package (0x15)
  8630. {
  8631. Zero,
  8632. 0x07,
  8633. 0x38,
  8634. 0x01C0,
  8635. 0x0E00,
  8636. 0x3F,
  8637. 0x01C7,
  8638. 0x0E07,
  8639. 0x01F8,
  8640. 0x0E38,
  8641. 0x0FC0,
  8642. Zero,
  8643. Zero,
  8644. Zero,
  8645. Zero,
  8646. Zero,
  8647. 0x7000,
  8648. 0x7007,
  8649. 0x7038,
  8650. 0x71C0,
  8651. 0x7E00
  8652. })
  8653. Name (CDCT, Package (0x05)
  8654. {
  8655. Package (0x02)
  8656. {
  8657. 0xE4,
  8658. 0x0140
  8659. },
  8660.  
  8661. Package (0x02)
  8662. {
  8663. 0xDE,
  8664. 0x014D
  8665. },
  8666.  
  8667. Package (0x02)
  8668. {
  8669. 0xDE,
  8670. 0x014D
  8671. },
  8672.  
  8673. Package (0x02)
  8674. {
  8675. Zero,
  8676. Zero
  8677. },
  8678.  
  8679. Package (0x02)
  8680. {
  8681. 0xDE,
  8682. 0x014D
  8683. }
  8684. })
  8685. Name (SUCC, One)
  8686. Name (NVLD, 0x02)
  8687. Name (CRIT, 0x04)
  8688. Name (NCRT, 0x06)
  8689. Method (GSCI, 0, Serialized)
  8690. {
  8691. Method (GBDA, 0, Serialized)
  8692. {
  8693. If (LEqual (GESF, Zero))
  8694. {
  8695. Store (0x0679, PARM)
  8696. Store (Zero, GESF)
  8697. Return (SUCC)
  8698. }
  8699.  
  8700. If (LEqual (GESF, One))
  8701. {
  8702. Store (0x0240, PARM)
  8703. Store (Zero, GESF)
  8704. Return (SUCC)
  8705. }
  8706.  
  8707. If (LEqual (GESF, 0x04))
  8708. {
  8709. And (PARM, 0xEFFF0000, PARM)
  8710. And (PARM, ShiftLeft (DerefOf (Index (DBTB, IBTT)), 0x10),
  8711. PARM)
  8712. Or (IBTT, PARM, PARM)
  8713. Store (Zero, GESF)
  8714. Return (SUCC)
  8715. }
  8716.  
  8717. If (LEqual (GESF, 0x05))
  8718. {
  8719. Store (IPSC, PARM)
  8720. Or (PARM, ShiftLeft (IPAT, 0x08), PARM)
  8721. Add (PARM, 0x0100, PARM)
  8722. Or (PARM, ShiftLeft (LIDS, 0x10), PARM)
  8723. Add (PARM, 0x00010000, PARM)
  8724. Or (PARM, ShiftLeft (IBIA, 0x14), PARM)
  8725. Store (Zero, GESF)
  8726. Return (SUCC)
  8727. }
  8728.  
  8729. If (LEqual (GESF, 0x06))
  8730. {
  8731. Store (ITVF, PARM)
  8732. Or (PARM, ShiftLeft (ITVM, 0x04), PARM)
  8733. Store (Zero, GESF)
  8734. Return (SUCC)
  8735. }
  8736.  
  8737. If (LEqual (GESF, 0x07))
  8738. {
  8739. Store (GIVD, PARM)
  8740. XOr (PARM, One, PARM)
  8741. Or (PARM, ShiftLeft (GMFN, One), PARM)
  8742. Or (PARM, 0x1800, PARM)
  8743. Or (PARM, ShiftLeft (IDMS, 0x11), PARM)
  8744. Or (ShiftLeft (DerefOf (Index (DerefOf (Index (CDCT, HVCO)), CDVL
  8745. )), 0x15), PARM, PARM)
  8746. Store (One, GESF)
  8747. Return (SUCC)
  8748. }
  8749.  
  8750. If (LEqual (GESF, 0x0A))
  8751. {
  8752. Store (Zero, PARM)
  8753. If (ISSC)
  8754. {
  8755. Or (PARM, 0x03, PARM)
  8756. }
  8757.  
  8758. Store (Zero, GESF)
  8759. Return (SUCC)
  8760. }
  8761.  
  8762. If (LEqual (GESF, 0x0B))
  8763. {
  8764. Store (KSV0, PARM)
  8765. Store (KSV1, GESF)
  8766. Return (SUCC)
  8767. }
  8768.  
  8769. Store (Zero, GESF)
  8770. Return (CRIT)
  8771. }
  8772.  
  8773. Method (SBCB, 0, Serialized)
  8774. {
  8775. If (LEqual (GESF, Zero))
  8776. {
  8777. Store (Zero, PARM)
  8778. Store (0x000F87FD, PARM)
  8779. Store (Zero, GESF)
  8780. Return (SUCC)
  8781. }
  8782.  
  8783. If (LEqual (GESF, One))
  8784. {
  8785. Store (Zero, GESF)
  8786. Store (Zero, PARM)
  8787. Return (SUCC)
  8788. }
  8789.  
  8790. If (LEqual (GESF, 0x03))
  8791. {
  8792. Store (Zero, GESF)
  8793. Store (Zero, PARM)
  8794. Return (SUCC)
  8795. }
  8796.  
  8797. If (LEqual (GESF, 0x04))
  8798. {
  8799. Store (Zero, GESF)
  8800. Store (Zero, PARM)
  8801. Return (SUCC)
  8802. }
  8803.  
  8804. If (LEqual (GESF, 0x05))
  8805. {
  8806. Store (Zero, GESF)
  8807. Store (Zero, PARM)
  8808. Return (SUCC)
  8809. }
  8810.  
  8811. If (LEqual (GESF, 0x06))
  8812. {
  8813. Store (And (PARM, 0x0F), ITVF)
  8814. Store (ShiftRight (And (PARM, 0xF0), 0x04), ITVM)
  8815. Store (Zero, GESF)
  8816. Store (Zero, PARM)
  8817. Return (SUCC)
  8818. }
  8819.  
  8820. If (LEqual (GESF, 0x07))
  8821. {
  8822. If (LEqual (PARM, Zero))
  8823. {
  8824. Store (CLID, Local0)
  8825. If (And (0x80000000, Local0))
  8826. {
  8827. And (CLID, 0x0F, CLID)
  8828. GLID (CLID)
  8829. }
  8830. }
  8831.  
  8832. Store (Zero, GESF)
  8833. Store (Zero, PARM)
  8834. Return (SUCC)
  8835. }
  8836.  
  8837. If (LEqual (GESF, 0x08))
  8838. {
  8839. Store (Zero, GESF)
  8840. Store (Zero, PARM)
  8841. Return (SUCC)
  8842. }
  8843.  
  8844. If (LEqual (GESF, 0x09))
  8845. {
  8846. And (PARM, 0xFF, IBTT)
  8847. Store (Zero, GESF)
  8848. Store (Zero, PARM)
  8849. Return (SUCC)
  8850. }
  8851.  
  8852. If (LEqual (GESF, 0x0A))
  8853. {
  8854. And (PARM, 0xFF, IPSC)
  8855. If (And (ShiftRight (PARM, 0x08), 0xFF))
  8856. {
  8857. And (ShiftRight (PARM, 0x08), 0xFF, IPAT)
  8858. Decrement (IPAT)
  8859. }
  8860.  
  8861. And (ShiftRight (PARM, 0x14), 0x07, IBIA)
  8862. Store (Zero, GESF)
  8863. Store (Zero, PARM)
  8864. Return (SUCC)
  8865. }
  8866.  
  8867. If (LEqual (GESF, 0x0B))
  8868. {
  8869. And (ShiftRight (PARM, One), One, IF1E)
  8870. If (And (PARM, 0x0001E000))
  8871. {
  8872. And (ShiftRight (PARM, 0x0D), 0x0F, IDMS)
  8873. }
  8874. Else
  8875. {
  8876. And (ShiftRight (PARM, 0x11), 0x0F, IDMS)
  8877. }
  8878.  
  8879. Store (Zero, GESF)
  8880. Store (Zero, PARM)
  8881. Return (SUCC)
  8882. }
  8883.  
  8884. If (LEqual (GESF, 0x10))
  8885. {
  8886. Store (Zero, GESF)
  8887. Store (Zero, PARM)
  8888. Return (SUCC)
  8889. }
  8890.  
  8891. If (LEqual (GESF, 0x11))
  8892. {
  8893. Store (ShiftLeft (LIDS, 0x08), PARM)
  8894. Add (PARM, 0x0100, PARM)
  8895. Store (Zero, GESF)
  8896. Return (SUCC)
  8897. }
  8898.  
  8899. If (LEqual (GESF, 0x12))
  8900. {
  8901. If (And (PARM, One))
  8902. {
  8903. If (LEqual (ShiftRight (PARM, One), One))
  8904. {
  8905. Store (One, ISSC)
  8906. }
  8907. Else
  8908. {
  8909. Store (Zero, GESF)
  8910. Return (CRIT)
  8911. }
  8912. }
  8913. Else
  8914. {
  8915. Store (Zero, ISSC)
  8916. }
  8917.  
  8918. Store (Zero, GESF)
  8919. Store (Zero, PARM)
  8920. Return (SUCC)
  8921. }
  8922.  
  8923. If (LEqual (GESF, 0x13))
  8924. {
  8925. Store (Zero, GESF)
  8926. Store (Zero, PARM)
  8927. Return (SUCC)
  8928. }
  8929.  
  8930. If (LEqual (GESF, 0x14))
  8931. {
  8932. And (PARM, 0x0F, PAVP)
  8933. Store (Zero, GESF)
  8934. Store (Zero, PARM)
  8935. Return (SUCC)
  8936. }
  8937.  
  8938. Store (Zero, GESF)
  8939. Return (SUCC)
  8940. }
  8941.  
  8942. If (LEqual (GEFC, 0x04))
  8943. {
  8944. Store (GBDA (), GXFC)
  8945. }
  8946.  
  8947. If (LEqual (GEFC, 0x06))
  8948. {
  8949. Store (SBCB (), GXFC)
  8950. }
  8951.  
  8952. Store (Zero, GEFC)
  8953. Store (One, SCIS)
  8954. Store (Zero, GSSE)
  8955. Store (Zero, SCIE)
  8956. Return (Zero)
  8957. }
  8958.  
  8959. Method (PDRD, 0, NotSerialized)
  8960. {
  8961. If (LNot (DRDY))
  8962. {
  8963. Sleep (ASLP)
  8964. }
  8965.  
  8966. Return (LNot (DRDY))
  8967. }
  8968.  
  8969. Method (PSTS, 0, NotSerialized)
  8970. {
  8971. If (LGreater (CSTS, 0x02))
  8972. {
  8973. Sleep (ASLP)
  8974. }
  8975.  
  8976. Return (LEqual (CSTS, 0x03))
  8977. }
  8978.  
  8979. Method (GNOT, 2, NotSerialized)
  8980. {
  8981. If (PDRD ())
  8982. {
  8983. Return (One)
  8984. }
  8985.  
  8986. Store (Arg0, CEVT)
  8987. Store (0x03, CSTS)
  8988. If (LAnd (LEqual (CHPD, Zero), LEqual (Arg1, Zero)))
  8989. {
  8990. If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D6)))
  8991. {
  8992. Notify (PCI0, Arg1)
  8993. }
  8994. Else
  8995. {
  8996. Notify (GFX0, Arg1)
  8997. }
  8998. }
  8999.  
  9000. If (CondRefOf (HNOT))
  9001. {
  9002. HNOT (Arg0)
  9003. }
  9004. Else
  9005. {
  9006. Notify (GFX0, 0x80)
  9007. }
  9008.  
  9009. Return (Zero)
  9010. }
  9011.  
  9012. Method (GHDS, 1, NotSerialized)
  9013. {
  9014. Store (Arg0, TIDX)
  9015. Return (GNOT (One, Zero))
  9016. }
  9017.  
  9018. Method (GLID, 1, NotSerialized)
  9019. {
  9020. If (LEqual (Arg0, One))
  9021. {
  9022. Store (0x03, CLID)
  9023. }
  9024. Else
  9025. {
  9026. Store (Arg0, CLID)
  9027. }
  9028.  
  9029. Return (GNOT (0x02, Zero))
  9030. }
  9031.  
  9032. Method (GDCK, 1, NotSerialized)
  9033. {
  9034. Store (Arg0, CDCK)
  9035. Return (GNOT (0x04, Zero))
  9036. }
  9037.  
  9038. Method (PARD, 0, NotSerialized)
  9039. {
  9040. If (LNot (ARDY))
  9041. {
  9042. Sleep (ASLP)
  9043. }
  9044.  
  9045. Return (LNot (ARDY))
  9046. }
  9047.  
  9048. Method (AINT, 2, NotSerialized)
  9049. {
  9050. If (LNot (And (TCHE, ShiftLeft (One, Arg0))))
  9051. {
  9052. Return (One)
  9053. }
  9054.  
  9055. If (PARD ())
  9056. {
  9057. Return (One)
  9058. }
  9059.  
  9060. If (LEqual (Arg0, 0x02))
  9061. {
  9062. If (CPFM)
  9063. {
  9064. And (CPFM, 0x0F, Local0)
  9065. And (EPFM, 0x0F, Local1)
  9066. If (LEqual (Local0, One))
  9067. {
  9068. If (And (Local1, 0x06))
  9069. {
  9070. Store (0x06, PFIT)
  9071. }
  9072. Else
  9073. {
  9074. If (And (Local1, 0x08))
  9075. {
  9076. Store (0x08, PFIT)
  9077. }
  9078. Else
  9079. {
  9080. Store (One, PFIT)
  9081. }
  9082. }
  9083. }
  9084.  
  9085. If (LEqual (Local0, 0x06))
  9086. {
  9087. If (And (Local1, 0x08))
  9088. {
  9089. Store (0x08, PFIT)
  9090. }
  9091. Else
  9092. {
  9093. If (And (Local1, One))
  9094. {
  9095. Store (One, PFIT)
  9096. }
  9097. Else
  9098. {
  9099. Store (0x06, PFIT)
  9100. }
  9101. }
  9102. }
  9103.  
  9104. If (LEqual (Local0, 0x08))
  9105. {
  9106. If (And (Local1, One))
  9107. {
  9108. Store (One, PFIT)
  9109. }
  9110. Else
  9111. {
  9112. If (And (Local1, 0x06))
  9113. {
  9114. Store (0x06, PFIT)
  9115. }
  9116. Else
  9117. {
  9118. Store (0x08, PFIT)
  9119. }
  9120. }
  9121. }
  9122. }
  9123. Else
  9124. {
  9125. XOr (PFIT, 0x07, PFIT)
  9126. }
  9127.  
  9128. Or (PFIT, 0x80000000, PFIT)
  9129. Store (0x04, ASLC)
  9130. }
  9131. Else
  9132. {
  9133. If (LEqual (Arg0, One))
  9134. {
  9135. Store (Divide (Multiply (Arg1, 0xFF), 0x64, ), BCLP)
  9136. Or (BCLP, 0x80000000, BCLP)
  9137. Store (0x02, ASLC)
  9138. }
  9139. Else
  9140. {
  9141. If (LEqual (Arg0, Zero))
  9142. {
  9143. Store (Arg1, ALSI)
  9144. Store (One, ASLC)
  9145. }
  9146. Else
  9147. {
  9148. Return (One)
  9149. }
  9150. }
  9151. }
  9152.  
  9153. Store (One, ASLE)
  9154. Return (Zero)
  9155. }
  9156.  
  9157. Method (SCIP, 0, NotSerialized)
  9158. {
  9159. If (LNotEqual (OVER, Zero))
  9160. {
  9161. Return (LNot (GSMI))
  9162. }
  9163.  
  9164. Return (Zero)
  9165. }
  9166.  
  9167. Device (^^MEM2)
  9168. {
  9169. Name (_HID, EisaId ("PNP0C01"))
  9170. Name (_UID, 0x02)
  9171. Name (CRS1, ResourceTemplate ()
  9172. {
  9173. Memory32Fixed (ReadWrite,
  9174. 0x20000000, // Address Base
  9175. 0x00200000, // Address Length
  9176. )
  9177. Memory32Fixed (ReadWrite,
  9178. 0x40000000, // Address Base
  9179. 0x00200000, // Address Length
  9180. )
  9181. })
  9182. Name (CRS2, ResourceTemplate ()
  9183. {
  9184. Memory32Fixed (ReadWrite,
  9185. 0x20000000, // Address Base
  9186. 0x00200000, // Address Length
  9187. )
  9188. Memory32Fixed (ReadWrite,
  9189. 0x40004000, // Address Base
  9190. 0x00001000, // Address Length
  9191. )
  9192. })
  9193. Method (_STA, 0, NotSerialized)
  9194. {
  9195. If (IGDS)
  9196. {
  9197. Return (0x0F)
  9198. }
  9199.  
  9200. Return (Zero)
  9201. }
  9202.  
  9203. Method (_CRS, 0, NotSerialized)
  9204. {
  9205. If (LOr (LEqual (And (PNHM, 0x0FFF0FF0), 0x000206A0), LEqual (And (
  9206. PNHM, 0x0FFF0FFF), 0x000306A0)))
  9207. {
  9208. Return (CRS1)
  9209. }
  9210.  
  9211. Return (CRS2)
  9212. }
  9213. }
  9214.  
  9215. Method (_DSM, 4, Serialized)
  9216. {
  9217. Name (DRET, Buffer (0x04)
  9218. {
  9219. 0x00
  9220. })
  9221. If (LEqual (Arg0, Buffer (0x10)
  9222. {
  9223. /* 0000 */ 0xE1, 0x75, 0x39, 0x6F, 0x82, 0x7A, 0x67, 0x4F,
  9224. /* 0008 */ 0x8B, 0x97, 0x15, 0xBE, 0xE0, 0x60, 0xBE, 0xDF
  9225. }))
  9226. {
  9227. If (LEqual (Arg2, Zero))
  9228. {
  9229. CreateWordField (DRET, Zero, F0SS)
  9230. Store (0x02, F0SS)
  9231. Return (DRET)
  9232. }
  9233.  
  9234. If (LEqual (Arg2, One))
  9235. {
  9236. If (LEqual (^^PEG0.PEGP.LNKV, 0x03))
  9237. {
  9238. Return (Zero)
  9239. }
  9240.  
  9241. Return (One)
  9242. }
  9243. }
  9244. }
  9245. }
  9246. }
  9247.  
  9248. Name (_S0, Package (0x04)
  9249. {
  9250. Zero,
  9251. Zero,
  9252. Zero,
  9253. Zero
  9254. })
  9255. If (SS1)
  9256. {
  9257. Name (_S1, Package (0x04)
  9258. {
  9259. One,
  9260. Zero,
  9261. Zero,
  9262. Zero
  9263. })
  9264. }
  9265.  
  9266. If (SS3)
  9267. {
  9268. Name (_S3, Package (0x04)
  9269. {
  9270. 0x05,
  9271. Zero,
  9272. Zero,
  9273. Zero
  9274. })
  9275. }
  9276.  
  9277. If (SS4)
  9278. {
  9279. Name (_S4, Package (0x04)
  9280. {
  9281. 0x06,
  9282. Zero,
  9283. Zero,
  9284. Zero
  9285. })
  9286. }
  9287.  
  9288. Name (_S5, Package (0x04)
  9289. {
  9290. 0x07,
  9291. Zero,
  9292. Zero,
  9293. Zero
  9294. })
  9295. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement