2
0

pc-bios_acpi-dsdt.asl 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899
  1. /*
  2. * Intel ACPI Component Architecture
  3. * AML/ASL+ Disassembler version 20180427 (64-bit version)(RM)
  4. * Copyright (c) 2000 - 2018 Intel Corporation
  5. *
  6. * Disassembling to symbolic ASL+ operators
  7. *
  8. * Disassembly of pc-bios_acpi-dsdt.aml, Wed Sep 23 20:26:45 2020
  9. *
  10. * Original Table Header:
  11. * Signature "DSDT"
  12. * Length 0x00001137 (4407)
  13. * Revision 0x01 **** 32-bit table (V1), no 64-bit math support
  14. * Checksum 0xF0
  15. * OEM ID "BXPC"
  16. * OEM Table ID "BXDSDT"
  17. * OEM Revision 0x00000001 (1)
  18. * Compiler ID "INTL"
  19. * Compiler Version 0x20120913 (538052883)
  20. */
  21. DefinitionBlock ("", "DSDT", 1, "BXPC", "BXDSDT", 0x00000001)
  22. {
  23. /*
  24. * iASL Warning: There were 2 external control methods found during
  25. * disassembly, but only 0 were resolved (2 unresolved). Additional
  26. * ACPI tables may be required to properly disassemble the code. This
  27. * resulting disassembler output file may not compile because the
  28. * disassembler did not know how many arguments to assign to the
  29. * unresolved methods. Note: SSDTs can be dynamically loaded at
  30. * runtime and may or may not be available via the host OS.
  31. *
  32. * To specify the tables needed to resolve external control method
  33. * references, the -e option can be used to specify the filenames.
  34. * Example iASL invocations:
  35. * iasl -e ssdt1.aml ssdt2.aml ssdt3.aml -d dsdt.aml
  36. * iasl -e dsdt.aml ssdt2.aml -d ssdt1.aml
  37. * iasl -e ssdt*.aml -d dsdt.aml
  38. *
  39. * In addition, the -fe option can be used to specify a file containing
  40. * control method external declarations with the associated method
  41. * argument counts. Each line of the file must be of the form:
  42. * External (<method pathname>, MethodObj, <argument count>)
  43. * Invocation:
  44. * iasl -fe refs.txt -d dsdt.aml
  45. *
  46. * The following methods were unresolved and many not compile properly
  47. * because the disassembler had to guess at the number of arguments
  48. * required for each:
  49. */
  50. External (CPON, UnknownObj) // Warning: Unknown object
  51. External (NTFY, MethodObj) // Warning: Unknown method, guessing 2 arguments
  52. External (P0E_, IntObj) // Warning: Unknown object
  53. External (P0S_, IntObj) // Warning: Unknown object
  54. External (P1E_, IntObj) // Warning: Unknown object
  55. External (P1L_, IntObj) // Warning: Unknown object
  56. External (P1S_, IntObj) // Warning: Unknown object
  57. External (P1V_, UnknownObj) // Warning: Unknown object
  58. External (PCNT, MethodObj) // Warning: Unknown method, guessing 2 arguments
  59. Scope (\)
  60. {
  61. OperationRegion (DBG, SystemIO, 0x0402, One)
  62. Field (DBG, ByteAcc, NoLock, Preserve)
  63. {
  64. DBGB, 8
  65. }
  66. Method (DBUG, 1, NotSerialized)
  67. {
  68. ToHexString (Arg0, Local0)
  69. ToBuffer (Local0, Local0)
  70. Local1 = (SizeOf (Local0) - One)
  71. Local2 = Zero
  72. While ((Local2 < Local1))
  73. {
  74. DBGB = DerefOf (Local0 [Local2])
  75. Local2++
  76. }
  77. DBGB = 0x0A
  78. }
  79. }
  80. Scope (_SB)
  81. {
  82. Device (PCI0)
  83. {
  84. Name (_HID, EisaId ("PNP0A03")) // _HID: Hardware ID
  85. Name (_ADR, Zero) // _ADR: Address
  86. Name (_UID, One) // _UID: Unique ID
  87. }
  88. }
  89. Scope (_SB.PCI0)
  90. {
  91. Name (CRES, ResourceTemplate ()
  92. {
  93. WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
  94. 0x0000, // Granularity
  95. 0x0000, // Range Minimum
  96. 0x00FF, // Range Maximum
  97. 0x0000, // Translation Offset
  98. 0x0100, // Length
  99. ,, )
  100. IO (Decode16,
  101. 0x0CF8, // Range Minimum
  102. 0x0CF8, // Range Maximum
  103. 0x01, // Alignment
  104. 0x08, // Length
  105. )
  106. WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  107. 0x0000, // Granularity
  108. 0x0000, // Range Minimum
  109. 0x0CF7, // Range Maximum
  110. 0x0000, // Translation Offset
  111. 0x0CF8, // Length
  112. ,, , TypeStatic, DenseTranslation)
  113. WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
  114. 0x0000, // Granularity
  115. 0x0D00, // Range Minimum
  116. 0xFFFF, // Range Maximum
  117. 0x0000, // Translation Offset
  118. 0xF300, // Length
  119. ,, , TypeStatic, DenseTranslation)
  120. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  121. 0x00000000, // Granularity
  122. 0x000A0000, // Range Minimum
  123. 0x000BFFFF, // Range Maximum
  124. 0x00000000, // Translation Offset
  125. 0x00020000, // Length
  126. ,, , AddressRangeMemory, TypeStatic)
  127. DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, NonCacheable, ReadWrite,
  128. 0x00000000, // Granularity
  129. 0xE0000000, // Range Minimum
  130. 0xFEBFFFFF, // Range Maximum
  131. 0x00000000, // Translation Offset
  132. 0x1EC00000, // Length
  133. ,, _Y00, AddressRangeMemory, TypeStatic)
  134. })
  135. Name (CR64, ResourceTemplate ()
  136. {
  137. QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
  138. 0x0000000000000000, // Granularity
  139. 0x0000008000000000, // Range Minimum
  140. 0x000000FFFFFFFFFF, // Range Maximum
  141. 0x0000000000000000, // Translation Offset
  142. 0x0000008000000000, // Length
  143. ,, _Y01, AddressRangeMemory, TypeStatic)
  144. })
  145. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  146. {
  147. CreateDWordField (CRES, \_SB.PCI0._Y00._MIN, PS32) // _MIN: Minimum Base Address
  148. CreateDWordField (CRES, \_SB.PCI0._Y00._MAX, PE32) // _MAX: Maximum Base Address
  149. CreateDWordField (CRES, \_SB.PCI0._Y00._LEN, PL32) // _LEN: Length
  150. PS32 = P0S
  151. PE32 = P0E
  152. PL32 = ((P0E - P0S) + One)
  153. If ((P1V == Zero))
  154. {
  155. Return (CRES)
  156. }
  157. CreateQWordField (CR64, \_SB.PCI0._Y01._MIN, PS64) // _MIN: Minimum Base Address
  158. CreateQWordField (CR64, \_SB.PCI0._Y01._MAX, PE64) // _MAX: Maximum Base Address
  159. CreateQWordField (CR64, \_SB.PCI0._Y01._LEN, PL64) // _LEN: Length
  160. PS64 = P1S
  161. PE64 = P1E
  162. PL64 = P1L
  163. ConcatenateResTemplate (CRES, CR64, Local0)
  164. Return (Local0)
  165. }
  166. }
  167. Scope (_SB)
  168. {
  169. Device (HPET)
  170. {
  171. Name (_HID, EisaId ("PNP0103")) // _HID: Hardware ID
  172. Name (_UID, Zero) // _UID: Unique ID
  173. OperationRegion (HPTM, SystemMemory, 0xFED00000, 0x0400)
  174. Field (HPTM, DWordAcc, Lock, Preserve)
  175. {
  176. VEND, 32,
  177. PRD, 32
  178. }
  179. Method (_STA, 0, NotSerialized) // _STA: Status
  180. {
  181. Local0 = VEND
  182. Local1 = PRD
  183. Local0 >>= 0x10
  184. If (((Local0 == Zero) || (Local0 == 0xFFFF)))
  185. {
  186. Return (Zero)
  187. }
  188. If (((Local1 == Zero) || (Local1 > 0x05F5E100)))
  189. {
  190. Return (Zero)
  191. }
  192. Return (0x0F)
  193. }
  194. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  195. {
  196. Memory32Fixed (ReadOnly,
  197. 0xFED00000, // Address Base
  198. 0x00000400, // Address Length
  199. )
  200. })
  201. }
  202. }
  203. Scope (_SB.PCI0)
  204. {
  205. Device (VGA)
  206. {
  207. Name (_ADR, 0x00020000) // _ADR: Address
  208. OperationRegion (PCIC, PCI_Config, Zero, 0x04)
  209. Field (PCIC, DWordAcc, NoLock, Preserve)
  210. {
  211. VEND, 32
  212. }
  213. Method (_S1D, 0, NotSerialized) // _S1D: S1 Device State
  214. {
  215. Return (Zero)
  216. }
  217. Method (_S2D, 0, NotSerialized) // _S2D: S2 Device State
  218. {
  219. Return (Zero)
  220. }
  221. Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
  222. {
  223. If ((VEND == 0x01001B36))
  224. {
  225. Return (0x03)
  226. }
  227. Else
  228. {
  229. Return (Zero)
  230. }
  231. }
  232. }
  233. }
  234. Scope (_SB.PCI0)
  235. {
  236. Device (PX13)
  237. {
  238. Name (_ADR, 0x00010003) // _ADR: Address
  239. OperationRegion (P13C, PCI_Config, Zero, 0xFF)
  240. }
  241. }
  242. Scope (_SB.PCI0)
  243. {
  244. Device (ISA)
  245. {
  246. Name (_ADR, 0x00010000) // _ADR: Address
  247. OperationRegion (P40C, PCI_Config, 0x60, 0x04)
  248. Field (^PX13.P13C, AnyAcc, NoLock, Preserve)
  249. {
  250. Offset (0x5F),
  251. , 7,
  252. LPEN, 1,
  253. Offset (0x67),
  254. , 3,
  255. CAEN, 1,
  256. , 3,
  257. CBEN, 1
  258. }
  259. Name (FDEN, One)
  260. }
  261. }
  262. Scope (_SB.PCI0.ISA)
  263. {
  264. Device (RTC)
  265. {
  266. Name (_HID, EisaId ("PNP0B00")) // _HID: Hardware ID
  267. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  268. {
  269. IO (Decode16,
  270. 0x0070, // Range Minimum
  271. 0x0070, // Range Maximum
  272. 0x10, // Alignment
  273. 0x02, // Length
  274. )
  275. IRQNoFlags ()
  276. {8}
  277. IO (Decode16,
  278. 0x0072, // Range Minimum
  279. 0x0072, // Range Maximum
  280. 0x02, // Alignment
  281. 0x06, // Length
  282. )
  283. })
  284. }
  285. Device (KBD)
  286. {
  287. Name (_HID, EisaId ("PNP0303")) // _HID: Hardware ID
  288. Method (_STA, 0, NotSerialized) // _STA: Status
  289. {
  290. Return (0x0F)
  291. }
  292. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  293. {
  294. IO (Decode16,
  295. 0x0060, // Range Minimum
  296. 0x0060, // Range Maximum
  297. 0x01, // Alignment
  298. 0x01, // Length
  299. )
  300. IO (Decode16,
  301. 0x0064, // Range Minimum
  302. 0x0064, // Range Maximum
  303. 0x01, // Alignment
  304. 0x01, // Length
  305. )
  306. IRQNoFlags ()
  307. {1}
  308. })
  309. }
  310. Device (MOU)
  311. {
  312. Name (_HID, EisaId ("PNP0F13")) // _HID: Hardware ID
  313. Method (_STA, 0, NotSerialized) // _STA: Status
  314. {
  315. Return (0x0F)
  316. }
  317. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  318. {
  319. IRQNoFlags ()
  320. {12}
  321. })
  322. }
  323. Device (FDC0)
  324. {
  325. Name (_HID, EisaId ("PNP0700")) // _HID: Hardware ID
  326. Method (_STA, 0, NotSerialized) // _STA: Status
  327. {
  328. Local0 = FDEN
  329. If ((Local0 == Zero))
  330. {
  331. Return (Zero)
  332. }
  333. Else
  334. {
  335. Return (0x0F)
  336. }
  337. }
  338. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  339. {
  340. IO (Decode16,
  341. 0x03F2, // Range Minimum
  342. 0x03F2, // Range Maximum
  343. 0x00, // Alignment
  344. 0x04, // Length
  345. )
  346. IO (Decode16,
  347. 0x03F7, // Range Minimum
  348. 0x03F7, // Range Maximum
  349. 0x00, // Alignment
  350. 0x01, // Length
  351. )
  352. IRQNoFlags ()
  353. {6}
  354. DMA (Compatibility, NotBusMaster, Transfer8, )
  355. {2}
  356. })
  357. }
  358. Device (LPT)
  359. {
  360. Name (_HID, EisaId ("PNP0400")) // _HID: Hardware ID
  361. Method (_STA, 0, NotSerialized) // _STA: Status
  362. {
  363. Local0 = LPEN
  364. If ((Local0 == Zero))
  365. {
  366. Return (Zero)
  367. }
  368. Else
  369. {
  370. Return (0x0F)
  371. }
  372. }
  373. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  374. {
  375. IO (Decode16,
  376. 0x0378, // Range Minimum
  377. 0x0378, // Range Maximum
  378. 0x08, // Alignment
  379. 0x08, // Length
  380. )
  381. IRQNoFlags ()
  382. {7}
  383. })
  384. }
  385. Device (COM1)
  386. {
  387. Name (_HID, EisaId ("PNP0501")) // _HID: Hardware ID
  388. Name (_UID, One) // _UID: Unique ID
  389. Method (_STA, 0, NotSerialized) // _STA: Status
  390. {
  391. Local0 = CAEN
  392. If ((Local0 == Zero))
  393. {
  394. Return (Zero)
  395. }
  396. Else
  397. {
  398. Return (0x0F)
  399. }
  400. }
  401. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  402. {
  403. IO (Decode16,
  404. 0x03F8, // Range Minimum
  405. 0x03F8, // Range Maximum
  406. 0x00, // Alignment
  407. 0x08, // Length
  408. )
  409. IRQNoFlags ()
  410. {4}
  411. })
  412. }
  413. Device (COM2)
  414. {
  415. Name (_HID, EisaId ("PNP0501")) // _HID: Hardware ID
  416. Name (_UID, 0x02) // _UID: Unique ID
  417. Method (_STA, 0, NotSerialized) // _STA: Status
  418. {
  419. Local0 = CBEN
  420. If ((Local0 == Zero))
  421. {
  422. Return (Zero)
  423. }
  424. Else
  425. {
  426. Return (0x0F)
  427. }
  428. }
  429. Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
  430. {
  431. IO (Decode16,
  432. 0x02F8, // Range Minimum
  433. 0x02F8, // Range Maximum
  434. 0x00, // Alignment
  435. 0x08, // Length
  436. )
  437. IRQNoFlags ()
  438. {3}
  439. })
  440. }
  441. }
  442. Scope (_SB.PCI0)
  443. {
  444. OperationRegion (PCST, SystemIO, 0xAE00, 0x08)
  445. Field (PCST, DWordAcc, NoLock, WriteAsZeros)
  446. {
  447. PCIU, 32,
  448. PCID, 32
  449. }
  450. OperationRegion (SEJ, SystemIO, 0xAE08, 0x04)
  451. Field (SEJ, DWordAcc, NoLock, WriteAsZeros)
  452. {
  453. B0EJ, 32
  454. }
  455. Method (PCEJ, 1, NotSerialized)
  456. {
  457. B0EJ = (One << Arg0)
  458. Return (Zero)
  459. }
  460. Method (PCNF, 0, NotSerialized)
  461. {
  462. Local0 = Zero
  463. While ((Local0 < 0x1F))
  464. {
  465. Local0++
  466. If ((PCIU & (One << Local0)))
  467. {
  468. PCNT (Local0, One)
  469. }
  470. If ((PCID & (One << Local0)))
  471. {
  472. PCNT (Local0, 0x03)
  473. }
  474. }
  475. }
  476. }
  477. Scope (_SB)
  478. {
  479. Scope (PCI0)
  480. {
  481. Name (_PRT, Package (0x80) // _PRT: PCI Routing Table
  482. {
  483. Package (0x04)
  484. {
  485. 0xFFFF,
  486. Zero,
  487. LNKD,
  488. Zero
  489. },
  490. Package (0x04)
  491. {
  492. 0xFFFF,
  493. One,
  494. LNKA,
  495. Zero
  496. },
  497. Package (0x04)
  498. {
  499. 0xFFFF,
  500. 0x02,
  501. LNKB,
  502. Zero
  503. },
  504. Package (0x04)
  505. {
  506. 0xFFFF,
  507. 0x03,
  508. LNKC,
  509. Zero
  510. },
  511. Package (0x04)
  512. {
  513. 0x0001FFFF,
  514. Zero,
  515. LNKS,
  516. Zero
  517. },
  518. Package (0x04)
  519. {
  520. 0x0001FFFF,
  521. One,
  522. LNKB,
  523. Zero
  524. },
  525. Package (0x04)
  526. {
  527. 0x0001FFFF,
  528. 0x02,
  529. LNKC,
  530. Zero
  531. },
  532. Package (0x04)
  533. {
  534. 0x0001FFFF,
  535. 0x03,
  536. LNKD,
  537. Zero
  538. },
  539. Package (0x04)
  540. {
  541. 0x0002FFFF,
  542. Zero,
  543. LNKB,
  544. Zero
  545. },
  546. Package (0x04)
  547. {
  548. 0x0002FFFF,
  549. One,
  550. LNKC,
  551. Zero
  552. },
  553. Package (0x04)
  554. {
  555. 0x0002FFFF,
  556. 0x02,
  557. LNKD,
  558. Zero
  559. },
  560. Package (0x04)
  561. {
  562. 0x0002FFFF,
  563. 0x03,
  564. LNKA,
  565. Zero
  566. },
  567. Package (0x04)
  568. {
  569. 0x0003FFFF,
  570. Zero,
  571. LNKC,
  572. Zero
  573. },
  574. Package (0x04)
  575. {
  576. 0x0003FFFF,
  577. One,
  578. LNKD,
  579. Zero
  580. },
  581. Package (0x04)
  582. {
  583. 0x0003FFFF,
  584. 0x02,
  585. LNKA,
  586. Zero
  587. },
  588. Package (0x04)
  589. {
  590. 0x0003FFFF,
  591. 0x03,
  592. LNKB,
  593. Zero
  594. },
  595. Package (0x04)
  596. {
  597. 0x0004FFFF,
  598. Zero,
  599. LNKD,
  600. Zero
  601. },
  602. Package (0x04)
  603. {
  604. 0x0004FFFF,
  605. One,
  606. LNKA,
  607. Zero
  608. },
  609. Package (0x04)
  610. {
  611. 0x0004FFFF,
  612. 0x02,
  613. LNKB,
  614. Zero
  615. },
  616. Package (0x04)
  617. {
  618. 0x0004FFFF,
  619. 0x03,
  620. LNKC,
  621. Zero
  622. },
  623. Package (0x04)
  624. {
  625. 0x0005FFFF,
  626. Zero,
  627. LNKA,
  628. Zero
  629. },
  630. Package (0x04)
  631. {
  632. 0x0005FFFF,
  633. One,
  634. LNKB,
  635. Zero
  636. },
  637. Package (0x04)
  638. {
  639. 0x0005FFFF,
  640. 0x02,
  641. LNKC,
  642. Zero
  643. },
  644. Package (0x04)
  645. {
  646. 0x0005FFFF,
  647. 0x03,
  648. LNKD,
  649. Zero
  650. },
  651. Package (0x04)
  652. {
  653. 0x0006FFFF,
  654. Zero,
  655. LNKB,
  656. Zero
  657. },
  658. Package (0x04)
  659. {
  660. 0x0006FFFF,
  661. One,
  662. LNKC,
  663. Zero
  664. },
  665. Package (0x04)
  666. {
  667. 0x0006FFFF,
  668. 0x02,
  669. LNKD,
  670. Zero
  671. },
  672. Package (0x04)
  673. {
  674. 0x0006FFFF,
  675. 0x03,
  676. LNKA,
  677. Zero
  678. },
  679. Package (0x04)
  680. {
  681. 0x0007FFFF,
  682. Zero,
  683. LNKC,
  684. Zero
  685. },
  686. Package (0x04)
  687. {
  688. 0x0007FFFF,
  689. One,
  690. LNKD,
  691. Zero
  692. },
  693. Package (0x04)
  694. {
  695. 0x0007FFFF,
  696. 0x02,
  697. LNKA,
  698. Zero
  699. },
  700. Package (0x04)
  701. {
  702. 0x0007FFFF,
  703. 0x03,
  704. LNKB,
  705. Zero
  706. },
  707. Package (0x04)
  708. {
  709. 0x0008FFFF,
  710. Zero,
  711. LNKD,
  712. Zero
  713. },
  714. Package (0x04)
  715. {
  716. 0x0008FFFF,
  717. One,
  718. LNKA,
  719. Zero
  720. },
  721. Package (0x04)
  722. {
  723. 0x0008FFFF,
  724. 0x02,
  725. LNKB,
  726. Zero
  727. },
  728. Package (0x04)
  729. {
  730. 0x0008FFFF,
  731. 0x03,
  732. LNKC,
  733. Zero
  734. },
  735. Package (0x04)
  736. {
  737. 0x0009FFFF,
  738. Zero,
  739. LNKA,
  740. Zero
  741. },
  742. Package (0x04)
  743. {
  744. 0x0009FFFF,
  745. One,
  746. LNKB,
  747. Zero
  748. },
  749. Package (0x04)
  750. {
  751. 0x0009FFFF,
  752. 0x02,
  753. LNKC,
  754. Zero
  755. },
  756. Package (0x04)
  757. {
  758. 0x0009FFFF,
  759. 0x03,
  760. LNKD,
  761. Zero
  762. },
  763. Package (0x04)
  764. {
  765. 0x000AFFFF,
  766. Zero,
  767. LNKB,
  768. Zero
  769. },
  770. Package (0x04)
  771. {
  772. 0x000AFFFF,
  773. One,
  774. LNKC,
  775. Zero
  776. },
  777. Package (0x04)
  778. {
  779. 0x000AFFFF,
  780. 0x02,
  781. LNKD,
  782. Zero
  783. },
  784. Package (0x04)
  785. {
  786. 0x000AFFFF,
  787. 0x03,
  788. LNKA,
  789. Zero
  790. },
  791. Package (0x04)
  792. {
  793. 0x000BFFFF,
  794. Zero,
  795. LNKC,
  796. Zero
  797. },
  798. Package (0x04)
  799. {
  800. 0x000BFFFF,
  801. One,
  802. LNKD,
  803. Zero
  804. },
  805. Package (0x04)
  806. {
  807. 0x000BFFFF,
  808. 0x02,
  809. LNKA,
  810. Zero
  811. },
  812. Package (0x04)
  813. {
  814. 0x000BFFFF,
  815. 0x03,
  816. LNKB,
  817. Zero
  818. },
  819. Package (0x04)
  820. {
  821. 0x000CFFFF,
  822. Zero,
  823. LNKD,
  824. Zero
  825. },
  826. Package (0x04)
  827. {
  828. 0x000CFFFF,
  829. One,
  830. LNKA,
  831. Zero
  832. },
  833. Package (0x04)
  834. {
  835. 0x000CFFFF,
  836. 0x02,
  837. LNKB,
  838. Zero
  839. },
  840. Package (0x04)
  841. {
  842. 0x000CFFFF,
  843. 0x03,
  844. LNKC,
  845. Zero
  846. },
  847. Package (0x04)
  848. {
  849. 0x000DFFFF,
  850. Zero,
  851. LNKA,
  852. Zero
  853. },
  854. Package (0x04)
  855. {
  856. 0x000DFFFF,
  857. One,
  858. LNKB,
  859. Zero
  860. },
  861. Package (0x04)
  862. {
  863. 0x000DFFFF,
  864. 0x02,
  865. LNKC,
  866. Zero
  867. },
  868. Package (0x04)
  869. {
  870. 0x000DFFFF,
  871. 0x03,
  872. LNKD,
  873. Zero
  874. },
  875. Package (0x04)
  876. {
  877. 0x000EFFFF,
  878. Zero,
  879. LNKB,
  880. Zero
  881. },
  882. Package (0x04)
  883. {
  884. 0x000EFFFF,
  885. One,
  886. LNKC,
  887. Zero
  888. },
  889. Package (0x04)
  890. {
  891. 0x000EFFFF,
  892. 0x02,
  893. LNKD,
  894. Zero
  895. },
  896. Package (0x04)
  897. {
  898. 0x000EFFFF,
  899. 0x03,
  900. LNKA,
  901. Zero
  902. },
  903. Package (0x04)
  904. {
  905. 0x000FFFFF,
  906. Zero,
  907. LNKC,
  908. Zero
  909. },
  910. Package (0x04)
  911. {
  912. 0x000FFFFF,
  913. One,
  914. LNKD,
  915. Zero
  916. },
  917. Package (0x04)
  918. {
  919. 0x000FFFFF,
  920. 0x02,
  921. LNKA,
  922. Zero
  923. },
  924. Package (0x04)
  925. {
  926. 0x000FFFFF,
  927. 0x03,
  928. LNKB,
  929. Zero
  930. },
  931. Package (0x04)
  932. {
  933. 0x0010FFFF,
  934. Zero,
  935. LNKD,
  936. Zero
  937. },
  938. Package (0x04)
  939. {
  940. 0x0010FFFF,
  941. One,
  942. LNKA,
  943. Zero
  944. },
  945. Package (0x04)
  946. {
  947. 0x0010FFFF,
  948. 0x02,
  949. LNKB,
  950. Zero
  951. },
  952. Package (0x04)
  953. {
  954. 0x0010FFFF,
  955. 0x03,
  956. LNKC,
  957. Zero
  958. },
  959. Package (0x04)
  960. {
  961. 0x0011FFFF,
  962. Zero,
  963. LNKA,
  964. Zero
  965. },
  966. Package (0x04)
  967. {
  968. 0x0011FFFF,
  969. One,
  970. LNKB,
  971. Zero
  972. },
  973. Package (0x04)
  974. {
  975. 0x0011FFFF,
  976. 0x02,
  977. LNKC,
  978. Zero
  979. },
  980. Package (0x04)
  981. {
  982. 0x0011FFFF,
  983. 0x03,
  984. LNKD,
  985. Zero
  986. },
  987. Package (0x04)
  988. {
  989. 0x0012FFFF,
  990. Zero,
  991. LNKB,
  992. Zero
  993. },
  994. Package (0x04)
  995. {
  996. 0x0012FFFF,
  997. One,
  998. LNKC,
  999. Zero
  1000. },
  1001. Package (0x04)
  1002. {
  1003. 0x0012FFFF,
  1004. 0x02,
  1005. LNKD,
  1006. Zero
  1007. },
  1008. Package (0x04)
  1009. {
  1010. 0x0012FFFF,
  1011. 0x03,
  1012. LNKA,
  1013. Zero
  1014. },
  1015. Package (0x04)
  1016. {
  1017. 0x0013FFFF,
  1018. Zero,
  1019. LNKC,
  1020. Zero
  1021. },
  1022. Package (0x04)
  1023. {
  1024. 0x0013FFFF,
  1025. One,
  1026. LNKD,
  1027. Zero
  1028. },
  1029. Package (0x04)
  1030. {
  1031. 0x0013FFFF,
  1032. 0x02,
  1033. LNKA,
  1034. Zero
  1035. },
  1036. Package (0x04)
  1037. {
  1038. 0x0013FFFF,
  1039. 0x03,
  1040. LNKB,
  1041. Zero
  1042. },
  1043. Package (0x04)
  1044. {
  1045. 0x0014FFFF,
  1046. Zero,
  1047. LNKD,
  1048. Zero
  1049. },
  1050. Package (0x04)
  1051. {
  1052. 0x0014FFFF,
  1053. One,
  1054. LNKA,
  1055. Zero
  1056. },
  1057. Package (0x04)
  1058. {
  1059. 0x0014FFFF,
  1060. 0x02,
  1061. LNKB,
  1062. Zero
  1063. },
  1064. Package (0x04)
  1065. {
  1066. 0x0014FFFF,
  1067. 0x03,
  1068. LNKC,
  1069. Zero
  1070. },
  1071. Package (0x04)
  1072. {
  1073. 0x0015FFFF,
  1074. Zero,
  1075. LNKA,
  1076. Zero
  1077. },
  1078. Package (0x04)
  1079. {
  1080. 0x0015FFFF,
  1081. One,
  1082. LNKB,
  1083. Zero
  1084. },
  1085. Package (0x04)
  1086. {
  1087. 0x0015FFFF,
  1088. 0x02,
  1089. LNKC,
  1090. Zero
  1091. },
  1092. Package (0x04)
  1093. {
  1094. 0x0015FFFF,
  1095. 0x03,
  1096. LNKD,
  1097. Zero
  1098. },
  1099. Package (0x04)
  1100. {
  1101. 0x0016FFFF,
  1102. Zero,
  1103. LNKB,
  1104. Zero
  1105. },
  1106. Package (0x04)
  1107. {
  1108. 0x0016FFFF,
  1109. One,
  1110. LNKC,
  1111. Zero
  1112. },
  1113. Package (0x04)
  1114. {
  1115. 0x0016FFFF,
  1116. 0x02,
  1117. LNKD,
  1118. Zero
  1119. },
  1120. Package (0x04)
  1121. {
  1122. 0x0016FFFF,
  1123. 0x03,
  1124. LNKA,
  1125. Zero
  1126. },
  1127. Package (0x04)
  1128. {
  1129. 0x0017FFFF,
  1130. Zero,
  1131. LNKC,
  1132. Zero
  1133. },
  1134. Package (0x04)
  1135. {
  1136. 0x0017FFFF,
  1137. One,
  1138. LNKD,
  1139. Zero
  1140. },
  1141. Package (0x04)
  1142. {
  1143. 0x0017FFFF,
  1144. 0x02,
  1145. LNKA,
  1146. Zero
  1147. },
  1148. Package (0x04)
  1149. {
  1150. 0x0017FFFF,
  1151. 0x03,
  1152. LNKB,
  1153. Zero
  1154. },
  1155. Package (0x04)
  1156. {
  1157. 0x0018FFFF,
  1158. Zero,
  1159. LNKD,
  1160. Zero
  1161. },
  1162. Package (0x04)
  1163. {
  1164. 0x0018FFFF,
  1165. One,
  1166. LNKA,
  1167. Zero
  1168. },
  1169. Package (0x04)
  1170. {
  1171. 0x0018FFFF,
  1172. 0x02,
  1173. LNKB,
  1174. Zero
  1175. },
  1176. Package (0x04)
  1177. {
  1178. 0x0018FFFF,
  1179. 0x03,
  1180. LNKC,
  1181. Zero
  1182. },
  1183. Package (0x04)
  1184. {
  1185. 0x0019FFFF,
  1186. Zero,
  1187. LNKA,
  1188. Zero
  1189. },
  1190. Package (0x04)
  1191. {
  1192. 0x0019FFFF,
  1193. One,
  1194. LNKB,
  1195. Zero
  1196. },
  1197. Package (0x04)
  1198. {
  1199. 0x0019FFFF,
  1200. 0x02,
  1201. LNKC,
  1202. Zero
  1203. },
  1204. Package (0x04)
  1205. {
  1206. 0x0019FFFF,
  1207. 0x03,
  1208. LNKD,
  1209. Zero
  1210. },
  1211. Package (0x04)
  1212. {
  1213. 0x001AFFFF,
  1214. Zero,
  1215. LNKB,
  1216. Zero
  1217. },
  1218. Package (0x04)
  1219. {
  1220. 0x001AFFFF,
  1221. One,
  1222. LNKC,
  1223. Zero
  1224. },
  1225. Package (0x04)
  1226. {
  1227. 0x001AFFFF,
  1228. 0x02,
  1229. LNKD,
  1230. Zero
  1231. },
  1232. Package (0x04)
  1233. {
  1234. 0x001AFFFF,
  1235. 0x03,
  1236. LNKA,
  1237. Zero
  1238. },
  1239. Package (0x04)
  1240. {
  1241. 0x001BFFFF,
  1242. Zero,
  1243. LNKC,
  1244. Zero
  1245. },
  1246. Package (0x04)
  1247. {
  1248. 0x001BFFFF,
  1249. One,
  1250. LNKD,
  1251. Zero
  1252. },
  1253. Package (0x04)
  1254. {
  1255. 0x001BFFFF,
  1256. 0x02,
  1257. LNKA,
  1258. Zero
  1259. },
  1260. Package (0x04)
  1261. {
  1262. 0x001BFFFF,
  1263. 0x03,
  1264. LNKB,
  1265. Zero
  1266. },
  1267. Package (0x04)
  1268. {
  1269. 0x001CFFFF,
  1270. Zero,
  1271. LNKD,
  1272. Zero
  1273. },
  1274. Package (0x04)
  1275. {
  1276. 0x001CFFFF,
  1277. One,
  1278. LNKA,
  1279. Zero
  1280. },
  1281. Package (0x04)
  1282. {
  1283. 0x001CFFFF,
  1284. 0x02,
  1285. LNKB,
  1286. Zero
  1287. },
  1288. Package (0x04)
  1289. {
  1290. 0x001CFFFF,
  1291. 0x03,
  1292. LNKC,
  1293. Zero
  1294. },
  1295. Package (0x04)
  1296. {
  1297. 0x001DFFFF,
  1298. Zero,
  1299. LNKA,
  1300. Zero
  1301. },
  1302. Package (0x04)
  1303. {
  1304. 0x001DFFFF,
  1305. One,
  1306. LNKB,
  1307. Zero
  1308. },
  1309. Package (0x04)
  1310. {
  1311. 0x001DFFFF,
  1312. 0x02,
  1313. LNKC,
  1314. Zero
  1315. },
  1316. Package (0x04)
  1317. {
  1318. 0x001DFFFF,
  1319. 0x03,
  1320. LNKD,
  1321. Zero
  1322. },
  1323. Package (0x04)
  1324. {
  1325. 0x001EFFFF,
  1326. Zero,
  1327. LNKB,
  1328. Zero
  1329. },
  1330. Package (0x04)
  1331. {
  1332. 0x001EFFFF,
  1333. One,
  1334. LNKC,
  1335. Zero
  1336. },
  1337. Package (0x04)
  1338. {
  1339. 0x001EFFFF,
  1340. 0x02,
  1341. LNKD,
  1342. Zero
  1343. },
  1344. Package (0x04)
  1345. {
  1346. 0x001EFFFF,
  1347. 0x03,
  1348. LNKA,
  1349. Zero
  1350. },
  1351. Package (0x04)
  1352. {
  1353. 0x001FFFFF,
  1354. Zero,
  1355. LNKC,
  1356. Zero
  1357. },
  1358. Package (0x04)
  1359. {
  1360. 0x001FFFFF,
  1361. One,
  1362. LNKD,
  1363. Zero
  1364. },
  1365. Package (0x04)
  1366. {
  1367. 0x001FFFFF,
  1368. 0x02,
  1369. LNKA,
  1370. Zero
  1371. },
  1372. Package (0x04)
  1373. {
  1374. 0x001FFFFF,
  1375. 0x03,
  1376. LNKB,
  1377. Zero
  1378. }
  1379. })
  1380. }
  1381. Field (PCI0.ISA.P40C, ByteAcc, NoLock, Preserve)
  1382. {
  1383. PRQ0, 8,
  1384. PRQ1, 8,
  1385. PRQ2, 8,
  1386. PRQ3, 8
  1387. }
  1388. Method (IQST, 1, NotSerialized)
  1389. {
  1390. If ((0x80 & Arg0))
  1391. {
  1392. Return (0x09)
  1393. }
  1394. Return (0x0B)
  1395. }
  1396. Method (IQCR, 1, NotSerialized)
  1397. {
  1398. Name (PRR0, ResourceTemplate ()
  1399. {
  1400. Interrupt (ResourceConsumer, Level, ActiveHigh, Shared, ,, _Y02)
  1401. {
  1402. 0x00000000,
  1403. }
  1404. })
  1405. CreateDWordField (PRR0, \_SB.IQCR._Y02._INT, PRRI) // _INT: Interrupts
  1406. If ((Arg0 < 0x80))
  1407. {
  1408. PRRI = Arg0
  1409. }
  1410. Return (PRR0)
  1411. }
  1412. Device (LNKA)
  1413. {
  1414. Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID
  1415. Name (_UID, Zero) // _UID: Unique ID
  1416. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  1417. {
  1418. Interrupt (ResourceConsumer, Level, ActiveHigh, Shared, ,, )
  1419. {
  1420. 0x00000005,
  1421. 0x0000000A,
  1422. 0x0000000B,
  1423. }
  1424. })
  1425. Method (_STA, 0, NotSerialized) // _STA: Status
  1426. {
  1427. Return (IQST (PRQ0))
  1428. }
  1429. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  1430. {
  1431. PRQ0 |= 0x80
  1432. }
  1433. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  1434. {
  1435. Return (IQCR (PRQ0))
  1436. }
  1437. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  1438. {
  1439. CreateDWordField (Arg0, 0x05, PRRI)
  1440. PRQ0 = PRRI
  1441. }
  1442. }
  1443. Device (LNKB)
  1444. {
  1445. Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID
  1446. Name (_UID, One) // _UID: Unique ID
  1447. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  1448. {
  1449. Interrupt (ResourceConsumer, Level, ActiveHigh, Shared, ,, )
  1450. {
  1451. 0x00000005,
  1452. 0x0000000A,
  1453. 0x0000000B,
  1454. }
  1455. })
  1456. Method (_STA, 0, NotSerialized) // _STA: Status
  1457. {
  1458. Return (IQST (PRQ1))
  1459. }
  1460. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  1461. {
  1462. PRQ1 |= 0x80
  1463. }
  1464. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  1465. {
  1466. Return (IQCR (PRQ1))
  1467. }
  1468. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  1469. {
  1470. CreateDWordField (Arg0, 0x05, PRRI)
  1471. PRQ1 = PRRI
  1472. }
  1473. }
  1474. Device (LNKC)
  1475. {
  1476. Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID
  1477. Name (_UID, 0x02) // _UID: Unique ID
  1478. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  1479. {
  1480. Interrupt (ResourceConsumer, Level, ActiveHigh, Shared, ,, )
  1481. {
  1482. 0x00000005,
  1483. 0x0000000A,
  1484. 0x0000000B,
  1485. }
  1486. })
  1487. Method (_STA, 0, NotSerialized) // _STA: Status
  1488. {
  1489. Return (IQST (PRQ2))
  1490. }
  1491. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  1492. {
  1493. PRQ2 |= 0x80
  1494. }
  1495. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  1496. {
  1497. Return (IQCR (PRQ2))
  1498. }
  1499. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  1500. {
  1501. CreateDWordField (Arg0, 0x05, PRRI)
  1502. PRQ2 = PRRI
  1503. }
  1504. }
  1505. Device (LNKD)
  1506. {
  1507. Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID
  1508. Name (_UID, 0x03) // _UID: Unique ID
  1509. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  1510. {
  1511. Interrupt (ResourceConsumer, Level, ActiveHigh, Shared, ,, )
  1512. {
  1513. 0x00000005,
  1514. 0x0000000A,
  1515. 0x0000000B,
  1516. }
  1517. })
  1518. Method (_STA, 0, NotSerialized) // _STA: Status
  1519. {
  1520. Return (IQST (PRQ3))
  1521. }
  1522. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  1523. {
  1524. PRQ3 |= 0x80
  1525. }
  1526. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  1527. {
  1528. Return (IQCR (PRQ3))
  1529. }
  1530. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  1531. {
  1532. CreateDWordField (Arg0, 0x05, PRRI)
  1533. PRQ3 = PRRI
  1534. }
  1535. }
  1536. Device (LNKS)
  1537. {
  1538. Name (_HID, EisaId ("PNP0C0F")) // _HID: Hardware ID
  1539. Name (_UID, 0x04) // _UID: Unique ID
  1540. Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
  1541. {
  1542. Interrupt (ResourceConsumer, Level, ActiveHigh, Shared, ,, )
  1543. {
  1544. 0x00000009,
  1545. }
  1546. })
  1547. Method (_STA, 0, NotSerialized) // _STA: Status
  1548. {
  1549. Return (0x0B)
  1550. }
  1551. Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
  1552. {
  1553. }
  1554. Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
  1555. {
  1556. Return (_PRS)
  1557. }
  1558. Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
  1559. {
  1560. }
  1561. }
  1562. }
  1563. Scope (_SB)
  1564. {
  1565. Method (CPMA, 1, NotSerialized)
  1566. {
  1567. Local0 = DerefOf (CPON [Arg0])
  1568. Local1 = Buffer (0x08)
  1569. {
  1570. 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
  1571. }
  1572. Local1 [0x02] = Arg0
  1573. Local1 [0x03] = Arg0
  1574. Local1 [0x04] = Local0
  1575. Return (Local1)
  1576. }
  1577. Method (CPST, 1, NotSerialized)
  1578. {
  1579. Local0 = DerefOf (CPON [Arg0])
  1580. If (Local0)
  1581. {
  1582. Return (0x0F)
  1583. }
  1584. Else
  1585. {
  1586. Return (Zero)
  1587. }
  1588. }
  1589. Method (CPEJ, 2, NotSerialized)
  1590. {
  1591. Sleep (0xC8)
  1592. }
  1593. OperationRegion (PRST, SystemIO, 0xAF00, 0x20)
  1594. Field (PRST, ByteAcc, NoLock, Preserve)
  1595. {
  1596. PRS, 256
  1597. }
  1598. Method (PRSC, 0, NotSerialized)
  1599. {
  1600. Local5 = PRS
  1601. Local2 = Zero
  1602. Local0 = Zero
  1603. While ((Local0 < SizeOf (CPON)))
  1604. {
  1605. Local1 = DerefOf (CPON [Local0])
  1606. If ((Local0 & 0x07))
  1607. {
  1608. Local2 >>= One
  1609. }
  1610. Else
  1611. {
  1612. Local2 = DerefOf (Local5 [(Local0 >> 0x03)])
  1613. }
  1614. Local3 = (Local2 & One)
  1615. If ((Local1 != Local3))
  1616. {
  1617. CPON [Local0] = Local3
  1618. If ((Local3 == One))
  1619. {
  1620. NTFY (Local0, One)
  1621. }
  1622. Else
  1623. {
  1624. NTFY (Local0, 0x03)
  1625. }
  1626. }
  1627. Local0++
  1628. }
  1629. }
  1630. }
  1631. Scope (_GPE)
  1632. {
  1633. Name (_HID, "ACPI0006") // _HID: Hardware ID
  1634. Method (_L00, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1635. {
  1636. }
  1637. Method (_E01, 0, NotSerialized) // _Exx: Edge-Triggered GPE
  1638. {
  1639. \_SB.PCI0.PCNF ()
  1640. }
  1641. Method (_E02, 0, NotSerialized) // _Exx: Edge-Triggered GPE
  1642. {
  1643. \_SB.PRSC ()
  1644. }
  1645. Method (_L03, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1646. {
  1647. }
  1648. Method (_L04, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1649. {
  1650. }
  1651. Method (_L05, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1652. {
  1653. }
  1654. Method (_L06, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1655. {
  1656. }
  1657. Method (_L07, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1658. {
  1659. }
  1660. Method (_L08, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1661. {
  1662. }
  1663. Method (_L09, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1664. {
  1665. }
  1666. Method (_L0A, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1667. {
  1668. }
  1669. Method (_L0B, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1670. {
  1671. }
  1672. Method (_L0C, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1673. {
  1674. }
  1675. Method (_L0D, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1676. {
  1677. }
  1678. Method (_L0E, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1679. {
  1680. }
  1681. Method (_L0F, 0, NotSerialized) // _Lxx: Level-Triggered GPE
  1682. {
  1683. }
  1684. }
  1685. }