Advertisement
Guest User

DSDTGigabyte

a guest
Apr 23rd, 2011
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.89 KB | None | 0 0
  1. /*
  2. * Intel ACPI Component Architecture
  3. * AML Disassembler version 20091214
  4. *
  5. * Disassembly of ./dsdt.aml, Sat Apr 23 15:31:06 2011
  6. *
  7. *
  8. * Original Table Header:
  9. * Signature "DSDT"
  10. * Length 0x000017B0 (6064)
  11. * Revision 0x01 **** ACPI 1.0, no 64-bit math support
  12. * Checksum 0x64
  13. * OEM ID "GBT "
  14. * OEM Table ID "GBTUACPI"
  15. * OEM Revision 0x00001000 (4096)
  16. * Compiler ID "INTL"
  17. * Compiler Version 0x20091214 (537465364)
  18. */
  19. DefinitionBlock ("./dsdt.aml", "DSDT", 1, "GBT ", "GBTUACPI", 0x00001000)
  20. {
  21. Name (TMAC, "P35-DS3R-Rev 2.1-Bios F13 DSDT 775 edits by Sudds at tonymacx86.com 05-12-2010")
  22. Method (DTGP, 5, NotSerialized)
  23. {
  24. If (LEqual (Arg0, Buffer (0x10)
  25. {
  26. /* 0000 */ 0xC6, 0xB7, 0xB5, 0xA0, 0x18, 0x13, 0x1C, 0x44,
  27. /* 0008 */ 0xB0, 0xC9, 0xFE, 0x69, 0x5E, 0xAF, 0x94, 0x9B
  28. }))
  29. {
  30. If (LEqual (Arg1, One))
  31. {
  32. If (LEqual (Arg2, Zero))
  33. {
  34. Store (Buffer (One)
  35. {
  36. 0x03
  37. }, Arg4)
  38. Return (One)
  39. }
  40.  
  41. If (LEqual (Arg2, One))
  42. {
  43. Return (One)
  44. }
  45. }
  46. }
  47.  
  48. Store (Buffer (One)
  49. {
  50. 0x00
  51. }, Arg4)
  52. Return (Zero)
  53. }
  54.  
  55. Scope (_PR)
  56. {
  57. Processor (CPU0, 0x00, 0x00000410, 0x06) {}
  58. Processor (CPU1, 0x01, 0x00000410, 0x06) {}
  59. Processor (CPU2, 0x02, 0x00000410, 0x06) {}
  60. Processor (CPU3, 0x03, 0x00000410, 0x06) {}
  61. }
  62.  
  63. Name (_S0, Package (0x04)
  64. {
  65. Zero,
  66. Zero,
  67. Zero,
  68. Zero
  69. })
  70. Name (SS1, Package (0x04)
  71. {
  72. One,
  73. Zero,
  74. Zero,
  75. Zero
  76. })
  77. Name (_S3, Package (0x04)
  78. {
  79. 0x05,
  80. Zero,
  81. Zero,
  82. Zero
  83. })
  84. Name (_S4, Package (0x04)
  85. {
  86. 0x06,
  87. Zero,
  88. Zero,
  89. Zero
  90. })
  91. Name (_S5, Package (0x04)
  92. {
  93. 0x07,
  94. Zero,
  95. Zero,
  96. Zero
  97. })
  98. Name (FLAG, Zero)
  99. Name (STAT, Zero)
  100. OperationRegion (SMOD, SystemMemory, 0x000FF840, One)
  101. Field (SMOD, ByteAcc, NoLock, Preserve)
  102. {
  103. , 7,
  104. SUSF, 1
  105. }
  106.  
  107. OperationRegion (DEBG, SystemIO, 0x80, One)
  108. Field (DEBG, ByteAcc, NoLock, Preserve)
  109. {
  110. DBG1, 8
  111. }
  112.  
  113. OperationRegion (RCRB, SystemMemory, 0xFED1C000, 0x4000)
  114. Field (RCRB, DWordAcc, Lock, Preserve)
  115. {
  116. Offset (0x3404),
  117. , 7,
  118. HPTF, 1
  119. }
  120.  
  121. OperationRegion (ELKM, SystemMemory, 0x000FFFEA, One)
  122. Field (ELKM, ByteAcc, NoLock, Preserve)
  123. {
  124. , 1,
  125. , 1,
  126. ELSO, 1,
  127. , 1,
  128. , 1,
  129. , 1,
  130. , 1
  131. }
  132.  
  133. OperationRegion (EXTM, SystemMemory, 0x000FF830, 0x10)
  134. Field (EXTM, WordAcc, NoLock, Preserve)
  135. {
  136. ROM1, 16,
  137. RMS1, 16,
  138. ROM2, 16,
  139. RMS2, 16,
  140. ROM3, 16,
  141. RMS3, 16,
  142. AMEM, 32
  143. }
  144.  
  145. OperationRegion (SMIC, SystemIO, 0xB2, One)
  146. Field (SMIC, ByteAcc, NoLock, Preserve)
  147. {
  148. SCP, 8
  149. }
  150.  
  151. OperationRegion (GP2C, SystemIO, 0x042C, 0x02)
  152. Field (GP2C, ByteAcc, NoLock, Preserve)
  153. {
  154. G2C1, 8,
  155. G2C2, 8
  156. }
  157.  
  158. OperationRegion (GBLE, SystemIO, 0x0421, One)
  159. Field (GBLE, ByteAcc, NoLock, Preserve)
  160. {
  161. ESMI, 8
  162. }
  163.  
  164. OperationRegion (APMP, SystemIO, 0xB2, 0x02)
  165. Field (APMP, ByteAcc, NoLock, Preserve)
  166. {
  167. APMC, 8,
  168. APMD, 8
  169. }
  170.  
  171. OperationRegion (AGPS, SystemIO, 0x0438, 0x04)
  172. Field (AGPS, ByteAcc, NoLock, Preserve)
  173. {
  174. GPSE, 16,
  175. GPSS, 16
  176. }
  177.  
  178. OperationRegion (GPCN, SystemIO, 0x0442, One)
  179. Field (GPCN, ByteAcc, NoLock, Preserve)
  180. {
  181. , 1,
  182. SWGC, 1,
  183. Offset (0x01)
  184. }
  185.  
  186. Name (OSFX, One)
  187. Name (OSFL, One)
  188. Method (STRC, 2, NotSerialized)
  189. {
  190. If (LNotEqual (SizeOf (Arg0), SizeOf (Arg1)))
  191. {
  192. Return (Zero)
  193. }
  194.  
  195. Add (SizeOf (Arg0), One, Local0)
  196. Name (BUF0, Buffer (Local0) {})
  197. Name (BUF1, Buffer (Local0) {})
  198. Store (Arg0, BUF0)
  199. Store (Arg1, BUF1)
  200. While (Local0)
  201. {
  202. Decrement (Local0)
  203. If (LNotEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index (
  204. BUF1, Local0))))
  205. {
  206. Return (Zero)
  207. }
  208. }
  209.  
  210. Return (One)
  211. }
  212.  
  213. OperationRegion (INFO, SystemMemory, 0x000FF840, 0x02)
  214. Field (INFO, ByteAcc, NoLock, Preserve)
  215. {
  216. KBDI, 1,
  217. RTCW, 1,
  218. PS2F, 1,
  219. IRFL, 2,
  220. DISE, 1,
  221. SSHU, 1
  222. }
  223.  
  224. Scope (\)
  225. {
  226. Name (PICF, Zero)
  227. Method (_PIC, 1, NotSerialized)
  228. {
  229. Store (Arg0, PICF)
  230. }
  231. }
  232.  
  233. OperationRegion (PMRS, SystemIO, 0x0430, One)
  234. Field (PMRS, ByteAcc, NoLock, Preserve)
  235. {
  236. , 4,
  237. SLPE, 1
  238. }
  239.  
  240. Method (_PTS, 1, NotSerialized)
  241. {
  242. Or (Arg0, 0xF0, Local0)
  243. Store (Local0, DBG1)
  244. If (LEqual (Arg0, One)) {}
  245. If (LEqual (Arg0, 0x03)) {}
  246. If (LEqual (Arg0, 0x05))
  247. {
  248. Store (ESMI, Local0)
  249. And (Local0, 0xFB, Local0)
  250. Store (Local0, ESMI)
  251. Store (Zero, SLPE)
  252. Sleep (0x10)
  253. }
  254.  
  255. If (LEqual (Arg0, 0x04))
  256. {
  257. If (LNot (PICF))
  258. {
  259. Sleep (0x64)
  260. }
  261. }
  262. }
  263.  
  264. Method (_WAK, 1, NotSerialized)
  265. {
  266. Notify (\_SB.PWRB, 0x02)
  267. Notify (\_SB.PCI0.UHC1, Zero)
  268. Notify (\_SB.PCI0.UHC2, Zero)
  269. Notify (\_SB.PCI0.UHC3, Zero)
  270. Notify (\_SB.PCI0.UHC4, Zero)
  271. Notify (\_SB.PCI0.UHC5, Zero)
  272. Notify (\_SB.PCI0.UHC6, Zero)
  273. Return (Package (0x02)
  274. {
  275. Zero,
  276. Zero
  277. })
  278. }
  279.  
  280. Scope (_SI)
  281. {
  282. Method (_MSG, 1, NotSerialized)
  283. {
  284. Store (Zero, Local0)
  285. }
  286.  
  287. Method (_SST, 1, NotSerialized)
  288. {
  289. Store (Zero, Local0)
  290. }
  291. }
  292.  
  293. Scope (_GPE)
  294. {
  295. Method (_L03, 0, NotSerialized)
  296. {
  297. Notify (\_SB.PCI0.UHC1, 0x02)
  298. Notify (\_SB.PWRB, 0x02)
  299. }
  300.  
  301. Method (_L04, 0, NotSerialized)
  302. {
  303. Notify (\_SB.PCI0.UHC2, 0x02)
  304. Notify (\_SB.PWRB, 0x02)
  305. }
  306.  
  307. Method (_L0C, 0, NotSerialized)
  308. {
  309. Notify (\_SB.PCI0.UHC3, 0x02)
  310. Notify (\_SB.PWRB, 0x02)
  311. }
  312.  
  313. Method (_L0E, 0, NotSerialized)
  314. {
  315. Notify (\_SB.PCI0.UHC4, 0x02)
  316. Notify (\_SB.PWRB, 0x02)
  317. }
  318.  
  319. Method (_L05, 0, NotSerialized)
  320. {
  321. Notify (\_SB.PCI0.UHC5, 0x02)
  322. Notify (\_SB.PWRB, 0x02)
  323. }
  324.  
  325. Method (_L20, 0, NotSerialized)
  326. {
  327. Notify (\_SB.PCI0.UHC6, 0x02)
  328. Notify (\_SB.PWRB, 0x02)
  329. }
  330.  
  331. Method (_L0D, 0, NotSerialized)
  332. {
  333. Notify (\_SB.PCI0.EHC1, 0x02)
  334. Notify (\_SB.PCI0.EHC2, 0x02)
  335. Notify (\_SB.PWRB, 0x02)
  336. Notify (\_SB.PCI0.HDEF, 0x02)
  337. }
  338.  
  339. Method (_L02, 0, NotSerialized)
  340. {
  341. Store (Zero, SWGC)
  342. ShiftLeft (One, 0x0A, Local0)
  343. Store (0x02, Local2)
  344. Store (One, Local3)
  345. Store (Local3, Local4)
  346. While (LAnd (LNotEqual (Local4, Zero), LNotEqual (Local2, Zero)))
  347. {
  348. Sleep (One)
  349. Decrement (Local2)
  350. And (GPSS, Local0, Local1)
  351. If (LNotEqual (Local1, Local0))
  352. {
  353. Decrement (Local4)
  354. }
  355. Else
  356. {
  357. Store (Local3, Local4)
  358. }
  359. }
  360.  
  361. And (GPSS, Local0, GPSS)
  362. Or (GPSE, Local0, GPSE)
  363. }
  364.  
  365. Method (_L0B, 0, NotSerialized)
  366. {
  367. Notify (\_SB.PCI0.PCIB, 0x02)
  368. }
  369.  
  370. Method (_L09, 0, NotSerialized)
  371. {
  372. Notify (\_SB.PCI0.PEX0, 0x02)
  373. Notify (\_SB.PCI0.PEX1, 0x02)
  374. Notify (\_SB.PCI0.PEX2, 0x02)
  375. Notify (\_SB.PCI0.PEX3, 0x02)
  376. Notify (\_SB.PCI0.PEX4, 0x02)
  377. Notify (\_SB.PCI0.PEX5, 0x02)
  378. }
  379. }
  380.  
  381. Scope (_SB)
  382. {
  383. Device (PWRB)
  384. {
  385. Name (_CID, EisaId ("PNP0C0C"))
  386. Method (_STA, 0, NotSerialized)
  387. {
  388. Return (0x0B)
  389. }
  390. }
  391.  
  392. Device (PCI0)
  393. {
  394. Name (_HID, EisaId ("PNP0A03"))
  395. Name (_ADR, Zero)
  396. Name (_UID, One)
  397. Name (_BBN, Zero)
  398. Method (_S3D, 0, NotSerialized)
  399. {
  400. If (LEqual (OSFL, 0x02))
  401. {
  402. Return (0x02)
  403. }
  404. Else
  405. {
  406. Return (0x03)
  407. }
  408. }
  409.  
  410. Method (_STA, 0, NotSerialized)
  411. {
  412. Return (0x0F)
  413. }
  414.  
  415. Method (_CRS, 0, NotSerialized)
  416. {
  417. Name (BUF0, ResourceTemplate ()
  418. {
  419. WordBusNumber (ResourceConsumer, MinNotFixed, MaxNotFixed, PosDecode,
  420. 0x0000, // Granularity
  421. 0x0000, // Range Minimum
  422. 0x003F, // Range Maximum
  423. 0x0000, // Translation Offset
  424. 0x0040, // Length
  425. ,, )
  426. IO (Decode16,
  427. 0x0CF8, // Range Minimum
  428. 0x0CF8, // Range Maximum
  429. 0x01, // Alignment
  430. 0x08, // Length
  431. )
  432. WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  433. 0x0000, // Granularity
  434. 0x0000, // Range Minimum
  435. 0x0CF7, // Range Maximum
  436. 0x0000, // Translation Offset
  437. 0x0CF8, // Length
  438. ,, , TypeStatic)
  439. WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  440. 0x0000, // Granularity
  441. 0x0D00, // Range Minimum
  442. 0xFFFF, // Range Maximum
  443. 0x0000, // Translation Offset
  444. 0xF300, // Length
  445. ,, , TypeStatic)
  446. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  447. 0x00000000, // Granularity
  448. 0x000A0000, // Range Minimum
  449. 0x000BFFFF, // Range Maximum
  450. 0x00000000, // Translation Offset
  451. 0x00020000, // Length
  452. ,, , AddressRangeMemory, TypeStatic)
  453. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  454. 0x00000000, // Granularity
  455. 0x000C0000, // Range Minimum
  456. 0x000DFFFF, // Range Maximum
  457. 0x00000000, // Translation Offset
  458. 0x00020000, // Length
  459. ,, , AddressRangeMemory, TypeStatic)
  460. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  461. 0x00000000, // Granularity
  462. 0x00100000, // Range Minimum
  463. 0xFEBFFFFF, // Range Maximum
  464. 0x00000000, // Translation Offset
  465. 0xFFF00000, // Length
  466. ,, _Y00, AddressRangeMemory, TypeStatic)
  467. })
  468. CreateDWordField (BUF0, \_SB.PCI0._CRS._Y00._MIN, TCMM)
  469. CreateDWordField (BUF0, \_SB.PCI0._CRS._Y00._LEN, TOMM)
  470. Add (AMEM, 0x00010000, TCMM)
  471. Add (TCMM, 0x00010000, TCMM)
  472. Subtract (0xFEC00000, TCMM, TOMM)
  473. Return (BUF0)
  474. }
  475.  
  476. Method (_PRT, 0, NotSerialized)
  477. {
  478. Return (Package (0x1B)
  479. {
  480. Package (0x04)
  481. {
  482. 0x001BFFFF,
  483. Zero,
  484. Zero,
  485. 0x16
  486. },
  487.  
  488. Package (0x04)
  489. {
  490. 0x0001FFFF,
  491. Zero,
  492. Zero,
  493. 0x10
  494. },
  495.  
  496. Package (0x04)
  497. {
  498. 0x0001FFFF,
  499. One,
  500. Zero,
  501. 0x11
  502. },
  503.  
  504. Package (0x04)
  505. {
  506. 0x0001FFFF,
  507. 0x02,
  508. Zero,
  509. 0x12
  510. },
  511.  
  512. Package (0x04)
  513. {
  514. 0x0001FFFF,
  515. 0x03,
  516. Zero,
  517. 0x13
  518. },
  519.  
  520. Package (0x04)
  521. {
  522. 0x0006FFFF,
  523. Zero,
  524. Zero,
  525. 0x10
  526. },
  527.  
  528. Package (0x04)
  529. {
  530. 0x0006FFFF,
  531. One,
  532. Zero,
  533. 0x11
  534. },
  535.  
  536. Package (0x04)
  537. {
  538. 0x0006FFFF,
  539. 0x02,
  540. Zero,
  541. 0x12
  542. },
  543.  
  544. Package (0x04)
  545. {
  546. 0x0006FFFF,
  547. 0x03,
  548. Zero,
  549. 0x13
  550. },
  551.  
  552. Package (0x04)
  553. {
  554. 0x001CFFFF,
  555. Zero,
  556. Zero,
  557. 0x10
  558. },
  559.  
  560. Package (0x04)
  561. {
  562. 0x001CFFFF,
  563. One,
  564. Zero,
  565. 0x11
  566. },
  567.  
  568. Package (0x04)
  569. {
  570. 0x001CFFFF,
  571. 0x02,
  572. Zero,
  573. 0x12
  574. },
  575.  
  576. Package (0x04)
  577. {
  578. 0x001CFFFF,
  579. 0x03,
  580. Zero,
  581. 0x13
  582. },
  583.  
  584. Package (0x04)
  585. {
  586. 0x001CFFFF,
  587. Zero,
  588. Zero,
  589. 0x10
  590. },
  591.  
  592. Package (0x04)
  593. {
  594. 0x001CFFFF,
  595. One,
  596. Zero,
  597. 0x11
  598. },
  599.  
  600. Package (0x04)
  601. {
  602. 0x001DFFFF,
  603. Zero,
  604. Zero,
  605. 0x17
  606. },
  607.  
  608. Package (0x04)
  609. {
  610. 0x001DFFFF,
  611. One,
  612. Zero,
  613. 0x13
  614. },
  615.  
  616. Package (0x04)
  617. {
  618. 0x001DFFFF,
  619. 0x02,
  620. Zero,
  621. 0x12
  622. },
  623.  
  624. Package (0x04)
  625. {
  626. 0x001DFFFF,
  627. 0x03,
  628. Zero,
  629. 0x10
  630. },
  631.  
  632. Package (0x04)
  633. {
  634. 0x001FFFFF,
  635. One,
  636. Zero,
  637. 0x13
  638. },
  639.  
  640. Package (0x04)
  641. {
  642. 0x001FFFFF,
  643. One,
  644. Zero,
  645. 0x13
  646. },
  647.  
  648. Package (0x04)
  649. {
  650. 0x001FFFFF,
  651. 0x02,
  652. Zero,
  653. 0x12
  654. },
  655.  
  656. Package (0x04)
  657. {
  658. 0x0019FFFF,
  659. Zero,
  660. Zero,
  661. 0x14
  662. },
  663.  
  664. Package (0x04)
  665. {
  666. 0x001AFFFF,
  667. Zero,
  668. Zero,
  669. 0x10
  670. },
  671.  
  672. Package (0x04)
  673. {
  674. 0x001AFFFF,
  675. One,
  676. Zero,
  677. 0x15
  678. },
  679.  
  680. Package (0x04)
  681. {
  682. 0x001AFFFF,
  683. 0x02,
  684. Zero,
  685. 0x12
  686. },
  687.  
  688. Package (0x04)
  689. {
  690. 0x001AFFFF,
  691. 0x02,
  692. Zero,
  693. 0x12
  694. }
  695. })
  696. }
  697.  
  698. Device (PEX0)
  699. {
  700. Name (_ADR, 0x001C0000)
  701. Method (_STA, 0, NotSerialized)
  702. {
  703. Return (0x0F)
  704. }
  705.  
  706. Method (_PRW, 0, NotSerialized)
  707. {
  708. Return (Package (0x02)
  709. {
  710. 0x09,
  711. 0x05
  712. })
  713. }
  714.  
  715. Method (_PRT, 0, NotSerialized)
  716. {
  717. Return (Package (0x04)
  718. {
  719. Package (0x04)
  720. {
  721. 0xFFFF,
  722. Zero,
  723. Zero,
  724. 0x10
  725. },
  726.  
  727. Package (0x04)
  728. {
  729. 0xFFFF,
  730. One,
  731. Zero,
  732. 0x11
  733. },
  734.  
  735. Package (0x04)
  736. {
  737. 0xFFFF,
  738. 0x02,
  739. Zero,
  740. 0x12
  741. },
  742.  
  743. Package (0x04)
  744. {
  745. 0xFFFF,
  746. 0x03,
  747. Zero,
  748. 0x13
  749. }
  750. })
  751. }
  752. }
  753.  
  754. Device (PEX1)
  755. {
  756. Name (_ADR, 0x001C0001)
  757. Method (_STA, 0, NotSerialized)
  758. {
  759. Return (0x0F)
  760. }
  761.  
  762. Method (_PRW, 0, NotSerialized)
  763. {
  764. Return (Package (0x02)
  765. {
  766. 0x09,
  767. 0x05
  768. })
  769. }
  770.  
  771. Method (_PRT, 0, NotSerialized)
  772. {
  773. Return (Package (0x04)
  774. {
  775. Package (0x04)
  776. {
  777. 0xFFFF,
  778. Zero,
  779. Zero,
  780. 0x11
  781. },
  782.  
  783. Package (0x04)
  784. {
  785. 0xFFFF,
  786. One,
  787. Zero,
  788. 0x12
  789. },
  790.  
  791. Package (0x04)
  792. {
  793. 0xFFFF,
  794. 0x02,
  795. Zero,
  796. 0x13
  797. },
  798.  
  799. Package (0x04)
  800. {
  801. 0xFFFF,
  802. 0x03,
  803. Zero,
  804. 0x10
  805. }
  806. })
  807. }
  808. }
  809.  
  810. Device (PEX2)
  811. {
  812. Name (_ADR, 0x001C0002)
  813. Method (_STA, 0, NotSerialized)
  814. {
  815. Return (0x0F)
  816. }
  817.  
  818. Method (_PRW, 0, NotSerialized)
  819. {
  820. Return (Package (0x02)
  821. {
  822. 0x09,
  823. 0x05
  824. })
  825. }
  826.  
  827. Method (_PRT, 0, NotSerialized)
  828. {
  829. Return (Package (0x04)
  830. {
  831. Package (0x04)
  832. {
  833. 0xFFFF,
  834. Zero,
  835. Zero,
  836. 0x12
  837. },
  838.  
  839. Package (0x04)
  840. {
  841. 0xFFFF,
  842. One,
  843. Zero,
  844. 0x13
  845. },
  846.  
  847. Package (0x04)
  848. {
  849. 0xFFFF,
  850. 0x02,
  851. Zero,
  852. 0x10
  853. },
  854.  
  855. Package (0x04)
  856. {
  857. 0xFFFF,
  858. 0x03,
  859. Zero,
  860. 0x11
  861. }
  862. })
  863. }
  864. }
  865.  
  866. Device (PEX3)
  867. {
  868. Name (_ADR, 0x001C0003)
  869. Method (_STA, 0, NotSerialized)
  870. {
  871. Return (0x0F)
  872. }
  873.  
  874. Method (_PRW, 0, NotSerialized)
  875. {
  876. Return (Package (0x02)
  877. {
  878. 0x09,
  879. 0x05
  880. })
  881. }
  882.  
  883. Method (_PRT, 0, NotSerialized)
  884. {
  885. Return (Package (0x04)
  886. {
  887. Package (0x04)
  888. {
  889. 0xFFFF,
  890. Zero,
  891. Zero,
  892. 0x13
  893. },
  894.  
  895. Package (0x04)
  896. {
  897. 0xFFFF,
  898. One,
  899. Zero,
  900. 0x10
  901. },
  902.  
  903. Package (0x04)
  904. {
  905. 0xFFFF,
  906. 0x02,
  907. Zero,
  908. 0x11
  909. },
  910.  
  911. Package (0x04)
  912. {
  913. 0xFFFF,
  914. 0x03,
  915. Zero,
  916. 0x12
  917. }
  918. })
  919. }
  920. }
  921.  
  922. Device (PEX4)
  923. {
  924. Name (_ADR, 0x001C0004)
  925. Method (_STA, 0, NotSerialized)
  926. {
  927. Return (0x0F)
  928. }
  929.  
  930. Method (_PRW, 0, NotSerialized)
  931. {
  932. Return (Package (0x02)
  933. {
  934. 0x09,
  935. 0x05
  936. })
  937. }
  938.  
  939. Method (_PRT, 0, NotSerialized)
  940. {
  941. Return (Package (0x04)
  942. {
  943. Package (0x04)
  944. {
  945. 0xFFFF,
  946. Zero,
  947. Zero,
  948. 0x10
  949. },
  950.  
  951. Package (0x04)
  952. {
  953. 0xFFFF,
  954. One,
  955. Zero,
  956. 0x11
  957. },
  958.  
  959. Package (0x04)
  960. {
  961. 0xFFFF,
  962. 0x02,
  963. Zero,
  964. 0x12
  965. },
  966.  
  967. Package (0x04)
  968. {
  969. 0xFFFF,
  970. 0x03,
  971. Zero,
  972. 0x13
  973. }
  974. })
  975. }
  976. }
  977.  
  978. Device (PEX5)
  979. {
  980. Name (_ADR, 0x001C0005)
  981. Method (_STA, 0, NotSerialized)
  982. {
  983. Return (0x0F)
  984. }
  985.  
  986. Method (_PRW, 0, NotSerialized)
  987. {
  988. Return (Package (0x02)
  989. {
  990. 0x09,
  991. 0x05
  992. })
  993. }
  994.  
  995. Method (_PRT, 0, NotSerialized)
  996. {
  997. Return (Package (0x04)
  998. {
  999. Package (0x04)
  1000. {
  1001. 0xFFFF,
  1002. Zero,
  1003. Zero,
  1004. 0x11
  1005. },
  1006.  
  1007. Package (0x04)
  1008. {
  1009. 0xFFFF,
  1010. One,
  1011. Zero,
  1012. 0x12
  1013. },
  1014.  
  1015. Package (0x04)
  1016. {
  1017. 0xFFFF,
  1018. 0x02,
  1019. Zero,
  1020. 0x13
  1021. },
  1022.  
  1023. Package (0x04)
  1024. {
  1025. 0xFFFF,
  1026. 0x03,
  1027. Zero,
  1028. 0x10
  1029. }
  1030. })
  1031. }
  1032. }
  1033.  
  1034. Device (PCIB)
  1035. {
  1036. Name (_ADR, 0x001E0000)
  1037. Method (_STA, 0, NotSerialized)
  1038. {
  1039. Return (0x0F)
  1040. }
  1041.  
  1042. Method (_PRT, 0, NotSerialized)
  1043. {
  1044. Return (Package (0x10)
  1045. {
  1046. Package (0x04)
  1047. {
  1048. 0xFFFF,
  1049. Zero,
  1050. Zero,
  1051. 0x14
  1052. },
  1053.  
  1054. Package (0x04)
  1055. {
  1056. 0xFFFF,
  1057. One,
  1058. Zero,
  1059. 0x13
  1060. },
  1061.  
  1062. Package (0x04)
  1063. {
  1064. 0xFFFF,
  1065. 0x02,
  1066. Zero,
  1067. 0x12
  1068. },
  1069.  
  1070. Package (0x04)
  1071. {
  1072. 0xFFFF,
  1073. 0x03,
  1074. Zero,
  1075. 0x10
  1076. },
  1077.  
  1078. Package (0x04)
  1079. {
  1080. 0x0001FFFF,
  1081. Zero,
  1082. Zero,
  1083. 0x13
  1084. },
  1085.  
  1086. Package (0x04)
  1087. {
  1088. 0x0001FFFF,
  1089. One,
  1090. Zero,
  1091. 0x12
  1092. },
  1093.  
  1094. Package (0x04)
  1095. {
  1096. 0x0001FFFF,
  1097. 0x02,
  1098. Zero,
  1099. 0x10
  1100. },
  1101.  
  1102. Package (0x04)
  1103. {
  1104. 0x0001FFFF,
  1105. 0x03,
  1106. Zero,
  1107. 0x14
  1108. },
  1109.  
  1110. Package (0x04)
  1111. {
  1112. 0x0002FFFF,
  1113. Zero,
  1114. Zero,
  1115. 0x12
  1116. },
  1117.  
  1118. Package (0x04)
  1119. {
  1120. 0x0002FFFF,
  1121. One,
  1122. Zero,
  1123. 0x10
  1124. },
  1125.  
  1126. Package (0x04)
  1127. {
  1128. 0x0002FFFF,
  1129. 0x02,
  1130. Zero,
  1131. 0x14
  1132. },
  1133.  
  1134. Package (0x04)
  1135. {
  1136. 0x0002FFFF,
  1137. 0x03,
  1138. Zero,
  1139. 0x13
  1140. },
  1141.  
  1142. Package (0x04)
  1143. {
  1144. 0x0007FFFF,
  1145. Zero,
  1146. Zero,
  1147. 0x17
  1148. },
  1149.  
  1150. Package (0x04)
  1151. {
  1152. 0x0007FFFF,
  1153. One,
  1154. Zero,
  1155. 0x17
  1156. },
  1157.  
  1158. Package (0x04)
  1159. {
  1160. 0x0007FFFF,
  1161. 0x02,
  1162. Zero,
  1163. 0x17
  1164. },
  1165.  
  1166. Package (0x04)
  1167. {
  1168. 0x0007FFFF,
  1169. 0x03,
  1170. Zero,
  1171. 0x17
  1172. }
  1173. })
  1174. }
  1175.  
  1176. Method (_PRW, 0, NotSerialized)
  1177. {
  1178. Return (Package (0x02)
  1179. {
  1180. 0x0B,
  1181. 0x05
  1182. })
  1183. }
  1184. }
  1185.  
  1186. Device (LPCB)
  1187. {
  1188. Name (_ADR, 0x001F0000)
  1189. OperationRegion (PREV, PCI_Config, 0x08, One)
  1190. Scope (\)
  1191. {
  1192. Field (\_SB.PCI0.LPCB.PREV, ByteAcc, NoLock, Preserve)
  1193. {
  1194. REV0, 8
  1195. }
  1196. }
  1197.  
  1198. OperationRegion (LPIO, PCI_Config, 0x80, 0x0E)
  1199. Scope (\)
  1200. {
  1201. Field (\_SB.PCI0.LPCB.LPIO, ByteAcc, NoLock, Preserve)
  1202. {
  1203. UAIO, 8,
  1204. PRIO, 8,
  1205. LPE1, 8,
  1206. LPE2, 8,
  1207. GN1L, 8,
  1208. GN1H, 8,
  1209. GN2L, 8,
  1210. GN2H, 8
  1211. }
  1212.  
  1213. Method (DISD, 1, NotSerialized)
  1214. {
  1215. If (LEqual (Arg0, Zero))
  1216. {
  1217. And (LPE1, 0xFE, LPE1)
  1218. }
  1219.  
  1220. If (LEqual (Arg0, One))
  1221. {
  1222. And (LPE1, 0xFD, LPE1)
  1223. }
  1224.  
  1225. If (LEqual (Arg0, 0x02))
  1226. {
  1227. And (LPE1, 0xFB, LPE1)
  1228. }
  1229.  
  1230. If (LEqual (Arg0, 0x03))
  1231. {
  1232. And (LPE1, 0xF7, LPE1)
  1233. }
  1234.  
  1235. If (LEqual (Arg0, 0x04))
  1236. {
  1237. And (LPE2, 0xFC, LPE2)
  1238. }
  1239.  
  1240. If (LEqual (Arg0, 0x05))
  1241. {
  1242. And (LPE1, 0xDF, LPE1)
  1243. }
  1244.  
  1245. If (LEqual (Arg0, 0x06))
  1246. {
  1247. And (GN2L, 0xFE, GN2L)
  1248. }
  1249. }
  1250.  
  1251. Method (CKIO, 2, NotSerialized)
  1252. {
  1253. If (LEqual (Arg1, Zero))
  1254. {
  1255. Or (LPE1, One, LPE1)
  1256. And (UAIO, 0xF0, Local0)
  1257. If (LEqual (Arg0, 0x03F8))
  1258. {
  1259. Or (Local0, Zero, UAIO)
  1260. }
  1261.  
  1262. If (LEqual (Arg0, 0x02F8))
  1263. {
  1264. Or (Local0, One, UAIO)
  1265. }
  1266.  
  1267. If (LEqual (Arg0, 0x02E8))
  1268. {
  1269. Or (Local0, 0x05, UAIO)
  1270. }
  1271.  
  1272. If (LEqual (Arg0, 0x03E8))
  1273. {
  1274. Or (Local0, 0x07, UAIO)
  1275. }
  1276. }
  1277.  
  1278. If (LEqual (Arg1, One))
  1279. {
  1280. Or (LPE1, 0x02, LPE1)
  1281. And (UAIO, 0x0F, Local0)
  1282. If (LEqual (Arg0, 0x03F8))
  1283. {
  1284. Or (Local0, Zero, UAIO)
  1285. }
  1286.  
  1287. If (LEqual (Arg0, 0x02F8))
  1288. {
  1289. Or (Local0, 0x10, UAIO)
  1290. }
  1291.  
  1292. If (LEqual (Arg0, 0x02E8))
  1293. {
  1294. Or (Local0, 0x50, UAIO)
  1295. }
  1296.  
  1297. If (LEqual (Arg0, 0x03E8))
  1298. {
  1299. Or (Local0, 0x70, UAIO)
  1300. }
  1301. }
  1302.  
  1303. If (LEqual (Arg1, 0x02))
  1304. {
  1305. Or (LPE1, 0x04, LPE1)
  1306. And (PRIO, 0xFC, Local0)
  1307. If (LEqual (Arg0, 0x0378))
  1308. {
  1309. Or (Local0, Zero, PRIO)
  1310. }
  1311.  
  1312. If (LEqual (Arg0, 0x0278))
  1313. {
  1314. Or (Local0, One, PRIO)
  1315. }
  1316.  
  1317. If (LEqual (Arg0, 0x03BC))
  1318. {
  1319. Or (Local0, 0x02, PRIO)
  1320. }
  1321. }
  1322.  
  1323. If (LEqual (Arg1, 0x03))
  1324. {
  1325. Or (LPE1, 0x08, LPE1)
  1326. }
  1327.  
  1328. If (LEqual (Arg1, 0x04))
  1329. {
  1330. If (LEqual (Arg0, 0x0201))
  1331. {
  1332. Or (LPE2, One, LPE2)
  1333. }
  1334.  
  1335. If (LEqual (Arg0, 0x0209))
  1336. {
  1337. Or (LPE2, 0x02, LPE2)
  1338. }
  1339. }
  1340.  
  1341. If (LEqual (Arg1, 0x06))
  1342. {
  1343. If (LNotEqual (Arg0, 0xFFFF))
  1344. {
  1345. And (Arg0, 0xFF, Local0)
  1346. Or (Local0, One, GN2L)
  1347. ShiftRight (Arg0, 0x08, GN2H)
  1348. }
  1349. Else
  1350. {
  1351. Store (Zero, GN2H)
  1352. Store (Zero, GN2L)
  1353. }
  1354. }
  1355. }
  1356. }
  1357.  
  1358. Device (SYSR)
  1359. {
  1360. Name (_HID, EisaId ("PNP0C02"))
  1361. Name (_UID, One)
  1362. Name (_CRS, ResourceTemplate ()
  1363. {
  1364. IO (Decode16,
  1365. 0x0010, // Range Minimum
  1366. 0x0010, // Range Maximum
  1367. 0x01, // Alignment
  1368. 0x10, // Length
  1369. )
  1370. IO (Decode16,
  1371. 0x0022, // Range Minimum
  1372. 0x0022, // Range Maximum
  1373. 0x01, // Alignment
  1374. 0x1E, // Length
  1375. )
  1376. IO (Decode16,
  1377. 0x0044, // Range Minimum
  1378. 0x0044, // Range Maximum
  1379. 0x01, // Alignment
  1380. 0x1C, // Length
  1381. )
  1382. IO (Decode16,
  1383. 0x0062, // Range Minimum
  1384. 0x0062, // Range Maximum
  1385. 0x01, // Alignment
  1386. 0x02, // Length
  1387. )
  1388. IO (Decode16,
  1389. 0x0065, // Range Minimum
  1390. 0x0065, // Range Maximum
  1391. 0x01, // Alignment
  1392. 0x0B, // Length
  1393. )
  1394. IO (Decode16,
  1395. 0x0074, // Range Minimum
  1396. 0x0074, // Range Maximum
  1397. 0x01, // Alignment
  1398. 0x0C, // Length
  1399. )
  1400. IO (Decode16,
  1401. 0x0091, // Range Minimum
  1402. 0x0091, // Range Maximum
  1403. 0x01, // Alignment
  1404. 0x03, // Length
  1405. )
  1406. IO (Decode16,
  1407. 0x00A2, // Range Minimum
  1408. 0x00A2, // Range Maximum
  1409. 0x01, // Alignment
  1410. 0x1E, // Length
  1411. )
  1412. IO (Decode16,
  1413. 0x00E0, // Range Minimum
  1414. 0x00E0, // Range Maximum
  1415. 0x01, // Alignment
  1416. 0x10, // Length
  1417. )
  1418. IO (Decode16,
  1419. 0x04D0, // Range Minimum
  1420. 0x04D0, // Range Maximum
  1421. 0x01, // Alignment
  1422. 0x02, // Length
  1423. )
  1424. IO (Decode16,
  1425. 0x0290, // Range Minimum
  1426. 0x0290, // Range Maximum
  1427. 0x01, // Alignment
  1428. 0x10, // Length
  1429. )
  1430. IO (Decode16,
  1431. 0x0800, // Range Minimum
  1432. 0x0800, // Range Maximum
  1433. 0x01, // Alignment
  1434. 0x80, // Length
  1435. )
  1436. IO (Decode16,
  1437. 0x0290, // Range Minimum
  1438. 0x0290, // Range Maximum
  1439. 0x01, // Alignment
  1440. 0x05, // Length
  1441. )
  1442. IO (Decode16,
  1443. 0x0880, // Range Minimum
  1444. 0x0880, // Range Maximum
  1445. 0x01, // Alignment
  1446. 0x10, // Length
  1447. )
  1448. })
  1449. }
  1450.  
  1451. Device (IPIC)
  1452. {
  1453. Name (_HID, EisaId ("PNP0000"))
  1454. Name (_CRS, ResourceTemplate ()
  1455. {
  1456. IO (Decode16,
  1457. 0x0020, // Range Minimum
  1458. 0x0020, // Range Maximum
  1459. 0x01, // Alignment
  1460. 0x02, // Length
  1461. )
  1462. IO (Decode16,
  1463. 0x00A0, // Range Minimum
  1464. 0x00A0, // Range Maximum
  1465. 0x01, // Alignment
  1466. 0x02, // Length
  1467. )
  1468. })
  1469. }
  1470.  
  1471. Device (DMAC)
  1472. {
  1473. Name (_HID, EisaId ("PNP0200"))
  1474. Name (_CRS, ResourceTemplate ()
  1475. {
  1476. DMA (Compatibility, BusMaster, Transfer8, )
  1477. {4}
  1478. IO (Decode16,
  1479. 0x0000, // Range Minimum
  1480. 0x0000, // Range Maximum
  1481. 0x01, // Alignment
  1482. 0x10, // Length
  1483. )
  1484. IO (Decode16,
  1485. 0x0080, // Range Minimum
  1486. 0x0080, // Range Maximum
  1487. 0x01, // Alignment
  1488. 0x11, // Length
  1489. )
  1490. IO (Decode16,
  1491. 0x0094, // Range Minimum
  1492. 0x0094, // Range Maximum
  1493. 0x01, // Alignment
  1494. 0x0C, // Length
  1495. )
  1496. IO (Decode16,
  1497. 0x00C0, // Range Minimum
  1498. 0x00C0, // Range Maximum
  1499. 0x01, // Alignment
  1500. 0x20, // Length
  1501. )
  1502. })
  1503. }
  1504.  
  1505. Device (TIMR)
  1506. {
  1507. Name (_HID, EisaId ("PNP0100"))
  1508. Name (_CRS, ResourceTemplate ()
  1509. {
  1510. IO (Decode16,
  1511. 0x0040, // Range Minimum
  1512. 0x0040, // Range Maximum
  1513. 0x00, // Alignment
  1514. 0x04, // Length
  1515. )
  1516. IO (Decode16,
  1517. 0x0050, // Range Minimum
  1518. 0x0050, // Range Maximum
  1519. 0x00, // Alignment
  1520. 0x04, // Length
  1521. )
  1522. })
  1523. }
  1524.  
  1525. Device (HPET)
  1526. {
  1527. Name (_HID, EisaId ("PNP0103"))
  1528. Name (_CRS, ResourceTemplate ()
  1529. {
  1530. IRQNoFlags ()
  1531. {0}
  1532. IRQNoFlags ()
  1533. {8}
  1534. Memory32Fixed (ReadWrite,
  1535. 0xFED00000, // Address Base
  1536. 0x00000400, // Address Length
  1537. )
  1538. })
  1539. }
  1540.  
  1541. Device (RTC)
  1542. {
  1543. Name (_HID, EisaId ("PNP0B00"))
  1544. Name (_CRS, ResourceTemplate ()
  1545. {
  1546. IO (Decode16,
  1547. 0x0070, // Range Minimum
  1548. 0x0070, // Range Maximum
  1549. 0x00, // Alignment
  1550. 0x02, // Length
  1551. )
  1552. })
  1553. }
  1554.  
  1555. Device (MATH)
  1556. {
  1557. Name (_HID, EisaId ("PNP0C04"))
  1558. Name (_CRS, ResourceTemplate ()
  1559. {
  1560. IO (Decode16,
  1561. 0x00F0, // Range Minimum
  1562. 0x00F0, // Range Maximum
  1563. 0x01, // Alignment
  1564. 0x10, // Length
  1565. )
  1566. })
  1567. }
  1568.  
  1569. Device (PMIO)
  1570. {
  1571. Name (_HID, EisaId ("PNP0C02"))
  1572. Name (_UID, 0x02)
  1573. Method (_CRS, 0, NotSerialized)
  1574. {
  1575. Name (BUF0, ResourceTemplate ()
  1576. {
  1577. IO (Decode16,
  1578. 0x0400, // Range Minimum
  1579. 0x0400, // Range Maximum
  1580. 0x01, // Alignment
  1581. 0xC0, // Length
  1582. )
  1583. })
  1584. Return (BUF0)
  1585. }
  1586. }
  1587. }
  1588.  
  1589. Device (UHC1)
  1590. {
  1591. Name (_ADR, 0x001D0000)
  1592. Method (_S3D, 0, NotSerialized)
  1593. {
  1594. If (LEqual (OSFL, 0x02))
  1595. {
  1596. Return (0x02)
  1597. }
  1598.  
  1599. Return (0x03)
  1600. }
  1601.  
  1602. Name (_PRW, Package (0x02)
  1603. {
  1604. 0x03,
  1605. 0x03
  1606. })
  1607. Method (_DSM, 4, NotSerialized)
  1608. {
  1609. Store (Package (0x02)
  1610. {
  1611. "device-id",
  1612. Buffer (0x04)
  1613. {
  1614. 0x34, 0x3A, 0x00, 0x00
  1615. }
  1616. }, Local0)
  1617. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1618. Return (Local0)
  1619. }
  1620. }
  1621.  
  1622. Device (UHC2)
  1623. {
  1624. Name (_ADR, 0x001D0001)
  1625. Method (_S3D, 0, NotSerialized)
  1626. {
  1627. If (LEqual (OSFL, 0x02))
  1628. {
  1629. Return (0x02)
  1630. }
  1631.  
  1632. Return (0x03)
  1633. }
  1634.  
  1635. Name (_PRW, Package (0x02)
  1636. {
  1637. 0x04,
  1638. 0x03
  1639. })
  1640. Method (_DSM, 4, NotSerialized)
  1641. {
  1642. Store (Package (0x02)
  1643. {
  1644. "device-id",
  1645. Buffer (0x04)
  1646. {
  1647. 0x35, 0x3A, 0x00, 0x00
  1648. }
  1649. }, Local0)
  1650. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1651. Return (Local0)
  1652. }
  1653. }
  1654.  
  1655. Device (UHC3)
  1656. {
  1657. Name (_ADR, 0x001D0002)
  1658. Method (_S3D, 0, NotSerialized)
  1659. {
  1660. If (LEqual (OSFL, 0x02))
  1661. {
  1662. Return (0x02)
  1663. }
  1664.  
  1665. Return (0x03)
  1666. }
  1667.  
  1668. Name (_PRW, Package (0x02)
  1669. {
  1670. 0x0C,
  1671. 0x03
  1672. })
  1673. Method (_DSM, 4, NotSerialized)
  1674. {
  1675. Store (Package (0x02)
  1676. {
  1677. "device-id",
  1678. Buffer (0x04)
  1679. {
  1680. 0x36, 0x3A, 0x00, 0x00
  1681. }
  1682. }, Local0)
  1683. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1684. Return (Local0)
  1685. }
  1686. }
  1687.  
  1688. Device (UHC4)
  1689. {
  1690. Name (_ADR, 0x001A0000)
  1691. Method (_S3D, 0, NotSerialized)
  1692. {
  1693. If (LEqual (OSFL, 0x02))
  1694. {
  1695. Return (0x02)
  1696. }
  1697.  
  1698. Return (0x03)
  1699. }
  1700.  
  1701. Name (_PRW, Package (0x02)
  1702. {
  1703. 0x0E,
  1704. 0x03
  1705. })
  1706. Method (_DSM, 4, NotSerialized)
  1707. {
  1708. Store (Package (0x02)
  1709. {
  1710. "device-id",
  1711. Buffer (0x04)
  1712. {
  1713. 0x37, 0x3A, 0x00, 0x00
  1714. }
  1715. }, Local0)
  1716. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1717. Return (Local0)
  1718. }
  1719. }
  1720.  
  1721. Device (UHC5)
  1722. {
  1723. Name (_ADR, 0x001A0001)
  1724. Method (_S3D, 0, NotSerialized)
  1725. {
  1726. If (LEqual (OSFL, 0x02))
  1727. {
  1728. Return (0x02)
  1729. }
  1730.  
  1731. Return (0x03)
  1732. }
  1733.  
  1734. Name (_PRW, Package (0x02)
  1735. {
  1736. 0x05,
  1737. 0x03
  1738. })
  1739. Method (_DSM, 4, NotSerialized)
  1740. {
  1741. Store (Package (0x02)
  1742. {
  1743. "device-id",
  1744. Buffer (0x04)
  1745. {
  1746. 0x38, 0x3A, 0x00, 0x00
  1747. }
  1748. }, Local0)
  1749. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1750. Return (Local0)
  1751. }
  1752. }
  1753.  
  1754. Device (UHC6)
  1755. {
  1756. Name (_ADR, 0x001A0002)
  1757. Method (_S3D, 0, NotSerialized)
  1758. {
  1759. If (LEqual (OSFL, 0x02))
  1760. {
  1761. Return (0x02)
  1762. }
  1763.  
  1764. Return (0x03)
  1765. }
  1766.  
  1767. Name (_PRW, Package (0x02)
  1768. {
  1769. 0x20,
  1770. 0x03
  1771. })
  1772. Method (_DSM, 4, NotSerialized)
  1773. {
  1774. Store (Package (0x02)
  1775. {
  1776. "device-id",
  1777. Buffer (0x04)
  1778. {
  1779. 0x39, 0x3A, 0x00, 0x00
  1780. }
  1781. }, Local0)
  1782. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1783. Return (Local0)
  1784. }
  1785. }
  1786.  
  1787. Device (EHC1)
  1788. {
  1789. Name (_ADR, 0x001D0007)
  1790. Method (_S3D, 0, NotSerialized)
  1791. {
  1792. If (LEqual (OSFL, 0x02))
  1793. {
  1794. Return (0x02)
  1795. }
  1796.  
  1797. Return (0x03)
  1798. }
  1799.  
  1800. Name (_PRW, Package (0x02)
  1801. {
  1802. 0x0D,
  1803. 0x03
  1804. })
  1805. Method (_DSM, 4, NotSerialized)
  1806. {
  1807. Store (Package (0x04)
  1808. {
  1809. "device-id",
  1810. Buffer (0x04)
  1811. {
  1812. 0x3A, 0x29, 0x00, 0x00
  1813. },
  1814.  
  1815. "AAPL,clock-id",
  1816. Buffer (One)
  1817. {
  1818. 0x01
  1819. }
  1820. }, Local0)
  1821. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1822. Return (Local0)
  1823. }
  1824. }
  1825.  
  1826. Device (EHC2)
  1827. {
  1828. Name (_ADR, 0x001A0007)
  1829. Method (_S3D, 0, NotSerialized)
  1830. {
  1831. If (LEqual (OSFL, 0x02))
  1832. {
  1833. Return (0x02)
  1834. }
  1835.  
  1836. Return (0x03)
  1837. }
  1838.  
  1839. Name (_PRW, Package (0x02)
  1840. {
  1841. 0x0D,
  1842. 0x03
  1843. })
  1844. Method (_DSM, 4, NotSerialized)
  1845. {
  1846. Store (Package (0x04)
  1847. {
  1848. "device-id",
  1849. Buffer (0x04)
  1850. {
  1851. 0x3C, 0x29, 0x00, 0x00
  1852. },
  1853.  
  1854. "AAPL,clock-id",
  1855. Buffer (One)
  1856. {
  1857. 0x02
  1858. }
  1859. }, Local0)
  1860. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1861. Return (Local0)
  1862. }
  1863. }
  1864.  
  1865. Device (SATA)
  1866. {
  1867. Name (_ADR, 0x001F0002)
  1868. Name (_SUN, One)
  1869. Device (PRT0)
  1870. {
  1871. Name (_ADR, Zero)
  1872. Method (_GTF, 0, NotSerialized)
  1873. {
  1874. Name (PIB0, Buffer (0x07)
  1875. {
  1876. 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5
  1877. })
  1878. Return (PIB0)
  1879. }
  1880.  
  1881. Method (_DSM, 4, NotSerialized)
  1882. {
  1883. Store (Package (0x02)
  1884. {
  1885. "io-device-location",
  1886. Buffer (0x06)
  1887. {
  1888. "Port0"
  1889. }
  1890. }, Local0)
  1891. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1892. Return (Local0)
  1893. }
  1894. }
  1895.  
  1896. Device (PRT1)
  1897. {
  1898. Name (_ADR, One)
  1899. Method (_GTF, 0, NotSerialized)
  1900. {
  1901. Name (PIB1, Buffer (0x07)
  1902. {
  1903. 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xF5
  1904. })
  1905. Return (PIB1)
  1906. }
  1907.  
  1908. Method (_DSM, 4, NotSerialized)
  1909. {
  1910. Store (Package (0x02)
  1911. {
  1912. "io-device-location",
  1913. Buffer (0x06)
  1914. {
  1915. "Port1"
  1916. }
  1917. }, Local0)
  1918. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1919. Return (Local0)
  1920. }
  1921. }
  1922.  
  1923. Device (PRT2)
  1924. {
  1925. Name (_ADR, 0x02)
  1926. Method (_GTF, 0, NotSerialized)
  1927. {
  1928. Name (PIB2, Buffer (0x07)
  1929. {
  1930. 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5
  1931. })
  1932. Return (PIB2)
  1933. }
  1934.  
  1935. Method (_DSM, 4, NotSerialized)
  1936. {
  1937. Store (Package (0x02)
  1938. {
  1939. "io-device-location",
  1940. Buffer (0x06)
  1941. {
  1942. "Port2"
  1943. }
  1944. }, Local0)
  1945. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1946. Return (Local0)
  1947. }
  1948. }
  1949.  
  1950. Device (PRT3)
  1951. {
  1952. Name (_ADR, 0x03)
  1953. Method (_GTF, 0, NotSerialized)
  1954. {
  1955. Name (PIB3, Buffer (0x07)
  1956. {
  1957. 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xF5
  1958. })
  1959. Return (PIB3)
  1960. }
  1961.  
  1962. Method (_DSM, 4, NotSerialized)
  1963. {
  1964. Store (Package (0x02)
  1965. {
  1966. "io-device-location",
  1967. Buffer (0x06)
  1968. {
  1969. "Port3"
  1970. }
  1971. }, Local0)
  1972. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  1973. Return (Local0)
  1974. }
  1975. }
  1976.  
  1977. Device (PRT4)
  1978. {
  1979. Name (_ADR, 0x04)
  1980. Method (_GTF, 0, NotSerialized)
  1981. {
  1982. Name (PIB4, Buffer (0x07)
  1983. {
  1984. 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5
  1985. })
  1986. Return (PIB4)
  1987. }
  1988.  
  1989. Method (_DSM, 4, NotSerialized)
  1990. {
  1991. Store (Package (0x02)
  1992. {
  1993. "io-device-location",
  1994. Buffer (0x06)
  1995. {
  1996. "Port4"
  1997. }
  1998. }, Local0)
  1999. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  2000. Return (Local0)
  2001. }
  2002. }
  2003.  
  2004. Device (PRT5)
  2005. {
  2006. Name (_ADR, 0x05)
  2007. Method (_GTF, 0, NotSerialized)
  2008. {
  2009. Name (PIB5, Buffer (0x07)
  2010. {
  2011. 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xF5
  2012. })
  2013. Return (PIB5)
  2014. }
  2015.  
  2016. Method (_DSM, 4, NotSerialized)
  2017. {
  2018. Store (Package (0x02)
  2019. {
  2020. "io-device-location",
  2021. Buffer (0x06)
  2022. {
  2023. "Port5"
  2024. }
  2025. }, Local0)
  2026. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  2027. Return (Local0)
  2028. }
  2029. }
  2030.  
  2031. Method (_DSM, 4, NotSerialized)
  2032. {
  2033. Store (Package (0x08)
  2034. {
  2035. "device-id",
  2036. Buffer (0x04)
  2037. {
  2038. 0x22, 0x3A, 0x00, 0x00
  2039. },
  2040.  
  2041. "device_type",
  2042. Buffer (0x0B)
  2043. {
  2044. "controller"
  2045. },
  2046.  
  2047. "model",
  2048. Buffer (0x11)
  2049. {
  2050. "Intel ICH10 AHCI"
  2051. },
  2052.  
  2053. "name",
  2054. Buffer (0x11)
  2055. {
  2056. "Intel ICH10 AHCI"
  2057. }
  2058. }, Local0)
  2059. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  2060. Return (Local0)
  2061. }
  2062. }
  2063.  
  2064. Device (SBUS)
  2065. {
  2066. Name (_ADR, 0x001F0003)
  2067. OperationRegion (PBAS, PCI_Config, 0x20, 0x02)
  2068. Field (PBAS, ByteAcc, NoLock, Preserve)
  2069. {
  2070. BAS0, 16
  2071. }
  2072.  
  2073. Method (SMBB, 0, NotSerialized)
  2074. {
  2075. And (BAS0, 0xFFFE, Local0)
  2076. Return (Local0)
  2077. }
  2078.  
  2079. Device (BUS0)
  2080. {
  2081. Name (_CID, "smbus")
  2082. Name (_ADR, Zero)
  2083. Device (DVL0)
  2084. {
  2085. Name (_ADR, 0x57)
  2086. Name (_CID, "diagsvault")
  2087. }
  2088. }
  2089.  
  2090. Method (_DSM, 4, NotSerialized)
  2091. {
  2092. Store (Package (0x02)
  2093. {
  2094. "device-id",
  2095. Buffer (0x04)
  2096. {
  2097. 0x30, 0x3A, 0x00, 0x00
  2098. }
  2099. }, Local0)
  2100. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  2101. Return (Local0)
  2102. }
  2103. }
  2104.  
  2105. Device (HDEF)
  2106. {
  2107. Name (_ADR, 0x001B0000)
  2108. Method (_PRW, 0, NotSerialized)
  2109. {
  2110. Return (Package (0x02)
  2111. {
  2112. 0x0D,
  2113. 0x05
  2114. })
  2115. }
  2116.  
  2117. Method (_DSM, 4, NotSerialized)
  2118. {
  2119. Store (Package (0x0A)
  2120. {
  2121. "built-in",
  2122. Buffer (One)
  2123. {
  2124. 0x00
  2125. },
  2126.  
  2127. "codec-id",
  2128. Buffer (0x04)
  2129. {
  2130. 0x85, 0x08, 0xEC, 0x10
  2131. },
  2132.  
  2133. "layout-id",
  2134. Buffer (0x04)
  2135. {
  2136. 0x75, 0x03, 0x00, 0x00
  2137. },
  2138.  
  2139. "device-type",
  2140. Buffer (0x10)
  2141. {
  2142. "Realtek ALC889a"
  2143. },
  2144.  
  2145. "PinConfigurations",
  2146. Buffer (Zero) {}
  2147. }, Local0)
  2148. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  2149. Return (Local0)
  2150. }
  2151. }
  2152. }
  2153. }
  2154. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement