Advertisement
Guest User

Untitled

a guest
Oct 28th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. Device (PEG0)
  2. {
  3. Name (_ADR, 0x00010000) // _ADR: Address
  4. Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
  5. {
  6. If (PICM)
  7. {
  8. Return (AR02 ())
  9. }
  10. Return (PR02 ())
  11. }
  12. Device (PEGP)
  13. {
  14. Name (_ADR, Zero) // _ADR: Address
  15. Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
  16. {
  17. Store (Package (0x1E)
  18. {
  19. "@0,compatible",
  20. Buffer (0x0B)
  21. {
  22. "NVDA,NVMac"
  23. },
  24. "@0,connector-type",
  25. Buffer (0x04)
  26. {
  27. 0x00, 0x08, 0x00, 0x00
  28. },
  29. "@0,device_type",
  30. Buffer (0x08)
  31. {
  32. "display"
  33. },
  34. "@0,name",
  35. Buffer (0x0F)
  36. {
  37. "NVDA,Display-A"
  38. },
  39. "@1,compatible",
  40. Buffer (0x0B)
  41. {
  42. "NVDA,NVMac"
  43. },
  44. "@1,connector-type",
  45. Buffer (0x04)
  46. {
  47. 0x00, 0x08, 0x00, 0x00
  48. },
  49. "@1,device_type",
  50. Buffer (0x08)
  51. {
  52. "display"
  53. },
  54. "@1,name",
  55. Buffer (0x0F)
  56. {
  57. "NVDA,Display-B"
  58. },
  59. "NVCAP",
  60. Buffer (0x18)
  61. {
  62. /* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00,
  63. /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07,
  64. /* 0010 */ 0x00, 0x00, 0x00, 0x00
  65. },
  66. "VRAM,totalsize",
  67. Buffer (0x04)
  68. {
  69. 0x00, 0x00, 0x00, 0x30
  70. },
  71. "device_type",
  72. Buffer (0x0C)
  73. {
  74. "NVDA,Parent"
  75. },
  76. "model",
  77. Buffer (0x17)
  78. {
  79. "NVIDIA GeForce GTX 460"
  80. },
  81. "rom-revision",
  82. Buffer (0x0F)
  83. {
  84. "70.04.2E.00.05"
  85. },
  86. "AAPL,slot-name",
  87. Buffer (0x07)
  88. {
  89. "Slot-1"
  90. },
  91. "hda-gfx",
  92. Buffer (0x0A)
  93. {
  94. "onboard-1"
  95. }
  96. }, Local0)
  97. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  98. Return (Local0)
  99. }
  100. }
  101. Device (HDAU)
  102. {
  103. Name (_ADR, One) // _ADR: Address
  104. Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
  105. {
  106. Store (Package (0x02)
  107. {
  108. "hda-gfx",
  109. Buffer (0x0A)
  110. {
  111. "onboard-1"
  112. }
  113. }, Local0)
  114. DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
  115. Return (Local0)
  116. }
  117. }
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement