Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 225.44 KB | None | 0 0
  1. /*
  2. * Intel ACPI Component Architecture
  3. * AML Disassembler version 20110112-32 [Jan 13 2011]
  4. * Copyright (c) 2000 - 2011 Intel Corporation
  5. *
  6. * Disassembly of ./dsdt.dat, Thu Feb 10 13:24:34 2011
  7. *
  8. * Original Table Header:
  9. * Signature "DSDT"
  10. * Length 0x000062E1 (25313)
  11. * Revision 0x01 **** 32-bit table (V1), no 64-bit math support
  12. * Checksum 0xB9
  13. * OEM ID "APPLE "
  14. * OEM Table ID "MacBookP"
  15. * OEM Revision 0x00050001 (327681)
  16. * Compiler ID "INTL"
  17. * Compiler Version 0x20061109 (537268489)
  18. */
  19.  
  20. DefinitionBlock ("./dsdt.aml", "DSDT", 1, "APPLE ", "MacBookP", 0x00050001)
  21. {
  22. External (PDC1)
  23. External (PDC0)
  24. External (\_SB_.PCI0.SATA.PRT1)
  25.  
  26. OperationRegion (PRT0, SystemIO, 0x80, 0x02)
  27. Field (PRT0, WordAcc, Lock, Preserve)
  28. {
  29. P80H, 16
  30. }
  31.  
  32. OperationRegion (SPRT, SystemIO, 0x052E, 0x02)
  33. Field (SPRT, ByteAcc, Lock, Preserve)
  34. {
  35. SSMP, 8
  36. }
  37.  
  38. OperationRegion (IO_T, SystemIO, 0x0800, 0x10)
  39. Field (IO_T, ByteAcc, NoLock, Preserve)
  40. {
  41. TRPI, 16,
  42. Offset (0x04),
  43. Offset (0x06),
  44. Offset (0x08),
  45. TRP0, 8,
  46. TRPC, 8,
  47. Offset (0x0B),
  48. Offset (0x0C),
  49. Offset (0x0D),
  50. Offset (0x0E),
  51. Offset (0x0F),
  52. Offset (0x10)
  53. }
  54.  
  55. OperationRegion (IO_D, SystemIO, 0x0810, 0x08)
  56. Field (IO_D, ByteAcc, NoLock, Preserve)
  57. {
  58. TRPD, 8
  59. }
  60.  
  61. OperationRegion (PMIO, SystemIO, 0x0400, 0x80)
  62. Field (PMIO, ByteAcc, NoLock, Preserve)
  63. {
  64. Offset (0x20),
  65. , 2,
  66. SPST, 1,
  67. Offset (0x42),
  68. , 1,
  69. GPEC, 1
  70. }
  71.  
  72. OperationRegion (GNVS, SystemMemory, 0x7FED5A98, 0x0100)
  73. Field (GNVS, AnyAcc, Lock, Preserve)
  74. {
  75. OSYS, 16,
  76. SMIF, 8,
  77. PRM0, 8,
  78. PRM1, 8,
  79. SCIF, 8,
  80. PRM2, 8,
  81. PRM3, 8,
  82. LCKF, 8,
  83. PRM4, 8,
  84. PRM5, 8,
  85. P80D, 32,
  86. LIDS, 8,
  87. PWRS, 8,
  88. DBGS, 8,
  89. LINX, 8,
  90. Offset (0x14),
  91. ACTT, 8,
  92. PSVT, 8,
  93. TC1V, 8,
  94. TC2V, 8,
  95. TSPV, 8,
  96. CRTT, 8,
  97. DTSE, 8,
  98. DTS1, 8,
  99. DTS2, 8,
  100. DTSF, 8,
  101. BNUM, 8,
  102. B0SC, 8,
  103. B1SC, 8,
  104. B2SC, 8,
  105. B0SS, 8,
  106. B1SS, 8,
  107. B2SS, 8,
  108. Offset (0x28),
  109. APIC, 8,
  110. MPEN, 8,
  111. PCP0, 8,
  112. PCP1, 8,
  113. PPCM, 8,
  114. PPMF, 32,
  115. Offset (0x32),
  116. NATP, 8,
  117. CMAP, 8,
  118. CMBP, 8,
  119. LPTP, 8,
  120. FDCP, 8,
  121. CMCP, 8,
  122. CIRP, 8,
  123. Offset (0x3C),
  124. IGDS, 8,
  125. TLST, 8,
  126. CADL, 8,
  127. PADL, 8,
  128. CSTE, 16,
  129. NSTE, 16,
  130. SSTE, 16,
  131. NDID, 8,
  132. DID1, 32,
  133. DID2, 32,
  134. DID3, 32,
  135. DID4, 32,
  136. DID5, 32,
  137. BDSP, 8,
  138. PTY1, 8,
  139. PTY2, 8,
  140. PSCL, 8,
  141. TVF1, 8,
  142. TVF2, 8,
  143. Offset (0x63),
  144. GOPB, 32,
  145. BLCS, 8,
  146. BRTL, 8,
  147. ALSE, 8,
  148. ALAF, 8,
  149. LLOW, 8,
  150. LHIH, 8,
  151. Offset (0x6E),
  152. EMAE, 8,
  153. EMAP, 16,
  154. EMAL, 16,
  155. Offset (0x74),
  156. MEFE, 8,
  157. Offset (0x82),
  158. GTF0, 56,
  159. GTF2, 56,
  160. IDEM, 8,
  161. GTF1, 56,
  162. GTF3, 56,
  163. GTF4, 56,
  164. GTF5, 56
  165. }
  166.  
  167. Name (\GBRD, 0x01)
  168. OperationRegion (NVSB, SystemIO, 0x0500, 0x0100)
  169. Field (NVSB, ByteAcc, NoLock, Preserve)
  170. {
  171. Offset (0x08),
  172. GP01, 1,
  173. GP02, 1,
  174. GP03, 1,
  175. GP04, 1,
  176. GP05, 1,
  177. GP06, 1,
  178. GP07, 1,
  179. GP08, 1,
  180. GP09, 1,
  181. GP10, 1,
  182. GP11, 1,
  183. GP12, 1,
  184. GP13, 1,
  185. GP14, 1,
  186. GP15, 1,
  187. GP16, 1,
  188. GP17, 1,
  189. GP18, 1,
  190. GP19, 1,
  191. GP20, 1,
  192. GP21, 1,
  193. GP22, 1,
  194. GP23, 1,
  195. GP24, 1,
  196. GP25, 1,
  197. GP26, 1,
  198. GP27, 1,
  199. GP28, 1,
  200. GP29, 1,
  201. GP30, 1,
  202. GP31, 1,
  203. GP32, 1,
  204. GP33, 1,
  205. GP34, 1,
  206. GP35, 1,
  207. GP36, 1,
  208. GP37, 1,
  209. GP38, 1,
  210. GP39, 1,
  211. GP40, 1,
  212. GP41, 1,
  213. GP42, 1,
  214. GP43, 1,
  215. GP44, 1,
  216. GP45, 1,
  217. GP46, 1,
  218. GP47, 1,
  219. GP48, 1,
  220. GP49, 1,
  221. GP50, 1,
  222. GP51, 1,
  223. GP52, 1,
  224. GP53, 1,
  225. GP54, 1,
  226. GP55, 1,
  227. GP56, 1,
  228. GP57, 1,
  229. GP58, 1,
  230. GP59, 1,
  231. GP60, 1,
  232. GP61, 1,
  233. GP62, 1,
  234. GP63, 1,
  235. GP64, 1,
  236. Offset (0xC4),
  237. GI05, 8,
  238. Offset (0xD5),
  239. GI22, 8,
  240. Offset (0xE5),
  241. GI38, 8,
  242. Offset (0xFF),
  243. , 2,
  244. APPS, 1,
  245. Offset (0x100)
  246. }
  247.  
  248. Mutex (MUTX, 0x00)
  249. Scope (\_PR)
  250. {
  251. Processor (CPU0, 0x00, 0x00000410, 0x06) {}
  252. Processor (CPU1, 0x01, 0x00000410, 0x06) {}
  253. }
  254.  
  255. Name (\DSEN, 0x01)
  256. Name (\ECON, 0x00)
  257. Name (\GPIC, 0x00)
  258. Name (\CTYP, 0x00)
  259. Name (\VFN0, 0x00)
  260. Method (OSDW, 0, NotSerialized)
  261. {
  262. If (LEqual (OSYS, 0x2710))
  263. {
  264. Return (0x01)
  265. }
  266. Else
  267. {
  268. Return (0x00)
  269. }
  270. }
  271.  
  272. Method (PINI, 0, NotSerialized)
  273. {
  274. If (CondRefOf (_OSI, Local0))
  275. {
  276. If (_OSI ("Darwin"))
  277. {
  278. Store (0x2710, OSYS)
  279. }
  280. Else
  281. {
  282. If (_OSI ("Linux"))
  283. {
  284. Store (0x03E8, OSYS)
  285. }
  286. Else
  287. {
  288. If (_OSI ("Windows 2006"))
  289. {
  290. Store (0x07D6, OSYS)
  291. }
  292. Else
  293. {
  294. If (_OSI ("Windows 2001 SP2"))
  295. {
  296. Store (0x07D2, OSYS)
  297. }
  298. Else
  299. {
  300. If (_OSI ("Windows 2001 SP1"))
  301. {
  302. Store (0x07D1, OSYS)
  303. }
  304. Else
  305. {
  306. If (_OSI ("Windows 2001"))
  307. {
  308. Store (0x07D1, OSYS)
  309. }
  310. }
  311. }
  312. }
  313. }
  314. }
  315. }
  316. Else
  317. {
  318. Store (0x07D0, OSYS)
  319. }
  320. }
  321.  
  322. Method (\_PIC, 1, NotSerialized)
  323. {
  324. Store (Arg0, GPIC)
  325. }
  326.  
  327. Method (DTGP, 5, NotSerialized)
  328. {
  329. If (LEqual (Arg0, Buffer (0x10)
  330. {
  331. /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
  332. /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
  333. }))
  334. {
  335. If (LEqual (Arg1, One))
  336. {
  337. If (LEqual (Arg2, Zero))
  338. {
  339. Store (Buffer (0x01)
  340. {
  341. 0x03
  342. }, Arg4)
  343. Return (One)
  344. }
  345.  
  346. If (LEqual (Arg2, One))
  347. {
  348. Return (One)
  349. }
  350. }
  351. }
  352.  
  353. Store (Buffer (0x01)
  354. {
  355. 0x00
  356. }, Arg4)
  357. Return (Zero)
  358. }
  359.  
  360. Name (_S0, Package (0x03)
  361. {
  362. 0x00,
  363. 0x00,
  364. 0x00
  365. })
  366. Name (_S3, Package (0x03)
  367. {
  368. 0x05,
  369. 0x05,
  370. 0x00
  371. })
  372. Name (_S4, Package (0x03)
  373. {
  374. 0x06,
  375. 0x06,
  376. 0x00
  377. })
  378. Name (_S5, Package (0x03)
  379. {
  380. 0x07,
  381. 0x07,
  382. 0x00
  383. })
  384. Method (_PTS, 1, NotSerialized)
  385. {
  386. Store (0x00, P80D)
  387. P8XH (0x00, Arg0)
  388. Store (Arg0, \_SB.PCI0.LPCB.EC.ECSS)
  389. Store (0x01, GP61)
  390. }
  391.  
  392. Method (_WAK, 1, NotSerialized)
  393. {
  394. P8XH (0x00, 0x00)
  395. Store (0x00, \_SB.PCI0.LPCB.EC.ECSS)
  396. If (OSDW ())
  397. {
  398. \_SB.PCI0.SBUS.ENAB ()
  399. }
  400.  
  401. Store (\_SB.PCI0.LPCB.EC.LSTE, LIDS)
  402. Store (\_SB.PCI0.LPCB.EC.RPWR, PWRS)
  403. PNOT ()
  404. Return (Package (0x02)
  405. {
  406. 0x00,
  407. 0x00
  408. })
  409. }
  410.  
  411. Scope (\_GPE)
  412. {
  413. Method (_L11, 0, NotSerialized)
  414. {
  415. Notify (\_SB.PCI0.RP01, 0x02)
  416. Notify (\_SB.PCI0.RP04, 0x02)
  417. Notify (\_SB.PCI0.RP05, 0x02)
  418. Notify (\_SB.PCI0.RP06, 0x02)
  419. Notify (\_SB.PWRB, 0x02)
  420. }
  421.  
  422. Method (_L14, 0, NotSerialized)
  423. {
  424. Notify (\_SB.PCI0.RP01, 0x00)
  425. Notify (\_SB.PCI0.RP04, 0x00)
  426. Notify (\_SB.PCI0.RP05, 0x00)
  427. Notify (\_SB.PCI0.RP06, 0x00)
  428. Notify (\_SB.PWRB, 0x02)
  429. }
  430. }
  431.  
  432. Method (P8XH, 2, Serialized)
  433. {
  434. If (LEqual (Arg0, 0x00))
  435. {
  436. Store (Or (And (P80D, 0xFFFFFF00), Arg1), P80D)
  437. }
  438.  
  439. If (LEqual (Arg0, 0x01))
  440. {
  441. Store (Or (And (P80D, 0xFFFF00FF), ShiftLeft (Arg1, 0x08)
  442. ), P80D)
  443. }
  444.  
  445. If (LEqual (Arg0, 0x02))
  446. {
  447. Store (Or (And (P80D, 0xFF00FFFF), ShiftLeft (Arg1, 0x10)
  448. ), P80D)
  449. }
  450.  
  451. If (LEqual (Arg0, 0x03))
  452. {
  453. Store (Or (And (P80D, 0x00FFFFFF), ShiftLeft (Arg1, 0x18)
  454. ), P80D)
  455. }
  456.  
  457. Store (P80D, P80H)
  458. }
  459.  
  460. Method (PNOT, 0, Serialized)
  461. {
  462. If (MPEN)
  463. {
  464. If (And (PDC0, 0x08))
  465. {
  466. Notify (\_PR.CPU0, 0x80)
  467. If (And (PDC0, 0x10))
  468. {
  469. Sleep (0x64)
  470. Notify (\_PR.CPU0, 0x81)
  471. }
  472. }
  473.  
  474. If (And (PDC1, 0x08))
  475. {
  476. Notify (\_PR.CPU1, 0x80)
  477. If (And (PDC1, 0x10))
  478. {
  479. Sleep (0x64)
  480. Notify (\_PR.CPU1, 0x81)
  481. }
  482. }
  483. }
  484. Else
  485. {
  486. Notify (\_PR.CPU0, 0x80)
  487. Sleep (0x64)
  488. Notify (\_PR.CPU0, 0x81)
  489. }
  490. }
  491.  
  492. Method (TRAP, 2, Serialized)
  493. {
  494. Store (Arg1, SMIF)
  495. If (LEqual (Arg0, 0x01))
  496. {
  497. Store (0x00, TRP0)
  498. Return (SMIF)
  499. }
  500.  
  501. If (LEqual (Arg0, 0x02))
  502. {
  503. Store (0x00, TRPD)
  504. Return (SMIF)
  505. }
  506.  
  507. Return (0x01)
  508. }
  509.  
  510. Method (CREV, 0, NotSerialized)
  511. {
  512. Return (\_SB.PCI0.LPCB.REVI)
  513. }
  514.  
  515. Scope (\_SB)
  516. {
  517. Method (_INI, 0, NotSerialized)
  518. {
  519. PINI ()
  520. }
  521.  
  522. Device (ADP1)
  523. {
  524. Name (_HID, "ACPI0003")
  525. Name (_PRW, Package (0x02)
  526. {
  527. 0x3E,
  528. 0x03
  529. })
  530. Method (_PSR, 0, NotSerialized)
  531. {
  532. Return (PWRS)
  533. }
  534.  
  535. Method (_PCL, 0, NotSerialized)
  536. {
  537. Return (\_SB)
  538. }
  539.  
  540. Method (_PSW, 1, NotSerialized)
  541. {
  542. If (OSDW ())
  543. {
  544. If (\_SB.PCI0.LPCB.EC.ECOK)
  545. {
  546. If (Arg0)
  547. {
  548. Store (0x01, \_SB.PCI0.LPCB.EC.ACWK)
  549. }
  550. Else
  551. {
  552. Store (0x00, \_SB.PCI0.LPCB.EC.ACWK)
  553. }
  554. }
  555. }
  556. }
  557. }
  558.  
  559. Device (LID0)
  560. {
  561. Name (_HID, EisaId ("PNP0C0D"))
  562. Name (_PRW, Package (0x02)
  563. {
  564. 0x3E,
  565. 0x03
  566. })
  567. Method (_LID, 0, NotSerialized)
  568. {
  569. Return (LIDS)
  570. }
  571.  
  572. Method (_PSW, 1, NotSerialized)
  573. {
  574. If (\_SB.PCI0.LPCB.EC.ECOK)
  575. {
  576. If (Arg0)
  577. {
  578. Store (0x01, \_SB.PCI0.LPCB.EC.LWAK)
  579. }
  580. Else
  581. {
  582. Store (0x00, \_SB.PCI0.LPCB.EC.LWAK)
  583. }
  584. }
  585. }
  586. }
  587.  
  588. Device (PNLF)
  589. {
  590. Name (_HID, EisaId ("APP0002"))
  591. Name (_CID, "backlight")
  592. Name (_UID, 0x0A)
  593. Name (_STA, 0x0B)
  594. }
  595.  
  596. Device (PWRB)
  597. {
  598. Name (_HID, EisaId ("PNP0C0C"))
  599. }
  600.  
  601. Device (SLPB)
  602. {
  603. Name (_HID, EisaId ("PNP0C0E"))
  604. Name (_STA, 0x0B)
  605. }
  606.  
  607. Device (PCI0)
  608. {
  609. Method (_INI, 0, NotSerialized)
  610. {
  611. If (OSDW ())
  612. {
  613. \_SB.PCI0.SBUS.ENAB ()
  614. }
  615. }
  616.  
  617. Method (_S3D, 0, NotSerialized)
  618. {
  619. Return (0x03)
  620. }
  621.  
  622. Method (_S4D, 0, NotSerialized)
  623. {
  624. Return (0x03)
  625. }
  626.  
  627. Name (_ADR, 0x00)
  628. Name (_HID, EisaId ("PNP0A03"))
  629. Method (_STA, 0, NotSerialized)
  630. {
  631. Return (0x0F)
  632. }
  633.  
  634. Device (MCHC)
  635. {
  636. Name (_ADR, 0x00)
  637. }
  638.  
  639. Device (MCH2)
  640. {
  641. Name (_ADR, 0x01)
  642. }
  643.  
  644. Name (BUF0, ResourceTemplate ()
  645. {
  646. WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
  647. 0x0000, // Granularity
  648. 0x0000, // Range Minimum
  649. 0x00FF, // Range Maximum
  650. 0x0000, // Translation Offset
  651. 0x0100, // Length
  652. ,, )
  653. IO (Decode16,
  654. 0x0CF8, // Range Minimum
  655. 0x0CFF, // Range Maximum
  656. 0x01, // Alignment
  657. 0x08, // Length
  658. )
  659. WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  660. 0x0000, // Granularity
  661. 0x0000, // Range Minimum
  662. 0x0CF7, // Range Maximum
  663. 0x0000, // Translation Offset
  664. 0x0CF8, // Length
  665. ,, , TypeStatic)
  666. WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  667. 0x0000, // Granularity
  668. 0x0D00, // Range Minimum
  669. 0xFFFF, // Range Maximum
  670. 0x0000, // Translation Offset
  671. 0xF300, // Length
  672. ,, , TypeStatic)
  673. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  674. 0x00000000, // Granularity
  675. 0x000A0000, // Range Minimum
  676. 0x000BFFFF, // Range Maximum
  677. 0x00000000, // Translation Offset
  678. 0x00020000, // Length
  679. ,, , AddressRangeMemory, TypeStatic)
  680. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  681. 0x00000000, // Granularity
  682. 0x000C0000, // Range Minimum
  683. 0x000C3FFF, // Range Maximum
  684. 0x00000000, // Translation Offset
  685. 0x00004000, // Length
  686. ,, , AddressRangeMemory, TypeStatic)
  687. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  688. 0x00000000, // Granularity
  689. 0x000C4000, // Range Minimum
  690. 0x000C7FFF, // Range Maximum
  691. 0x00000000, // Translation Offset
  692. 0x00004000, // Length
  693. ,, , AddressRangeMemory, TypeStatic)
  694. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  695. 0x00000000, // Granularity
  696. 0x000C8000, // Range Minimum
  697. 0x000CBFFF, // Range Maximum
  698. 0x00000000, // Translation Offset
  699. 0x00004000, // Length
  700. ,, , AddressRangeMemory, TypeStatic)
  701. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  702. 0x00000000, // Granularity
  703. 0x000CC000, // Range Minimum
  704. 0x000CFFFF, // Range Maximum
  705. 0x00000000, // Translation Offset
  706. 0x00004000, // Length
  707. ,, , AddressRangeMemory, TypeStatic)
  708. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  709. 0x00000000, // Granularity
  710. 0x000D0000, // Range Minimum
  711. 0x000D3FFF, // Range Maximum
  712. 0x00000000, // Translation Offset
  713. 0x00004000, // Length
  714. ,, , AddressRangeMemory, TypeStatic)
  715. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  716. 0x00000000, // Granularity
  717. 0x000D4000, // Range Minimum
  718. 0x000D7FFF, // Range Maximum
  719. 0x00000000, // Translation Offset
  720. 0x00004000, // Length
  721. ,, , AddressRangeMemory, TypeStatic)
  722. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  723. 0x00000000, // Granularity
  724. 0x000D8000, // Range Minimum
  725. 0x000DBFFF, // Range Maximum
  726. 0x00000000, // Translation Offset
  727. 0x00004000, // Length
  728. ,, , AddressRangeMemory, TypeStatic)
  729. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  730. 0x00000000, // Granularity
  731. 0x000DC000, // Range Minimum
  732. 0x000DFFFF, // Range Maximum
  733. 0x00000000, // Translation Offset
  734. 0x00004000, // Length
  735. ,, , AddressRangeMemory, TypeStatic)
  736. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  737. 0x00000000, // Granularity
  738. 0x000E0000, // Range Minimum
  739. 0x000E3FFF, // Range Maximum
  740. 0x00000000, // Translation Offset
  741. 0x00004000, // Length
  742. ,, , AddressRangeMemory, TypeStatic)
  743. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  744. 0x00000000, // Granularity
  745. 0x000E4000, // Range Minimum
  746. 0x000E7FFF, // Range Maximum
  747. 0x00000000, // Translation Offset
  748. 0x00004000, // Length
  749. ,, , AddressRangeMemory, TypeStatic)
  750. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  751. 0x00000000, // Granularity
  752. 0x000E8000, // Range Minimum
  753. 0x000EBFFF, // Range Maximum
  754. 0x00000000, // Translation Offset
  755. 0x00004000, // Length
  756. ,, , AddressRangeMemory, TypeStatic)
  757. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  758. 0x00000000, // Granularity
  759. 0x000EC000, // Range Minimum
  760. 0x000EFFFF, // Range Maximum
  761. 0x00000000, // Translation Offset
  762. 0x00004000, // Length
  763. ,, , AddressRangeMemory, TypeStatic)
  764. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  765. 0x00000000, // Granularity
  766. 0x000F0000, // Range Minimum
  767. 0x000FFFFF, // Range Maximum
  768. 0x00000000, // Translation Offset
  769. 0x00010000, // Length
  770. ,, , AddressRangeMemory, TypeStatic)
  771. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  772. 0x00000000, // Granularity
  773. 0x00000000, // Range Minimum
  774. 0xFEBFFFFF, // Range Maximum
  775. 0x00000000, // Translation Offset
  776. 0x00000000, // Length
  777. ,, _Y00, AddressRangeMemory, TypeStatic)
  778. })
  779. Method (_CRS, 0, Serialized)
  780. {
  781. CreateDWordField (BUF0, \_SB.PCI0._Y00._MIN, M1MN)
  782. CreateDWordField (BUF0, \_SB.PCI0._Y00._MAX, M1MX)
  783. CreateDWordField (BUF0, \_SB.PCI0._Y00._LEN, M1LN)
  784. ShiftLeft (\_SB.PCI0.CMC2.TOLM, 0x1B, M1MN)
  785. Add (Subtract (M1MX, M1MN), 0x01, M1LN)
  786. Return (BUF0)
  787. }
  788.  
  789. Method (_OSC, 4, NotSerialized)
  790. {
  791. CreateDWordField (Arg3, 0x00, CDW1)
  792. If (LEqual (Arg0, Buffer (0x10)
  793. {
  794. /* 0000 */ 0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40,
  795. /* 0008 */ 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66
  796. }))
  797. {
  798. If (LGreaterEqual (Arg2, 0x03))
  799. {
  800. Name (SUPP, 0x00)
  801. Name (CTRL, 0x00)
  802. Store (0x03, Local0)
  803. CreateDWordField (Arg3, 0x04, CDW2)
  804. CreateDWordField (Arg3, 0x08, CDW3)
  805. Store (CDW2, SUPP)
  806. Store (CDW3, CTRL)
  807. And (CTRL, 0x1D, CTRL)
  808. If (LNotEqual (And (SUPP, 0x16), 0x16))
  809. {
  810. And (CTRL, 0x1E, CTRL)
  811. }
  812.  
  813. If (LNot (And (CDW1, 0x01)))
  814. {
  815. If (And (CTRL, 0x01))
  816. {
  817. And (Local0, 0x0E, Local0)
  818. }
  819.  
  820. If (And (CTRL, 0x04))
  821. {
  822. And (Local0, 0x0D, Local0)
  823. }
  824.  
  825. If (And (CTRL, 0x10)) {}
  826. }
  827.  
  828. If (LNotEqual (Arg1, One))
  829. {
  830. Or (CDW1, 0x08, CDW1)
  831. }
  832.  
  833. If (LNotEqual (CDW3, CTRL))
  834. {
  835. Or (CDW1, 0x10, CDW1)
  836. }
  837.  
  838. Store (CTRL, CDW3)
  839. }
  840. Else
  841. {
  842. Or (CDW1, 0x02, CDW1)
  843. }
  844. }
  845. Else
  846. {
  847. Or (CDW1, 0x04, CDW1)
  848. }
  849.  
  850. Return (Arg3)
  851. }
  852.  
  853. Method (_PRT, 0, NotSerialized)
  854. {
  855. If (OSDW ())
  856. {
  857. Return (Package (0x15)
  858. {
  859. Package (0x04)
  860. {
  861. 0x0003FFFF,
  862. 0x00,
  863. \_SB.PCI0.LSMB,
  864. 0x00
  865. },
  866.  
  867. Package (0x04)
  868. {
  869. 0x0003FFFF,
  870. 0x01,
  871. \_SB.PCI0.LPMU,
  872. 0x00
  873. },
  874.  
  875. Package (0x04)
  876. {
  877. 0x0004FFFF,
  878. 0x00,
  879. \_SB.PCI0.LUS0,
  880. 0x00
  881. },
  882.  
  883. Package (0x04)
  884. {
  885. 0x0004FFFF,
  886. 0x01,
  887. \_SB.PCI0.LUS2,
  888. 0x00
  889. },
  890.  
  891. Package (0x04)
  892. {
  893. 0x0006FFFF,
  894. 0x00,
  895. \_SB.PCI0.Z000,
  896. 0x00
  897. },
  898.  
  899. Package (0x04)
  900. {
  901. 0x0006FFFF,
  902. 0x01,
  903. \_SB.PCI0.Z001,
  904. 0x00
  905. },
  906.  
  907. Package (0x04)
  908. {
  909. 0x0008FFFF,
  910. 0x00,
  911. \_SB.PCI0.LAZA,
  912. 0x00
  913. },
  914.  
  915. Package (0x04)
  916. {
  917. 0x000AFFFF,
  918. 0x00,
  919. \_SB.PCI0.LMAC,
  920. 0x00
  921. },
  922.  
  923. Package (0x04)
  924. {
  925. 0x000BFFFF,
  926. 0x00,
  927. \_SB.PCI0.LSI0,
  928. 0x00
  929. },
  930.  
  931. Package (0x04)
  932. {
  933. 0x000CFFFF,
  934. 0x00,
  935. \_SB.PCI0.Z003,
  936. 0x00
  937. },
  938.  
  939. Package (0x04)
  940. {
  941. 0x000CFFFF,
  942. 0x01,
  943. \_SB.PCI0.Z004,
  944. 0x00
  945. },
  946.  
  947. Package (0x04)
  948. {
  949. 0x000CFFFF,
  950. 0x02,
  951. \_SB.PCI0.Z005,
  952. 0x00
  953. },
  954.  
  955. Package (0x04)
  956. {
  957. 0x000CFFFF,
  958. 0x03,
  959. \_SB.PCI0.Z006,
  960. 0x00
  961. },
  962.  
  963. Package (0x04)
  964. {
  965. 0x0015FFFF,
  966. 0x00,
  967. \_SB.PCI0.Z00F,
  968. 0x00
  969. },
  970.  
  971. Package (0x04)
  972. {
  973. 0x0015FFFF,
  974. 0x01,
  975. \_SB.PCI0.Z00G,
  976. 0x00
  977. },
  978.  
  979. Package (0x04)
  980. {
  981. 0x0015FFFF,
  982. 0x02,
  983. \_SB.PCI0.Z00H,
  984. 0x00
  985. },
  986.  
  987. Package (0x04)
  988. {
  989. 0x0015FFFF,
  990. 0x03,
  991. \_SB.PCI0.Z00I,
  992. 0x00
  993. },
  994.  
  995. Package (0x04)
  996. {
  997. 0x0016FFFF,
  998. 0x00,
  999. \_SB.PCI0.Z00J,
  1000. 0x00
  1001. },
  1002.  
  1003. Package (0x04)
  1004. {
  1005. 0x0016FFFF,
  1006. 0x01,
  1007. \_SB.PCI0.Z00K,
  1008. 0x00
  1009. },
  1010.  
  1011. Package (0x04)
  1012. {
  1013. 0x0016FFFF,
  1014. 0x02,
  1015. \_SB.PCI0.Z00L,
  1016. 0x00
  1017. },
  1018.  
  1019. Package (0x04)
  1020. {
  1021. 0x0016FFFF,
  1022. 0x03,
  1023. \_SB.PCI0.Z00M,
  1024. 0x00
  1025. }
  1026. })
  1027. }
  1028. Else
  1029. {
  1030. Return (Package (0x19)
  1031. {
  1032. Package (0x04)
  1033. {
  1034. 0x0003FFFF,
  1035. 0x00,
  1036. \_SB.PCI0.LSMB,
  1037. 0x00
  1038. },
  1039.  
  1040. Package (0x04)
  1041. {
  1042. 0x0003FFFF,
  1043. 0x01,
  1044. \_SB.PCI0.LPMU,
  1045. 0x00
  1046. },
  1047.  
  1048. Package (0x04)
  1049. {
  1050. 0x0004FFFF,
  1051. 0x00,
  1052. \_SB.PCI0.LUS0,
  1053. 0x00
  1054. },
  1055.  
  1056. Package (0x04)
  1057. {
  1058. 0x0004FFFF,
  1059. 0x01,
  1060. \_SB.PCI0.LUS2,
  1061. 0x00
  1062. },
  1063.  
  1064. Package (0x04)
  1065. {
  1066. 0x0006FFFF,
  1067. 0x00,
  1068. \_SB.PCI0.Z000,
  1069. 0x00
  1070. },
  1071.  
  1072. Package (0x04)
  1073. {
  1074. 0x0006FFFF,
  1075. 0x01,
  1076. \_SB.PCI0.Z001,
  1077. 0x00
  1078. },
  1079.  
  1080. Package (0x04)
  1081. {
  1082. 0x0008FFFF,
  1083. 0x00,
  1084. \_SB.PCI0.LAZA,
  1085. 0x00
  1086. },
  1087.  
  1088. Package (0x04)
  1089. {
  1090. 0x000AFFFF,
  1091. 0x00,
  1092. \_SB.PCI0.LMAC,
  1093. 0x00
  1094. },
  1095.  
  1096. Package (0x04)
  1097. {
  1098. 0x000BFFFF,
  1099. 0x00,
  1100. \_SB.PCI0.LSI0,
  1101. 0x00
  1102. },
  1103.  
  1104. Package (0x04)
  1105. {
  1106. 0x000CFFFF,
  1107. 0x00,
  1108. \_SB.PCI0.Z003,
  1109. 0x00
  1110. },
  1111.  
  1112. Package (0x04)
  1113. {
  1114. 0x000CFFFF,
  1115. 0x01,
  1116. \_SB.PCI0.Z004,
  1117. 0x00
  1118. },
  1119.  
  1120. Package (0x04)
  1121. {
  1122. 0x000CFFFF,
  1123. 0x02,
  1124. \_SB.PCI0.Z005,
  1125. 0x00
  1126. },
  1127.  
  1128. Package (0x04)
  1129. {
  1130. 0x000CFFFF,
  1131. 0x03,
  1132. \_SB.PCI0.Z006,
  1133. 0x00
  1134. },
  1135.  
  1136. Package (0x04)
  1137. {
  1138. 0x0015FFFF,
  1139. 0x00,
  1140. \_SB.PCI0.Z00F,
  1141. 0x00
  1142. },
  1143.  
  1144. Package (0x04)
  1145. {
  1146. 0x0015FFFF,
  1147. 0x01,
  1148. \_SB.PCI0.Z00G,
  1149. 0x00
  1150. },
  1151.  
  1152. Package (0x04)
  1153. {
  1154. 0x0015FFFF,
  1155. 0x02,
  1156. \_SB.PCI0.Z00H,
  1157. 0x00
  1158. },
  1159.  
  1160. Package (0x04)
  1161. {
  1162. 0x0015FFFF,
  1163. 0x03,
  1164. \_SB.PCI0.Z00I,
  1165. 0x00
  1166. },
  1167.  
  1168. Package (0x04)
  1169. {
  1170. 0x0016FFFF,
  1171. 0x00,
  1172. \_SB.PCI0.Z00J,
  1173. 0x00
  1174. },
  1175.  
  1176. Package (0x04)
  1177. {
  1178. 0x0016FFFF,
  1179. 0x01,
  1180. \_SB.PCI0.Z00K,
  1181. 0x00
  1182. },
  1183.  
  1184. Package (0x04)
  1185. {
  1186. 0x0016FFFF,
  1187. 0x02,
  1188. \_SB.PCI0.Z00L,
  1189. 0x00
  1190. },
  1191.  
  1192. Package (0x04)
  1193. {
  1194. 0x0016FFFF,
  1195. 0x03,
  1196. \_SB.PCI0.Z00M,
  1197. 0x00
  1198. },
  1199.  
  1200. Package (0x04)
  1201. {
  1202. 0x0017FFFF,
  1203. 0x00,
  1204. \_SB.PCI0.Z00N,
  1205. 0x00
  1206. },
  1207.  
  1208. Package (0x04)
  1209. {
  1210. 0x0017FFFF,
  1211. 0x01,
  1212. \_SB.PCI0.Z00O,
  1213. 0x00
  1214. },
  1215.  
  1216. Package (0x04)
  1217. {
  1218. 0x0017FFFF,
  1219. 0x02,
  1220. \_SB.PCI0.Z00P,
  1221. 0x00
  1222. },
  1223.  
  1224. Package (0x04)
  1225. {
  1226. 0x0017FFFF,
  1227. 0x03,
  1228. \_SB.PCI0.Z00Q,
  1229. 0x00
  1230. }
  1231. })
  1232. }
  1233. }
  1234.  
  1235. Device (PDRC)
  1236. {
  1237. Name (_HID, EisaId ("PNP0C02"))
  1238. Name (_UID, 0x01)
  1239. Name (BUF0, ResourceTemplate ()
  1240. {
  1241. Memory32Fixed (ReadWrite,
  1242. 0x00000000, // Address Base
  1243. 0x00000000, // Address Length
  1244. _Y01)
  1245. Memory32Fixed (ReadWrite,
  1246. 0xF0000000, // Address Base
  1247. 0x04000000, // Address Length
  1248. )
  1249. })
  1250. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y01._BAS, MBAS)
  1251. CreateDWordField (BUF0, \_SB.PCI0.PDRC._Y01._LEN, MBLE)
  1252. Method (_CRS, 0, NotSerialized)
  1253. {
  1254. Return (BUF0)
  1255. }
  1256. }
  1257.  
  1258. Device (LPCB)
  1259. {
  1260. Name (_ADR, 0x00030000)
  1261. OperationRegion (P8, PCI_Config, 0x08, 0x01)
  1262. Field (P8, AnyAcc, NoLock, Preserve)
  1263. {
  1264. REVI, 8
  1265. }
  1266.  
  1267. OperationRegion (P44, PCI_Config, 0x44, 0x04)
  1268. Field (P44, AnyAcc, NoLock, Preserve)
  1269. {
  1270. MTBA, 32
  1271. }
  1272.  
  1273. OperationRegion (MMTO, PCI_Config, 0x74, 0x04)
  1274. Field (MMTO, DWordAcc, NoLock, Preserve)
  1275. {
  1276. MTSE, 32
  1277. }
  1278.  
  1279. Device (SMC)
  1280. {
  1281. Name (_HID, EisaId ("APP0001"))
  1282. Name (_CID, "smc-mcp")
  1283. Name (_STA, 0x0B)
  1284. Name (_CRS, ResourceTemplate ()
  1285. {
  1286. IO (Decode16,
  1287. 0x0300, // Range Minimum
  1288. 0x0300, // Range Maximum
  1289. 0x01, // Alignment
  1290. 0x20, // Length
  1291. )
  1292. IRQNoFlags ()
  1293. {6}
  1294. })
  1295. Device (ALS0)
  1296. {
  1297. Name (_HID, "ACPI0008")
  1298. Name (_CID, "smc-als")
  1299. Method (_ALI, 0, NotSerialized)
  1300. {
  1301. Return (0x012C)
  1302. }
  1303.  
  1304. Name (_ALR, Package (0x03)
  1305. {
  1306. Package (0x02)
  1307. {
  1308. 0x46,
  1309. 0x00
  1310. },
  1311.  
  1312. Package (0x02)
  1313. {
  1314. 0x64,
  1315. 0x012C
  1316. },
  1317.  
  1318. Package (0x02)
  1319. {
  1320. 0x96,
  1321. 0x03E8
  1322. }
  1323. })
  1324. }
  1325.  
  1326. Device (SMS0)
  1327. {
  1328. Name (_HID, EisaId ("APP0003"))
  1329. Name (_CID, "smc-sms")
  1330. Method (_DSM, 4, NotSerialized)
  1331. {
  1332. Store (Package (0x03)
  1333. {
  1334. "disk-sense-level",
  1335. 0x01,
  1336. Buffer (0x01)
  1337. {
  1338. 0x00
  1339. }
  1340. }, Local0)
  1341. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1342. Return (Local0)
  1343. }
  1344. }
  1345. }
  1346.  
  1347. Device (EC)
  1348. {
  1349. Name (_HID, EisaId ("PNP0C09"))
  1350. Name (_UID, 0x00)
  1351. Name (_CRS, ResourceTemplate ()
  1352. {
  1353. IO (Decode16,
  1354. 0x0062, // Range Minimum
  1355. 0x0062, // Range Maximum
  1356. 0x00, // Alignment
  1357. 0x01, // Length
  1358. )
  1359. IO (Decode16,
  1360. 0x0066, // Range Minimum
  1361. 0x0066, // Range Maximum
  1362. 0x00, // Alignment
  1363. 0x01, // Length
  1364. )
  1365. })
  1366. Name (_GPE, 0x3F)
  1367. Name (_PRW, Package (0x02)
  1368. {
  1369. 0x3E,
  1370. 0x03
  1371. })
  1372. Name (ECOK, 0x00)
  1373. OperationRegion (ECOR, EmbeddedControl, 0x00, 0xFF)
  1374. Field (ECOR, ByteAcc, Lock, Preserve)
  1375. {
  1376. ECVS, 8,
  1377. LSTE, 1,
  1378. RPWR, 1,
  1379. CDIN, 1,
  1380. Offset (0x02),
  1381. LWAK, 1,
  1382. ACWK, 1,
  1383. CDWK, 1,
  1384. Offset (0x03),
  1385. Offset (0x10),
  1386. ECSS, 8,
  1387. PLIM, 8,
  1388. Offset (0x20),
  1389. SPTR, 8,
  1390. SSTS, 8,
  1391. SADR, 8,
  1392. SCMD, 8,
  1393. SBFR, 256,
  1394. SCNT, 8,
  1395. SAAD, 8,
  1396. SAD0, 8,
  1397. SAD1, 8,
  1398. SMUX, 8
  1399. }
  1400.  
  1401. Field (ECOR, ByteAcc, Lock, Preserve)
  1402. {
  1403. Offset (0x24),
  1404. SBDW, 16,
  1405. Offset (0x46),
  1406. SADW, 16
  1407. }
  1408.  
  1409. Device (SMB0)
  1410. {
  1411. Name (_HID, "ACPI0001")
  1412. Name (_EC, 0x2010)
  1413. Mutex (SMTX, 0x00)
  1414. Method (_STA, 0, NotSerialized)
  1415. {
  1416. If (OSDW ())
  1417. {
  1418. Return (0x0F)
  1419. }
  1420. Else
  1421. {
  1422. Return (0x00)
  1423. }
  1424. }
  1425.  
  1426. Device (SBS0)
  1427. {
  1428. Name (_HID, "ACPI0002")
  1429. Name (_SBS, 0x01)
  1430. }
  1431.  
  1432. Method (SBPC, 1, NotSerialized)
  1433. {
  1434. Store (Arg0, Local0)
  1435. While (Local0)
  1436. {
  1437. If (LEqual (SPTR, 0x00))
  1438. {
  1439. Return (And (SSTS, 0x1F))
  1440. }
  1441.  
  1442. Sleep (0x01)
  1443. Decrement (Local0)
  1444. }
  1445.  
  1446. Return (0x18)
  1447. }
  1448.  
  1449. Method (SBRW, 3, NotSerialized)
  1450. {
  1451. Store (One, Local0)
  1452. If (LNot (Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF)))
  1453. {
  1454. If (LEqual (SPTR, 0x00))
  1455. {
  1456. Store (ShiftLeft (Arg0, 0x01), SADR)
  1457. Store (Arg1, SCMD)
  1458. Store (0x09, SPTR)
  1459. Store (SBPC (0x03E8), Local0)
  1460. If (LNot (Local0))
  1461. {
  1462. Store (SBDW, Arg2)
  1463. }
  1464. }
  1465.  
  1466. Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX)
  1467. }
  1468.  
  1469. Return (Local0)
  1470. }
  1471.  
  1472. Method (SBRB, 3, NotSerialized)
  1473. {
  1474. Store (One, Local0)
  1475. Store (Buffer (0x01)
  1476. {
  1477. 0x00
  1478. }, Local1)
  1479. If (LNot (Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF)))
  1480. {
  1481. If (LEqual (SPTR, 0x00))
  1482. {
  1483. Store (ShiftLeft (Arg0, 0x01), SADR)
  1484. Store (Arg1, SCMD)
  1485. Store (0x0B, SPTR)
  1486. Store (SBPC (0x03E8), Local0)
  1487. If (LNot (Local0))
  1488. {
  1489. Store (SBFR, Arg2)
  1490. }
  1491. }
  1492.  
  1493. Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX)
  1494. }
  1495.  
  1496. Return (Local0)
  1497. }
  1498. }
  1499.  
  1500. Method (_Q10, 0, NotSerialized)
  1501. {
  1502. If (OSDW ())
  1503. {
  1504. Notify (\_SB.PCI0.LPCB.EC.SMB0, 0x80)
  1505. }
  1506. Else
  1507. {
  1508. If (And (SSTS, 0x40))
  1509. {
  1510. If (LNot (Acquire (\_SB.PCI0.LPCB.EC.SMB0.SMTX, 0xFFFF)))
  1511. {
  1512. Store (ShiftRight (SAAD, 0x01), Local0)
  1513. If (LEqual (Local0, 0x0A))
  1514. {
  1515. \_SB.BAT0.BNOT (SADW)
  1516. }
  1517.  
  1518. Store (0x00, SSTS)
  1519. Release (\_SB.PCI0.LPCB.EC.SMB0.SMTX)
  1520. }
  1521. }
  1522. }
  1523. }
  1524.  
  1525. Method (_Q20, 0, NotSerialized)
  1526. {
  1527. Store (LSTE, LIDS)
  1528. Notify (\_SB.LID0, 0x80)
  1529. }
  1530.  
  1531. Method (_Q21, 0, NotSerialized)
  1532. {
  1533. If (RPWR)
  1534. {
  1535. Store (0x01, PWRS)
  1536. }
  1537. Else
  1538. {
  1539. Store (0x00, PWRS)
  1540. }
  1541.  
  1542. Notify (\_SB.ADP1, 0x80)
  1543. PNOT ()
  1544. }
  1545.  
  1546. Method (_Q5A, 0, NotSerialized)
  1547. {
  1548. Notify (\_SB.SLPB, 0x80)
  1549. }
  1550.  
  1551. Method (_Q80, 0, NotSerialized)
  1552. {
  1553. PNOT ()
  1554. }
  1555.  
  1556. Method (_QCD, 0, NotSerialized)
  1557. {
  1558. If (CDIN)
  1559. {
  1560. Notify (\_SB.PCI0.SATA.PRT1, 0x81)
  1561. }
  1562. Else
  1563. {
  1564. Notify (\_SB.PCI0.SATA.PRT1, 0x82)
  1565. }
  1566. }
  1567.  
  1568. Method (_REG, 2, NotSerialized)
  1569. {
  1570. If (LOr (LEqual (Arg0, 0x03), LEqual (OSYS, 0x07D6)))
  1571. {
  1572. Store (Arg1, ECOK)
  1573. If (LEqual (Arg1, 0x01))
  1574. {
  1575. Store (0x00, ECSS)
  1576. Store (LSTE, LIDS)
  1577. Notify (\_SB.LID0, 0x80)
  1578. Store (RPWR, PWRS)
  1579. Notify (\_SB.ADP1, 0x80)
  1580. }
  1581. }
  1582. }
  1583. }
  1584.  
  1585. Scope (\_SB)
  1586. {
  1587. Device (BAT0)
  1588. {
  1589. Name (_HID, EisaId ("PNP0C0A"))
  1590. Name (_UID, 0x00)
  1591. Name (_PCL, Package (0x01)
  1592. {
  1593. \_SB
  1594. })
  1595. Name (BSSW, 0xFFFF)
  1596. Name (PBIF, Package (0x0D)
  1597. {
  1598. 0x00,
  1599. 0xFFFFFFFF,
  1600. 0xFFFFFFFF,
  1601. 0x01,
  1602. 0xFFFFFFFF,
  1603. 0xFA,
  1604. 0x64,
  1605. 0x0A,
  1606. 0x0A,
  1607. " ",
  1608. " ",
  1609. " ",
  1610. " "
  1611. })
  1612. Name (PBST, Package (0x04)
  1613. {
  1614. 0x00,
  1615. 0xFFFFFFFF,
  1616. 0xFFFFFFFF,
  1617. 0xFFFFFFFF
  1618. })
  1619. Method (_STA, 0, NotSerialized)
  1620. {
  1621. If (OSDW ())
  1622. {
  1623. Return (0x00)
  1624. }
  1625.  
  1626. If (\_SB.PCI0.LPCB.EC.ECOK)
  1627. {
  1628. UBSS ()
  1629. If (And (BSSW, 0x01))
  1630. {
  1631. Return (0x1F)
  1632. }
  1633. Else
  1634. {
  1635. Return (0x0F)
  1636. }
  1637. }
  1638. Else
  1639. {
  1640. Return (0x0F)
  1641. }
  1642. }
  1643.  
  1644. Method (_BST, 0, NotSerialized)
  1645. {
  1646. If (And (BSSW, 0x01))
  1647. {
  1648. UBST ()
  1649. }
  1650. Else
  1651. {
  1652. Store (0x00, Index (PBST, 0x00))
  1653. Store (0xFFFFFFFF, Index (PBST, 0x01))
  1654. Store (0xFFFFFFFF, Index (PBST, 0x02))
  1655. }
  1656.  
  1657. Return (PBST)
  1658. }
  1659.  
  1660. Method (_BIF, 0, NotSerialized)
  1661. {
  1662. If (And (BSSW, 0x01))
  1663. {
  1664. UBIF ()
  1665. }
  1666.  
  1667. Return (PBIF)
  1668. }
  1669.  
  1670. Method (BNOT, 1, NotSerialized)
  1671. {
  1672. Store (BSSW, Local0)
  1673. Store (Arg0, BSSW)
  1674. Notify (\_SB.BAT0, 0x80)
  1675. If (And (XOr (Local0, Arg0), 0x01))
  1676. {
  1677. Notify (\_SB.BAT0, 0x81)
  1678. }
  1679. }
  1680.  
  1681. Method (UBSS, 0, NotSerialized)
  1682. {
  1683. \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0A, 0x01, RefOf (BSSW))
  1684. }
  1685.  
  1686. Method (UBIF, 0, NotSerialized)
  1687. {
  1688. \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x18, RefOf (Local0))
  1689. Multiply (Local0, 0x0A, Index (PBIF, 0x01))
  1690. \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x10, RefOf (Local0))
  1691. Multiply (Local0, 0x0A, Index (PBIF, 0x02))
  1692. \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x19, RefOf (Local0))
  1693. Store (Local0, Index (PBIF, 0x04))
  1694. \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x21, RefOf (Local0))
  1695. Store (Local0, Index (PBIF, 0x09))
  1696. Store (Buffer (0x01)
  1697. {
  1698. 0x00
  1699. }, Index (PBIF, 0x0A))
  1700. \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x22, RefOf (Local0))
  1701. Store (Local0, Index (PBIF, 0x0B))
  1702. \_SB.PCI0.LPCB.EC.SMB0.SBRB (0x0B, 0x20, RefOf (Local0))
  1703. Store (Local0, Index (PBIF, 0x0C))
  1704. }
  1705.  
  1706. Method (UBST, 0, NotSerialized)
  1707. {
  1708. \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x09, RefOf (Local2))
  1709. Store (Local2, Index (PBST, 0x03))
  1710. \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x0A, RefOf (Local0))
  1711. If (And (Local0, 0x8000))
  1712. {
  1713. Not (Local0, Local0)
  1714. And (Increment (Local0), 0xFFFF, Local0)
  1715. }
  1716.  
  1717. Multiply (Local0, Local2, Local0)
  1718. Divide (Local0, 0x03E8, , Index (PBST, 0x01))
  1719. \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x0F, RefOf (Local0))
  1720. Multiply (Local0, 0x0A, Index (PBST, 0x02))
  1721. Store (0x00, Local1)
  1722. If (PWRS)
  1723. {
  1724. \_SB.PCI0.LPCB.EC.SMB0.SBRW (0x0B, 0x16, RefOf (Local0))
  1725. If (LNot (And (Local0, 0x40)))
  1726. {
  1727. Store (0x02, Local1)
  1728. }
  1729. }
  1730. Else
  1731. {
  1732. Store (0x01, Local1)
  1733. }
  1734.  
  1735. Store (Local1, Index (PBST, 0x00))
  1736. }
  1737. }
  1738. }
  1739.  
  1740. Device (DMAC)
  1741. {
  1742. Name (_HID, EisaId ("PNP0200"))
  1743. Name (_CRS, ResourceTemplate ()
  1744. {
  1745. IO (Decode16,
  1746. 0x0000, // Range Minimum
  1747. 0x0000, // Range Maximum
  1748. 0x01, // Alignment
  1749. 0x09, // Length
  1750. )
  1751. IO (Decode16,
  1752. 0x000A, // Range Minimum
  1753. 0x000A, // Range Maximum
  1754. 0x01, // Alignment
  1755. 0x06, // Length
  1756. )
  1757. IO (Decode16,
  1758. 0x0081, // Range Minimum
  1759. 0x0081, // Range Maximum
  1760. 0x01, // Alignment
  1761. 0x03, // Length
  1762. )
  1763. IO (Decode16,
  1764. 0x0087, // Range Minimum
  1765. 0x0087, // Range Maximum
  1766. 0x01, // Alignment
  1767. 0x01, // Length
  1768. )
  1769. IO (Decode16,
  1770. 0x0089, // Range Minimum
  1771. 0x0089, // Range Maximum
  1772. 0x01, // Alignment
  1773. 0x03, // Length
  1774. )
  1775. IO (Decode16,
  1776. 0x008F, // Range Minimum
  1777. 0x008F, // Range Maximum
  1778. 0x01, // Alignment
  1779. 0x01, // Length
  1780. )
  1781. IO (Decode16,
  1782. 0x00C0, // Range Minimum
  1783. 0x00C0, // Range Maximum
  1784. 0x01, // Alignment
  1785. 0x12, // Length
  1786. )
  1787. IO (Decode16,
  1788. 0x00D4, // Range Minimum
  1789. 0x00D4, // Range Maximum
  1790. 0x01, // Alignment
  1791. 0x0C, // Length
  1792. )
  1793. DMA (Compatibility, NotBusMaster, Transfer8_16, )
  1794. {4}
  1795. })
  1796. }
  1797.  
  1798. Device (HPET)
  1799. {
  1800. Name (_HID, EisaId ("PNP0103"))
  1801. Name (_CID, EisaId ("PNP0C01"))
  1802. Name (BUF0, ResourceTemplate ()
  1803. {
  1804. IRQNoFlags ()
  1805. {0}
  1806. IRQNoFlags ()
  1807. {8}
  1808. Memory32Fixed (ReadOnly,
  1809. 0xFED00000, // Address Base
  1810. 0x00000400, // Address Length
  1811. _Y02)
  1812. })
  1813. Name (BUF1, ResourceTemplate ()
  1814. {
  1815. })
  1816. Method (_STA, 0, NotSerialized)
  1817. {
  1818. If (LGreaterEqual (OSYS, 0x07D1))
  1819. {
  1820. If (And (\_SB.PCI0.LPCB.MTSE, 0x04))
  1821. {
  1822. Return (0x0F)
  1823. }
  1824. }
  1825. Else
  1826. {
  1827. If (And (\_SB.PCI0.LPCB.MTSE, 0x04))
  1828. {
  1829. Return (0x0B)
  1830. }
  1831. }
  1832.  
  1833. Return (0x00)
  1834. }
  1835.  
  1836. Method (_CRS, 0, Serialized)
  1837. {
  1838. If (And (\_SB.PCI0.LPCB.MTSE, 0x04))
  1839. {
  1840. CreateDWordField (BUF0, \_SB.PCI0.LPCB.HPET._Y02._BAS, HPT0)
  1841. Store (\_SB.PCI0.LPCB.MTBA, HPT0)
  1842. Return (BUF0)
  1843. }
  1844.  
  1845. Return (BUF1)
  1846. }
  1847. }
  1848.  
  1849. Device (IPIC)
  1850. {
  1851. Name (_HID, EisaId ("PNP0000"))
  1852. Name (_CRS, ResourceTemplate ()
  1853. {
  1854. IO (Decode16,
  1855. 0x0020, // Range Minimum
  1856. 0x0020, // Range Maximum
  1857. 0x01, // Alignment
  1858. 0x02, // Length
  1859. )
  1860. IO (Decode16,
  1861. 0x00A0, // Range Minimum
  1862. 0x00A0, // Range Maximum
  1863. 0x01, // Alignment
  1864. 0x01, // Length
  1865. )
  1866. IRQNoFlags ()
  1867. {2}
  1868. })
  1869. }
  1870.  
  1871. Device (MATH)
  1872. {
  1873. Name (_HID, EisaId ("PNP0C04"))
  1874. Name (_CRS, ResourceTemplate ()
  1875. {
  1876. IO (Decode16,
  1877. 0x00F0, // Range Minimum
  1878. 0x00F0, // Range Maximum
  1879. 0x01, // Alignment
  1880. 0x02, // Length
  1881. )
  1882. IRQNoFlags ()
  1883. {13}
  1884. })
  1885. }
  1886.  
  1887. Device (LDRC)
  1888. {
  1889. Name (_HID, EisaId ("PNP0C02"))
  1890. Name (_UID, 0x02)
  1891. Name (BUF0, ResourceTemplate ()
  1892. {
  1893. IO (Decode16,
  1894. 0x0400, // Range Minimum
  1895. 0x0400, // Range Maximum
  1896. 0x01, // Alignment
  1897. 0x80, // Length
  1898. _Y03)
  1899. IO (Decode16,
  1900. 0x0400, // Range Minimum
  1901. 0x0400, // Range Maximum
  1902. 0x01, // Alignment
  1903. 0x80, // Length
  1904. _Y04)
  1905. IO (Decode16,
  1906. 0x0500, // Range Minimum
  1907. 0x0500, // Range Maximum
  1908. 0x01, // Alignment
  1909. 0x80, // Length
  1910. _Y05)
  1911. IO (Decode16,
  1912. 0x0500, // Range Minimum
  1913. 0x0500, // Range Maximum
  1914. 0x01, // Alignment
  1915. 0x80, // Length
  1916. _Y06)
  1917. IO (Decode16,
  1918. 0x0800, // Range Minimum
  1919. 0x0800, // Range Maximum
  1920. 0x01, // Alignment
  1921. 0x80, // Length
  1922. _Y07)
  1923. IO (Decode16,
  1924. 0x0800, // Range Minimum
  1925. 0x0800, // Range Maximum
  1926. 0x01, // Alignment
  1927. 0x80, // Length
  1928. _Y08)
  1929. IO (Decode16,
  1930. 0x0B00, // Range Minimum
  1931. 0x0B00, // Range Maximum
  1932. 0x01, // Alignment
  1933. 0x40, // Length
  1934. _Y09)
  1935. IO (Decode16,
  1936. 0x0A00, // Range Minimum
  1937. 0x0A00, // Range Maximum
  1938. 0x01, // Alignment
  1939. 0x40, // Length
  1940. _Y0A)
  1941. IO (Decode16,
  1942. 0x0010, // Range Minimum
  1943. 0x0010, // Range Maximum
  1944. 0x01, // Alignment
  1945. 0x10, // Length
  1946. )
  1947. IO (Decode16,
  1948. 0x0022, // Range Minimum
  1949. 0x0022, // Range Maximum
  1950. 0x01, // Alignment
  1951. 0x1E, // Length
  1952. )
  1953. IO (Decode16,
  1954. 0x0044, // Range Minimum
  1955. 0x0044, // Range Maximum
  1956. 0x01, // Alignment
  1957. 0x1C, // Length
  1958. )
  1959. IO (Decode16,
  1960. 0x0062, // Range Minimum
  1961. 0x0062, // Range Maximum
  1962. 0x01, // Alignment
  1963. 0x02, // Length
  1964. )
  1965. IO (Decode16,
  1966. 0x0065, // Range Minimum
  1967. 0x0065, // Range Maximum
  1968. 0x01, // Alignment
  1969. 0x0B, // Length
  1970. )
  1971. IO (Decode16,
  1972. 0x0072, // Range Minimum
  1973. 0x0072, // Range Maximum
  1974. 0x01, // Alignment
  1975. 0x02, // Length
  1976. )
  1977. IO (Decode16,
  1978. 0x0074, // Range Minimum
  1979. 0x0074, // Range Maximum
  1980. 0x01, // Alignment
  1981. 0x0C, // Length
  1982. )
  1983. IO (Decode16,
  1984. 0x0091, // Range Minimum
  1985. 0x0091, // Range Maximum
  1986. 0x01, // Alignment
  1987. 0x03, // Length
  1988. )
  1989. IO (Decode16,
  1990. 0x0097, // Range Minimum
  1991. 0x0097, // Range Maximum
  1992. 0x01, // Alignment
  1993. 0x09, // Length
  1994. )
  1995. IO (Decode16,
  1996. 0x00A2, // Range Minimum
  1997. 0x00A2, // Range Maximum
  1998. 0x01, // Alignment
  1999. 0x1E, // Length
  2000. )
  2001. IO (Decode16,
  2002. 0x00E0, // Range Minimum
  2003. 0x00E0, // Range Maximum
  2004. 0x01, // Alignment
  2005. 0x10, // Length
  2006. )
  2007. IO (Decode16,
  2008. 0x04D0, // Range Minimum
  2009. 0x04D0, // Range Maximum
  2010. 0x01, // Alignment
  2011. 0x02, // Length
  2012. )
  2013. IO (Decode16,
  2014. 0x0080, // Range Minimum
  2015. 0x0080, // Range Maximum
  2016. 0x01, // Alignment
  2017. 0x01, // Length
  2018. )
  2019. IO (Decode16,
  2020. 0x0295, // Range Minimum
  2021. 0x0295, // Range Maximum
  2022. 0x01, // Alignment
  2023. 0x02, // Length
  2024. )
  2025. })
  2026. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y03._MIN, I1MN)
  2027. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y03._MAX, I1MX)
  2028. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y04._MIN, I2MN)
  2029. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y04._MAX, I2MX)
  2030. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y05._MIN, I3MN)
  2031. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y05._MAX, I3MX)
  2032. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y06._MIN, I4MN)
  2033. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y06._MAX, I4MX)
  2034. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y07._MIN, I5MN)
  2035. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y07._MAX, I5MX)
  2036. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y08._MIN, I6MN)
  2037. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y08._MAX, I6MX)
  2038. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y09._MIN, I7MN)
  2039. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y09._MAX, I7MX)
  2040. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y0A._MIN, I8MN)
  2041. CreateWordField (BUF0, \_SB.PCI0.LPCB.LDRC._Y0A._MAX, I8MX)
  2042. Method (_CRS, 0, Serialized)
  2043. {
  2044. And (\_SB.PCI0.SBUS.PMBR, 0xFFFC, I1MN)
  2045. Store (I1MN, I1MX)
  2046. Add (I1MN, 0x80, Local0)
  2047. Store (Local0, I2MN)
  2048. Store (Local0, I2MX)
  2049. And (\_SB.PCI0.SBUS.NVSB, 0xFFFC, I3MN)
  2050. Store (I3MN, I3MX)
  2051. Add (I3MN, 0x80, Local0)
  2052. Store (Local0, I4MN)
  2053. Store (Local0, I4MX)
  2054. And (\_SB.PCI0.SBUS.ANLG, 0xFFFC, I5MN)
  2055. Store (I5MN, I5MX)
  2056. Add (I5MN, 0x80, Local0)
  2057. Store (Local0, I6MN)
  2058. Store (Local0, I6MX)
  2059. And (\_SB.PCI0.SBUS.SB20, 0xFFFC, I7MN)
  2060. Store (I7MN, I7MX)
  2061. And (\_SB.PCI0.SBUS.SB24, 0xFFFC, I8MN)
  2062. Store (I8MN, I8MX)
  2063. Return (BUF0)
  2064. }
  2065. }
  2066.  
  2067. Device (RTC)
  2068. {
  2069. Name (_HID, EisaId ("PNP0B00"))
  2070. Name (_CRS, ResourceTemplate ()
  2071. {
  2072. IO (Decode16,
  2073. 0x0070, // Range Minimum
  2074. 0x0070, // Range Maximum
  2075. 0x01, // Alignment
  2076. 0x08, // Length
  2077. )
  2078. })
  2079. }
  2080.  
  2081. Device (TIMR)
  2082. {
  2083. Name (_HID, EisaId ("PNP0100"))
  2084. Name (_CRS, ResourceTemplate ()
  2085. {
  2086. IO (Decode16,
  2087. 0x0040, // Range Minimum
  2088. 0x0040, // Range Maximum
  2089. 0x01, // Alignment
  2090. 0x04, // Length
  2091. )
  2092. })
  2093. }
  2094.  
  2095. Device (GMUX)
  2096. {
  2097. Name (_HID, EisaId ("APP000B"))
  2098. Name (_CID, "gmux")
  2099. Name (_STA, 0x0B)
  2100. Name (_CRS, ResourceTemplate ()
  2101. {
  2102. IO (Decode16,
  2103. 0x0700, // Range Minimum
  2104. 0x07FF, // Range Maximum
  2105. 0x01, // Alignment
  2106. 0xFF, // Length
  2107. )
  2108. })
  2109. Name (_PRW, Package (0x02)
  2110. {
  2111. 0x15,
  2112. 0x03
  2113. })
  2114. Scope (\_GPE)
  2115. {
  2116. Method (_L35, 0, NotSerialized)
  2117. {
  2118. Notify (\_SB.PCI0.LPCB.GMUX, 0x80)
  2119. }
  2120. }
  2121.  
  2122. Method (_PSW, 1, NotSerialized)
  2123. {
  2124. If (Arg0)
  2125. {
  2126. And (\GP22, 0xFB, \GP22)
  2127. }
  2128. Else
  2129. {
  2130. Or (\GP22, 0x04, \GP22)
  2131. }
  2132. }
  2133.  
  2134. Name (GMGP, 0x35)
  2135. Method (GMSP, 1, NotSerialized)
  2136. {
  2137. If (LLessEqual (Arg0, 0x01))
  2138. {
  2139. And (GI22, 0xBF, Local0)
  2140. Or (Local0, Arg0, GI22)
  2141. }
  2142. }
  2143.  
  2144. Method (GMLV, 0, NotSerialized)
  2145. {
  2146. Return (GP22)
  2147. }
  2148. }
  2149. }
  2150.  
  2151. Device (IMAP)
  2152. {
  2153. Name (_ADR, 0x00030001)
  2154. Scope (\)
  2155. {
  2156. OperationRegion (\_SB.PCI0.IMAP.PIRQ, PCI_Config, 0x60, 0x3C)
  2157. Field (\_SB.PCI0.IMAP.PIRQ, AnyAcc, NoLock, Preserve)
  2158. {
  2159. PSI0, 8,
  2160. PSI1, 8,
  2161. IR01, 8,
  2162. IR02, 8,
  2163. IMAC, 8,
  2164. IMA1, 8,
  2165. IR03, 8,
  2166. IR04, 8,
  2167. IUS0, 8,
  2168. IUS2, 8,
  2169. Z018, 8,
  2170. Z019, 8,
  2171. ISCI, 8,
  2172. ITCO, 8,
  2173. ISMB, 8,
  2174. INTS, 8,
  2175. IAZA, 8,
  2176. Z01A, 8,
  2177. IPID, 8,
  2178. INTU, 8,
  2179. INTW, 8,
  2180. INTX, 8,
  2181. INTY, 8,
  2182. INTZ, 8,
  2183. DLIA, 8,
  2184. DLIB, 8,
  2185. DLIC, 8,
  2186. DLID, 8,
  2187. Z01B, 8,
  2188. Z01C, 8,
  2189. Z01D, 8,
  2190. Z01E, 8,
  2191. Z01F, 8,
  2192. Z01G, 8,
  2193. Z01H, 8,
  2194. Z01I, 8,
  2195. Z01J, 8,
  2196. Z01K, 8,
  2197. Z01L, 8,
  2198. Z01M, 8,
  2199. Z01N, 8,
  2200. Z01O, 8,
  2201. Z01P, 8,
  2202. Z01Q, 8,
  2203. Z01R, 8,
  2204. Z01S, 8,
  2205. Z01T, 8,
  2206. Z01U, 8,
  2207. Z01V, 8,
  2208. Z01W, 8,
  2209. Z01X, 8,
  2210. Z01Y, 8,
  2211. Z01Z, 8,
  2212. Z020, 8,
  2213. Z021, 8,
  2214. Z022, 8,
  2215. Z023, 8,
  2216. Z024, 8,
  2217. Z025, 8,
  2218. Z026, 8
  2219. }
  2220. }
  2221.  
  2222. Scope (\_SB.PCI0)
  2223. {
  2224. Name (BUFA, ResourceTemplate ()
  2225. {
  2226. IRQ (Level, ActiveLow, Shared, )
  2227. {5,7,10,11,14,15}
  2228. })
  2229. Name (BUFB, ResourceTemplate ()
  2230. {
  2231. IRQ (Level, ActiveLow, Shared, _Y0B)
  2232. {}
  2233. })
  2234. CreateWordField (BUFB, \_SB.PCI0._Y0B._INT, IRQV)
  2235. Method (CRS, 1, Serialized)
  2236. {
  2237. If (Arg0)
  2238. {
  2239. ShiftLeft (0x01, Arg0, IRQV)
  2240. }
  2241. Else
  2242. {
  2243. Store (0x00, IRQV)
  2244. }
  2245.  
  2246. Return (BUFB)
  2247. }
  2248.  
  2249. Method (SRS, 1, Serialized)
  2250. {
  2251. CreateWordField (Arg0, 0x01, IRQ0)
  2252. FindSetRightBit (IRQ0, Local0)
  2253. Decrement (Local0)
  2254. Return (Local0)
  2255. }
  2256.  
  2257. Name (BUFI, ResourceTemplate ()
  2258. {
  2259. Interrupt (ResourceConsumer, Level, ActiveLow, Shared, 0x17, "", )
  2260. {
  2261. 0x00000010,
  2262. 0x00000011,
  2263. 0x00000012,
  2264. 0x00000013,
  2265. 0x00000014,
  2266. 0x00000015,
  2267. 0x00000016,
  2268. 0x00000017,
  2269. }
  2270. })
  2271. Name (BUFF, ResourceTemplate ()
  2272. {
  2273. Interrupt (ResourceConsumer, Level, ActiveLow, Shared, 0x0F, "", )
  2274. {
  2275. 0x00000005,
  2276. 0x00000007,
  2277. 0x0000000A,
  2278. 0x0000000B,
  2279. 0x0000000E,
  2280. 0x0000000F,
  2281. }
  2282. })
  2283. Method (CRSI, 1, Serialized)
  2284. {
  2285. Name (IRZ5, ResourceTemplate ()
  2286. {
  2287. Interrupt (ResourceConsumer, Level, ActiveLow, Shared, 0x05, "", _Y0C)
  2288. {
  2289. 0x00000005,
  2290. }
  2291. })
  2292. CreateWordField (IRZ5, \_SB.PCI0.CRSI._Y0C._INT, INZ5)
  2293. Store (Arg0, Local0)
  2294. If (LEqual (Arg0, 0x03))
  2295. {
  2296. Store (0x10, Local0)
  2297. }
  2298.  
  2299. If (LEqual (Arg0, 0x04))
  2300. {
  2301. Store (0x11, Local0)
  2302. }
  2303.  
  2304. If (LEqual (Arg0, 0x06))
  2305. {
  2306. Store (0x12, Local0)
  2307. }
  2308.  
  2309. If (LEqual (Arg0, 0x0C))
  2310. {
  2311. Store (0x13, Local0)
  2312. }
  2313.  
  2314. If (LEqual (Arg0, 0x08))
  2315. {
  2316. Store (0x14, Local0)
  2317. }
  2318.  
  2319. If (LEqual (Arg0, 0x0D))
  2320. {
  2321. Store (0x15, Local0)
  2322. }
  2323.  
  2324. If (LEqual (Arg0, 0x02))
  2325. {
  2326. Store (0x16, Local0)
  2327. }
  2328.  
  2329. If (LEqual (Arg0, 0x01))
  2330. {
  2331. Store (0x17, Local0)
  2332. }
  2333.  
  2334. Store (Local0, INZ5)
  2335. Return (IRZ5)
  2336. }
  2337.  
  2338. Method (SRSI, 1, Serialized)
  2339. {
  2340. CreateWordField (Arg0, 0x05, IRZ6)
  2341. Store (IRZ6, Local0)
  2342. If (LEqual (IRZ6, 0x10))
  2343. {
  2344. Store (0x03, Local0)
  2345. }
  2346.  
  2347. If (LEqual (IRZ6, 0x11))
  2348. {
  2349. Store (0x04, Local0)
  2350. }
  2351.  
  2352. If (LEqual (IRZ6, 0x12))
  2353. {
  2354. Store (0x06, Local0)
  2355. }
  2356.  
  2357. If (LEqual (IRZ6, 0x13))
  2358. {
  2359. Store (0x0C, Local0)
  2360. }
  2361.  
  2362. If (LEqual (IRZ6, 0x14))
  2363. {
  2364. Store (0x08, Local0)
  2365. }
  2366.  
  2367. If (LEqual (IRZ6, 0x15))
  2368. {
  2369. Store (0x0D, Local0)
  2370. }
  2371.  
  2372. If (LEqual (IRZ6, 0x16))
  2373. {
  2374. Store (0x02, Local0)
  2375. }
  2376.  
  2377. If (LEqual (IRZ6, 0x17))
  2378. {
  2379. Store (0x01, Local0)
  2380. }
  2381.  
  2382. Return (Local0)
  2383. }
  2384.  
  2385. Device (LNK1)
  2386. {
  2387. Name (_HID, EisaId ("PNP0C0F"))
  2388. Name (_UID, 0x01)
  2389. Method (_STA, 0, NotSerialized)
  2390. {
  2391. If (INTW)
  2392. {
  2393. Return (0x0B)
  2394. }
  2395. Else
  2396. {
  2397. Return (0x09)
  2398. }
  2399. }
  2400.  
  2401. Method (_DIS, 0, Serialized)
  2402. {
  2403. Store (0x00, INTW)
  2404. }
  2405.  
  2406. Method (_PRS, 0, NotSerialized)
  2407. {
  2408. If (LNot (\GPIC))
  2409. {
  2410. Return (BUFA)
  2411. }
  2412. Else
  2413. {
  2414. Return (BUFF)
  2415. }
  2416. }
  2417.  
  2418. Method (_CRS, 0, NotSerialized)
  2419. {
  2420. If (LNot (\GPIC))
  2421. {
  2422. Return (CRS (INTW))
  2423. }
  2424. Else
  2425. {
  2426. Return (CRSI (INTW))
  2427. }
  2428. }
  2429.  
  2430. Method (_SRS, 1, NotSerialized)
  2431. {
  2432. If (LNot (\GPIC))
  2433. {
  2434. Store (SRS (Arg0), INTW)
  2435. }
  2436. Else
  2437. {
  2438. Store (SRSI (Arg0), INTW)
  2439. }
  2440. }
  2441. }
  2442.  
  2443. Device (LNK2)
  2444. {
  2445. Name (_HID, EisaId ("PNP0C0F"))
  2446. Name (_UID, 0x02)
  2447. Method (_STA, 0, NotSerialized)
  2448. {
  2449. If (INTX)
  2450. {
  2451. Return (0x0B)
  2452. }
  2453. Else
  2454. {
  2455. Return (0x09)
  2456. }
  2457. }
  2458.  
  2459. Method (_DIS, 0, Serialized)
  2460. {
  2461. Store (0x00, INTX)
  2462. }
  2463.  
  2464. Method (_PRS, 0, NotSerialized)
  2465. {
  2466. If (LNot (\GPIC))
  2467. {
  2468. Return (BUFA)
  2469. }
  2470. Else
  2471. {
  2472. Return (BUFF)
  2473. }
  2474. }
  2475.  
  2476. Method (_CRS, 0, NotSerialized)
  2477. {
  2478. If (LNot (\GPIC))
  2479. {
  2480. Return (CRS (INTX))
  2481. }
  2482. Else
  2483. {
  2484. Return (CRSI (INTX))
  2485. }
  2486. }
  2487.  
  2488. Method (_SRS, 1, NotSerialized)
  2489. {
  2490. If (LNot (\GPIC))
  2491. {
  2492. Store (SRS (Arg0), INTX)
  2493. }
  2494. Else
  2495. {
  2496. Store (SRSI (Arg0), INTX)
  2497. }
  2498. }
  2499. }
  2500.  
  2501. Device (LNK3)
  2502. {
  2503. Name (_HID, EisaId ("PNP0C0F"))
  2504. Name (_UID, 0x03)
  2505. Method (_STA, 0, NotSerialized)
  2506. {
  2507. If (INTY)
  2508. {
  2509. Return (0x0B)
  2510. }
  2511. Else
  2512. {
  2513. Return (0x09)
  2514. }
  2515. }
  2516.  
  2517. Method (_DIS, 0, Serialized)
  2518. {
  2519. Store (0x00, INTY)
  2520. }
  2521.  
  2522. Method (_PRS, 0, NotSerialized)
  2523. {
  2524. If (LNot (\GPIC))
  2525. {
  2526. Return (BUFA)
  2527. }
  2528. Else
  2529. {
  2530. Return (BUFF)
  2531. }
  2532. }
  2533.  
  2534. Method (_CRS, 0, NotSerialized)
  2535. {
  2536. If (LNot (\GPIC))
  2537. {
  2538. Return (CRS (INTY))
  2539. }
  2540. Else
  2541. {
  2542. Return (CRSI (INTY))
  2543. }
  2544. }
  2545.  
  2546. Method (_SRS, 1, NotSerialized)
  2547. {
  2548. If (LNot (\GPIC))
  2549. {
  2550. Store (SRS (Arg0), INTY)
  2551. }
  2552. Else
  2553. {
  2554. Store (SRSI (Arg0), INTY)
  2555. }
  2556. }
  2557. }
  2558.  
  2559. Device (LNK4)
  2560. {
  2561. Name (_HID, EisaId ("PNP0C0F"))
  2562. Name (_UID, 0x04)
  2563. Method (_STA, 0, NotSerialized)
  2564. {
  2565. If (INTZ)
  2566. {
  2567. Return (0x0B)
  2568. }
  2569. Else
  2570. {
  2571. Return (0x09)
  2572. }
  2573. }
  2574.  
  2575. Method (_DIS, 0, Serialized)
  2576. {
  2577. Store (0x00, INTZ)
  2578. }
  2579.  
  2580. Method (_PRS, 0, NotSerialized)
  2581. {
  2582. If (LNot (\GPIC))
  2583. {
  2584. Return (BUFA)
  2585. }
  2586. Else
  2587. {
  2588. Return (BUFF)
  2589. }
  2590. }
  2591.  
  2592. Method (_CRS, 0, NotSerialized)
  2593. {
  2594. If (LNot (\GPIC))
  2595. {
  2596. Return (CRS (INTZ))
  2597. }
  2598. Else
  2599. {
  2600. Return (CRSI (INTZ))
  2601. }
  2602. }
  2603.  
  2604. Method (_SRS, 1, NotSerialized)
  2605. {
  2606. If (LNot (\GPIC))
  2607. {
  2608. Store (SRS (Arg0), INTZ)
  2609. }
  2610. Else
  2611. {
  2612. Store (SRSI (Arg0), INTZ)
  2613. }
  2614. }
  2615. }
  2616.  
  2617. Device (Z003)
  2618. {
  2619. Name (_HID, EisaId ("PNP0C0F"))
  2620. Name (_UID, 0x05)
  2621. Method (_STA, 0, NotSerialized)
  2622. {
  2623. If (Z01B)
  2624. {
  2625. Return (0x0B)
  2626. }
  2627. Else
  2628. {
  2629. Return (0x09)
  2630. }
  2631. }
  2632.  
  2633. Method (_DIS, 0, Serialized)
  2634. {
  2635. Store (0x00, Z01B)
  2636. }
  2637.  
  2638. Method (_PRS, 0, NotSerialized)
  2639. {
  2640. If (LNot (\GPIC))
  2641. {
  2642. Return (BUFA)
  2643. }
  2644. Else
  2645. {
  2646. Return (BUFI)
  2647. }
  2648. }
  2649.  
  2650. Method (_CRS, 0, NotSerialized)
  2651. {
  2652. If (LNot (\GPIC))
  2653. {
  2654. Return (CRS (Z01B))
  2655. }
  2656. Else
  2657. {
  2658. Return (CRSI (Z01B))
  2659. }
  2660. }
  2661.  
  2662. Method (_SRS, 1, NotSerialized)
  2663. {
  2664. If (LNot (\GPIC))
  2665. {
  2666. Store (SRS (Arg0), Z01B)
  2667. }
  2668. Else
  2669. {
  2670. Store (SRSI (Arg0), Z01B)
  2671. }
  2672. }
  2673. }
  2674.  
  2675. Device (Z004)
  2676. {
  2677. Name (_HID, EisaId ("PNP0C0F"))
  2678. Name (_UID, 0x06)
  2679. Method (_STA, 0, NotSerialized)
  2680. {
  2681. If (Z01C)
  2682. {
  2683. Return (0x0B)
  2684. }
  2685. Else
  2686. {
  2687. Return (0x09)
  2688. }
  2689. }
  2690.  
  2691. Method (_DIS, 0, Serialized)
  2692. {
  2693. Store (0x00, Z01C)
  2694. }
  2695.  
  2696. Method (_PRS, 0, NotSerialized)
  2697. {
  2698. If (LNot (\GPIC))
  2699. {
  2700. Return (BUFA)
  2701. }
  2702. Else
  2703. {
  2704. Return (BUFI)
  2705. }
  2706. }
  2707.  
  2708. Method (_CRS, 0, NotSerialized)
  2709. {
  2710. If (LNot (\GPIC))
  2711. {
  2712. Return (CRS (Z01C))
  2713. }
  2714. Else
  2715. {
  2716. Return (CRSI (Z01C))
  2717. }
  2718. }
  2719.  
  2720. Method (_SRS, 1, NotSerialized)
  2721. {
  2722. If (LNot (\GPIC))
  2723. {
  2724. Store (SRS (Arg0), Z01C)
  2725. }
  2726. Else
  2727. {
  2728. Store (SRSI (Arg0), Z01C)
  2729. }
  2730. }
  2731. }
  2732.  
  2733. Device (Z005)
  2734. {
  2735. Name (_HID, EisaId ("PNP0C0F"))
  2736. Name (_UID, 0x07)
  2737. Method (_STA, 0, NotSerialized)
  2738. {
  2739. If (Z01D)
  2740. {
  2741. Return (0x0B)
  2742. }
  2743. Else
  2744. {
  2745. Return (0x09)
  2746. }
  2747. }
  2748.  
  2749. Method (_DIS, 0, Serialized)
  2750. {
  2751. Store (0x00, Z01D)
  2752. }
  2753.  
  2754. Method (_PRS, 0, NotSerialized)
  2755. {
  2756. If (LNot (\GPIC))
  2757. {
  2758. Return (BUFA)
  2759. }
  2760. Else
  2761. {
  2762. Return (BUFI)
  2763. }
  2764. }
  2765.  
  2766. Method (_CRS, 0, NotSerialized)
  2767. {
  2768. If (LNot (\GPIC))
  2769. {
  2770. Return (CRS (Z01D))
  2771. }
  2772. Else
  2773. {
  2774. Return (CRSI (Z01D))
  2775. }
  2776. }
  2777.  
  2778. Method (_SRS, 1, NotSerialized)
  2779. {
  2780. If (LNot (\GPIC))
  2781. {
  2782. Store (SRS (Arg0), Z01D)
  2783. }
  2784. Else
  2785. {
  2786. Store (SRSI (Arg0), Z01D)
  2787. }
  2788. }
  2789. }
  2790.  
  2791. Device (Z006)
  2792. {
  2793. Name (_HID, EisaId ("PNP0C0F"))
  2794. Name (_UID, 0x08)
  2795. Method (_STA, 0, NotSerialized)
  2796. {
  2797. If (Z01E)
  2798. {
  2799. Return (0x0B)
  2800. }
  2801. Else
  2802. {
  2803. Return (0x09)
  2804. }
  2805. }
  2806.  
  2807. Method (_DIS, 0, Serialized)
  2808. {
  2809. Store (0x00, Z01E)
  2810. }
  2811.  
  2812. Method (_PRS, 0, NotSerialized)
  2813. {
  2814. If (LNot (\GPIC))
  2815. {
  2816. Return (BUFA)
  2817. }
  2818. Else
  2819. {
  2820. Return (BUFI)
  2821. }
  2822. }
  2823.  
  2824. Method (_CRS, 0, NotSerialized)
  2825. {
  2826. If (LNot (\GPIC))
  2827. {
  2828. Return (CRS (Z01E))
  2829. }
  2830. Else
  2831. {
  2832. Return (CRSI (Z01E))
  2833. }
  2834. }
  2835.  
  2836. Method (_SRS, 1, NotSerialized)
  2837. {
  2838. If (LNot (\GPIC))
  2839. {
  2840. Store (SRS (Arg0), Z01E)
  2841. }
  2842. Else
  2843. {
  2844. Store (SRSI (Arg0), Z01E)
  2845. }
  2846. }
  2847. }
  2848.  
  2849. Device (Z007)
  2850. {
  2851. Name (_HID, EisaId ("PNP0C0F"))
  2852. Name (_UID, 0x09)
  2853. Method (_STA, 0, NotSerialized)
  2854. {
  2855. If (Z01F)
  2856. {
  2857. Return (0x0B)
  2858. }
  2859. Else
  2860. {
  2861. Return (0x09)
  2862. }
  2863. }
  2864.  
  2865. Method (_DIS, 0, Serialized)
  2866. {
  2867. Store (0x00, Z01F)
  2868. }
  2869.  
  2870. Method (_PRS, 0, NotSerialized)
  2871. {
  2872. If (LNot (\GPIC))
  2873. {
  2874. Return (BUFA)
  2875. }
  2876. Else
  2877. {
  2878. Return (BUFI)
  2879. }
  2880. }
  2881.  
  2882. Method (_CRS, 0, NotSerialized)
  2883. {
  2884. If (LNot (\GPIC))
  2885. {
  2886. Return (CRS (Z01F))
  2887. }
  2888. Else
  2889. {
  2890. Return (CRSI (Z01F))
  2891. }
  2892. }
  2893.  
  2894. Method (_SRS, 1, NotSerialized)
  2895. {
  2896. If (LNot (\GPIC))
  2897. {
  2898. Store (SRS (Arg0), Z01F)
  2899. }
  2900. Else
  2901. {
  2902. Store (SRSI (Arg0), Z01F)
  2903. }
  2904. }
  2905. }
  2906.  
  2907. Device (Z008)
  2908. {
  2909. Name (_HID, EisaId ("PNP0C0F"))
  2910. Name (_UID, 0x0A)
  2911. Method (_STA, 0, NotSerialized)
  2912. {
  2913. If (Z01G)
  2914. {
  2915. Return (0x0B)
  2916. }
  2917. Else
  2918. {
  2919. Return (0x09)
  2920. }
  2921. }
  2922.  
  2923. Method (_DIS, 0, Serialized)
  2924. {
  2925. Store (0x00, Z01G)
  2926. }
  2927.  
  2928. Method (_PRS, 0, NotSerialized)
  2929. {
  2930. If (LNot (\GPIC))
  2931. {
  2932. Return (BUFA)
  2933. }
  2934. Else
  2935. {
  2936. Return (BUFI)
  2937. }
  2938. }
  2939.  
  2940. Method (_CRS, 0, NotSerialized)
  2941. {
  2942. If (LNot (\GPIC))
  2943. {
  2944. Return (CRS (Z01G))
  2945. }
  2946. Else
  2947. {
  2948. Return (CRSI (Z01G))
  2949. }
  2950. }
  2951.  
  2952. Method (_SRS, 1, NotSerialized)
  2953. {
  2954. If (LNot (\GPIC))
  2955. {
  2956. Store (SRS (Arg0), Z01G)
  2957. }
  2958. Else
  2959. {
  2960. Store (SRSI (Arg0), Z01G)
  2961. }
  2962. }
  2963. }
  2964.  
  2965. Device (Z009)
  2966. {
  2967. Name (_HID, EisaId ("PNP0C0F"))
  2968. Name (_UID, 0x0B)
  2969. Method (_STA, 0, NotSerialized)
  2970. {
  2971. If (Z01H)
  2972. {
  2973. Return (0x0B)
  2974. }
  2975. Else
  2976. {
  2977. Return (0x09)
  2978. }
  2979. }
  2980.  
  2981. Method (_DIS, 0, Serialized)
  2982. {
  2983. Store (0x00, Z01H)
  2984. }
  2985.  
  2986. Method (_PRS, 0, NotSerialized)
  2987. {
  2988. If (LNot (\GPIC))
  2989. {
  2990. Return (BUFA)
  2991. }
  2992. Else
  2993. {
  2994. Return (BUFI)
  2995. }
  2996. }
  2997.  
  2998. Method (_CRS, 0, NotSerialized)
  2999. {
  3000. If (LNot (\GPIC))
  3001. {
  3002. Return (CRS (Z01H))
  3003. }
  3004. Else
  3005. {
  3006. Return (CRSI (Z01H))
  3007. }
  3008. }
  3009.  
  3010. Method (_SRS, 1, NotSerialized)
  3011. {
  3012. If (LNot (\GPIC))
  3013. {
  3014. Store (SRS (Arg0), Z01H)
  3015. }
  3016. Else
  3017. {
  3018. Store (SRSI (Arg0), Z01H)
  3019. }
  3020. }
  3021. }
  3022.  
  3023. Device (Z00A)
  3024. {
  3025. Name (_HID, EisaId ("PNP0C0F"))
  3026. Name (_UID, 0x0C)
  3027. Method (_STA, 0, NotSerialized)
  3028. {
  3029. If (Z01I)
  3030. {
  3031. Return (0x0B)
  3032. }
  3033. Else
  3034. {
  3035. Return (0x09)
  3036. }
  3037. }
  3038.  
  3039. Method (_DIS, 0, Serialized)
  3040. {
  3041. Store (0x00, Z01I)
  3042. }
  3043.  
  3044. Method (_PRS, 0, NotSerialized)
  3045. {
  3046. If (LNot (\GPIC))
  3047. {
  3048. Return (BUFA)
  3049. }
  3050. Else
  3051. {
  3052. Return (BUFI)
  3053. }
  3054. }
  3055.  
  3056. Method (_CRS, 0, NotSerialized)
  3057. {
  3058. If (LNot (\GPIC))
  3059. {
  3060. Return (CRS (Z01I))
  3061. }
  3062. Else
  3063. {
  3064. Return (CRSI (Z01I))
  3065. }
  3066. }
  3067.  
  3068. Method (_SRS, 1, NotSerialized)
  3069. {
  3070. If (LNot (\GPIC))
  3071. {
  3072. Store (SRS (Arg0), Z01I)
  3073. }
  3074. Else
  3075. {
  3076. Store (SRSI (Arg0), Z01I)
  3077. }
  3078. }
  3079. }
  3080.  
  3081. Device (Z00B)
  3082. {
  3083. Name (_HID, EisaId ("PNP0C0F"))
  3084. Name (_UID, 0x0D)
  3085. Method (_STA, 0, NotSerialized)
  3086. {
  3087. If (Z01J)
  3088. {
  3089. Return (0x0B)
  3090. }
  3091. Else
  3092. {
  3093. Return (0x09)
  3094. }
  3095. }
  3096.  
  3097. Method (_DIS, 0, Serialized)
  3098. {
  3099. Store (0x00, Z01J)
  3100. }
  3101.  
  3102. Method (_PRS, 0, NotSerialized)
  3103. {
  3104. If (LNot (\GPIC))
  3105. {
  3106. Return (BUFA)
  3107. }
  3108. Else
  3109. {
  3110. Return (BUFI)
  3111. }
  3112. }
  3113.  
  3114. Method (_CRS, 0, NotSerialized)
  3115. {
  3116. If (LNot (\GPIC))
  3117. {
  3118. Return (CRS (Z01J))
  3119. }
  3120. Else
  3121. {
  3122. Return (CRSI (Z01J))
  3123. }
  3124. }
  3125.  
  3126. Method (_SRS, 1, NotSerialized)
  3127. {
  3128. If (LNot (\GPIC))
  3129. {
  3130. Store (SRS (Arg0), Z01J)
  3131. }
  3132. Else
  3133. {
  3134. Store (SRSI (Arg0), Z01J)
  3135. }
  3136. }
  3137. }
  3138.  
  3139. Device (Z00C)
  3140. {
  3141. Name (_HID, EisaId ("PNP0C0F"))
  3142. Name (_UID, 0x0E)
  3143. Method (_STA, 0, NotSerialized)
  3144. {
  3145. If (Z01K)
  3146. {
  3147. Return (0x0B)
  3148. }
  3149. Else
  3150. {
  3151. Return (0x09)
  3152. }
  3153. }
  3154.  
  3155. Method (_DIS, 0, Serialized)
  3156. {
  3157. Store (0x00, Z01K)
  3158. }
  3159.  
  3160. Method (_PRS, 0, NotSerialized)
  3161. {
  3162. If (LNot (\GPIC))
  3163. {
  3164. Return (BUFA)
  3165. }
  3166. Else
  3167. {
  3168. Return (BUFI)
  3169. }
  3170. }
  3171.  
  3172. Method (_CRS, 0, NotSerialized)
  3173. {
  3174. If (LNot (\GPIC))
  3175. {
  3176. Return (CRS (Z01K))
  3177. }
  3178. Else
  3179. {
  3180. Return (CRSI (Z01K))
  3181. }
  3182. }
  3183.  
  3184. Method (_SRS, 1, NotSerialized)
  3185. {
  3186. If (LNot (\GPIC))
  3187. {
  3188. Store (SRS (Arg0), Z01K)
  3189. }
  3190. Else
  3191. {
  3192. Store (SRSI (Arg0), Z01K)
  3193. }
  3194. }
  3195. }
  3196.  
  3197. Device (Z00D)
  3198. {
  3199. Name (_HID, EisaId ("PNP0C0F"))
  3200. Name (_UID, 0x0F)
  3201. Method (_STA, 0, NotSerialized)
  3202. {
  3203. If (Z01L)
  3204. {
  3205. Return (0x0B)
  3206. }
  3207. Else
  3208. {
  3209. Return (0x09)
  3210. }
  3211. }
  3212.  
  3213. Method (_DIS, 0, Serialized)
  3214. {
  3215. Store (0x00, Z01L)
  3216. }
  3217.  
  3218. Method (_PRS, 0, NotSerialized)
  3219. {
  3220. If (LNot (\GPIC))
  3221. {
  3222. Return (BUFA)
  3223. }
  3224. Else
  3225. {
  3226. Return (BUFI)
  3227. }
  3228. }
  3229.  
  3230. Method (_CRS, 0, NotSerialized)
  3231. {
  3232. If (LNot (\GPIC))
  3233. {
  3234. Return (CRS (Z01L))
  3235. }
  3236. Else
  3237. {
  3238. Return (CRSI (Z01L))
  3239. }
  3240. }
  3241.  
  3242. Method (_SRS, 1, NotSerialized)
  3243. {
  3244. If (LNot (\GPIC))
  3245. {
  3246. Store (SRS (Arg0), Z01L)
  3247. }
  3248. Else
  3249. {
  3250. Store (SRSI (Arg0), Z01L)
  3251. }
  3252. }
  3253. }
  3254.  
  3255. Device (Z00E)
  3256. {
  3257. Name (_HID, EisaId ("PNP0C0F"))
  3258. Name (_UID, 0x10)
  3259. Method (_STA, 0, NotSerialized)
  3260. {
  3261. If (Z01M)
  3262. {
  3263. Return (0x0B)
  3264. }
  3265. Else
  3266. {
  3267. Return (0x09)
  3268. }
  3269. }
  3270.  
  3271. Method (_DIS, 0, Serialized)
  3272. {
  3273. Store (0x00, Z01M)
  3274. }
  3275.  
  3276. Method (_PRS, 0, NotSerialized)
  3277. {
  3278. If (LNot (\GPIC))
  3279. {
  3280. Return (BUFA)
  3281. }
  3282. Else
  3283. {
  3284. Return (BUFI)
  3285. }
  3286. }
  3287.  
  3288. Method (_CRS, 0, NotSerialized)
  3289. {
  3290. If (LNot (\GPIC))
  3291. {
  3292. Return (CRS (Z01M))
  3293. }
  3294. Else
  3295. {
  3296. Return (CRSI (Z01M))
  3297. }
  3298. }
  3299.  
  3300. Method (_SRS, 1, NotSerialized)
  3301. {
  3302. If (LNot (\GPIC))
  3303. {
  3304. Store (SRS (Arg0), Z01M)
  3305. }
  3306. Else
  3307. {
  3308. Store (SRSI (Arg0), Z01M)
  3309. }
  3310. }
  3311. }
  3312.  
  3313. Device (Z00F)
  3314. {
  3315. Name (_HID, EisaId ("PNP0C0F"))
  3316. Name (_UID, 0x11)
  3317. Method (_STA, 0, NotSerialized)
  3318. {
  3319. If (Z01N)
  3320. {
  3321. Return (0x0B)
  3322. }
  3323. Else
  3324. {
  3325. Return (0x09)
  3326. }
  3327. }
  3328.  
  3329. Method (_DIS, 0, Serialized)
  3330. {
  3331. Store (0x00, Z01N)
  3332. }
  3333.  
  3334. Method (_PRS, 0, NotSerialized)
  3335. {
  3336. If (LNot (\GPIC))
  3337. {
  3338. Return (BUFA)
  3339. }
  3340. Else
  3341. {
  3342. Return (BUFI)
  3343. }
  3344. }
  3345.  
  3346. Method (_CRS, 0, NotSerialized)
  3347. {
  3348. If (LNot (\GPIC))
  3349. {
  3350. Return (CRS (Z01N))
  3351. }
  3352. Else
  3353. {
  3354. Return (CRSI (Z01N))
  3355. }
  3356. }
  3357.  
  3358. Method (_SRS, 1, NotSerialized)
  3359. {
  3360. If (LNot (\GPIC))
  3361. {
  3362. Store (SRS (Arg0), Z01N)
  3363. }
  3364. Else
  3365. {
  3366. Store (SRSI (Arg0), Z01N)
  3367. }
  3368. }
  3369. }
  3370.  
  3371. Device (Z00G)
  3372. {
  3373. Name (_HID, EisaId ("PNP0C0F"))
  3374. Name (_UID, 0x12)
  3375. Method (_STA, 0, NotSerialized)
  3376. {
  3377. If (Z01O)
  3378. {
  3379. Return (0x0B)
  3380. }
  3381. Else
  3382. {
  3383. Return (0x09)
  3384. }
  3385. }
  3386.  
  3387. Method (_DIS, 0, Serialized)
  3388. {
  3389. Store (0x00, Z01O)
  3390. }
  3391.  
  3392. Method (_PRS, 0, NotSerialized)
  3393. {
  3394. If (LNot (\GPIC))
  3395. {
  3396. Return (BUFA)
  3397. }
  3398. Else
  3399. {
  3400. Return (BUFI)
  3401. }
  3402. }
  3403.  
  3404. Method (_CRS, 0, NotSerialized)
  3405. {
  3406. If (LNot (\GPIC))
  3407. {
  3408. Return (CRS (Z01O))
  3409. }
  3410. Else
  3411. {
  3412. Return (CRSI (Z01O))
  3413. }
  3414. }
  3415.  
  3416. Method (_SRS, 1, NotSerialized)
  3417. {
  3418. If (LNot (\GPIC))
  3419. {
  3420. Store (SRS (Arg0), Z01O)
  3421. }
  3422. Else
  3423. {
  3424. Store (SRSI (Arg0), Z01O)
  3425. }
  3426. }
  3427. }
  3428.  
  3429. Device (Z00H)
  3430. {
  3431. Name (_HID, EisaId ("PNP0C0F"))
  3432. Name (_UID, 0x13)
  3433. Method (_STA, 0, NotSerialized)
  3434. {
  3435. If (Z01P)
  3436. {
  3437. Return (0x0B)
  3438. }
  3439. Else
  3440. {
  3441. Return (0x09)
  3442. }
  3443. }
  3444.  
  3445. Method (_DIS, 0, Serialized)
  3446. {
  3447. Store (0x00, Z01P)
  3448. }
  3449.  
  3450. Method (_PRS, 0, NotSerialized)
  3451. {
  3452. If (LNot (\GPIC))
  3453. {
  3454. Return (BUFA)
  3455. }
  3456. Else
  3457. {
  3458. Return (BUFI)
  3459. }
  3460. }
  3461.  
  3462. Method (_CRS, 0, NotSerialized)
  3463. {
  3464. If (LNot (\GPIC))
  3465. {
  3466. Return (CRS (Z01P))
  3467. }
  3468. Else
  3469. {
  3470. Return (CRSI (Z01P))
  3471. }
  3472. }
  3473.  
  3474. Method (_SRS, 1, NotSerialized)
  3475. {
  3476. If (LNot (\GPIC))
  3477. {
  3478. Store (SRS (Arg0), Z01P)
  3479. }
  3480. Else
  3481. {
  3482. Store (SRSI (Arg0), Z01P)
  3483. }
  3484. }
  3485. }
  3486.  
  3487. Device (Z00I)
  3488. {
  3489. Name (_HID, EisaId ("PNP0C0F"))
  3490. Name (_UID, 0x14)
  3491. Method (_STA, 0, NotSerialized)
  3492. {
  3493. If (Z01Q)
  3494. {
  3495. Return (0x0B)
  3496. }
  3497. Else
  3498. {
  3499. Return (0x09)
  3500. }
  3501. }
  3502.  
  3503. Method (_DIS, 0, Serialized)
  3504. {
  3505. Store (0x00, Z01Q)
  3506. }
  3507.  
  3508. Method (_PRS, 0, NotSerialized)
  3509. {
  3510. If (LNot (\GPIC))
  3511. {
  3512. Return (BUFA)
  3513. }
  3514. Else
  3515. {
  3516. Return (BUFI)
  3517. }
  3518. }
  3519.  
  3520. Method (_CRS, 0, NotSerialized)
  3521. {
  3522. If (LNot (\GPIC))
  3523. {
  3524. Return (CRS (Z01Q))
  3525. }
  3526. Else
  3527. {
  3528. Return (CRSI (Z01Q))
  3529. }
  3530. }
  3531.  
  3532. Method (_SRS, 1, NotSerialized)
  3533. {
  3534. If (LNot (\GPIC))
  3535. {
  3536. Store (SRS (Arg0), Z01Q)
  3537. }
  3538. Else
  3539. {
  3540. Store (SRSI (Arg0), Z01Q)
  3541. }
  3542. }
  3543. }
  3544.  
  3545. Device (Z00J)
  3546. {
  3547. Name (_HID, EisaId ("PNP0C0F"))
  3548. Name (_UID, 0x15)
  3549. Method (_STA, 0, NotSerialized)
  3550. {
  3551. If (Z01R)
  3552. {
  3553. Return (0x0B)
  3554. }
  3555. Else
  3556. {
  3557. Return (0x09)
  3558. }
  3559. }
  3560.  
  3561. Method (_DIS, 0, Serialized)
  3562. {
  3563. Store (0x00, Z01R)
  3564. }
  3565.  
  3566. Method (_PRS, 0, NotSerialized)
  3567. {
  3568. If (LNot (\GPIC))
  3569. {
  3570. Return (BUFA)
  3571. }
  3572. Else
  3573. {
  3574. Return (BUFI)
  3575. }
  3576. }
  3577.  
  3578. Method (_CRS, 0, NotSerialized)
  3579. {
  3580. If (LNot (\GPIC))
  3581. {
  3582. Return (CRS (Z01R))
  3583. }
  3584. Else
  3585. {
  3586. Return (CRSI (Z01R))
  3587. }
  3588. }
  3589.  
  3590. Method (_SRS, 1, NotSerialized)
  3591. {
  3592. If (LNot (\GPIC))
  3593. {
  3594. Store (SRS (Arg0), Z01R)
  3595. }
  3596. Else
  3597. {
  3598. Store (SRSI (Arg0), Z01R)
  3599. }
  3600. }
  3601. }
  3602.  
  3603. Device (Z00K)
  3604. {
  3605. Name (_HID, EisaId ("PNP0C0F"))
  3606. Name (_UID, 0x16)
  3607. Method (_STA, 0, NotSerialized)
  3608. {
  3609. If (Z01S)
  3610. {
  3611. Return (0x0B)
  3612. }
  3613. Else
  3614. {
  3615. Return (0x09)
  3616. }
  3617. }
  3618.  
  3619. Method (_DIS, 0, Serialized)
  3620. {
  3621. Store (0x00, Z01S)
  3622. }
  3623.  
  3624. Method (_PRS, 0, NotSerialized)
  3625. {
  3626. If (LNot (\GPIC))
  3627. {
  3628. Return (BUFA)
  3629. }
  3630. Else
  3631. {
  3632. Return (BUFI)
  3633. }
  3634. }
  3635.  
  3636. Method (_CRS, 0, NotSerialized)
  3637. {
  3638. If (LNot (\GPIC))
  3639. {
  3640. Return (CRS (Z01S))
  3641. }
  3642. Else
  3643. {
  3644. Return (CRSI (Z01S))
  3645. }
  3646. }
  3647.  
  3648. Method (_SRS, 1, NotSerialized)
  3649. {
  3650. If (LNot (\GPIC))
  3651. {
  3652. Store (SRS (Arg0), Z01S)
  3653. }
  3654. Else
  3655. {
  3656. Store (SRSI (Arg0), Z01S)
  3657. }
  3658. }
  3659. }
  3660.  
  3661. Device (Z00L)
  3662. {
  3663. Name (_HID, EisaId ("PNP0C0F"))
  3664. Name (_UID, 0x17)
  3665. Method (_STA, 0, NotSerialized)
  3666. {
  3667. If (Z01T)
  3668. {
  3669. Return (0x0B)
  3670. }
  3671. Else
  3672. {
  3673. Return (0x09)
  3674. }
  3675. }
  3676.  
  3677. Method (_DIS, 0, Serialized)
  3678. {
  3679. Store (0x00, Z01T)
  3680. }
  3681.  
  3682. Method (_PRS, 0, NotSerialized)
  3683. {
  3684. If (LNot (\GPIC))
  3685. {
  3686. Return (BUFA)
  3687. }
  3688. Else
  3689. {
  3690. Return (BUFI)
  3691. }
  3692. }
  3693.  
  3694. Method (_CRS, 0, NotSerialized)
  3695. {
  3696. If (LNot (\GPIC))
  3697. {
  3698. Return (CRS (Z01T))
  3699. }
  3700. Else
  3701. {
  3702. Return (CRSI (Z01T))
  3703. }
  3704. }
  3705.  
  3706. Method (_SRS, 1, NotSerialized)
  3707. {
  3708. If (LNot (\GPIC))
  3709. {
  3710. Store (SRS (Arg0), Z01T)
  3711. }
  3712. Else
  3713. {
  3714. Store (SRSI (Arg0), Z01T)
  3715. }
  3716. }
  3717. }
  3718.  
  3719. Device (Z00M)
  3720. {
  3721. Name (_HID, EisaId ("PNP0C0F"))
  3722. Name (_UID, 0x18)
  3723. Method (_STA, 0, NotSerialized)
  3724. {
  3725. If (Z01U)
  3726. {
  3727. Return (0x0B)
  3728. }
  3729. Else
  3730. {
  3731. Return (0x09)
  3732. }
  3733. }
  3734.  
  3735. Method (_DIS, 0, Serialized)
  3736. {
  3737. Store (0x00, Z01U)
  3738. }
  3739.  
  3740. Method (_PRS, 0, NotSerialized)
  3741. {
  3742. If (LNot (\GPIC))
  3743. {
  3744. Return (BUFA)
  3745. }
  3746. Else
  3747. {
  3748. Return (BUFI)
  3749. }
  3750. }
  3751.  
  3752. Method (_CRS, 0, NotSerialized)
  3753. {
  3754. If (LNot (\GPIC))
  3755. {
  3756. Return (CRS (Z01U))
  3757. }
  3758. Else
  3759. {
  3760. Return (CRSI (Z01U))
  3761. }
  3762. }
  3763.  
  3764. Method (_SRS, 1, NotSerialized)
  3765. {
  3766. If (LNot (\GPIC))
  3767. {
  3768. Store (SRS (Arg0), Z01U)
  3769. }
  3770. Else
  3771. {
  3772. Store (SRSI (Arg0), Z01U)
  3773. }
  3774. }
  3775. }
  3776.  
  3777. Device (Z00N)
  3778. {
  3779. Name (_HID, EisaId ("PNP0C0F"))
  3780. Name (_UID, 0x19)
  3781. Method (_STA, 0, NotSerialized)
  3782. {
  3783. If (Z01V)
  3784. {
  3785. Return (0x0B)
  3786. }
  3787. Else
  3788. {
  3789. Return (0x09)
  3790. }
  3791. }
  3792.  
  3793. Method (_DIS, 0, Serialized)
  3794. {
  3795. Store (0x00, Z01V)
  3796. }
  3797.  
  3798. Method (_PRS, 0, NotSerialized)
  3799. {
  3800. If (LNot (\GPIC))
  3801. {
  3802. Return (BUFA)
  3803. }
  3804. Else
  3805. {
  3806. Return (BUFI)
  3807. }
  3808. }
  3809.  
  3810. Method (_CRS, 0, NotSerialized)
  3811. {
  3812. If (LNot (\GPIC))
  3813. {
  3814. Return (CRS (Z01V))
  3815. }
  3816. Else
  3817. {
  3818. Return (CRSI (Z01V))
  3819. }
  3820. }
  3821.  
  3822. Method (_SRS, 1, NotSerialized)
  3823. {
  3824. If (LNot (\GPIC))
  3825. {
  3826. Store (SRS (Arg0), Z01V)
  3827. }
  3828. Else
  3829. {
  3830. Store (SRSI (Arg0), Z01V)
  3831. }
  3832. }
  3833. }
  3834.  
  3835. Device (Z00O)
  3836. {
  3837. Name (_HID, EisaId ("PNP0C0F"))
  3838. Name (_UID, 0x1A)
  3839. Method (_STA, 0, NotSerialized)
  3840. {
  3841. If (Z01W)
  3842. {
  3843. Return (0x0B)
  3844. }
  3845. Else
  3846. {
  3847. Return (0x09)
  3848. }
  3849. }
  3850.  
  3851. Method (_DIS, 0, Serialized)
  3852. {
  3853. Store (0x00, Z01W)
  3854. }
  3855.  
  3856. Method (_PRS, 0, NotSerialized)
  3857. {
  3858. If (LNot (\GPIC))
  3859. {
  3860. Return (BUFA)
  3861. }
  3862. Else
  3863. {
  3864. Return (BUFI)
  3865. }
  3866. }
  3867.  
  3868. Method (_CRS, 0, NotSerialized)
  3869. {
  3870. If (LNot (\GPIC))
  3871. {
  3872. Return (CRS (Z01W))
  3873. }
  3874. Else
  3875. {
  3876. Return (CRSI (Z01W))
  3877. }
  3878. }
  3879.  
  3880. Method (_SRS, 1, NotSerialized)
  3881. {
  3882. If (LNot (\GPIC))
  3883. {
  3884. Store (SRS (Arg0), Z01W)
  3885. }
  3886. Else
  3887. {
  3888. Store (SRSI (Arg0), Z01W)
  3889. }
  3890. }
  3891. }
  3892.  
  3893. Device (Z00P)
  3894. {
  3895. Name (_HID, EisaId ("PNP0C0F"))
  3896. Name (_UID, 0x1B)
  3897. Method (_STA, 0, NotSerialized)
  3898. {
  3899. If (Z01X)
  3900. {
  3901. Return (0x0B)
  3902. }
  3903. Else
  3904. {
  3905. Return (0x09)
  3906. }
  3907. }
  3908.  
  3909. Method (_DIS, 0, Serialized)
  3910. {
  3911. Store (0x00, Z01X)
  3912. }
  3913.  
  3914. Method (_PRS, 0, NotSerialized)
  3915. {
  3916. If (LNot (\GPIC))
  3917. {
  3918. Return (BUFA)
  3919. }
  3920. Else
  3921. {
  3922. Return (BUFI)
  3923. }
  3924. }
  3925.  
  3926. Method (_CRS, 0, NotSerialized)
  3927. {
  3928. If (LNot (\GPIC))
  3929. {
  3930. Return (CRS (Z01X))
  3931. }
  3932. Else
  3933. {
  3934. Return (CRSI (Z01X))
  3935. }
  3936. }
  3937.  
  3938. Method (_SRS, 1, NotSerialized)
  3939. {
  3940. If (LNot (\GPIC))
  3941. {
  3942. Store (SRS (Arg0), Z01X)
  3943. }
  3944. Else
  3945. {
  3946. Store (SRSI (Arg0), Z01X)
  3947. }
  3948. }
  3949. }
  3950.  
  3951. Device (Z00Q)
  3952. {
  3953. Name (_HID, EisaId ("PNP0C0F"))
  3954. Name (_UID, 0x1C)
  3955. Method (_STA, 0, NotSerialized)
  3956. {
  3957. If (Z01Y)
  3958. {
  3959. Return (0x0B)
  3960. }
  3961. Else
  3962. {
  3963. Return (0x09)
  3964. }
  3965. }
  3966.  
  3967. Method (_DIS, 0, Serialized)
  3968. {
  3969. Store (0x00, Z01Y)
  3970. }
  3971.  
  3972. Method (_PRS, 0, NotSerialized)
  3973. {
  3974. If (LNot (\GPIC))
  3975. {
  3976. Return (BUFA)
  3977. }
  3978. Else
  3979. {
  3980. Return (BUFI)
  3981. }
  3982. }
  3983.  
  3984. Method (_CRS, 0, NotSerialized)
  3985. {
  3986. If (LNot (\GPIC))
  3987. {
  3988. Return (CRS (Z01Y))
  3989. }
  3990. Else
  3991. {
  3992. Return (CRSI (Z01Y))
  3993. }
  3994. }
  3995.  
  3996. Method (_SRS, 1, NotSerialized)
  3997. {
  3998. If (LNot (\GPIC))
  3999. {
  4000. Store (SRS (Arg0), Z01Y)
  4001. }
  4002. Else
  4003. {
  4004. Store (SRSI (Arg0), Z01Y)
  4005. }
  4006. }
  4007. }
  4008.  
  4009. Device (Z00R)
  4010. {
  4011. Name (_HID, EisaId ("PNP0C0F"))
  4012. Name (_UID, 0x1D)
  4013. Method (_STA, 0, NotSerialized)
  4014. {
  4015. If (Z01Z)
  4016. {
  4017. Return (0x0B)
  4018. }
  4019. Else
  4020. {
  4021. Return (0x09)
  4022. }
  4023. }
  4024.  
  4025. Method (_DIS, 0, Serialized)
  4026. {
  4027. Store (0x00, Z01Z)
  4028. }
  4029.  
  4030. Method (_PRS, 0, NotSerialized)
  4031. {
  4032. If (LNot (\GPIC))
  4033. {
  4034. Return (BUFA)
  4035. }
  4036. Else
  4037. {
  4038. Return (BUFI)
  4039. }
  4040. }
  4041.  
  4042. Method (_CRS, 0, NotSerialized)
  4043. {
  4044. If (LNot (\GPIC))
  4045. {
  4046. Return (CRS (Z01Z))
  4047. }
  4048. Else
  4049. {
  4050. Return (CRSI (Z01Z))
  4051. }
  4052. }
  4053.  
  4054. Method (_SRS, 1, NotSerialized)
  4055. {
  4056. If (LNot (\GPIC))
  4057. {
  4058. Store (SRS (Arg0), Z01Z)
  4059. }
  4060. Else
  4061. {
  4062. Store (SRSI (Arg0), Z01Z)
  4063. }
  4064. }
  4065. }
  4066.  
  4067. Device (Z00S)
  4068. {
  4069. Name (_HID, EisaId ("PNP0C0F"))
  4070. Name (_UID, 0x1E)
  4071. Method (_STA, 0, NotSerialized)
  4072. {
  4073. If (Z020)
  4074. {
  4075. Return (0x0B)
  4076. }
  4077. Else
  4078. {
  4079. Return (0x09)
  4080. }
  4081. }
  4082.  
  4083. Method (_DIS, 0, Serialized)
  4084. {
  4085. Store (0x00, Z020)
  4086. }
  4087.  
  4088. Method (_PRS, 0, NotSerialized)
  4089. {
  4090. If (LNot (\GPIC))
  4091. {
  4092. Return (BUFA)
  4093. }
  4094. Else
  4095. {
  4096. Return (BUFI)
  4097. }
  4098. }
  4099.  
  4100. Method (_CRS, 0, NotSerialized)
  4101. {
  4102. If (LNot (\GPIC))
  4103. {
  4104. Return (CRS (Z020))
  4105. }
  4106. Else
  4107. {
  4108. Return (CRSI (Z020))
  4109. }
  4110. }
  4111.  
  4112. Method (_SRS, 1, NotSerialized)
  4113. {
  4114. If (LNot (\GPIC))
  4115. {
  4116. Store (SRS (Arg0), Z020)
  4117. }
  4118. Else
  4119. {
  4120. Store (SRSI (Arg0), Z020)
  4121. }
  4122. }
  4123. }
  4124.  
  4125. Device (Z00T)
  4126. {
  4127. Name (_HID, EisaId ("PNP0C0F"))
  4128. Name (_UID, 0x1F)
  4129. Method (_STA, 0, NotSerialized)
  4130. {
  4131. If (Z021)
  4132. {
  4133. Return (0x0B)
  4134. }
  4135. Else
  4136. {
  4137. Return (0x09)
  4138. }
  4139. }
  4140.  
  4141. Method (_DIS, 0, Serialized)
  4142. {
  4143. Store (0x00, Z021)
  4144. }
  4145.  
  4146. Method (_PRS, 0, NotSerialized)
  4147. {
  4148. If (LNot (\GPIC))
  4149. {
  4150. Return (BUFA)
  4151. }
  4152. Else
  4153. {
  4154. Return (BUFI)
  4155. }
  4156. }
  4157.  
  4158. Method (_CRS, 0, NotSerialized)
  4159. {
  4160. If (LNot (\GPIC))
  4161. {
  4162. Return (CRS (Z021))
  4163. }
  4164. Else
  4165. {
  4166. Return (CRSI (Z021))
  4167. }
  4168. }
  4169.  
  4170. Method (_SRS, 1, NotSerialized)
  4171. {
  4172. If (LNot (\GPIC))
  4173. {
  4174. Store (SRS (Arg0), Z021)
  4175. }
  4176. Else
  4177. {
  4178. Store (SRSI (Arg0), Z021)
  4179. }
  4180. }
  4181. }
  4182.  
  4183. Device (Z00U)
  4184. {
  4185. Name (_HID, EisaId ("PNP0C0F"))
  4186. Name (_UID, 0x20)
  4187. Method (_STA, 0, NotSerialized)
  4188. {
  4189. If (\Z022)
  4190. {
  4191. Return (0x0B)
  4192. }
  4193. Else
  4194. {
  4195. Return (0x09)
  4196. }
  4197. }
  4198.  
  4199. Method (_DIS, 0, Serialized)
  4200. {
  4201. Store (0x00, Z022)
  4202. }
  4203.  
  4204. Method (_PRS, 0, NotSerialized)
  4205. {
  4206. If (LNot (\GPIC))
  4207. {
  4208. Return (BUFA)
  4209. }
  4210. Else
  4211. {
  4212. Return (BUFI)
  4213. }
  4214. }
  4215.  
  4216. Method (_CRS, 0, NotSerialized)
  4217. {
  4218. If (LNot (\GPIC))
  4219. {
  4220. Return (CRS (Z022))
  4221. }
  4222. Else
  4223. {
  4224. Return (CRSI (Z022))
  4225. }
  4226. }
  4227.  
  4228. Method (_SRS, 1, NotSerialized)
  4229. {
  4230. If (LNot (\GPIC))
  4231. {
  4232. Store (SRS (Arg0), Z022)
  4233. }
  4234. Else
  4235. {
  4236. Store (SRSI (Arg0), Z022)
  4237. }
  4238. }
  4239. }
  4240.  
  4241. Device (LSMB)
  4242. {
  4243. Name (_HID, EisaId ("PNP0C0F"))
  4244. Name (_UID, 0x25)
  4245. Method (_STA, 0, NotSerialized)
  4246. {
  4247. If (ISMB)
  4248. {
  4249. Return (0x0B)
  4250. }
  4251. Else
  4252. {
  4253. Return (0x09)
  4254. }
  4255. }
  4256.  
  4257. Method (_DIS, 0, Serialized)
  4258. {
  4259. Store (0x00, ISMB)
  4260. }
  4261.  
  4262. Method (_PRS, 0, NotSerialized)
  4263. {
  4264. If (LNot (\GPIC))
  4265. {
  4266. Return (BUFA)
  4267. }
  4268. Else
  4269. {
  4270. Return (BUFI)
  4271. }
  4272. }
  4273.  
  4274. Method (_CRS, 0, NotSerialized)
  4275. {
  4276. If (LNot (\GPIC))
  4277. {
  4278. Return (CRS (ISMB))
  4279. }
  4280. Else
  4281. {
  4282. Return (CRSI (ISMB))
  4283. }
  4284. }
  4285.  
  4286. Method (_SRS, 1, NotSerialized)
  4287. {
  4288. If (LNot (\GPIC))
  4289. {
  4290. Store (SRS (Arg0), ISMB)
  4291. }
  4292. Else
  4293. {
  4294. Store (SRSI (Arg0), ISMB)
  4295. }
  4296. }
  4297. }
  4298.  
  4299. Device (LUS0)
  4300. {
  4301. Name (_HID, EisaId ("PNP0C0F"))
  4302. Name (_UID, 0x26)
  4303. Method (_STA, 0, NotSerialized)
  4304. {
  4305. If (IUS0)
  4306. {
  4307. Return (0x0B)
  4308. }
  4309. Else
  4310. {
  4311. Return (0x09)
  4312. }
  4313. }
  4314.  
  4315. Method (_DIS, 0, Serialized)
  4316. {
  4317. Store (0x00, IUS0)
  4318. }
  4319.  
  4320. Method (_PRS, 0, NotSerialized)
  4321. {
  4322. If (LNot (\GPIC))
  4323. {
  4324. Return (BUFA)
  4325. }
  4326. Else
  4327. {
  4328. Return (BUFI)
  4329. }
  4330. }
  4331.  
  4332. Method (_CRS, 0, NotSerialized)
  4333. {
  4334. If (LNot (\GPIC))
  4335. {
  4336. Return (CRS (IUS0))
  4337. }
  4338. Else
  4339. {
  4340. Return (CRSI (IUS0))
  4341. }
  4342. }
  4343.  
  4344. Method (_SRS, 1, NotSerialized)
  4345. {
  4346. If (LNot (\GPIC))
  4347. {
  4348. Store (SRS (Arg0), IUS0)
  4349. }
  4350. Else
  4351. {
  4352. Store (SRSI (Arg0), IUS0)
  4353. }
  4354. }
  4355. }
  4356.  
  4357. Device (LUS2)
  4358. {
  4359. Name (_HID, EisaId ("PNP0C0F"))
  4360. Name (_UID, 0x27)
  4361. Method (_STA, 0, NotSerialized)
  4362. {
  4363. If (IUS2)
  4364. {
  4365. Return (0x0B)
  4366. }
  4367. Else
  4368. {
  4369. Return (0x09)
  4370. }
  4371. }
  4372.  
  4373. Method (_DIS, 0, Serialized)
  4374. {
  4375. Store (0x00, IUS2)
  4376. }
  4377.  
  4378. Method (_PRS, 0, NotSerialized)
  4379. {
  4380. If (LNot (\GPIC))
  4381. {
  4382. Return (BUFA)
  4383. }
  4384. Else
  4385. {
  4386. Return (BUFI)
  4387. }
  4388. }
  4389.  
  4390. Method (_CRS, 0, NotSerialized)
  4391. {
  4392. If (LNot (\GPIC))
  4393. {
  4394. Return (CRS (IUS2))
  4395. }
  4396. Else
  4397. {
  4398. Return (CRSI (IUS2))
  4399. }
  4400. }
  4401.  
  4402. Method (_SRS, 1, NotSerialized)
  4403. {
  4404. If (LNot (\GPIC))
  4405. {
  4406. Store (SRS (Arg0), IUS2)
  4407. }
  4408. Else
  4409. {
  4410. Store (SRSI (Arg0), IUS2)
  4411. }
  4412. }
  4413. }
  4414.  
  4415. Device (LMAC)
  4416. {
  4417. Name (_HID, EisaId ("PNP0C0F"))
  4418. Name (_UID, 0x28)
  4419. Method (_STA, 0, NotSerialized)
  4420. {
  4421. If (IMAC)
  4422. {
  4423. Return (0x0B)
  4424. }
  4425. Else
  4426. {
  4427. Return (0x09)
  4428. }
  4429. }
  4430.  
  4431. Method (_DIS, 0, Serialized)
  4432. {
  4433. Store (0x00, IMAC)
  4434. }
  4435.  
  4436. Method (_PRS, 0, NotSerialized)
  4437. {
  4438. If (LNot (\GPIC))
  4439. {
  4440. Return (BUFA)
  4441. }
  4442. Else
  4443. {
  4444. Return (BUFI)
  4445. }
  4446. }
  4447.  
  4448. Method (_CRS, 0, NotSerialized)
  4449. {
  4450. If (LNot (\GPIC))
  4451. {
  4452. Return (CRS (IMAC))
  4453. }
  4454. Else
  4455. {
  4456. Return (CRSI (IMAC))
  4457. }
  4458. }
  4459.  
  4460. Method (_SRS, 1, NotSerialized)
  4461. {
  4462. If (LNot (\GPIC))
  4463. {
  4464. Store (SRS (Arg0), IMAC)
  4465. }
  4466. Else
  4467. {
  4468. Store (SRSI (Arg0), IMAC)
  4469. }
  4470. }
  4471. }
  4472.  
  4473. Device (LAZA)
  4474. {
  4475. Name (_HID, EisaId ("PNP0C0F"))
  4476. Name (_UID, 0x29)
  4477. Method (_STA, 0, NotSerialized)
  4478. {
  4479. If (IAZA)
  4480. {
  4481. Return (0x0B)
  4482. }
  4483. Else
  4484. {
  4485. Return (0x09)
  4486. }
  4487. }
  4488.  
  4489. Method (_DIS, 0, Serialized)
  4490. {
  4491. Store (0x00, IAZA)
  4492. }
  4493.  
  4494. Method (_PRS, 0, NotSerialized)
  4495. {
  4496. If (LNot (\GPIC))
  4497. {
  4498. Return (BUFA)
  4499. }
  4500. Else
  4501. {
  4502. Return (BUFI)
  4503. }
  4504. }
  4505.  
  4506. Method (_CRS, 0, NotSerialized)
  4507. {
  4508. If (LNot (\GPIC))
  4509. {
  4510. Return (CRS (IAZA))
  4511. }
  4512. Else
  4513. {
  4514. Return (CRSI (IAZA))
  4515. }
  4516. }
  4517.  
  4518. Method (_SRS, 1, NotSerialized)
  4519. {
  4520. If (LNot (\GPIC))
  4521. {
  4522. Store (SRS (Arg0), IAZA)
  4523. }
  4524. Else
  4525. {
  4526. Store (SRSI (Arg0), IAZA)
  4527. }
  4528. }
  4529. }
  4530.  
  4531. Device (LGPU)
  4532. {
  4533. Name (_HID, EisaId ("PNP0C0F"))
  4534. Name (_UID, 0x2A)
  4535. Method (_STA, 0, NotSerialized)
  4536. {
  4537. If (Z01A)
  4538. {
  4539. Return (0x0B)
  4540. }
  4541. Else
  4542. {
  4543. Return (0x09)
  4544. }
  4545. }
  4546.  
  4547. Method (_DIS, 0, Serialized)
  4548. {
  4549. Store (0x00, Z01A)
  4550. }
  4551.  
  4552. Method (_PRS, 0, NotSerialized)
  4553. {
  4554. If (LNot (\GPIC))
  4555. {
  4556. Return (BUFA)
  4557. }
  4558. Else
  4559. {
  4560. Return (BUFI)
  4561. }
  4562. }
  4563.  
  4564. Method (_CRS, 0, NotSerialized)
  4565. {
  4566. If (LNot (\GPIC))
  4567. {
  4568. Return (CRS (Z01A))
  4569. }
  4570. Else
  4571. {
  4572. Return (CRSI (Z01A))
  4573. }
  4574. }
  4575.  
  4576. Method (_SRS, 1, NotSerialized)
  4577. {
  4578. If (LNot (\GPIC))
  4579. {
  4580. Store (SRS (Arg0), Z01A)
  4581. }
  4582. Else
  4583. {
  4584. Store (SRSI (Arg0), Z01A)
  4585. }
  4586. }
  4587. }
  4588.  
  4589. Device (LPID)
  4590. {
  4591. Name (_HID, EisaId ("PNP0C0F"))
  4592. Name (_UID, 0x2B)
  4593. Method (_STA, 0, NotSerialized)
  4594. {
  4595. If (IPID)
  4596. {
  4597. Return (0x0B)
  4598. }
  4599. Else
  4600. {
  4601. Return (0x09)
  4602. }
  4603. }
  4604.  
  4605. Method (_DIS, 0, Serialized)
  4606. {
  4607. Store (0x00, IPID)
  4608. }
  4609.  
  4610. Method (_PRS, 0, NotSerialized)
  4611. {
  4612. If (LNot (\GPIC))
  4613. {
  4614. Return (BUFA)
  4615. }
  4616. Else
  4617. {
  4618. Return (BUFI)
  4619. }
  4620. }
  4621.  
  4622. Method (_CRS, 0, NotSerialized)
  4623. {
  4624. If (LNot (\GPIC))
  4625. {
  4626. Return (CRS (IPID))
  4627. }
  4628. Else
  4629. {
  4630. Return (CRSI (IPID))
  4631. }
  4632. }
  4633.  
  4634. Method (_SRS, 1, NotSerialized)
  4635. {
  4636. If (LNot (\GPIC))
  4637. {
  4638. Store (SRS (Arg0), IPID)
  4639. }
  4640. Else
  4641. {
  4642. Store (SRSI (Arg0), IPID)
  4643. }
  4644. }
  4645. }
  4646.  
  4647. Device (LSI0)
  4648. {
  4649. Name (_HID, EisaId ("PNP0C0F"))
  4650. Name (_UID, 0x2C)
  4651. Method (_STA, 0, NotSerialized)
  4652. {
  4653. If (PSI0)
  4654. {
  4655. Return (0x0B)
  4656. }
  4657. Else
  4658. {
  4659. Return (0x09)
  4660. }
  4661. }
  4662.  
  4663. Method (_DIS, 0, Serialized)
  4664. {
  4665. Store (0x00, PSI0)
  4666. }
  4667.  
  4668. Method (_PRS, 0, NotSerialized)
  4669. {
  4670. If (LNot (\GPIC))
  4671. {
  4672. Return (BUFA)
  4673. }
  4674. Else
  4675. {
  4676. Return (BUFI)
  4677. }
  4678. }
  4679.  
  4680. Method (_CRS, 0, NotSerialized)
  4681. {
  4682. If (LNot (\GPIC))
  4683. {
  4684. Return (CRS (PSI0))
  4685. }
  4686. Else
  4687. {
  4688. Return (CRSI (PSI0))
  4689. }
  4690. }
  4691.  
  4692. Method (_SRS, 1, NotSerialized)
  4693. {
  4694. If (LNot (\GPIC))
  4695. {
  4696. Store (SRS (Arg0), PSI0)
  4697. }
  4698. Else
  4699. {
  4700. Store (SRSI (Arg0), PSI0)
  4701. }
  4702. }
  4703. }
  4704.  
  4705. Device (LSI1)
  4706. {
  4707. Name (_HID, EisaId ("PNP0C0F"))
  4708. Name (_UID, 0x2D)
  4709. Method (_STA, 0, NotSerialized)
  4710. {
  4711. If (PSI1)
  4712. {
  4713. Return (0x0B)
  4714. }
  4715. Else
  4716. {
  4717. Return (0x09)
  4718. }
  4719. }
  4720.  
  4721. Method (_DIS, 0, Serialized)
  4722. {
  4723. Store (0x00, PSI1)
  4724. }
  4725.  
  4726. Method (_PRS, 0, NotSerialized)
  4727. {
  4728. If (LNot (\GPIC))
  4729. {
  4730. Return (BUFA)
  4731. }
  4732. Else
  4733. {
  4734. Return (BUFI)
  4735. }
  4736. }
  4737.  
  4738. Method (_CRS, 0, NotSerialized)
  4739. {
  4740. If (LNot (\GPIC))
  4741. {
  4742. Return (CRS (PSI1))
  4743. }
  4744. Else
  4745. {
  4746. Return (CRSI (PSI1))
  4747. }
  4748. }
  4749.  
  4750. Method (_SRS, 1, NotSerialized)
  4751. {
  4752. If (LNot (\GPIC))
  4753. {
  4754. Store (SRS (Arg0), PSI1)
  4755. }
  4756. Else
  4757. {
  4758. Store (SRSI (Arg0), PSI1)
  4759. }
  4760. }
  4761. }
  4762.  
  4763. Device (Z000)
  4764. {
  4765. Name (_HID, EisaId ("PNP0C0F"))
  4766. Name (_UID, 0x2E)
  4767. Method (_STA, 0, NotSerialized)
  4768. {
  4769. If (Z018)
  4770. {
  4771. Return (0x0B)
  4772. }
  4773. Else
  4774. {
  4775. Return (0x09)
  4776. }
  4777. }
  4778.  
  4779. Method (_DIS, 0, Serialized)
  4780. {
  4781. Store (0x00, Z018)
  4782. }
  4783.  
  4784. Method (_PRS, 0, NotSerialized)
  4785. {
  4786. If (LNot (\GPIC))
  4787. {
  4788. Return (BUFA)
  4789. }
  4790. Else
  4791. {
  4792. Return (BUFI)
  4793. }
  4794. }
  4795.  
  4796. Method (_CRS, 0, NotSerialized)
  4797. {
  4798. If (LNot (\GPIC))
  4799. {
  4800. Return (CRS (Z018))
  4801. }
  4802. Else
  4803. {
  4804. Return (CRSI (Z018))
  4805. }
  4806. }
  4807.  
  4808. Method (_SRS, 1, NotSerialized)
  4809. {
  4810. If (LNot (\GPIC))
  4811. {
  4812. Store (SRS (Arg0), Z018)
  4813. }
  4814. Else
  4815. {
  4816. Store (SRSI (Arg0), Z018)
  4817. }
  4818. }
  4819. }
  4820.  
  4821. Device (Z001)
  4822. {
  4823. Name (_HID, EisaId ("PNP0C0F"))
  4824. Name (_UID, 0x2F)
  4825. Method (_STA, 0, NotSerialized)
  4826. {
  4827. If (Z019)
  4828. {
  4829. Return (0x0B)
  4830. }
  4831. Else
  4832. {
  4833. Return (0x09)
  4834. }
  4835. }
  4836.  
  4837. Method (_DIS, 0, Serialized)
  4838. {
  4839. Store (0x00, Z019)
  4840. }
  4841.  
  4842. Method (_PRS, 0, NotSerialized)
  4843. {
  4844. If (LNot (\GPIC))
  4845. {
  4846. Return (BUFA)
  4847. }
  4848. Else
  4849. {
  4850. Return (BUFI)
  4851. }
  4852. }
  4853.  
  4854. Method (_CRS, 0, NotSerialized)
  4855. {
  4856. If (LNot (\GPIC))
  4857. {
  4858. Return (CRS (Z019))
  4859. }
  4860. Else
  4861. {
  4862. Return (CRSI (Z019))
  4863. }
  4864. }
  4865.  
  4866. Method (_SRS, 1, NotSerialized)
  4867. {
  4868. If (LNot (\GPIC))
  4869. {
  4870. Store (SRS (Arg0), Z019)
  4871. }
  4872. Else
  4873. {
  4874. Store (SRSI (Arg0), Z019)
  4875. }
  4876. }
  4877. }
  4878.  
  4879. Device (LPMU)
  4880. {
  4881. Name (_HID, EisaId ("PNP0C0F"))
  4882. Name (_UID, 0x30)
  4883. Method (_STA, 0, NotSerialized)
  4884. {
  4885. If (INTS)
  4886. {
  4887. Return (0x0B)
  4888. }
  4889. Else
  4890. {
  4891. Return (0x09)
  4892. }
  4893. }
  4894.  
  4895. Method (_DIS, 0, Serialized)
  4896. {
  4897. Store (0x00, INTS)
  4898. }
  4899.  
  4900. Method (_PRS, 0, NotSerialized)
  4901. {
  4902. If (LNot (\GPIC))
  4903. {
  4904. Return (BUFA)
  4905. }
  4906. Else
  4907. {
  4908. Return (BUFI)
  4909. }
  4910. }
  4911.  
  4912. Method (_CRS, 0, NotSerialized)
  4913. {
  4914. If (LNot (\GPIC))
  4915. {
  4916. Return (CRS (INTS))
  4917. }
  4918. Else
  4919. {
  4920. Return (CRSI (INTS))
  4921. }
  4922. }
  4923.  
  4924. Method (_SRS, 1, NotSerialized)
  4925. {
  4926. If (LNot (\GPIC))
  4927. {
  4928. Store (SRS (Arg0), INTS)
  4929. }
  4930. Else
  4931. {
  4932. Store (SRSI (Arg0), INTS)
  4933. }
  4934. }
  4935. }
  4936. }
  4937. }
  4938.  
  4939. Device (SBUS)
  4940. {
  4941. Name (_ADR, 0x00030002)
  4942. OperationRegion (SMBE, PCI_Config, 0x04, 0x02)
  4943. Field (SMBE, AnyAcc, NoLock, Preserve)
  4944. {
  4945. IOSE, 1,
  4946. MMSE, 1
  4947. }
  4948.  
  4949. OperationRegion (SBA0, PCI_Config, 0x20, 0x04)
  4950. Field (SBA0, AnyAcc, NoLock, Preserve)
  4951. {
  4952. SB20, 16
  4953. }
  4954.  
  4955. OperationRegion (SBA1, PCI_Config, 0x24, 0x04)
  4956. Field (SBA1, AnyAcc, NoLock, Preserve)
  4957. {
  4958. SB24, 16
  4959. }
  4960.  
  4961. OperationRegion (SMBP, PCI_Config, 0x40, 0xC0)
  4962. Field (SMBP, DWordAcc, NoLock, Preserve)
  4963. {
  4964. , 2,
  4965. I2CE, 1
  4966. }
  4967.  
  4968. OperationRegion (SMCF, PCI_Config, 0x48, 0x04)
  4969. Field (SMCF, AnyAcc, NoLock, Preserve)
  4970. {
  4971. SMPM, 4
  4972. }
  4973.  
  4974. OperationRegion (P60, PCI_Config, 0x60, 0x02)
  4975. Field (P60, AnyAcc, NoLock, Preserve)
  4976. {
  4977. PMBR, 16
  4978. }
  4979.  
  4980. OperationRegion (P64, PCI_Config, 0x64, 0x02)
  4981. Field (P64, AnyAcc, NoLock, Preserve)
  4982. {
  4983. NVSB, 16
  4984. }
  4985.  
  4986. OperationRegion (P68, PCI_Config, 0x68, 0x02)
  4987. Field (P68, AnyAcc, NoLock, Preserve)
  4988. {
  4989. ANLG, 16
  4990. }
  4991.  
  4992. OperationRegion (SM6C, PCI_Config, 0x6C, 0x04)
  4993. Field (SM6C, AnyAcc, NoLock, Preserve)
  4994. {
  4995. WDTA, 32
  4996. }
  4997.  
  4998. OperationRegion (SM74, PCI_Config, 0x74, 0x04)
  4999. Field (SM74, AnyAcc, NoLock, Preserve)
  5000. {
  5001. SMUB, 32
  5002. }
  5003.  
  5004. OperationRegion (SM80, PCI_Config, 0x80, 0x04)
  5005. Field (SM80, AnyAcc, NoLock, Preserve)
  5006. {
  5007. NVAM, 32
  5008. }
  5009.  
  5010. OperationRegion (SME0, PCI_Config, 0xE0, 0x04)
  5011. Field (SME0, AnyAcc, NoLock, Preserve)
  5012. {
  5013. SE0R, 23,
  5014. RSUS, 1
  5015. }
  5016.  
  5017. OperationRegion (SME4, PCI_Config, 0xE4, 0x04)
  5018. Field (SME4, AnyAcc, NoLock, Preserve)
  5019. {
  5020. SE4R, 4,
  5021. RP1D, 1,
  5022. RP2D, 1,
  5023. RP3D, 1,
  5024. RP4D, 1,
  5025. RP5D, 1,
  5026. RP6D, 1,
  5027. RP7D, 1,
  5028. , 16,
  5029. RMEN, 1
  5030. }
  5031.  
  5032. OperationRegion (SME8, PCI_Config, 0xE8, 0x04)
  5033. Field (SME8, AnyAcc, NoLock, Preserve)
  5034. {
  5035. SE8R, 13,
  5036. GPUD, 1
  5037. }
  5038.  
  5039. OperationRegion (SMBI, SystemIO, 0x0B00, 0x10)
  5040. Field (SMBI, ByteAcc, NoLock, Preserve)
  5041. {
  5042. HSTS, 8,
  5043. Offset (0x02),
  5044. HCON, 8,
  5045. HCOM, 8,
  5046. TXSA, 8,
  5047. DAT0, 8,
  5048. DAT1, 8,
  5049. HBDR, 8,
  5050. PECR, 8,
  5051. RXSA, 8,
  5052. SDAT, 16
  5053. }
  5054.  
  5055. Method (ENAB, 0, NotSerialized)
  5056. {
  5057. Store (0x01, IOSE)
  5058. }
  5059.  
  5060. Method (SWRB, 3, Serialized)
  5061. {
  5062. If (STRT ())
  5063. {
  5064. Return (0x00)
  5065. }
  5066.  
  5067. Store (0x00, I2CE)
  5068. Store (0xBF, HSTS)
  5069. Store (Arg0, TXSA)
  5070. Store (Arg1, HCOM)
  5071. Store (Arg2, DAT0)
  5072. Store (0x48, HCON)
  5073. If (COMP ())
  5074. {
  5075. Or (HSTS, 0xFF, HSTS)
  5076. Return (0x01)
  5077. }
  5078.  
  5079. Return (0x00)
  5080. }
  5081.  
  5082. Method (SRDB, 2, Serialized)
  5083. {
  5084. If (STRT ())
  5085. {
  5086. Return (0xFFFF)
  5087. }
  5088.  
  5089. Store (0x00, I2CE)
  5090. Store (0xBF, HSTS)
  5091. Store (Or (Arg0, 0x01), TXSA)
  5092. Store (Arg1, HCOM)
  5093. Store (0x48, HCON)
  5094. If (COMP ())
  5095. {
  5096. Or (HSTS, 0xFF, HSTS)
  5097. Return (DAT0)
  5098. }
  5099.  
  5100. Return (0xFFFF)
  5101. }
  5102.  
  5103. Method (STRT, 0, Serialized)
  5104. {
  5105. Store (0xC8, Local0)
  5106. While (Local0)
  5107. {
  5108. If (And (HSTS, 0x40))
  5109. {
  5110. Decrement (Local0)
  5111. Sleep (0x01)
  5112. If (LEqual (Local0, 0x00))
  5113. {
  5114. Return (0x01)
  5115. }
  5116. }
  5117. Else
  5118. {
  5119. Store (0x00, Local0)
  5120. }
  5121. }
  5122.  
  5123. Store (0x0FA0, Local0)
  5124. While (Local0)
  5125. {
  5126. If (And (HSTS, 0x01))
  5127. {
  5128. Decrement (Local0)
  5129. Stall (0x32)
  5130. If (LEqual (Local0, 0x00))
  5131. {
  5132. KILL ()
  5133. }
  5134. }
  5135. Else
  5136. {
  5137. Return (0x00)
  5138. }
  5139. }
  5140.  
  5141. Return (0x01)
  5142. }
  5143.  
  5144. Method (COMP, 0, Serialized)
  5145. {
  5146. Store (0x0FA0, Local0)
  5147. While (Local0)
  5148. {
  5149. If (And (HSTS, 0x02))
  5150. {
  5151. Return (0x01)
  5152. }
  5153. Else
  5154. {
  5155. Decrement (Local0)
  5156. Stall (0x32)
  5157. If (LEqual (Local0, 0x00))
  5158. {
  5159. KILL ()
  5160. }
  5161. }
  5162. }
  5163.  
  5164. Return (0x00)
  5165. }
  5166.  
  5167. Method (KILL, 0, Serialized)
  5168. {
  5169. Or (HCON, 0x02, HCON)
  5170. Or (HSTS, 0xFF, HSTS)
  5171. }
  5172.  
  5173. Device (BUS0)
  5174. {
  5175. Name (_CID, "smbus")
  5176. Name (_ADR, 0x00)
  5177. }
  5178.  
  5179. Device (BUS1)
  5180. {
  5181. Name (_CID, "smbus")
  5182. Name (_ADR, 0x01)
  5183. Device (MKY0)
  5184. {
  5185. Name (_ADR, 0x00)
  5186. Name (_CID, "mikey")
  5187. Method (_DSM, 4, NotSerialized)
  5188. {
  5189. Store (Package (0x07)
  5190. {
  5191. "refnum",
  5192. 0x00,
  5193. "address",
  5194. 0x39,
  5195. "device-id",
  5196. 0x0CC8,
  5197. Buffer (0x01)
  5198. {
  5199. 0x00
  5200. }
  5201. }, Local0)
  5202. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  5203. Return (Local0)
  5204. }
  5205.  
  5206. Method (H1EN, 1, Serialized)
  5207. {
  5208. If (LLessEqual (Arg0, 0x01))
  5209. {
  5210. Store (Arg0, GP38)
  5211. }
  5212. }
  5213.  
  5214. Method (H1IL, 0, Serialized)
  5215. {
  5216. Return (GP05)
  5217. }
  5218.  
  5219. Method (H1IP, 1, Serialized)
  5220. {
  5221. Store (GI05, Local0)
  5222. }
  5223.  
  5224. Name (H1IN, 0x24)
  5225. Scope (\_GPE)
  5226. {
  5227. Method (_L24, 0, NotSerialized)
  5228. {
  5229. Notify (\_SB.PCI0.SBUS.BUS1.MKY0, 0x80)
  5230. }
  5231. }
  5232. }
  5233. }
  5234. }
  5235.  
  5236. Device (TRIM)
  5237. {
  5238. Name (_ADR, 0x00030004)
  5239. }
  5240.  
  5241. Device (NVPM)
  5242. {
  5243. Name (_ADR, 0x00030005)
  5244. }
  5245.  
  5246. Device (OHC1)
  5247. {
  5248. Name (_ADR, 0x00040000)
  5249. OperationRegion (U1CS, PCI_Config, 0x48, 0x04)
  5250. Field (U1CS, DWordAcc, NoLock, Preserve)
  5251. {
  5252. Offset (0x01),
  5253. U1EN, 1
  5254. }
  5255.  
  5256. Device (HUB1)
  5257. {
  5258. Name (_ADR, 0x00)
  5259. Device (PRT1)
  5260. {
  5261. Name (_ADR, 0x01)
  5262. }
  5263.  
  5264. Device (PRT2)
  5265. {
  5266. Name (_ADR, 0x02)
  5267. Name (_EJD, "\\_SB.PCI0.RP05.ARPT")
  5268. }
  5269.  
  5270. Device (PRT3)
  5271. {
  5272. Name (_ADR, 0x03)
  5273. }
  5274.  
  5275. Device (PRT4)
  5276. {
  5277. Name (_ADR, 0x04)
  5278. }
  5279.  
  5280. Device (PRT5)
  5281. {
  5282. Name (_ADR, 0x05)
  5283. }
  5284. }
  5285.  
  5286. Name (_PRW, Package (0x02)
  5287. {
  5288. 0x0D,
  5289. 0x03
  5290. })
  5291. Scope (\_GPE)
  5292. {
  5293. Method (_L0D, 0, NotSerialized)
  5294. {
  5295. Notify (\_SB.PCI0.OHC1, 0x02)
  5296. Notify (\_SB.PWRB, 0x02)
  5297. }
  5298. }
  5299.  
  5300. Method (_S3D, 0, NotSerialized)
  5301. {
  5302. Return (0x03)
  5303. }
  5304.  
  5305. Method (_S4D, 0, NotSerialized)
  5306. {
  5307. Return (0x03)
  5308. }
  5309. }
  5310.  
  5311. Device (EHC1)
  5312. {
  5313. Name (_ADR, 0x00040001)
  5314. OperationRegion (U1CS, PCI_Config, 0x84, 0x04)
  5315. Field (U1CS, DWordAcc, NoLock, Preserve)
  5316. {
  5317. Offset (0x01),
  5318. U1EN, 1
  5319. }
  5320.  
  5321. Device (HUB1)
  5322. {
  5323. Name (_ADR, 0x00)
  5324. Device (PRT1)
  5325. {
  5326. Name (_ADR, 0x01)
  5327. }
  5328.  
  5329. Device (PRT2)
  5330. {
  5331. Name (_ADR, 0x02)
  5332. Name (_EJD, "\\_SB.PCI0.RP05.ARPT")
  5333. }
  5334.  
  5335. Device (PRT3)
  5336. {
  5337. Name (_ADR, 0x03)
  5338. }
  5339.  
  5340. Device (PRT4)
  5341. {
  5342. Name (_ADR, 0x04)
  5343. }
  5344.  
  5345. Device (PRT5)
  5346. {
  5347. Name (_ADR, 0x05)
  5348. }
  5349. }
  5350.  
  5351. Name (_PRW, Package (0x02)
  5352. {
  5353. 0x05,
  5354. 0x03
  5355. })
  5356. Scope (\_GPE)
  5357. {
  5358. Method (_L05, 0, NotSerialized)
  5359. {
  5360. Notify (\_SB.PCI0.EHC1, 0x02)
  5361. Notify (\_SB.PWRB, 0x02)
  5362. }
  5363. }
  5364.  
  5365. Method (_S3D, 0, NotSerialized)
  5366. {
  5367. Return (0x03)
  5368. }
  5369.  
  5370. Method (_S4D, 0, NotSerialized)
  5371. {
  5372. Return (0x03)
  5373. }
  5374.  
  5375. Method (_DSM, 4, NotSerialized)
  5376. {
  5377. Store (Package (0x07)
  5378. {
  5379. "AAPL,current-available",
  5380. 0x04B0,
  5381. "AAPL,current-extra",
  5382. 0x02BC,
  5383. "AAPL,current-in-sleep",
  5384. 0x03E8,
  5385. Buffer (0x01)
  5386. {
  5387. 0x00
  5388. }
  5389. }, Local0)
  5390. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  5391. Return (Local0)
  5392. }
  5393. }
  5394.  
  5395. Device (OHC2)
  5396. {
  5397. Name (_ADR, 0x00060000)
  5398. OperationRegion (U1CS, PCI_Config, 0x48, 0x04)
  5399. Field (U1CS, DWordAcc, NoLock, Preserve)
  5400. {
  5401. Offset (0x01),
  5402. U1EN, 1
  5403. }
  5404.  
  5405. Device (HUB1)
  5406. {
  5407. Name (_ADR, 0x00)
  5408. Device (PRT1)
  5409. {
  5410. Name (_ADR, 0x01)
  5411. }
  5412.  
  5413. Device (PRT2)
  5414. {
  5415. Name (_ADR, 0x02)
  5416. }
  5417.  
  5418. Device (PRT3)
  5419. {
  5420. Name (_ADR, 0x03)
  5421. Name (_EJD, "\\_SB.PCI0.RP06.EXCD")
  5422. }
  5423.  
  5424. Device (PRT4)
  5425. {
  5426. Name (_ADR, 0x04)
  5427. }
  5428.  
  5429. Device (PRT5)
  5430. {
  5431. Name (_ADR, 0x05)
  5432. }
  5433.  
  5434. Device (PRT6)
  5435. {
  5436. Name (_ADR, 0x06)
  5437. }
  5438.  
  5439. Device (PRT7)
  5440. {
  5441. Name (_ADR, 0x07)
  5442. }
  5443. }
  5444.  
  5445. Name (_PRW, Package (0x02)
  5446. {
  5447. 0x18,
  5448. 0x03
  5449. })
  5450. Scope (\_GPE)
  5451. {
  5452. Method (_L18, 0, NotSerialized)
  5453. {
  5454. Notify (\_SB.PCI0.OHC2, 0x02)
  5455. Notify (\_SB.PWRB, 0x02)
  5456. }
  5457. }
  5458.  
  5459. Method (_S3D, 0, NotSerialized)
  5460. {
  5461. Return (0x03)
  5462. }
  5463.  
  5464. Method (_S4D, 0, NotSerialized)
  5465. {
  5466. Return (0x03)
  5467. }
  5468. }
  5469.  
  5470. Device (EHC2)
  5471. {
  5472. Name (_ADR, 0x00060001)
  5473. OperationRegion (U1CS, PCI_Config, 0x84, 0x04)
  5474. Field (U1CS, DWordAcc, NoLock, Preserve)
  5475. {
  5476. Offset (0x01),
  5477. U1EN, 1
  5478. }
  5479.  
  5480. Device (HUB1)
  5481. {
  5482. Name (_ADR, 0x00)
  5483. Device (PRT1)
  5484. {
  5485. Name (_ADR, 0x01)
  5486. }
  5487.  
  5488. Device (PRT2)
  5489. {
  5490. Name (_ADR, 0x02)
  5491. }
  5492.  
  5493. Device (PRT3)
  5494. {
  5495. Name (_ADR, 0x03)
  5496. Name (_EJD, "\\_SB.PCI0.RP06.EXCD")
  5497. }
  5498.  
  5499. Device (PRT4)
  5500. {
  5501. Name (_ADR, 0x04)
  5502. }
  5503.  
  5504. Device (PRT5)
  5505. {
  5506. Name (_ADR, 0x05)
  5507. }
  5508.  
  5509. Device (PRT6)
  5510. {
  5511. Name (_ADR, 0x06)
  5512. }
  5513.  
  5514. Device (PRT7)
  5515. {
  5516. Name (_ADR, 0x07)
  5517. }
  5518. }
  5519.  
  5520. Name (_PRW, Package (0x02)
  5521. {
  5522. 0x17,
  5523. 0x03
  5524. })
  5525. Scope (\_GPE)
  5526. {
  5527. Method (_L17, 0, NotSerialized)
  5528. {
  5529. Notify (\_SB.PCI0.EHC2, 0x02)
  5530. Notify (\_SB.PWRB, 0x02)
  5531. }
  5532. }
  5533.  
  5534. Method (_S3D, 0, NotSerialized)
  5535. {
  5536. Return (0x03)
  5537. }
  5538.  
  5539. Method (_S4D, 0, NotSerialized)
  5540. {
  5541. Return (0x03)
  5542. }
  5543.  
  5544. Method (_DSM, 4, NotSerialized)
  5545. {
  5546. Store (Package (0x07)
  5547. {
  5548. "AAPL,current-available",
  5549. 0x04B0,
  5550. "AAPL,current-extra",
  5551. 0x02BC,
  5552. "AAPL,current-in-sleep",
  5553. 0x03E8,
  5554. Buffer (0x01)
  5555. {
  5556. 0x00
  5557. }
  5558. }, Local0)
  5559. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  5560. Return (Local0)
  5561. }
  5562. }
  5563.  
  5564. Device (HDEF)
  5565. {
  5566. Name (_ADR, 0x00080000)
  5567. }
  5568.  
  5569. Device (GIGE)
  5570. {
  5571. Name (_ADR, 0x000A0000)
  5572. Name (_PRW, Package (0x02)
  5573. {
  5574. 0x0B,
  5575. 0x05
  5576. })
  5577. Scope (\_GPE)
  5578. {
  5579. Method (_L0B, 0, NotSerialized)
  5580. {
  5581. Notify (\_SB.PCI0.GIGE, 0x02)
  5582. }
  5583. }
  5584.  
  5585. Method (_PSW, 1, NotSerialized)
  5586. {
  5587. If (LGreater (CREV (), 0xB2))
  5588. {
  5589. If (Arg0)
  5590. {
  5591. Store (0x01, \_SB.PCI0.SBUS.RSUS)
  5592. }
  5593. Else
  5594. {
  5595. Store (0x00, \_SB.PCI0.SBUS.RSUS)
  5596. }
  5597. }
  5598. }
  5599.  
  5600. OperationRegion (ACTL, SystemIO, 0x0800, 0x0200)
  5601. Field (ACTL, ByteAcc, NoLock, Preserve)
  5602. {
  5603. BANK, 32,
  5604. Offset (0xB4),
  5605. , 23,
  5606. EPWD, 1,
  5607. Offset (0xC0),
  5608. , 9,
  5609. DPWR, 1
  5610. }
  5611.  
  5612. Method (PWRD, 1, Serialized)
  5613. {
  5614. If (OSDW ())
  5615. {
  5616. If (Arg0)
  5617. {
  5618. Store (BANK, Local0)
  5619. Store (0x01, BANK)
  5620. Store (0x01, DPWR)
  5621. Store (0x01, EPWD)
  5622. Store (Local0, BANK)
  5623. }
  5624. Else
  5625. {
  5626. Store (BANK, Local0)
  5627. Store (0x01, BANK)
  5628. Store (0x00, EPWD)
  5629. Store (0x00, DPWR)
  5630. Store (Local0, BANK)
  5631. }
  5632. }
  5633. }
  5634. }
  5635.  
  5636. Device (SATA)
  5637. {
  5638. Name (_ADR, 0x000B0000)
  5639. Name (PRIT, 0x00)
  5640. Name (SECT, 0x00)
  5641. Name (PSIT, 0x00)
  5642. Name (SSIT, 0x00)
  5643. Name (SYNC, 0x00)
  5644. Name (SDT0, 0x00)
  5645. Name (SDT1, 0x00)
  5646. Name (STD2, 0x00)
  5647. Name (SDT3, 0x00)
  5648. Name (ICR0, 0x00)
  5649. Name (ICR1, 0x00)
  5650. Name (ICR2, 0x00)
  5651. Name (ICR3, 0x00)
  5652. Name (ICR4, 0x00)
  5653. Name (ICR5, 0x00)
  5654. Name (MAPV, 0x00)
  5655. }
  5656.  
  5657. Device (RP01)
  5658. {
  5659. Name (_ADR, 0x000C0000)
  5660. OperationRegion (A1E0, PCI_Config, 0x19, 0x01)
  5661. Field (A1E0, ByteAcc, NoLock, Preserve)
  5662. {
  5663. SECB, 8
  5664. }
  5665.  
  5666. Method (_BBN, 0, NotSerialized)
  5667. {
  5668. Return (SECB)
  5669. }
  5670.  
  5671. Method (_STA, 0, NotSerialized)
  5672. {
  5673. Return (0x0F)
  5674. }
  5675.  
  5676. Device (GFX0)
  5677. {
  5678. Name (_ADR, 0x00)
  5679. OperationRegion (KFFS, SystemMemory, 0xFFFFC048, 0x1000)
  5680. Field (KFFS, DWordAcc, NoLock, Preserve)
  5681. {
  5682. Offset (0x18),
  5683. KYSZ, 24,
  5684. Offset (0x1C),
  5685. KGLB, 32544
  5686. }
  5687.  
  5688. Method (_DSM, 4, NotSerialized)
  5689. {
  5690. Name (_T_0, Zero)
  5691. Name (TMP0, 0x00)
  5692. If (LEqual (Arg0, Buffer (0x10)
  5693. {
  5694. /* 0000 */ 0xA6, 0x69, 0x86, 0x99, 0xE9, 0x8B, 0xFB, 0x49,
  5695. /* 0008 */ 0xBD, 0xDB, 0x51, 0xA1, 0xEF, 0xE1, 0x9C, 0x3D
  5696. }))
  5697. {
  5698. If (LEqual (ToInteger (Arg1), 0x0101))
  5699. {
  5700. Store (ToInteger (Arg2), _T_0)
  5701. If (LEqual (_T_0, 0x00))
  5702. {
  5703. Return (Buffer (0x04)
  5704. {
  5705. 0xC1, 0x00, 0x00, 0x00
  5706. })
  5707. }
  5708. Else
  5709. {
  5710. If (LEqual (_T_0, 0x06))
  5711. {
  5712. CreateWordField (Arg3, 0x02, UARG)
  5713. If (LNotEqual (UARG, 0x484B))
  5714. {
  5715. Return (0x80000002)
  5716. }
  5717.  
  5718. CreateField (Arg3, 0x0C, 0x04, INST)
  5719. Store (INST, TMP0)
  5720. If (LNotEqual (TMP0, 0x00))
  5721. {
  5722. Return (0x80000002)
  5723. }
  5724.  
  5725. CreateField (Arg3, 0x00, 0x0C, KPG1)
  5726. Store (KPG1, TMP0)
  5727. If (LNotEqual (TMP0, 0x00))
  5728. {
  5729. Return (0x80000002)
  5730. }
  5731.  
  5732. Subtract (KYSZ, 0x04, Local0)
  5733. Name (KDT1, Buffer (Local0) {})
  5734. Mid (KGLB, 0x00, Local0, KDT1)
  5735. Return (KDT1)
  5736. }
  5737. Else
  5738. {
  5739. If (LEqual (_T_0, 0x07))
  5740. {
  5741. CreateField (Arg3, 0x00, 0x0C, KPG2)
  5742. Store (KPG2, TMP0)
  5743. If (LNotEqual (TMP0, 0x00))
  5744. {
  5745. Return (0x80000002)
  5746. }
  5747.  
  5748. Name (GHDR, Buffer (0x04)
  5749. {
  5750. 0x01, 0x00, 0x4B, 0x48
  5751. })
  5752. Subtract (KYSZ, 0x04, Local0)
  5753. Name (KDT2, Buffer (Local0) {})
  5754. Mid (KGLB, 0x00, Local0, KDT2)
  5755. Concatenate (GHDR, KDT2, Local1)
  5756. Return (Local1)
  5757. }
  5758. }
  5759. }
  5760. }
  5761. }
  5762.  
  5763. Return (0x80000002)
  5764. }
  5765.  
  5766. OperationRegion (ACTL, SystemIO, 0x0800, 0x0100)
  5767. Field (ACTL, DWordAcc, NoLock, Preserve)
  5768. {
  5769. BANK, 32,
  5770. Offset (0x98),
  5771. PCS0, 32,
  5772. Offset (0xA0),
  5773. PAC0, 32
  5774. }
  5775.  
  5776. Method (PWRD, 1, NotSerialized)
  5777. {
  5778. If (Arg0)
  5779. {
  5780. Store (BANK, Local0)
  5781. Store (0x04, BANK)
  5782. Store (PCS0, Local1)
  5783. Store (0xFFFF, PCS0)
  5784. Store (PAC0, Local0)
  5785. Store (Or (Local0, 0x01), PAC0)
  5786. Store (Local1, PCS0)
  5787. Store (Local0, BANK)
  5788. }
  5789. Else
  5790. {
  5791. Store (BANK, Local0)
  5792. Store (0x04, BANK)
  5793. Store (PCS0, Local1)
  5794. Store (0xFFFF, PCS0)
  5795. Store (PAC0, Local0)
  5796. Store (And (Local0, 0xFFFFFFFE), PAC0)
  5797. Store (Local1, PCS0)
  5798. Store (Local0, BANK)
  5799. }
  5800. }
  5801.  
  5802. OperationRegion (DXF0, PCI_Config, 0x0400, 0xFF)
  5803. Field (DXF0, ByteAcc, NoLock, Preserve)
  5804. {
  5805. Offset (0x1C),
  5806. DMAF, 32
  5807. }
  5808.  
  5809. Method (_PS0, 0, Serialized)
  5810. {
  5811. Store (DMAF, Local0)
  5812. And (Local0, 0xFFFFFF80, Local0)
  5813. Or (Local0, 0x71, Local0)
  5814. Store (Local0, DMAF)
  5815. }
  5816.  
  5817. Method (_PS3, 0, Serialized)
  5818. {
  5819. }
  5820. }
  5821. }
  5822.  
  5823. Device (IXVE)
  5824. {
  5825. Name (_ADR, 0x00100000)
  5826. OperationRegion (A1E0, PCI_Config, 0x19, 0x01)
  5827. Field (A1E0, ByteAcc, NoLock, Preserve)
  5828. {
  5829. SECB, 8
  5830. }
  5831.  
  5832. Method (_BBN, 0, NotSerialized)
  5833. {
  5834. Return (SECB)
  5835. }
  5836.  
  5837. Method (_STA, 0, NotSerialized)
  5838. {
  5839. Return (0x0F)
  5840. }
  5841.  
  5842. Device (IGPU)
  5843. {
  5844. Name (_ADR, 0x00)
  5845. OperationRegion (KFFS, SystemMemory, 0xFFFFC048, 0x1000)
  5846. Field (KFFS, DWordAcc, NoLock, Preserve)
  5847. {
  5848. Offset (0x18),
  5849. KYSZ, 24,
  5850. Offset (0x1C),
  5851. KGLB, 32544
  5852. }
  5853.  
  5854. Method (_DSM, 4, NotSerialized)
  5855. {
  5856. Name (_T_0, Zero)
  5857. Name (TMP0, 0x00)
  5858. If (LEqual (Arg0, Buffer (0x10)
  5859. {
  5860. /* 0000 */ 0xA6, 0x69, 0x86, 0x99, 0xE9, 0x8B, 0xFB, 0x49,
  5861. /* 0008 */ 0xBD, 0xDB, 0x51, 0xA1, 0xEF, 0xE1, 0x9C, 0x3D
  5862. }))
  5863. {
  5864. If (LEqual (ToInteger (Arg1), 0x0101))
  5865. {
  5866. Store (ToInteger (Arg2), _T_0)
  5867. If (LEqual (_T_0, 0x00))
  5868. {
  5869. Return (Buffer (0x04)
  5870. {
  5871. 0xC1, 0x00, 0x00, 0x00
  5872. })
  5873. }
  5874. Else
  5875. {
  5876. If (LEqual (_T_0, 0x06))
  5877. {
  5878. CreateWordField (Arg3, 0x02, UARG)
  5879. If (LNotEqual (UARG, 0x484B))
  5880. {
  5881. Return (0x80000002)
  5882. }
  5883.  
  5884. CreateField (Arg3, 0x0C, 0x04, INST)
  5885. Store (INST, TMP0)
  5886. If (LNotEqual (TMP0, 0x00))
  5887. {
  5888. Return (0x80000002)
  5889. }
  5890.  
  5891. CreateField (Arg3, 0x00, 0x0C, KPG1)
  5892. Store (KPG1, TMP0)
  5893. If (LNotEqual (TMP0, 0x00))
  5894. {
  5895. Return (0x80000002)
  5896. }
  5897.  
  5898. Subtract (KYSZ, 0x04, Local0)
  5899. Name (KDT1, Buffer (Local0) {})
  5900. Mid (KGLB, 0x00, Local0, KDT1)
  5901. Return (KDT1)
  5902. }
  5903. Else
  5904. {
  5905. If (LEqual (_T_0, 0x07))
  5906. {
  5907. CreateField (Arg3, 0x00, 0x0C, KPG2)
  5908. Store (KPG2, TMP0)
  5909. If (LNotEqual (TMP0, 0x00))
  5910. {
  5911. Return (0x80000002)
  5912. }
  5913.  
  5914. Name (GHDR, Buffer (0x04)
  5915. {
  5916. 0x01, 0x00, 0x4B, 0x48
  5917. })
  5918. Subtract (KYSZ, 0x04, Local0)
  5919. Name (KDT2, Buffer (Local0) {})
  5920. Mid (KGLB, 0x00, Local0, KDT2)
  5921. Concatenate (GHDR, KDT2, Local1)
  5922. Return (Local1)
  5923. }
  5924. }
  5925. }
  5926. }
  5927. }
  5928.  
  5929. Return (0x80000002)
  5930. }
  5931. }
  5932.  
  5933. Method (_PRT, 0, NotSerialized)
  5934. {
  5935. Return (Package (0x01)
  5936. {
  5937. Package (0x04)
  5938. {
  5939. 0xFFFF,
  5940. 0x00,
  5941. \_SB.PCI0.LGPU,
  5942. 0x00
  5943. }
  5944. })
  5945. }
  5946. }
  5947.  
  5948. Scope (\_SB.PCI0)
  5949. {
  5950. Device (CMC2)
  5951. {
  5952. Name (_ADR, 0x00010004)
  5953. OperationRegion (D1F4, SystemMemory, 0xF000C000, 0xFF)
  5954. Field (D1F4, ByteAcc, NoLock, Preserve)
  5955. {
  5956. Offset (0x88),
  5957. TOLM, 8
  5958. }
  5959. }
  5960.  
  5961. Device (P4MI)
  5962. {
  5963. Name (_ADR, 0x00030003)
  5964. OperationRegion (P4MR, PCI_Config, 0x00, 0xFF)
  5965. Field (P4MR, ByteAcc, NoLock, Preserve)
  5966. {
  5967. Offset (0x44),
  5968. BPLM, 8,
  5969. , 1,
  5970. BPLN, 8,
  5971. , 9,
  5972. BPLP, 2,
  5973. Offset (0x74),
  5974. , 18,
  5975. VCO2, 1,
  5976. , 8,
  5977. ASYC, 1,
  5978. Offset (0x78),
  5979. CPLM, 8,
  5980. CPLN, 8,
  5981. Offset (0xC8),
  5982. MPLM, 4,
  5983. MPLN, 4
  5984. }
  5985. }
  5986. }
  5987.  
  5988. Method (MC1E, 0, NotSerialized)
  5989. {
  5990. Add (0xF0000000, 0xB000, Local0)
  5991. Return (Local0)
  5992. }
  5993.  
  5994. Method (MC2E, 0, NotSerialized)
  5995. {
  5996. Add (0xF0000000, 0xC000, Local0)
  5997. Return (Local0)
  5998. }
  5999.  
  6000. Method (MEXT, 0, NotSerialized)
  6001. {
  6002. Add (0xF0000000, 0xE100, Local0)
  6003. Return (Local0)
  6004. }
  6005.  
  6006. OperationRegion (OA8D, SystemMemory, MC1E (), 0xFF)
  6007. Field (OA8D, ByteAcc, NoLock, Preserve)
  6008. {
  6009. Offset (0x50),
  6010. NIST, 10,
  6011. , 2,
  6012. NSB1, 4,
  6013. NSB2, 4,
  6014. Offset (0x8C),
  6015. TRFC, 10,
  6016. Offset (0x8F),
  6017. TRCD, 4,
  6018. WRRC, 4,
  6019. Offset (0x91),
  6020. TR2P, 4,
  6021. Offset (0x9C),
  6022. Offset (0x9D),
  6023. TRP, 4,
  6024. Offset (0xA0),
  6025. Offset (0xA2),
  6026. TRC, 6,
  6027. Offset (0xA8),
  6028. TROE, 1,
  6029. , 3,
  6030. TROI, 3,
  6031. Offset (0xF4),
  6032. BWCP, 7,
  6033. Offset (0xF5),
  6034. BWIS, 7,
  6035. Offset (0xF6),
  6036. BWWB, 7,
  6037. Offset (0xF7),
  6038. BWHP, 7,
  6039. HPCR, 1
  6040. }
  6041.  
  6042. OperationRegion (O8ER, SystemMemory, MC2E (), 0xFF)
  6043. Field (O8ER, ByteAcc, NoLock, Preserve)
  6044. {
  6045. Offset (0x70),
  6046. CDP0, 1,
  6047. Offset (0x71),
  6048. CDS0, 8,
  6049. , 4,
  6050. CDC0, 4,
  6051. , 5,
  6052. CDB0, 2,
  6053. Offset (0x74),
  6054. CDP1, 1,
  6055. Offset (0x75),
  6056. CDS1, 8,
  6057. , 4,
  6058. CDC1, 4,
  6059. , 5,
  6060. CDB1, 2,
  6061. Offset (0x78),
  6062. CDP2, 1,
  6063. Offset (0x79),
  6064. CDS2, 8,
  6065. , 4,
  6066. CDC2, 4,
  6067. , 5,
  6068. CDB2, 2,
  6069. Offset (0x7C),
  6070. CDP3, 1,
  6071. Offset (0x7D),
  6072. CDS3, 8,
  6073. , 4,
  6074. CDC3, 4,
  6075. , 5,
  6076. CDB3, 2,
  6077. Offset (0x80),
  6078. INTL, 2,
  6079. RCBD, 2,
  6080. Offset (0x81),
  6081. PCIH, 5,
  6082. Offset (0x88),
  6083. TOM1, 8,
  6084. TOM2, 9,
  6085. Offset (0x90),
  6086. P0P0, 1,
  6087. P1P0, 1,
  6088. P0N0, 1,
  6089. P1N0, 1,
  6090. PCR0, 1,
  6091. Offset (0x91),
  6092. PCB0, 9,
  6093. Offset (0x93),
  6094. PCS0, 8,
  6095. P0P1, 1,
  6096. P1P1, 1,
  6097. P0N1, 1,
  6098. P1N1, 1,
  6099. PCR1, 1,
  6100. Offset (0x95),
  6101. PCB1, 9,
  6102. Offset (0x97),
  6103. PCS1, 8,
  6104. P0P2, 1,
  6105. P1P2, 1,
  6106. P0N2, 1,
  6107. P1N2, 1,
  6108. PCR2, 1,
  6109. Offset (0x99),
  6110. PCB2, 9,
  6111. Offset (0x9B),
  6112. PCS2, 8,
  6113. P0P3, 1,
  6114. P1P3, 1,
  6115. P0N3, 1,
  6116. P1N3, 1,
  6117. PCR3, 1,
  6118. Offset (0x9D),
  6119. PCB3, 9,
  6120. Offset (0x9F),
  6121. PCS3, 8,
  6122. P0P4, 1,
  6123. P1P4, 1,
  6124. P0N4, 1,
  6125. P1N4, 1,
  6126. PCR4, 1,
  6127. Offset (0xA1),
  6128. PCB4, 9,
  6129. Offset (0xA3),
  6130. PCS4, 8,
  6131. Offset (0xC4),
  6132. REFP, 16,
  6133. REFB, 4
  6134. }
  6135.  
  6136. OperationRegion (OEER, SystemMemory, MEXT (), 0xFF)
  6137. Field (OEER, ByteAcc, NoLock, Preserve)
  6138. {
  6139. Offset (0xAA),
  6140. CKDY, 16
  6141. }
  6142.  
  6143. Method (CIMP, 0, NotSerialized)
  6144. {
  6145. Name (ERR0, Buffer (0x04)
  6146. {
  6147. 0x00, 0x00, 0x00, 0x00
  6148. })
  6149. Name (BU2A, Buffer (0x04)
  6150. {
  6151. 0x00
  6152. })
  6153. CreateField (BU2A, 0x10, 0x04, BF03)
  6154. CreateField (BU2A, 0x14, 0x04, BF04)
  6155. Name (BU2B, Buffer (0x04)
  6156. {
  6157. 0x00
  6158. })
  6159. CreateField (BU2B, 0x00, 0x0B, BF07)
  6160. CreateField (BU2B, 0x0B, 0x0E, BF08)
  6161. Name (BU2C, Buffer (0x0A)
  6162. {
  6163. 0x00
  6164. })
  6165. CreateField (BU2C, 0x00, 0x03, BF0A)
  6166. CreateField (BU2C, 0x03, 0x04, BF0B)
  6167. CreateField (BU2C, 0x07, 0x04, BF0C)
  6168. CreateField (BU2C, 0x0B, 0x04, BF0D)
  6169. CreateField (BU2C, 0x0F, 0x04, BF0E)
  6170. CreateField (BU2C, 0x13, 0x26, BF0F)
  6171. Name (BU2D, Buffer (0x0A)
  6172. {
  6173. 0x00
  6174. })
  6175. CreateField (BU2D, 0x00, 0x10, BF1A)
  6176. CreateField (BU2D, 0x10, 0x0B, TAVN)
  6177. CreateField (BU2D, 0x1B, 0x0A, BASL)
  6178. CreateField (BU2D, 0x25, 0x0B, LBWF)
  6179. CreateField (BU2D, 0x30, 0x0C, ATBW)
  6180. CreateField (BU2D, 0x3C, 0x0A, CLTF)
  6181. CreateField (BU2D, 0x46, 0x0A, PMPF)
  6182. Name (BNKN, 0x00)
  6183. Name (BNKX, 0x00)
  6184. Name (COLN, 0x00)
  6185. Name (COLX, 0x00)
  6186. Store (0x10, Index (BU2A, 0x00))
  6187. Store (0x08, Index (BU2A, 0x01))
  6188. Store (0x12, Index (BU2A, 0x02))
  6189. Store (0xAA, Index (BU2A, 0x03))
  6190. Store (0x02, BF04)
  6191. Name (M2CL, 0x00)
  6192. Store (GM2C (), M2CL)
  6193. Multiply (M2CL, 0x02, BF08)
  6194. Store (BASM (M2CL), BF07)
  6195. Store (BU2B, Local2)
  6196. If (LEqual (^RCBD, 0x00))
  6197. {
  6198. Store (One, BF03)
  6199. Multiply (0x08000000, ^TOM1, BF0F)
  6200. Store (0x01, BF0A)
  6201. If (^INTL)
  6202. {
  6203. Store (0x02, BF0A)
  6204. }
  6205.  
  6206. If (^CDP0)
  6207. {
  6208. Store (^CDC0, BF0D)
  6209. Store (^CDB0, BF0B)
  6210. }
  6211. Else
  6212. {
  6213. If (^CDP1)
  6214. {
  6215. Store (^CDC1, BF0D)
  6216. Store (^CDB1, BF0B)
  6217. }
  6218. Else
  6219. {
  6220. If (^CDP2)
  6221. {
  6222. Store (^CDC2, BF0D)
  6223. Store (^CDB2, BF0B)
  6224. }
  6225. Else
  6226. {
  6227. If (^CDP3)
  6228. {
  6229. Store (^CDC3, BF0D)
  6230. Store (^CDB3, BF0B)
  6231. }
  6232. }
  6233. }
  6234. }
  6235.  
  6236. Store (BF0D, BF0E)
  6237. Store (BF0B, BF0C)
  6238. Store (Local2, Local1)
  6239. Concatenate (Local1, BU2C, Local2)
  6240. If (^PCIH)
  6241. {
  6242. Store (0x02, BF03)
  6243. Subtract (^TOM2, 0x20, Local1)
  6244. Multiply (0x08000000, Local1, BF0F)
  6245. Store (Local2, Local1)
  6246. Concatenate (Local1, BU2C, Local2)
  6247. }
  6248. }
  6249. Else
  6250. {
  6251. If (LEqual (^RCBD, 0x02))
  6252. {
  6253. Name (NDRE, 0x00)
  6254. Store (Zero, BF03)
  6255. Store (Zero, Local6)
  6256. While (One)
  6257. {
  6258. If (LEqual (Local6, 0x05))
  6259. {
  6260. Break
  6261. }
  6262.  
  6263. If (LOr (MP0P (Local6), MP1P (Local6)))
  6264. {
  6265. Multiply (MCRS (Local6), 0x08000000, BF0F)
  6266. Store (0x01, BF0A)
  6267. If (MPCR (Local6))
  6268. {
  6269. If (MP0P (Local6))
  6270. {
  6271. If (MP1P (Local6))
  6272. {
  6273. Store (0x02, BF0A)
  6274. }
  6275. }
  6276. }
  6277.  
  6278. Store (0x03, BNKN)
  6279. Store (0x02, BNKX)
  6280. Store (0x0C, COLN)
  6281. Store (0x08, COLX)
  6282. If (MP0P (Local6))
  6283. {
  6284. Store (MP0N (Local6), Local5)
  6285. }
  6286. Else
  6287. {
  6288. If (MP1P (Local6))
  6289. {
  6290. Store (MP1N (Local6), Local5)
  6291. }
  6292. }
  6293.  
  6294. If (LGreater (BNKN, MCDB (Local5)))
  6295. {
  6296. Store (MCDB (Local5), BNKN)
  6297. }
  6298.  
  6299. If (LLess (BNKX, MCDB (Local5)))
  6300. {
  6301. Store (MCDB (Local5), BNKX)
  6302. }
  6303.  
  6304. If (LGreater (COLN, MCDC (Local5)))
  6305. {
  6306. Store (MCDC (Local5), COLN)
  6307. }
  6308.  
  6309. If (LLess (COLX, MCDC (Local5)))
  6310. {
  6311. Store (MCDC (Local5), COLX)
  6312. }
  6313.  
  6314. Store (BNKN, BF0B)
  6315. Store (BNKX, BF0C)
  6316. Store (COLN, BF0D)
  6317. Store (COLX, BF0E)
  6318. Increment (NDRE)
  6319. Store (Local2, Local1)
  6320. Concatenate (Local1, BU2C, Local2)
  6321. }
  6322.  
  6323. Increment (Local6)
  6324. }
  6325.  
  6326. Store (NDRE, BF03)
  6327. }
  6328. Else
  6329. {
  6330. Store (Zero, Local5)
  6331. }
  6332. }
  6333.  
  6334. Store (BASM (M2CL), BASL)
  6335. Store (BASL, TAVN)
  6336. Store (PMPM (M2CL), PMPF)
  6337. Store (CLTM (M2CL), CLTF)
  6338. Store (ATBM (M2CL), ATBW)
  6339. Store (0x0FFF, LBWF)
  6340. Store (0x3E, BF1A)
  6341. Store (Local2, Local1)
  6342. Concatenate (Local1, BU2D, Local2)
  6343. Store (0xFFFF, BF1A)
  6344. Store (ATBM (M2CL), ATBW)
  6345. Store (0x0FFF, LBWF)
  6346. Store (Local2, Local1)
  6347. Concatenate (Local1, BU2D, Local2)
  6348. Concatenate (ERR0, BU2A, Local1)
  6349. Concatenate (Local1, Local2, Local0)
  6350. Return (Local0)
  6351. }
  6352.  
  6353. Method (MP0P, 1, NotSerialized)
  6354. {
  6355. If (LEqual (Arg0, 0x00))
  6356. {
  6357. Return (^P0P0)
  6358. }
  6359.  
  6360. If (LEqual (Arg0, 0x01))
  6361. {
  6362. Return (^P0P1)
  6363. }
  6364.  
  6365. If (LEqual (Arg0, 0x02))
  6366. {
  6367. Return (^P0P2)
  6368. }
  6369.  
  6370. If (LEqual (Arg0, 0x03))
  6371. {
  6372. Return (^P0P3)
  6373. }
  6374.  
  6375. If (LEqual (Arg0, 0x04))
  6376. {
  6377. Return (^P0P4)
  6378. }
  6379.  
  6380. Return (Zero)
  6381. }
  6382.  
  6383. Method (MP1P, 1, NotSerialized)
  6384. {
  6385. If (LEqual (Arg0, 0x00))
  6386. {
  6387. Return (^P1P0)
  6388. }
  6389.  
  6390. If (LEqual (Arg0, 0x01))
  6391. {
  6392. Return (^P1P1)
  6393. }
  6394.  
  6395. If (LEqual (Arg0, 0x02))
  6396. {
  6397. Return (^P1P2)
  6398. }
  6399.  
  6400. If (LEqual (Arg0, 0x03))
  6401. {
  6402. Return (^P1P3)
  6403. }
  6404.  
  6405. If (LEqual (Arg0, 0x04))
  6406. {
  6407. Return (^P1P4)
  6408. }
  6409.  
  6410. Return (Zero)
  6411. }
  6412.  
  6413. Method (MPCR, 1, NotSerialized)
  6414. {
  6415. If (LEqual (Arg0, 0x00))
  6416. {
  6417. Return (^PCR0)
  6418. }
  6419.  
  6420. If (LEqual (Arg0, 0x01))
  6421. {
  6422. Return (^PCR1)
  6423. }
  6424.  
  6425. If (LEqual (Arg0, 0x02))
  6426. {
  6427. Return (^PCR2)
  6428. }
  6429.  
  6430. If (LEqual (Arg0, 0x03))
  6431. {
  6432. Return (^PCR3)
  6433. }
  6434.  
  6435. If (LEqual (Arg0, 0x04))
  6436. {
  6437. Return (^PCR4)
  6438. }
  6439.  
  6440. Return (Zero)
  6441. }
  6442.  
  6443. Method (MP0N, 1, NotSerialized)
  6444. {
  6445. If (LEqual (Arg0, 0x00))
  6446. {
  6447. Return (^P0N0)
  6448. }
  6449.  
  6450. If (LEqual (Arg0, 0x01))
  6451. {
  6452. Return (^P0N1)
  6453. }
  6454.  
  6455. If (LEqual (Arg0, 0x02))
  6456. {
  6457. Return (^P0N2)
  6458. }
  6459.  
  6460. If (LEqual (Arg0, 0x03))
  6461. {
  6462. Return (^P0N3)
  6463. }
  6464.  
  6465. If (LEqual (Arg0, 0x04))
  6466. {
  6467. Return (^P0N4)
  6468. }
  6469.  
  6470. Return (Zero)
  6471. }
  6472.  
  6473. Method (MP1N, 1, NotSerialized)
  6474. {
  6475. If (LEqual (Arg0, 0x00))
  6476. {
  6477. Return (^P1N0)
  6478. }
  6479.  
  6480. If (LEqual (Arg0, 0x01))
  6481. {
  6482. Return (^P1N1)
  6483. }
  6484.  
  6485. If (LEqual (Arg0, 0x02))
  6486. {
  6487. Return (^P1N2)
  6488. }
  6489.  
  6490. If (LEqual (Arg0, 0x03))
  6491. {
  6492. Return (^P1N3)
  6493. }
  6494.  
  6495. If (LEqual (Arg0, 0x04))
  6496. {
  6497. Return (^P1N4)
  6498. }
  6499.  
  6500. Return (Zero)
  6501. }
  6502.  
  6503. Method (MCRB, 1, NotSerialized)
  6504. {
  6505. If (LEqual (Arg0, 0x00))
  6506. {
  6507. Return (^PCB0)
  6508. }
  6509.  
  6510. If (LEqual (Arg0, 0x01))
  6511. {
  6512. Return (^PCB1)
  6513. }
  6514.  
  6515. If (LEqual (Arg0, 0x02))
  6516. {
  6517. Return (^PCB2)
  6518. }
  6519.  
  6520. If (LEqual (Arg0, 0x03))
  6521. {
  6522. Return (^PCB3)
  6523. }
  6524.  
  6525. If (LEqual (Arg0, 0x04))
  6526. {
  6527. Return (^PCB4)
  6528. }
  6529.  
  6530. Return (Zero)
  6531. }
  6532.  
  6533. Method (MCRS, 1, NotSerialized)
  6534. {
  6535. If (LEqual (Arg0, 0x00))
  6536. {
  6537. Return (^PCS0)
  6538. }
  6539.  
  6540. If (LEqual (Arg0, 0x01))
  6541. {
  6542. Return (^PCS1)
  6543. }
  6544.  
  6545. If (LEqual (Arg0, 0x02))
  6546. {
  6547. Return (^PCS2)
  6548. }
  6549.  
  6550. If (LEqual (Arg0, 0x03))
  6551. {
  6552. Return (^PCS3)
  6553. }
  6554.  
  6555. If (LEqual (Arg0, 0x04))
  6556. {
  6557. Return (^PCS4)
  6558. }
  6559.  
  6560. Return (Zero)
  6561. }
  6562.  
  6563. Method (MCDB, 1, NotSerialized)
  6564. {
  6565. If (LEqual (Arg0, 0x00))
  6566. {
  6567. Return (^CDB0)
  6568. }
  6569.  
  6570. If (LEqual (Arg0, 0x01))
  6571. {
  6572. Return (^CDB1)
  6573. }
  6574.  
  6575. If (LEqual (Arg0, 0x02))
  6576. {
  6577. Return (^CDB2)
  6578. }
  6579.  
  6580. If (LEqual (Arg0, 0x03))
  6581. {
  6582. Return (^CDB3)
  6583. }
  6584.  
  6585. Return (Zero)
  6586. }
  6587.  
  6588. Method (MCDC, 1, NotSerialized)
  6589. {
  6590. If (LEqual (Arg0, 0x00))
  6591. {
  6592. Return (^CDC0)
  6593. }
  6594.  
  6595. If (LEqual (Arg0, 0x01))
  6596. {
  6597. Return (^CDC1)
  6598. }
  6599.  
  6600. If (LEqual (Arg0, 0x02))
  6601. {
  6602. Return (^CDC2)
  6603. }
  6604.  
  6605. If (LEqual (Arg0, 0x03))
  6606. {
  6607. Return (^CDC3)
  6608. }
  6609.  
  6610. Return (Zero)
  6611. }
  6612.  
  6613. Method (NOCH, 0, NotSerialized)
  6614. {
  6615. If (LEqual (^INTL, 0x03))
  6616. {
  6617. Store (0x02, Local6)
  6618. }
  6619. Else
  6620. {
  6621. If (LEqual (^INTL, 0x00))
  6622. {
  6623. Store (0x01, Local6)
  6624. }
  6625. Else
  6626. {
  6627. If (LEqual (^INTL, 0x02))
  6628. {
  6629. Multiply (^CDP0, ^CDS0, Local0)
  6630. Multiply (^CDP1, ^CDS1, Local1)
  6631. Multiply (^CDP2, ^CDS2, Local2)
  6632. Multiply (^CDP3, ^CDS3, Local3)
  6633. Add (Local0, Local1, Local0)
  6634. Add (Local2, Local3, Local2)
  6635. If (LEqual (Local0, Local2))
  6636. {
  6637. Store (0x02, Local6)
  6638. }
  6639. Else
  6640. {
  6641. Store (0x01, Local6)
  6642. }
  6643. }
  6644. }
  6645. }
  6646.  
  6647. Return (Local6)
  6648. }
  6649.  
  6650. Method (ATBM, 1, NotSerialized)
  6651. {
  6652. Multiply (Arg0, 0x02, Local0)
  6653. Multiply (Local0, NOCH (), Local0)
  6654. Multiply (0x08, Local0, Local0)
  6655. Multiply (Local0, ^BWHP, Local0)
  6656. Add (^BWCP, ^BWIS, Local1)
  6657. Add (Local1, ^BWWB, Local1)
  6658. Add (Local1, ^BWHP, Local1)
  6659. Divide (Local0, Local1, Local1, Local0)
  6660. Multiply (Local0, 0x03, Local0)
  6661. Divide (Local0, 0x28, Local1, Local0)
  6662. Return (Local0)
  6663. }
  6664.  
  6665. Method (GM2C, 0, NotSerialized)
  6666. {
  6667. Multiply (\_SB.PCI0.P4MI.CPLN, 0x19, Local1)
  6668. Multiply (\_SB.PCI0.P4MI.BPLN, Local1, Local1)
  6669. Add (\_SB.PCI0.P4MI.BPLP, 0x01, Local2)
  6670. Multiply (Local2, \_SB.PCI0.P4MI.CPLM, Local2)
  6671. Multiply (Local2, \_SB.PCI0.P4MI.BPLM, Local2)
  6672. Store (Local1, Local3)
  6673. Multiply (Local3, \_SB.PCI0.P4MI.MPLN, Local1)
  6674. Multiply (Local2, \_SB.PCI0.P4MI.MPLM, Local2)
  6675. Divide (Local1, Local2, , Local3)
  6676. If (LEqual (\_SB.PCI0.P4MI.VCO2, 0x00))
  6677. {
  6678. Multiply (Local3, 0x02, Local3)
  6679. }
  6680.  
  6681. Return (Local3)
  6682. }
  6683.  
  6684. Method (PMPM, 1, NotSerialized)
  6685. {
  6686. Multiply (0x0F, 0x03E8, Local0)
  6687. Divide (Local0, Arg0, Local0, Local1)
  6688. Return (Local1)
  6689. }
  6690.  
  6691. Method (CLTM, 1, NotSerialized)
  6692. {
  6693. Divide (0x04, NOCH (), Local0, Local1)
  6694. Multiply (0x03E8, Local1, Local0)
  6695. Divide (Local0, Arg0, Local0, Local1)
  6696. Return (Local1)
  6697. }
  6698.  
  6699. Method (BASM, 1, NotSerialized)
  6700. {
  6701. Name (M2CK, 0x00)
  6702. Name (NPAR, 0x01)
  6703. Store (Arg0, M2CK)
  6704. Name (TPAR, 0x04)
  6705. Divide (TPAR, NPAR, , TPAR)
  6706. Subtract (TPAR, 0x02, TPAR)
  6707. Name (BUCO, 0x00)
  6708. Add (TPAR, ^TRCD, BUCO)
  6709. Add (BUCO, ^TR2P, BUCO)
  6710. Add (BUCO, ^TRP, BUCO)
  6711. Name (B2CO, 0x00)
  6712. Store (MAX (^TRC, BUCO), B2CO)
  6713. Store (CEIL (B2CO, 0x02), B2CO)
  6714. Name (TBM2, 0x00)
  6715. If (LEqual (^TROE, 0x01))
  6716. {
  6717. Store (^TROI, TBM2)
  6718. }
  6719.  
  6720. Name (TMAX, 0x00)
  6721. Add (TMAX, TBM2, TMAX)
  6722. Add (TMAX, BUCO, TMAX)
  6723. Add (TMAX, TPAR, TMAX)
  6724. Store (MAX (TMAX, B2CO), TMAX)
  6725. Name (SWBC, 0x00)
  6726. Multiply (TMAX, ^BWWB, SWBC)
  6727. Multiply (SWBC, NPAR, SWBC)
  6728. Divide (SWBC, 0x02, , SWBC)
  6729. Name (SCPU, 0x00)
  6730. Multiply (TMAX, ^BWCP, SCPU)
  6731. Multiply (SCPU, NPAR, SCPU)
  6732. Divide (SCPU, 0x02, , SCPU)
  6733. Name (SISO, 0x00)
  6734. Add (TBM2, BUCO, Local1)
  6735. Add (Local1, NPAR, Local1)
  6736. Subtract (Local1, 0x02, Local1)
  6737. Store (MAX (Local1, B2CO), Local1)
  6738. Multiply (Local1, ^BWIS, SISO)
  6739. Name (RCBZ, 0x10)
  6740. Name (CBHP, 0x02)
  6741. Name (SHIS, 0x00)
  6742. Multiply (RCBZ, 0x04, SHIS)
  6743. Divide (SHIS, NPAR, , SHIS)
  6744. Subtract (SHIS, 0x02, SHIS)
  6745. Add (SHIS, BUCO, SHIS)
  6746. Add (SHIS, TBM2, SHIS)
  6747. Store (MAX (SHIS, B2CO), SHIS)
  6748. Multiply (SHIS, CBHP, SHIS)
  6749. Name (BIDH, 0x01)
  6750. Name (BWCO, 0x00)
  6751. Add (SWBC, SCPU, BWCO)
  6752. Add (BWCO, SISO, BWCO)
  6753. Add (BWCO, SHIS, BWCO)
  6754. Multiply (BWCO, BIDH, BWCO)
  6755. Name (NISB, 0x00)
  6756. Store (^NSB1, NISB)
  6757. ShiftLeft (^NSB2, 0x04, Local1)
  6758. Or (Local1, NISB, NISB)
  6759. Name (NICO, 0x00)
  6760. Divide (BWCO, ^NIST, Local2, Local1)
  6761. If (LNotEqual (Local2, 0x00))
  6762. {
  6763. Add (Local1, 0x01, Local1)
  6764. }
  6765.  
  6766. Multiply (NISB, NPAR, Local2)
  6767. Add (TBM2, NPAR, Local3)
  6768. If (LGreater (Local3, 0x02))
  6769. {
  6770. Subtract (Local3, 0x02, Local3)
  6771. }
  6772. Else
  6773. {
  6774. Store (0x00, Local3)
  6775. }
  6776.  
  6777. Store (MAX (Local3, B2CO), Local3)
  6778. Multiply (Local2, Local3, NICO)
  6779. Multiply (NICO, Local1, NICO)
  6780. Divide (NICO, 0x02, , NICO)
  6781. Name (RECO, 0x00)
  6782. Add (BWCO, NICO, RECO)
  6783. Divide (RECO, ^REFP, Local2, RECO)
  6784. If (LNotEqual (Local2, 0x00))
  6785. {
  6786. Add (RECO, 0x01, RECO)
  6787. }
  6788.  
  6789. Multiply (RECO, ^TRFC, RECO)
  6790. Multiply (RECO, ^REFB, RECO)
  6791. Name (MELA, 0x00)
  6792. Add (BWCO, RECO, MELA)
  6793. Add (MELA, NICO, MELA)
  6794. Multiply (MELA, 0x03E8, MELA)
  6795. Divide (MELA, M2CK, , MELA)
  6796. Name (WALA, 0x64)
  6797. Add (WALA, ^CKDY, WALA)
  6798. Multiply (WALA, 0x07D0, WALA)
  6799. Divide (WALA, M2CK, , WALA)
  6800. Name (SWLA, 0x00)
  6801. Name (M73L, 0x64)
  6802. Name (PADD, 0x00)
  6803. Add (MELA, WALA, Local1)
  6804. Add (Local1, SWLA, Local1)
  6805. Add (Local1, M73L, Local1)
  6806. Add (Local1, PADD, Local1)
  6807. Divide (Local1, 0x64, , Local0)
  6808. Return (Local0)
  6809. }
  6810.  
  6811. Method (MAX, 2, NotSerialized)
  6812. {
  6813. Store (Arg0, Local0)
  6814. If (LGreater (Arg1, Arg0))
  6815. {
  6816. Store (Arg1, Local0)
  6817. }
  6818.  
  6819. Return (Local0)
  6820. }
  6821.  
  6822. Method (CEIL, 2, NotSerialized)
  6823. {
  6824. Store (Arg0, Local0)
  6825. Divide (Local0, Arg1, Local1, Local3)
  6826. If (LNotEqual (Local1, 0x00))
  6827. {
  6828. Subtract (Local0, Local1, Local0)
  6829. Add (Local0, Arg1, Local0)
  6830. }
  6831.  
  6832. Return (Local0)
  6833. }
  6834.  
  6835. Name (ERR0, Buffer (0x04)
  6836. {
  6837. 0x00, 0x00, 0x00, 0x00
  6838. })
  6839. Name (ERR1, Buffer (0x04)
  6840. {
  6841. 0x01, 0x00, 0x00, 0x80
  6842. })
  6843. Name (ERR2, Buffer (0x04)
  6844. {
  6845. 0x02, 0x00, 0x00, 0x80
  6846. })
  6847. Name (VER1, Buffer (0x04)
  6848. {
  6849. 0x01, 0x00, 0x00, 0x00
  6850. })
  6851. Method (NVIF, 3, NotSerialized)
  6852. {
  6853. Store (ERR1, Local0)
  6854. If (LEqual (Arg0, 0x01))
  6855. {
  6856. If (LEqual (Arg1, 0x00))
  6857. {
  6858. Concatenate (ERR0, VER1,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement