Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Intel ACPI Component Architecture
- * AML Disassembler version 20140926-64 [Oct 1 2014]
- * Copyright (c) 2000 - 2014 Intel Corporation
- *
- * Disassembly of dsdt.dat, Sat Mar 14 12:37:11 2015
- *
- * Original Table Header:
- * Signature "DSDT"
- * Length 0x00008129 (33065)
- * Revision 0x01 **** 32-bit table (V1), no 64-bit math support
- * Checksum 0x2C
- * OEM ID "ACRSYS"
- * OEM Table ID "ACRPRDCT"
- * OEM Revision 0x00000001 (1)
- * Compiler ID "MSFT"
- * Compiler Version 0x01000013 (16777235)
- */
- DefinitionBlock ("dsdt.aml", "DSDT", 1, "ACRSYS", "ACRPRDCT", 0x00000001)
- {
- OperationRegion (PORT, SystemIO, 0x80, One)
- Field (PORT, ByteAcc, NoLock, Preserve)
- {
- P80H, 8
- }
- OperationRegion (GPIO, SystemIO, 0x0500, 0x3B)
- Field (GPIO, ByteAcc, NoLock, Preserve)
- {
- Offset (0x0C),
- , 1,
- CRTS, 1,
- Offset (0x2C),
- , 1,
- GPE1, 1,
- , 9,
- LPDL, 1,
- Offset (0x38),
- , 1,
- , 1,
- CPEN, 1
- }
- OperationRegion (PMBA, SystemIO, 0x0400, 0x80)
- Field (PMBA, ByteAcc, NoLock, Preserve)
- {
- Offset (0x28),
- , 2,
- SPST, 1,
- Offset (0x42),
- , 1,
- GPEC, 1,
- Offset (0x64),
- , 9,
- SCIS, 1,
- Offset (0x66)
- }
- OperationRegion (RCRB, SystemMemory, 0xFED1C000, 0x4000)
- Field (RCRB, DWordAcc, Lock, Preserve)
- {
- Offset (0x1000),
- Offset (0x3000),
- Offset (0x3404),
- HPAS, 2,
- , 5,
- HPAE, 1,
- Offset (0x3418),
- , 1,
- PATD, 1,
- SATD, 1,
- SMBD, 1,
- HDAD, 1,
- Offset (0x341A),
- RP1D, 1,
- RP2D, 1,
- RP3D, 1,
- RP4D, 1,
- RP5D, 1,
- RP6D, 1
- }
- OperationRegion (MBOX, SystemMemory, 0x7F6BCD90, 0x000000F9)
- Field (MBOX, AnyAcc, NoLock, Preserve)
- {
- PCI1, 8,
- PCI2, 8,
- PCI3, 8,
- PCI4, 8,
- PCI5, 8,
- PCI6, 8,
- PCI7, 8,
- PCI8, 8,
- NLCK, 8,
- ZIPE, 8,
- COMA, 8,
- CAIO, 8,
- CAIP, 8,
- CAMD, 8,
- CADA, 8,
- COMB, 8,
- CBIO, 8,
- CBIP, 8,
- CBMD, 8,
- CBDA, 8,
- LPT1, 8,
- L1IO, 8,
- L1IP, 8,
- L1MD, 8,
- L1DA, 8,
- FDDC, 8,
- FDWP, 8,
- AZLA, 8,
- LANE, 8,
- IDEC, 8,
- PACT, 8,
- SCFG, 8,
- AIBT, 8,
- AMOD, 8,
- P0HP, 8,
- P2HP, 8,
- P0IL, 8,
- P2IL, 8,
- IDLY, 8,
- PMTP, 8,
- PMIO, 8,
- PMBM, 8,
- PMTM, 8,
- PSTP, 8,
- PSIO, 8,
- PSBM, 8,
- PSTM, 8,
- IDE0, 8,
- IDE1, 8,
- IDE2, 8,
- IDE3, 8,
- IDE4, 8,
- IDE5, 8,
- IDE6, 8,
- IDE7, 8,
- PEGS, 8,
- IGMT, 8,
- CLKC, 8,
- CKSC, 8,
- ASLB, 32,
- NDID, 8,
- DID1, 32,
- DID2, 32,
- DID3, 32,
- DID4, 32,
- DID5, 32,
- LUBS, 8,
- U201, 8,
- U202, 8,
- U111, 8,
- U112, 8,
- U113, 8,
- U114, 8,
- U115, 8,
- UPPC, 8,
- UP00, 8,
- UP01, 8,
- UP02, 8,
- UP03, 8,
- UP04, 8,
- UP05, 8,
- UP06, 8,
- UP07, 8,
- UP08, 8,
- UP09, 8,
- IBTT, 8,
- IPAT, 8,
- ITVF, 8,
- ITVM, 8,
- IPSC, 8,
- IBLC, 8,
- IBIA, 8,
- ISSC, 8,
- I409, 8,
- I509, 8,
- I609, 8,
- I709, 8,
- IDMM, 8,
- IDMS, 8,
- IF1E, 8,
- HVCO, 8,
- GSMI, 8,
- PLYT, 8,
- EDCG, 8,
- SDFY, 8,
- SDTC, 8,
- SDRP, 8,
- SDCL, 8,
- SDRC, 8,
- SDRE, 8,
- FC2L, 8,
- FC3L, 8,
- FCS4, 8,
- APIM, 8,
- HPTS, 8,
- HPTA, 8,
- EMAS, 8,
- MASF, 8,
- ASFB, 8,
- MBTX, 8,
- XPRO, 8,
- IDER, 8,
- SOLE, 8,
- EYLS, 8,
- EYLH, 8,
- TPMD, 8,
- TPMO, 8,
- TPMC, 8,
- ISTC, 8,
- TRML, 8,
- FNON, 8,
- TRON, 8,
- NXMD, 8,
- PCRR, 8,
- C4EN, 8,
- C43D, 8,
- EMTT, 8,
- PROH, 8,
- DFSB, 8,
- TUBM, 8,
- TSEN, 8,
- BPST, 8,
- DAS1, 8,
- DAS3, 8,
- WKPM, 8,
- WKMD, 8,
- WKS5, 8,
- HOUR, 8,
- MINS, 8,
- SECS, 8,
- DOFM, 8,
- QKS4, 8,
- CAPM, 8,
- POPU, 8,
- POPD, 8,
- NXFE, 8,
- VTST, 8,
- VTFE, 8,
- S5FG, 8,
- CSTS, 8,
- ENCS, 8,
- DEC4, 8,
- HC4E, 8,
- CSTR, 8,
- CMPE, 8,
- CSMD, 8,
- DTSE, 8,
- DTSC, 8,
- QBOT, 8,
- QEBT, 8,
- PBOT, 8,
- RAID, 8,
- OSYS, 16
- }
- OperationRegion (CMS1, SystemIO, 0x72, 0x02)
- Field (CMS1, ByteAcc, NoLock, Preserve)
- {
- CMSI, 8,
- CMSD, 8
- }
- Method (CMSW, 2, NotSerialized)
- {
- Store (Arg0, CMSI) /* \CMSI */
- Store (Arg1, CMSD) /* \CMSD */
- }
- OperationRegion (SMIO, SystemIO, 0xB2, 0x02)
- Field (SMIO, ByteAcc, NoLock, Preserve)
- {
- APMC, 8,
- APMD, 8
- }
- Method (OSMI, 1, NotSerialized)
- {
- Store (Arg0, APMD) /* \APMD */
- Store (0xB2, APMC) /* \APMC */
- Stall (0xFF)
- Stall (0xFF)
- Stall (0xFF)
- Stall (0xFF)
- Stall (0xFF)
- Stall (0xFF)
- }
- OperationRegion (IO_T, SystemIO, 0x0800, 0x10)
- Field (IO_T, ByteAcc, NoLock, Preserve)
- {
- Offset (0x02),
- Offset (0x04),
- Offset (0x06),
- Offset (0x08),
- TRP0, 8,
- Offset (0x0A),
- Offset (0x0B),
- Offset (0x0C),
- Offset (0x0D),
- Offset (0x0E),
- Offset (0x0F),
- Offset (0x10)
- }
- OperationRegion (IO_D, SystemIO, 0x0810, 0x08)
- Field (IO_D, ByteAcc, NoLock, Preserve)
- {
- TRPD, 8
- }
- OperationRegion (NVST, SystemMemory, 0x7F6BCE89, 0x00000063)
- Field (NVST, AnyAcc, Lock, Preserve)
- {
- SMIF, 8,
- PRM0, 8,
- PRM1, 8,
- BRTL, 8,
- IGDS, 8,
- TLST, 8,
- CADL, 8,
- PADL, 8,
- CSTE, 16,
- NSTE, 16,
- SSTE, 16,
- LCDA, 16,
- LIDS, 8,
- PWRS, 8,
- BVAL, 32,
- CMPF, 8,
- CSTF, 8,
- GTF0, 56,
- GTF2, 56,
- IDEM, 8,
- EDTS, 8,
- DTS1, 8,
- DTS2, 8,
- DTSF, 8,
- PPMF, 32,
- TSTE, 8,
- KBTP, 8,
- MIRT, 8,
- OTHR, 8,
- DI00, 320
- }
- Mutex (PSMX, 0x00)
- Method (IHWM, 2, NotSerialized)
- {
- Acquire (PSMX, 0xFFFF)
- Store (Arg0, PRM0) /* \PRM0 */
- Store (Arg1, DI00) /* \DI00 */
- Store (0x60, APMC) /* \APMC */
- Store (DI00, Local0)
- Release (PSMX)
- Return (Local0)
- }
- Scope (_PR)
- {
- Processor (CPU0, 0x01, 0x00000410, 0x06) {}
- Processor (CPU1, 0x02, 0x00000410, 0x06) {}
- }
- Name (ECON, Zero)
- Name (CTYP, Zero)
- Name (DSEN, One)
- Name (SYSF, Zero)
- Method (_PTS, 1, NotSerialized) // _PTS: Prepare To Sleep
- {
- If (LEqual (Arg0, One))
- {
- Store (0x51, P80H) /* \P80H */
- }
- If (LEqual (Arg0, 0x03))
- {
- If (LAnd (DTSE, CMPE))
- {
- Store (0x1E, DTSF) /* \DTSF */
- Store (Zero, TRPD) /* \TRPD */
- }
- Store (0x53, P80H) /* \P80H */
- }
- If (LEqual (Arg0, 0x04))
- {
- Store (0x54, P80H) /* \P80H */
- OSMI (0x82)
- CMSW (0x3F, 0x3F)
- }
- If (LEqual (Arg0, 0x05))
- {
- Store (One, SYSF) /* \SYSF */
- }
- }
- Method (_WAK, 1, NotSerialized) // _WAK: Wake
- {
- If (LEqual (Arg0, One))
- {
- Store (0xE1, P80H) /* \P80H */
- }
- If (LEqual (Arg0, 0x03))
- {
- If (LAnd (DTSE, CMPE))
- {
- Store (0x14, DTSF) /* \DTSF */
- Store (Zero, TRPD) /* \TRPD */
- }
- OSMI (0x81)
- Store (0xE3, P80H) /* \P80H */
- }
- If (LEqual (Arg0, 0x04))
- {
- If (LAnd (DTSE, CMPE))
- {
- Store (0x14, DTSF) /* \DTSF */
- Store (Zero, TRPD) /* \TRPD */
- }
- }
- Return (Zero)
- }
- Name (_S0, Package (0x04) // _S0_: S0 System State
- {
- Zero,
- Zero,
- Zero,
- Zero
- })
- Name (_S3, Package (0x04) // _S3_: S3 System State
- {
- 0x05,
- 0x05,
- Zero,
- Zero
- })
- Name (_S4, Package (0x04) // _S4_: S4 System State
- {
- 0x06,
- 0x06,
- Zero,
- Zero
- })
- Name (_S5, Package (0x04) // _S5_: S5 System State
- {
- 0x07,
- 0x07,
- Zero,
- Zero
- })
- Name (MXM2, Buffer (0x45)
- {
- /* 0000 */ 0x4D, 0x58, 0x4D, 0x5F, 0x02, 0x01, 0x3D, 0x00, /* MXM_..=. */
- /* 0008 */ 0x30, 0x12, 0xB8, 0xFF, 0xF9, 0x3E, 0x00, 0x00, /* 0....>.. */
- /* 0010 */ 0xFA, 0xFF, 0xF9, 0x3E, 0x20, 0x31, 0xA2, 0xFF, /* ...> 1.. */
- /* 0018 */ 0xF9, 0x3E, 0x10, 0x8F, 0xFA, 0xF7, 0xF9, 0x3E, /* .>.....> */
- /* 0020 */ 0x10, 0xAF, 0xFA, 0xF7, 0xF9, 0x3E, 0x10, 0xBF, /* .....>.. */
- /* 0028 */ 0xFA, 0xF7, 0xF9, 0x3E, 0x02, 0x6E, 0x00, 0x00, /* ...>.n.. */
- /* 0030 */ 0x12, 0x7D, 0x00, 0x00, 0x03, 0x64, 0x00, 0x00, /* .}...d.. */
- /* 0038 */ 0x13, 0x64, 0x00, 0x00, 0xE5, 0x0D, 0x11, 0x02, /* .d...... */
- /* 0040 */ 0x00, 0x00, 0x00, 0x00, 0x5F /* ...._ */
- })
- Scope (_GPE)
- {
- Method (_L01, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Sleep (0x64)
- If (LAnd (LEqual (RP1D, Zero), \_SB.PCI0.EXP1.HPCS))
- {
- Sleep (0x05DC)
- If (\_SB.PCI0.EXP1.PDC1)
- {
- Store (One, \_SB.PCI0.EXP1.PDC1)
- Store (One, \_SB.PCI0.EXP1.HPCS)
- Notify (\_SB.PCI0.EXP1, Zero) // Bus Check
- }
- Else
- {
- Store (One, \_SB.PCI0.EXP1.HPCS)
- }
- }
- If (LAnd (LEqual (RP2D, Zero), \_SB.PCI0.EXP2.HPCS))
- {
- If (\_SB.PCI0.EXP2.PDC2)
- {
- Store (One, \_SB.PCI0.EXP2.PDC2)
- Store (One, \_SB.PCI0.EXP2.HPCS)
- Notify (\_SB.PCI0.EXP2, Zero) // Bus Check
- }
- Else
- {
- Store (One, \_SB.PCI0.EXP2.HPCS)
- }
- }
- If (LAnd (LEqual (RP3D, Zero), \_SB.PCI0.EXP3.HPCS))
- {
- If (\_SB.PCI0.EXP3.PDC3)
- {
- Store (One, \_SB.PCI0.EXP3.PDC3)
- Store (One, \_SB.PCI0.EXP3.HPCS)
- Notify (\_SB.PCI0.EXP3, Zero) // Bus Check
- }
- Else
- {
- Store (One, \_SB.PCI0.EXP3.HPCS)
- }
- }
- }
- Method (_L02, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Store (Zero, GPEC) /* \GPEC */
- Notify (\_TZ.TZ01, 0x80) // Thermal Status Change
- }
- Method (_L03, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Notify (\_SB.PCI0.UHC1, 0x02) // Device Wake
- }
- Method (_L04, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Notify (\_SB.PCI0.UHC2, 0x02) // Device Wake
- }
- Method (_L05, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Notify (\_SB.PCI0.UHC5, 0x02) // Device Wake
- }
- Method (_L06, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (\_SB.PCI0.OVGA.GSSE)
- {
- \_SB.PCI0.OVGA.GSCI ()
- }
- Else
- {
- Store (One, SCIS) /* \SCIS */
- }
- }
- Method (_L09, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Store (One, \_SB.PCI0.EXP3.PSP3)
- Store (One, \_SB.PCI0.EXP3.PMCS)
- Notify (\_SB.PCI0.EXP3, 0x02) // Device Wake
- }
- Method (_L0B, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Notify (\_SB.PCI0.P32, 0x02) // Device Wake
- }
- Method (_L0C, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Notify (\_SB.PCI0.UHC3, 0x02) // Device Wake
- }
- Method (_L0D, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (\_SB.PCI0.EHC1.PMES)
- {
- Store (One, \_SB.PCI0.EHC1.PMES)
- Notify (\_SB.PCI0.EHC1, 0x02) // Device Wake
- }
- If (\_SB.PCI0.EHC2.PMES)
- {
- Store (One, \_SB.PCI0.EHC2.PMES)
- Notify (\_SB.PCI0.EHC2, 0x02) // Device Wake
- }
- If (\_SB.PCI0.AZAL.PMES)
- {
- Store (One, \_SB.PCI0.AZAL.PMES)
- Notify (\_SB.PCI0.AZAL, 0x02) // Device Wake
- }
- }
- Method (_L0E, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- Notify (\_SB.PCI0.UHC4, 0x02) // Device Wake
- }
- Method (_L11, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (LEqual (\_SB.PCI0.WMID.BGEF, One))
- {
- If (LEqual (CRTS, One))
- {
- Store (\_SB.PCI0.WMID.VAPI, Local0)
- Store (One, GPE1) /* \GPE1 */
- }
- Else
- {
- Store (\_SB.PCI0.WMID.VAPO, Local0)
- Store (Zero, GPE1) /* \GPE1 */
- }
- Store (Local0, \_SB.PCI0.WMID.NTDV)
- Notify (\_SB.PCI0.WMID, 0x82) // Device-Specific Change
- }
- }
- Method (_L1B, 0, NotSerialized) // _Lxx: Level-Triggered GPE
- {
- If (LEqual (SYSF, Zero))
- {
- Not (LPDL, LPDL) /* \LPDL */
- Notify (\_SB.PCI0.LPC.LID0, 0x80) // Status Change
- }
- }
- Method (_E1C, 0, NotSerialized) // _Exx: Edge-Triggered GPE
- {
- }
- }
- Name (GPIC, Zero)
- Method (_PIC, 1, NotSerialized) // _PIC: Interrupt Model
- {
- Store (Arg0, GPIC) /* \GPIC */
- }
- Scope (_TZ)
- {
- ThermalZone (TZ01)
- {
- Method (_CRT, 0, Serialized) // _CRT: Critical Temperature
- {
- Return (0x0EF8)
- }
- Method (_TMP, 0, Serialized) // _TMP: Temperature
- {
- If (ECON)
- {
- If (DTSE)
- {
- Store (DTS2, Local1)
- If (LGreaterEqual (DTS1, DTS2))
- {
- Store (DTS1, Local1)
- }
- Store (Local1, \_SB.PCI0.LPC.EC0.SKTA)
- Return (Add (0x0AAC, Multiply (Local1, 0x0A)))
- }
- }
- Return (0x0BB8)
- }
- }
- }
- Method (SCMP, 2, NotSerialized)
- {
- Name (STG1, Buffer (0x50) {})
- Name (STG2, Buffer (0x50) {})
- Store (Arg0, STG1) /* \SCMP.STG1 */
- Store (Arg1, STG2) /* \SCMP.STG2 */
- If (LNotEqual (SizeOf (Arg0), SizeOf (Arg1)))
- {
- Return (Zero)
- }
- Store (Zero, Local0)
- While (LLess (Local0, SizeOf (Arg0)))
- {
- If (LNotEqual (DerefOf (Index (STG1, Local0)), DerefOf (Index (
- STG2, Local0))))
- {
- Return (Zero)
- }
- Increment (Local0)
- }
- Return (One)
- }
- Method (GETP, 1, Serialized)
- {
- If (LEqual (And (Arg0, 0x09), Zero))
- {
- Return (Ones)
- }
- If (LEqual (And (Arg0, 0x09), 0x08))
- {
- Return (0x0384)
- }
- ShiftRight (And (Arg0, 0x0300), 0x08, Local0)
- ShiftRight (And (Arg0, 0x3000), 0x0C, Local1)
- Return (Multiply (0x1E, Subtract (0x09, Add (Local0, Local1))
- ))
- }
- Method (GDMA, 5, Serialized)
- {
- If (Arg0)
- {
- If (LAnd (Arg1, Arg4))
- {
- Return (0x14)
- }
- If (LAnd (Arg2, Arg4))
- {
- Return (Multiply (Subtract (0x04, Arg3), 0x0F))
- }
- Return (Multiply (Subtract (0x04, Arg3), 0x1E))
- }
- Return (Ones)
- }
- Method (GETT, 1, Serialized)
- {
- Return (Multiply (0x1E, Subtract (0x09, Add (And (ShiftRight (Arg0, 0x02
- ), 0x03), And (Arg0, 0x03)))))
- }
- Method (GETF, 3, Serialized)
- {
- Name (TMPF, Zero)
- If (Arg0)
- {
- Or (TMPF, One, TMPF) /* \GETF.TMPF */
- }
- If (And (Arg2, 0x02))
- {
- Or (TMPF, 0x02, TMPF) /* \GETF.TMPF */
- }
- If (Arg1)
- {
- Or (TMPF, 0x04, TMPF) /* \GETF.TMPF */
- }
- If (And (Arg2, 0x20))
- {
- Or (TMPF, 0x08, TMPF) /* \GETF.TMPF */
- }
- If (And (Arg2, 0x4000))
- {
- Or (TMPF, 0x10, TMPF) /* \GETF.TMPF */
- }
- Return (TMPF) /* \GETF.TMPF */
- }
- Method (SETP, 3, Serialized)
- {
- If (LGreater (Arg0, 0xF0))
- {
- Return (0x08)
- }
- Else
- {
- If (And (Arg1, 0x02))
- {
- If (LAnd (LLessEqual (Arg0, 0x78), And (Arg2, 0x02)))
- {
- Return (0x2301)
- }
- If (LAnd (LLessEqual (Arg0, 0xB4), And (Arg2, One)))
- {
- Return (0x2101)
- }
- }
- Return (0x1001)
- }
- }
- Method (SDMA, 1, Serialized)
- {
- If (LLessEqual (Arg0, 0x14))
- {
- Return (One)
- }
- If (LLessEqual (Arg0, 0x1E))
- {
- Return (0x02)
- }
- If (LLessEqual (Arg0, 0x2D))
- {
- Return (One)
- }
- If (LLessEqual (Arg0, 0x3C))
- {
- Return (0x02)
- }
- If (LLessEqual (Arg0, 0x5A))
- {
- Return (One)
- }
- Return (Zero)
- }
- Method (SETT, 3, Serialized)
- {
- If (And (Arg1, 0x02))
- {
- If (LAnd (LLessEqual (Arg0, 0x78), And (Arg2, 0x02)))
- {
- Return (0x0B)
- }
- If (LAnd (LLessEqual (Arg0, 0xB4), And (Arg2, One)))
- {
- Return (0x09)
- }
- }
- Return (0x04)
- }
- Scope (_SB)
- {
- Device (PCI0)
- {
- Name (_HID, EisaId ("PNP0A08") /* PCI Express Bus */) // _HID: Hardware ID
- Name (_CID, EisaId ("PNP0A03") /* PCI Bus */) // _CID: Compatible ID
- Name (_ADR, Zero) // _ADR: Address
- Device (WMI1)
- {
- Name (_HID, EisaId ("PNP0C14") /* Windows Management Instrumentation Device */) // _HID: Hardware ID
- Name (_UID, "MXM2") // _UID: Unique ID
- Name (_WDG, Buffer (0x3C)
- {
- /* 0000 */ 0x3C, 0x5C, 0xCB, 0xF6, 0xAE, 0x9C, 0xBD, 0x4E, /* <\.....N */
- /* 0008 */ 0xB5, 0x77, 0x93, 0x1E, 0xA3, 0x2A, 0x2C, 0xC0, /* .w...*,. */
- /* 0010 */ 0x4D, 0x58, 0x01, 0x02, 0x57, 0x93, 0x8A, 0xF2, /* MX..W... */
- /* 0018 */ 0x4B, 0xCF, 0x1A, 0x4A, 0x88, 0x93, 0xBB, 0x1F, /* K..J.... */
- /* 0020 */ 0x58, 0xEE, 0xA1, 0xAF, 0xD1, 0x00, 0x01, 0x08, /* X....... */
- /* 0028 */ 0x21, 0x12, 0x90, 0x05, 0x66, 0xD5, 0xD1, 0x11, /* !...f... */
- /* 0030 */ 0xB2, 0xF0, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0x10, /* ......). */
- /* 0038 */ 0x58, 0x4D, 0x01, 0x00 /* XM.. */
- })
- Method (WMMX, 3, NotSerialized)
- {
- If (LGreaterEqual (SizeOf (Arg2), 0x04))
- {
- CreateDWordField (Arg2, Zero, FUNC)
- CreateDWordField (Arg2, 0x04, ARGS)
- If (LEqual (FUNC, 0x494D584D))
- {
- Return (^^PEGP.VGA.MXMI (ARGS))
- }
- Else
- {
- If (LEqual (FUNC, 0x534D584D))
- {
- Return (^^PEGP.VGA.MXMS (ARGS))
- }
- Else
- {
- If (LEqual (FUNC, 0x584D584D))
- {
- If (LGreaterEqual (SizeOf (Arg1), 0x08))
- {
- Return (One)
- }
- }
- }
- }
- }
- Return (Zero)
- }
- Name (WQBA, Buffer (0x029C)
- {
- /* 0000 */ 0x46, 0x4F, 0x4D, 0x42, 0x01, 0x00, 0x00, 0x00, /* FOMB.... */
- /* 0008 */ 0x8B, 0x02, 0x00, 0x00, 0x0C, 0x08, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x44, 0x53, 0x00, 0x01, 0x1A, 0x7D, 0xDA, 0x54, /* DS...}.T */
- /* 0018 */ 0x18, 0xD2, 0x83, 0x00, 0x01, 0x06, 0x18, 0x42, /* .......B */
- /* 0020 */ 0x10, 0x05, 0x10, 0x8A, 0xE6, 0x80, 0x42, 0x04, /* ......B. */
- /* 0028 */ 0x92, 0x43, 0xA4, 0x30, 0x30, 0x28, 0x0B, 0x20, /* .C.00(. */
- /* 0030 */ 0x86, 0x90, 0x0B, 0x26, 0x26, 0x40, 0x04, 0x84, /* ...&&@.. */
- /* 0038 */ 0xBC, 0x0A, 0xB0, 0x29, 0xC0, 0x24, 0x88, 0xFA, /* ...).$.. */
- /* 0040 */ 0xF7, 0x87, 0x28, 0x09, 0x0E, 0x25, 0x04, 0x42, /* ..(..%.B */
- /* 0048 */ 0x12, 0x05, 0x98, 0x17, 0xA0, 0x5B, 0x80, 0x61, /* .....[.a */
- /* 0050 */ 0x01, 0xB6, 0x05, 0x98, 0x16, 0xE0, 0x18, 0x92, /* ........ */
- /* 0058 */ 0x4A, 0x03, 0xA7, 0x04, 0x96, 0x02, 0x21, 0xA1, /* J.....!. */
- /* 0060 */ 0x02, 0x94, 0x0B, 0xF0, 0x2D, 0x40, 0x3B, 0xA2, /* ....-@;. */
- /* 0068 */ 0x24, 0x0B, 0xB0, 0x0C, 0x23, 0x02, 0x8F, 0x82, /* $...#... */
- /* 0070 */ 0xA1, 0x71, 0x68, 0xEC, 0x30, 0x2C, 0x13, 0x4C, /* .qh.0,.L */
- /* 0078 */ 0x83, 0x38, 0x8C, 0xB2, 0x91, 0x45, 0x60, 0xDC, /* .8...E`. */
- /* 0080 */ 0x4E, 0x05, 0xC8, 0x15, 0x20, 0x4C, 0x80, 0x78, /* N... L.x */
- /* 0088 */ 0x54, 0x61, 0x34, 0x07, 0x45, 0xE0, 0x42, 0x63, /* Ta4.E.Bc */
- /* 0090 */ 0x64, 0x40, 0xC8, 0xA3, 0x00, 0xAB, 0xA3, 0xD0, /* d@...... */
- /* 0098 */ 0xA4, 0x12, 0xD8, 0xBD, 0x00, 0x8D, 0x02, 0xB4, /* ........ */
- /* 00A0 */ 0x09, 0x70, 0x28, 0x40, 0xA1, 0x00, 0x6B, 0x18, /* .p(@..k. */
- /* 00A8 */ 0x72, 0x06, 0x21, 0x5B, 0xD8, 0xC2, 0x68, 0x50, /* r.![..hP */
- /* 00B0 */ 0x80, 0x45, 0x14, 0x8D, 0xE0, 0x2C, 0x2A, 0x9E, /* .E...,*. */
- /* 00B8 */ 0x93, 0x50, 0x02, 0xDA, 0x1B, 0x82, 0xF0, 0x8C, /* .P...... */
- /* 00C0 */ 0xD9, 0x18, 0x9E, 0x10, 0x83, 0x54, 0x86, 0x21, /* .....T.! */
- /* 00C8 */ 0x88, 0xB8, 0x11, 0x8E, 0xA5, 0xFD, 0x41, 0x10, /* ......A. */
- /* 00D0 */ 0xF9, 0xAB, 0xD7, 0xB8, 0x1D, 0x69, 0x34, 0xA8, /* .....i4. */
- /* 00D8 */ 0xB1, 0x26, 0x38, 0x76, 0x8F, 0xE6, 0x84, 0x3B, /* .&8v...; */
- /* 00E0 */ 0x17, 0x20, 0x7D, 0x6E, 0x02, 0x39, 0xBA, 0xD3, /* . }n.9.. */
- /* 00E8 */ 0xA8, 0x73, 0xD0, 0x64, 0x78, 0x0C, 0x2B, 0xC1, /* .s.dx.+. */
- /* 00F0 */ 0x7F, 0x80, 0x4F, 0x01, 0x78, 0xD7, 0x80, 0x9A, /* ..O.x... */
- /* 00F8 */ 0xFE, 0xC1, 0x33, 0x41, 0x70, 0xA8, 0x21, 0x7A, /* ..3Ap.!z */
- /* 0100 */ 0xD4, 0xE1, 0x4E, 0xE0, 0xBC, 0x8E, 0x84, 0x41, /* ..N....A */
- /* 0108 */ 0x1C, 0xD1, 0x71, 0x63, 0x67, 0x75, 0x32, 0x07, /* ..qcgu2. */
- /* 0110 */ 0x5D, 0xAA, 0x00, 0xB3, 0x07, 0x00, 0x0D, 0x2E, /* ]....... */
- /* 0118 */ 0xC1, 0x69, 0x9F, 0x49, 0xE8, 0xF7, 0x80, 0xF3, /* .i.I.... */
- /* 0120 */ 0xE9, 0x79, 0x6C, 0x6C, 0x10, 0xA8, 0x91, 0xF9, /* .yll.... */
- /* 0128 */ 0xFF, 0x0F, 0xED, 0x41, 0x9E, 0x56, 0xCC, 0x90, /* ...A.V.. */
- /* 0130 */ 0xCF, 0x02, 0x87, 0xC5, 0xC4, 0x1E, 0x19, 0xE8, /* ........ */
- /* 0138 */ 0x78, 0xC0, 0x7F, 0x00, 0x78, 0x34, 0x88, 0xF0, /* x...x4.. */
- /* 0140 */ 0x66, 0xE0, 0xF9, 0x9A, 0x60, 0x50, 0x08, 0x39, /* f...`P.9 */
- /* 0148 */ 0x19, 0x0F, 0x4A, 0xCC, 0xF9, 0x80, 0xCC, 0x25, /* ..J....% */
- /* 0150 */ 0xC4, 0x43, 0xC0, 0x31, 0xC4, 0x08, 0x7A, 0x46, /* .C.1..zF */
- /* 0158 */ 0x45, 0x23, 0x6B, 0x22, 0x3E, 0x03, 0x78, 0xDC, /* E#k">.x. */
- /* 0160 */ 0x96, 0x05, 0x42, 0x09, 0x0C, 0xEC, 0x73, 0xC3, /* ..B...s. */
- /* 0168 */ 0x3B, 0x84, 0x61, 0x71, 0xA3, 0x09, 0xEC, 0xF3, /* ;.aq.... */
- /* 0170 */ 0x85, 0x05, 0x0E, 0x0A, 0x05, 0xEB, 0xBB, 0x42, /* .......B */
- /* 0178 */ 0xCC, 0xE7, 0x81, 0xE3, 0x3C, 0x60, 0x0B, 0x9F, /* ....<`.. */
- /* 0180 */ 0x28, 0x01, 0x3E, 0x24, 0x8F, 0x06, 0xDE, 0x20, /* (.>$... */
- /* 0188 */ 0xE1, 0x5B, 0x3F, 0x02, 0x10, 0xE0, 0x27, 0x06, /* .[?...'. */
- /* 0190 */ 0x13, 0x58, 0x1E, 0x30, 0x7A, 0x94, 0xF6, 0x2B, /* .X.0z..+ */
- /* 0198 */ 0x00, 0x21, 0xF8, 0x8B, 0xC5, 0x53, 0xC0, 0xEB, /* .!...S.. */
- /* 01A0 */ 0x40, 0x84, 0x63, 0x81, 0x29, 0x72, 0x6C, 0x68, /* @.c.)rlh */
- /* 01A8 */ 0x78, 0x7E, 0x70, 0x88, 0x1E, 0xF5, 0x5C, 0xC2, /* x~p...\. */
- /* 01B0 */ 0x1F, 0x4D, 0x94, 0x53, 0x38, 0x1C, 0x1F, 0x39, /* .M.S8..9 */
- /* 01B8 */ 0x8C, 0x10, 0xFE, 0x49, 0xE3, 0xC9, 0xC3, 0x9A, /* ...I.... */
- /* 01C0 */ 0xEF, 0x00, 0x9A, 0xD2, 0x5B, 0xC0, 0xFB, 0x83, /* ....[... */
- /* 01C8 */ 0x47, 0x80, 0x11, 0x20, 0xE1, 0x68, 0x82, 0x89, /* G.. .h.. */
- /* 01D0 */ 0x7C, 0x3A, 0x01, 0xD5, 0xFF, 0xFF, 0x74, 0x02, /* |:....t. */
- /* 01D8 */ 0xB8, 0xBA, 0x01, 0x14, 0x37, 0x6A, 0x9D, 0x49, /* ....7j.I */
- /* 01E0 */ 0x7C, 0x2C, 0xF1, 0xAD, 0xE4, 0xBC, 0x43, 0xC5, /* |,....C. */
- /* 01E8 */ 0x7F, 0x93, 0x78, 0x3A, 0xF1, 0x34, 0x1E, 0x4C, /* ..x:.4.L */
- /* 01F0 */ 0x42, 0x44, 0x89, 0x18, 0x21, 0xA2, 0xEF, 0x27, /* BD..!..' */
- /* 01F8 */ 0x46, 0x08, 0x15, 0x31, 0x6C, 0xA4, 0x37, 0x80, /* F..1l.7. */
- /* 0200 */ 0xE7, 0x13, 0xE3, 0x84, 0x08, 0xF4, 0x74, 0xC2, /* ......t. */
- /* 0208 */ 0x42, 0x3E, 0x34, 0xA4, 0xE1, 0x74, 0x02, 0x50, /* B>4..t.P */
- /* 0210 */ 0xE0, 0xFF, 0x7F, 0x3A, 0x81, 0x1F, 0xF5, 0x74, /* ...:...t */
- /* 0218 */ 0x82, 0x1E, 0xAE, 0x4F, 0x19, 0x18, 0xE4, 0x03, /* ...O.... */
- /* 0220 */ 0xF2, 0xA9, 0xC3, 0xF7, 0x1F, 0x13, 0xF8, 0x78, /* .......x */
- /* 0228 */ 0xC2, 0x45, 0x1D, 0x4F, 0x50, 0xA7, 0x07, 0x1F, /* .E.OP... */
- /* 0230 */ 0x4F, 0xD8, 0x19, 0xE1, 0x2C, 0x1E, 0x03, 0x7C, /* O...,..| */
- /* 0238 */ 0x3A, 0xC1, 0xDC, 0x13, 0x7C, 0x3A, 0x01, 0xDB, /* :...|:.. */
- /* 0240 */ 0x68, 0x60, 0x1C, 0x4F, 0xC0, 0x77, 0x74, 0xC1, /* h`.O.wt. */
- /* 0248 */ 0x1D, 0x4F, 0xC0, 0x30, 0x18, 0x18, 0xE7, 0x13, /* .O.0.... */
- /* 0250 */ 0xE0, 0x31, 0x5E, 0xDC, 0x31, 0xC0, 0x43, 0xE0, /* .1^.1.C. */
- /* 0258 */ 0x03, 0x78, 0xDC, 0x38, 0x3D, 0x2B, 0x9D, 0x14, /* .x.8=+.. */
- /* 0260 */ 0xF2, 0x24, 0xC2, 0x07, 0x85, 0x39, 0xB0, 0xE0, /* .$...9.. */
- /* 0268 */ 0x14, 0xDA, 0xF4, 0xA9, 0xD1, 0xA8, 0x55, 0x83, /* ......U. */
- /* 0270 */ 0x32, 0x35, 0xCA, 0x34, 0xA8, 0xD5, 0xA7, 0x52, /* 25.4...R */
- /* 0278 */ 0x63, 0xC6, 0xCE, 0x19, 0x0E, 0xF8, 0x10, 0xD0, /* c....... */
- /* 0280 */ 0x89, 0xC0, 0xF2, 0x9E, 0x0D, 0x02, 0xB1, 0x0C, /* ........ */
- /* 0288 */ 0x0A, 0x81, 0x58, 0xFA, 0xAB, 0x45, 0x20, 0x0E, /* ..X..E . */
- /* 0290 */ 0x0E, 0xA2, 0xFF, 0x3F, 0x88, 0x23, 0xD2, 0x0A, /* ...?.#.. */
- /* 0298 */ 0xC4, 0xFF, 0x7F, 0x7F /* .... */
- })
- }
- Method (_INI, 0, NotSerialized) // _INI: Initialize
- {
- Store (Zero, SYSF) /* \SYSF */
- If (CondRefOf (_OSI, Local0))
- {
- If (_OSI ("Linux"))
- {
- Store (0x03E8, OSYS) /* \OSYS */
- OSMI (0x70)
- }
- If (_OSI ("Windows 2006"))
- {
- Store (0x07D6, OSYS) /* \OSYS */
- }
- Else
- {
- Store (0x07D1, OSYS) /* \OSYS */
- }
- }
- Else
- {
- Store (0x07D0, OSYS) /* \OSYS */
- }
- If (DTSE)
- {
- Store (0x1D, P80H) /* \P80H */
- Store (0x14, DTSF) /* \DTSF */
- Store (Zero, TRPD) /* \TRPD */
- Store (0x1F, P80H) /* \P80H */
- }
- }
- Method (_OSC, 4, NotSerialized) // _OSC: Operating System Capabilities
- {
- Store (Arg2, Local0)
- Multiply (Local0, 0x04, Local1)
- Name (BUF1, Buffer (Local1) {})
- Store (Arg3, BUF1) /* \_SB_.PCI0._OSC.BUF1 */
- Store (Zero, Local1)
- Store (Zero, Local2)
- While (Local0)
- {
- Multiply (Local1, 0x04, Local2)
- CreateDWordField (BUF1, Local2, CAPB)
- If (Arg1)
- {
- If (LEqual (Local1, Zero))
- {
- And (CAPB, 0xFFFFFFFC, CAPB) /* \_SB_.PCI0._OSC.CAPB */
- }
- }
- Else
- {
- }
- Increment (Local1)
- Decrement (Local0)
- }
- Return (BUF1) /* \_SB_.PCI0._OSC.BUF1 */
- }
- Name (_BBN, Zero) // _BBN: BIOS Bus Number
- OperationRegion (HBUS, PCI_Config, 0x40, 0xC0)
- Field (HBUS, DWordAcc, NoLock, Preserve)
- {
- Offset (0x50),
- , 4,
- PM0H, 2,
- Offset (0x51),
- PM1L, 2,
- , 2,
- PM1H, 2,
- Offset (0x52),
- PM2L, 2,
- , 2,
- PM2H, 2,
- Offset (0x53),
- PM3L, 2,
- , 2,
- PM3H, 2,
- Offset (0x54),
- PM4L, 2,
- , 2,
- PM4H, 2,
- Offset (0x55),
- PM5L, 2,
- , 2,
- PM5H, 2,
- Offset (0x56),
- PM6L, 2,
- , 2,
- PM6H, 2,
- Offset (0x57),
- , 7,
- HENA, 1,
- Offset (0x62),
- TUUD, 16,
- Offset (0x70),
- , 4,
- TLUD, 12
- }
- Name (BUF0, ResourceTemplate ()
- {
- WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
- 0x0000, // Granularity
- 0x0000, // Range Minimum
- 0x00FF, // Range Maximum
- 0x0000, // Translation Offset
- 0x0100, // Length
- 0x00,, )
- DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0x00000CF7, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00000CF8, // Length
- 0x00,, , TypeStatic)
- IO (Decode16,
- 0x0CF8, // Range Minimum
- 0x0CF8, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
- 0x00000000, // Granularity
- 0x00000D00, // Range Minimum
- 0x0000FFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x0000F300, // Length
- 0x00,, , TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000A0000, // Range Minimum
- 0x000BFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00020000, // Length
- 0x00,, , AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C0000, // Range Minimum
- 0x000C3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y00, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C4000, // Range Minimum
- 0x000C7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y01, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000C8000, // Range Minimum
- 0x000CBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y02, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000CC000, // Range Minimum
- 0x000CFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y03, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D0000, // Range Minimum
- 0x000D3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y04, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D4000, // Range Minimum
- 0x000D7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y05, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000D8000, // Range Minimum
- 0x000DBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y06, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000DC000, // Range Minimum
- 0x000DFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y07, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E0000, // Range Minimum
- 0x000E3FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y08, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E4000, // Range Minimum
- 0x000E7FFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y09, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000E8000, // Range Minimum
- 0x000EBFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y0A, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000EC000, // Range Minimum
- 0x000EFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00004000, // Length
- 0x00,, _Y0B, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x000F0000, // Range Minimum
- 0x000FFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0x00010000, // Length
- 0x00,, _Y0C, AddressRangeMemory, TypeStatic)
- DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
- 0x00000000, // Granularity
- 0x00000000, // Range Minimum
- 0xFEBFFFFF, // Range Maximum
- 0x00000000, // Translation Offset
- 0xFEC00000, // Length
- 0x00,, _Y0D, AddressRangeMemory, TypeStatic)
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- If (PM1L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y00._LEN, C0LN) // _LEN: Length
- Store (Zero, C0LN) /* \_SB_.PCI0._CRS.C0LN */
- }
- If (LEqual (PM1L, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y00._RW, C0RW) // _RW_: Read-Write Status
- Store (Zero, C0RW) /* \_SB_.PCI0._CRS.C0RW */
- }
- If (PM1H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y01._LEN, C4LN) // _LEN: Length
- Store (Zero, C4LN) /* \_SB_.PCI0._CRS.C4LN */
- }
- If (LEqual (PM1H, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y01._RW, C4RW) // _RW_: Read-Write Status
- Store (Zero, C4RW) /* \_SB_.PCI0._CRS.C4RW */
- }
- If (PM2L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y02._LEN, C8LN) // _LEN: Length
- Store (Zero, C8LN) /* \_SB_.PCI0._CRS.C8LN */
- }
- If (LEqual (PM2L, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y02._RW, C8RW) // _RW_: Read-Write Status
- Store (Zero, C8RW) /* \_SB_.PCI0._CRS.C8RW */
- }
- If (PM2H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y03._LEN, CCLN) // _LEN: Length
- Store (Zero, CCLN) /* \_SB_.PCI0._CRS.CCLN */
- }
- If (LEqual (PM2H, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y03._RW, CCRW) // _RW_: Read-Write Status
- Store (Zero, CCRW) /* \_SB_.PCI0._CRS.CCRW */
- }
- If (PM3L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y04._LEN, D0LN) // _LEN: Length
- Store (Zero, D0LN) /* \_SB_.PCI0._CRS.D0LN */
- }
- If (LEqual (PM3L, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y04._RW, D0RW) // _RW_: Read-Write Status
- Store (Zero, D0RW) /* \_SB_.PCI0._CRS.D0RW */
- }
- If (PM3H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y05._LEN, D4LN) // _LEN: Length
- Store (Zero, D4LN) /* \_SB_.PCI0._CRS.D4LN */
- }
- If (LEqual (PM3H, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y05._RW, D4RW) // _RW_: Read-Write Status
- Store (Zero, D4RW) /* \_SB_.PCI0._CRS.D4RW */
- }
- If (PM4L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y06._LEN, D8LN) // _LEN: Length
- Store (Zero, D8LN) /* \_SB_.PCI0._CRS.D8LN */
- }
- If (LEqual (PM4L, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y06._RW, D8RW) // _RW_: Read-Write Status
- Store (Zero, D8RW) /* \_SB_.PCI0._CRS.D8RW */
- }
- If (PM4H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y07._LEN, DCLN) // _LEN: Length
- Store (Zero, DCLN) /* \_SB_.PCI0._CRS.DCLN */
- }
- If (LEqual (PM4H, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y07._RW, DCRW) // _RW_: Read-Write Status
- Store (Zero, DCRW) /* \_SB_.PCI0._CRS.DCRW */
- }
- If (PM5L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y08._LEN, E0LN) // _LEN: Length
- Store (Zero, E0LN) /* \_SB_.PCI0._CRS.E0LN */
- }
- If (LEqual (PM5L, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y08._RW, E0RW) // _RW_: Read-Write Status
- Store (Zero, E0RW) /* \_SB_.PCI0._CRS.E0RW */
- }
- If (PM5H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y09._LEN, E4LN) // _LEN: Length
- Store (Zero, E4LN) /* \_SB_.PCI0._CRS.E4LN */
- }
- If (LEqual (PM5H, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y09._RW, E4RW) // _RW_: Read-Write Status
- Store (Zero, E4RW) /* \_SB_.PCI0._CRS.E4RW */
- }
- If (PM6L)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y0A._LEN, E8LN) // _LEN: Length
- Store (Zero, E8LN) /* \_SB_.PCI0._CRS.E8LN */
- }
- If (LEqual (PM6L, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y0A._RW, E8RW) // _RW_: Read-Write Status
- Store (Zero, E8RW) /* \_SB_.PCI0._CRS.E8RW */
- }
- If (PM6H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y0B._LEN, ECLN) // _LEN: Length
- Store (Zero, ECLN) /* \_SB_.PCI0._CRS.ECLN */
- }
- If (LEqual (PM6H, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y0B._RW, ECRW) // _RW_: Read-Write Status
- Store (Zero, ECRW) /* \_SB_.PCI0._CRS.ECRW */
- }
- If (PM0H)
- {
- CreateDWordField (BUF0, \_SB.PCI0._Y0C._LEN, F0LN) // _LEN: Length
- Store (Zero, F0LN) /* \_SB_.PCI0._CRS.F0LN */
- }
- If (LEqual (PM0H, One))
- {
- CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, F0RW) // _RW_: Read-Write Status
- Store (Zero, F0RW) /* \_SB_.PCI0._CRS.F0RW */
- }
- CreateDWordField (BUF0, \_SB.PCI0._Y0D._MIN, M1MN) // _MIN: Minimum Base Address
- CreateDWordField (BUF0, \_SB.PCI0._Y0D._MAX, M1MX) // _MAX: Maximum Base Address
- CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, M1LN) // _LEN: Length
- ShiftLeft (TLUD, 0x14, M1MN) /* \_SB_.PCI0._CRS.M1MN */
- Add (Subtract (M1MX, M1MN), One, M1LN) /* \_SB_.PCI0._CRS.M1LN */
- Return (BUF0) /* \_SB_.PCI0.BUF0 */
- }
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table// _ADR: Address
- Device (R394)
- {
- Name (_ADR, Zero) // _ADR: Address
- }
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (LEqual (GPIC, Zero))
- {
- Return (Package (0x02)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- ^^LPC.LNKE,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKG,
- Zero
- }
- })
- }
- Else
- {
- Return (Package (0x02)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- Zero,
- 0x14
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- Zero,
- 0x16
- }
- })
- }
- }
- }
- Device (LPC)
- {
- Name (_ADR, 0x001F0000) // _ADR: Address
- OperationRegion (LPC0, PCI_Config, 0x40, 0xC0)
- Field (LPC0, AnyAcc, NoLock, Preserve)
- {
- Offset (0x20),
- PARC, 8,
- PBRC, 8,
- PCRC, 8,
- PDRC, 8,
- Offset (0x28),
- PERC, 8,
- PFRC, 8,
- PGRC, 8,
- PHRC, 8,
- Offset (0x40),
- IOD0, 8,
- IOD1, 8,
- CMA0, 1,
- CMB0, 1,
- LP0E, 1,
- FDDE, 1,
- Offset (0x44),
- DIO1, 16,
- RIO1, 8,
- Offset (0x60),
- , 7,
- C4O3, 1
- }
- OperationRegion (PRR0, PCI_Config, 0x60, 0x04)
- Field (PRR0, AnyAcc, NoLock, Preserve)
- {
- PIRA, 8,
- PIRB, 8,
- PIRC, 8,
- PIRD, 8
- }
- OperationRegion (PRR1, PCI_Config, 0x68, 0x04)
- Field (PRR1, AnyAcc, NoLock, Preserve)
- {
- PIRE, 8,
- PIRF, 8,
- PIRG, 8,
- PIRH, 8
- }
- OperationRegion (PRR2, PCI_Config, 0x80, 0x02)
- Field (PRR2, AnyAcc, NoLock, Preserve)
- {
- IODL, 8,
- IODH, 8
- }
- Device (LNKA)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, One) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (And (PIRA, 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Or (PIRA, 0x80, PIRA) /* \_SB_.PCI0.LPC_.PIRA */
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {0}
- })
- CreateWordField (BUF0, One, IRQW)
- If (And (PIRA, 0x80))
- {
- Store (Zero, Local0)
- }
- Else
- {
- Store (One, Local0)
- }
- ShiftLeft (Local0, And (PIRA, 0x0F), IRQW) /* \_SB_.PCI0.LPC_.LNKA._CRS.IRQW */
- Return (BUF0) /* \_SB_.PCI0.LPC_.LNKA._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,9,10,11,12}
- })
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, One, IRQW)
- FindSetRightBit (IRQW, Local0)
- If (LNotEqual (IRQW, Zero))
- {
- And (Local0, 0x7F, Local0)
- Decrement (Local0)
- }
- Else
- {
- Or (Local0, 0x80, Local0)
- }
- Store (Local0, PIRA) /* \_SB_.PCI0.LPC_.PIRA */
- }
- }
- Device (LNKB)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x02) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (And (PIRB, 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Or (PIRB, 0x80, PIRB) /* \_SB_.PCI0.LPC_.PIRB */
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {0}
- })
- CreateWordField (BUF0, One, IRQW)
- If (And (PIRB, 0x80))
- {
- Store (Zero, Local0)
- }
- Else
- {
- Store (One, Local0)
- }
- ShiftLeft (Local0, And (PIRB, 0x0F), IRQW) /* \_SB_.PCI0.LPC_.LNKB._CRS.IRQW */
- Return (BUF0) /* \_SB_.PCI0.LPC_.LNKB._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,9,10,11,12}
- })
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, One, IRQW)
- FindSetRightBit (IRQW, Local0)
- If (LNotEqual (IRQW, Zero))
- {
- And (Local0, 0x7F, Local0)
- Decrement (Local0)
- }
- Else
- {
- Or (Local0, 0x80, Local0)
- }
- Store (Local0, PIRB) /* \_SB_.PCI0.LPC_.PIRB */
- }
- }
- Device (LNKC)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x03) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (And (PIRC, 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Or (PIRC, 0x80, PIRC) /* \_SB_.PCI0.LPC_.PIRC */
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {0}
- })
- CreateWordField (BUF0, One, IRQW)
- If (And (PIRC, 0x80))
- {
- Store (Zero, Local0)
- }
- Else
- {
- Store (One, Local0)
- }
- ShiftLeft (Local0, And (PIRC, 0x0F), IRQW) /* \_SB_.PCI0.LPC_.LNKC._CRS.IRQW */
- Return (BUF0) /* \_SB_.PCI0.LPC_.LNKC._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,9,10,11,12}
- })
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, One, IRQW)
- FindSetRightBit (IRQW, Local0)
- If (LNotEqual (IRQW, Zero))
- {
- And (Local0, 0x7F, Local0)
- Decrement (Local0)
- }
- Else
- {
- Or (Local0, 0x80, Local0)
- }
- Store (Local0, PIRC) /* \_SB_.PCI0.LPC_.PIRC */
- }
- }
- Device (LNKD)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x04) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (And (PIRD, 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Or (PIRD, 0x80, PIRD) /* \_SB_.PCI0.LPC_.PIRD */
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {0}
- })
- CreateWordField (BUF0, One, IRQW)
- If (And (PIRD, 0x80))
- {
- Store (Zero, Local0)
- }
- Else
- {
- Store (One, Local0)
- }
- ShiftLeft (Local0, And (PIRD, 0x0F), IRQW) /* \_SB_.PCI0.LPC_.LNKD._CRS.IRQW */
- Return (BUF0) /* \_SB_.PCI0.LPC_.LNKD._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,9,10,11,12}
- })
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, One, IRQW)
- FindSetRightBit (IRQW, Local0)
- If (LNotEqual (IRQW, Zero))
- {
- And (Local0, 0x7F, Local0)
- Decrement (Local0)
- }
- Else
- {
- Or (Local0, 0x80, Local0)
- }
- Store (Local0, PIRD) /* \_SB_.PCI0.LPC_.PIRD */
- }
- }
- Device (LNKE)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x05) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (And (PIRE, 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Or (PIRE, 0x80, PIRE) /* \_SB_.PCI0.LPC_.PIRE */
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {0}
- })
- CreateWordField (BUF0, One, IRQW)
- If (And (PIRE, 0x80))
- {
- Store (Zero, Local0)
- }
- Else
- {
- Store (One, Local0)
- }
- ShiftLeft (Local0, And (PIRE, 0x0F), IRQW) /* \_SB_.PCI0.LPC_.LNKE._CRS.IRQW */
- Return (BUF0) /* \_SB_.PCI0.LPC_.LNKE._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,9,10,11,12}
- })
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, One, IRQW)
- FindSetRightBit (IRQW, Local0)
- If (LNotEqual (IRQW, Zero))
- {
- And (Local0, 0x7F, Local0)
- Decrement (Local0)
- }
- Else
- {
- Or (Local0, 0x80, Local0)
- }
- Store (Local0, PIRE) /* \_SB_.PCI0.LPC_.PIRE */
- }
- }
- Device (LNKF)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x06) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (And (PIRF, 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Or (PIRF, 0x80, PIRF) /* \_SB_.PCI0.LPC_.PIRF */
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {0}
- })
- CreateWordField (BUF0, One, IRQW)
- If (And (PIRF, 0x80))
- {
- Store (Zero, Local0)
- }
- Else
- {
- Store (One, Local0)
- }
- ShiftLeft (Local0, And (PIRF, 0x0F), IRQW) /* \_SB_.PCI0.LPC_.LNKF._CRS.IRQW */
- Return (BUF0) /* \_SB_.PCI0.LPC_.LNKF._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,9,10,11,12}
- })
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, One, IRQW)
- FindSetRightBit (IRQW, Local0)
- If (LNotEqual (IRQW, Zero))
- {
- And (Local0, 0x7F, Local0)
- Decrement (Local0)
- }
- Else
- {
- Or (Local0, 0x80, Local0)
- }
- Store (Local0, PIRF) /* \_SB_.PCI0.LPC_.PIRF */
- }
- }
- Device (LNKG)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x07) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (And (PIRG, 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Or (PIRG, 0x80, PIRG) /* \_SB_.PCI0.LPC_.PIRG */
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {0}
- })
- CreateWordField (BUF0, One, IRQW)
- If (And (PIRG, 0x80))
- {
- Store (Zero, Local0)
- }
- Else
- {
- Store (One, Local0)
- }
- ShiftLeft (Local0, And (PIRG, 0x0F), IRQW) /* \_SB_.PCI0.LPC_.LNKG._CRS.IRQW */
- Return (BUF0) /* \_SB_.PCI0.LPC_.LNKG._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,9,10,11,12}
- })
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, One, IRQW)
- FindSetRightBit (IRQW, Local0)
- If (LNotEqual (IRQW, Zero))
- {
- And (Local0, 0x7F, Local0)
- Decrement (Local0)
- }
- Else
- {
- Or (Local0, 0x80, Local0)
- }
- Store (Local0, PIRG) /* \_SB_.PCI0.LPC_.PIRG */
- }
- }
- Device (LNKH)
- {
- Name (_HID, EisaId ("PNP0C0F") /* PCI Interrupt Link Device */) // _HID: Hardware ID
- Name (_UID, 0x08) // _UID: Unique ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (And (PIRH, 0x80))
- {
- Return (0x09)
- }
- Else
- {
- Return (0x0B)
- }
- }
- Method (_DIS, 0, NotSerialized) // _DIS: Disable Device
- {
- Or (PIRH, 0x80, PIRH) /* \_SB_.PCI0.LPC_.PIRH */
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IRQ (Level, ActiveLow, Shared, )
- {0}
- })
- CreateWordField (BUF0, One, IRQW)
- If (And (PIRH, 0x80))
- {
- Store (Zero, Local0)
- }
- Else
- {
- Store (One, Local0)
- }
- ShiftLeft (Local0, And (PIRH, 0x0F), IRQW) /* \_SB_.PCI0.LPC_.LNKH._CRS.IRQW */
- Return (BUF0) /* \_SB_.PCI0.LPC_.LNKH._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IRQ (Level, ActiveLow, Shared, )
- {3,4,5,7,9,10,11,12}
- })
- Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings
- {
- CreateWordField (Arg0, One, IRQW)
- FindSetRightBit (IRQW, Local0)
- If (LNotEqual (IRQW, Zero))
- {
- And (Local0, 0x7F, Local0)
- Decrement (Local0)
- }
- Else
- {
- Or (Local0, 0x80, Local0)
- }
- Store (Local0, PIRH) /* \_SB_.PCI0.LPC_.PIRH */
- }
- }
- Device (SYSR)
- {
- Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LGreaterEqual (OSYS, 0x07D6))
- {
- If (LOr (And (OTHR, 0x02), And (OTHR, 0x40)))
- {
- Return (Zero)
- }
- Else
- {
- Return (0x0F)
- }
- }
- Else
- {
- Return (Zero)
- }
- }
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x002E, // Range Minimum
- 0x002E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x004E, // Range Minimum
- 0x004E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0068, // Range Minimum
- 0x0068, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x006C, // Range Minimum
- 0x006C, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x164E, // Range Minimum
- 0x164E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0061, // Range Minimum
- 0x0061, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0070, // Range Minimum
- 0x0070, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0080, // Range Minimum
- 0x0080, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0092, // Range Minimum
- 0x0092, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x00B2, // Range Minimum
- 0x00B2, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0063, // Range Minimum
- 0x0063, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0065, // Range Minimum
- 0x0065, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0067, // Range Minimum
- 0x0067, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0600, // Range Minimum
- 0x0600, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0610, // Range Minimum
- 0x0610, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0800, // Range Minimum
- 0x0800, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0810, // Range Minimum
- 0x0810, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IO (Decode16,
- 0x0400, // Range Minimum
- 0x0400, // Range Maximum
- 0x01, // Alignment
- 0x80, // Length
- )
- IO (Decode16,
- 0x0500, // Range Minimum
- 0x0500, // Range Maximum
- 0x01, // Alignment
- 0x40, // Length
- )
- Memory32Fixed (ReadWrite,
- 0xE0000000, // Address Base
- 0x10000000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED1C000, // Address Base
- 0x00004000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED14000, // Address Base
- 0x00004000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED18000, // Address Base
- 0x00001000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED19000, // Address Base
- 0x00001000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFEC00000, // Address Base
- 0x00001000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFEE00000, // Address Base
- 0x00001000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0x32000000, // Address Base
- 0x00000100, // Address Length
- )
- })
- }
- Device (SYSC)
- {
- Name (_HID, EisaId ("PNP0C02") /* PNP Motherboard Resources */) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LGreaterEqual (OSYS, 0x07D6))
- {
- If (LOr (And (OTHR, 0x02), And (OTHR, 0x40)))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Else
- {
- Return (0x0F)
- }
- }
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x002E, // Range Minimum
- 0x002E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x004E, // Range Minimum
- 0x004E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x164E, // Range Minimum
- 0x164E, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0061, // Range Minimum
- 0x0061, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0070, // Range Minimum
- 0x0070, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0080, // Range Minimum
- 0x0080, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0092, // Range Minimum
- 0x0092, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x00B2, // Range Minimum
- 0x00B2, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0063, // Range Minimum
- 0x0063, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0065, // Range Minimum
- 0x0065, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0067, // Range Minimum
- 0x0067, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0600, // Range Minimum
- 0x0600, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0610, // Range Minimum
- 0x0610, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0800, // Range Minimum
- 0x0800, // Range Maximum
- 0x01, // Alignment
- 0x10, // Length
- )
- IO (Decode16,
- 0x0810, // Range Minimum
- 0x0810, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IO (Decode16,
- 0x0400, // Range Minimum
- 0x0400, // Range Maximum
- 0x01, // Alignment
- 0x80, // Length
- )
- IO (Decode16,
- 0x0500, // Range Minimum
- 0x0500, // Range Maximum
- 0x01, // Alignment
- 0x40, // Length
- )
- IO (Decode16,
- 0xFF2C, // Range Minimum
- 0xFF2C, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- Memory32Fixed (ReadWrite,
- 0xE0000000, // Address Base
- 0x10000000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED1C000, // Address Base
- 0x00004000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED14000, // Address Base
- 0x00004000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED18000, // Address Base
- 0x00001000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFED19000, // Address Base
- 0x00001000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFEC00000, // Address Base
- 0x00001000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0xFEE00000, // Address Base
- 0x00001000, // Address Length
- )
- Memory32Fixed (ReadWrite,
- 0x32000000, // Address Base
- 0x00000100, // Address Length
- )
- })
- }
- Device (DMAC)
- {
- Name (_HID, EisaId ("PNP0200") /* PC-class DMA Controller */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0000, // Range Minimum
- 0x0000, // Range Maximum
- 0x01, // Alignment
- 0x20, // Length
- )
- IO (Decode16,
- 0x0081, // Range Minimum
- 0x0081, // Range Maximum
- 0x01, // Alignment
- 0x11, // Length
- )
- IO (Decode16,
- 0x0093, // Range Minimum
- 0x0093, // Range Maximum
- 0x01, // Alignment
- 0x0D, // Length
- )
- IO (Decode16,
- 0x00C0, // Range Minimum
- 0x00C0, // Range Maximum
- 0x01, // Alignment
- 0x20, // Length
- )
- DMA (Compatibility, NotBusMaster, Transfer8_16, )
- {4}
- })
- }
- Device (RTC)
- {
- Name (_HID, EisaId ("PNP0B00") /* AT Real-Time Clock */) // _HID: Hardware ID
- Name (BUF0, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0070, // Range Minimum
- 0x0070, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- })
- Name (BUF1, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0070, // Range Minimum
- 0x0070, // Range Maximum
- 0x01, // Alignment
- 0x08, // Length
- )
- IRQNoFlags ()
- {8}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- If (LEqual (HPTS, One))
- {
- Return (BUF0) /* \_SB_.PCI0.LPC_.RTC_.BUF0 */
- }
- Else
- {
- Return (BUF1) /* \_SB_.PCI0.LPC_.RTC_.BUF1 */
- }
- }
- }
- Device (HPET)
- {
- Name (_HID, EisaId ("PNP0103") /* HPET System Timer */) // _HID: Hardware ID
- Name (BUF0, ResourceTemplate ()
- {
- IRQNoFlags ()
- {0}
- IRQNoFlags ()
- {8}
- Memory32Fixed (ReadOnly,
- 0xFED00000, // Address Base
- 0x00000400, // Address Length
- _Y0E)
- })
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D7)))
- {
- If (LEqual (HPTS, One))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Else
- {
- If (HPTS)
- {
- Return (0x0B)
- }
- Else
- {
- Return (Zero)
- }
- }
- }
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- If (LEqual (HPTS, One))
- {
- CreateDWordField (BUF0, \_SB.PCI0.LPC.HPET._Y0E._BAS, HPT0) // _BAS: Base Address
- If (LEqual (HPTA, One))
- {
- Store (0xFED01000, HPT0) /* \_SB_.PCI0.LPC_.HPET._CRS.HPT0 */
- }
- If (LEqual (HPTA, 0x02))
- {
- Store (0xFED02000, HPT0) /* \_SB_.PCI0.LPC_.HPET._CRS.HPT0 */
- }
- If (LEqual (HPTA, 0x03))
- {
- Store (0xFED03000, HPT0) /* \_SB_.PCI0.LPC_.HPET._CRS.HPT0 */
- }
- }
- Return (BUF0) /* \_SB_.PCI0.LPC_.HPET.BUF0 */
- }
- }
- Device (PIC)
- {
- Name (_HID, EisaId ("PNP0000") /* 8259-compatible Programmable Interrupt Controller */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0020, // Range Minimum
- 0x0020, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0024, // Range Minimum
- 0x0024, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0028, // Range Minimum
- 0x0028, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x002C, // Range Minimum
- 0x002C, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0030, // Range Minimum
- 0x0030, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0034, // Range Minimum
- 0x0034, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x0038, // Range Minimum
- 0x0038, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x003C, // Range Minimum
- 0x003C, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00A0, // Range Minimum
- 0x00A0, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00A4, // Range Minimum
- 0x00A4, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00A8, // Range Minimum
- 0x00A8, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00AC, // Range Minimum
- 0x00AC, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00B0, // Range Minimum
- 0x00B0, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00B4, // Range Minimum
- 0x00B4, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00B8, // Range Minimum
- 0x00B8, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x00BC, // Range Minimum
- 0x00BC, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IO (Decode16,
- 0x04D0, // Range Minimum
- 0x04D0, // Range Maximum
- 0x01, // Alignment
- 0x02, // Length
- )
- IRQNoFlags ()
- {2}
- })
- }
- Device (FPU)
- {
- Name (_HID, EisaId ("PNP0C04") /* x87-compatible Floating Point Processing Unit */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x00F0, // Range Minimum
- 0x00F0, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IRQNoFlags ()
- {13}
- })
- }
- Device (TIMR)
- {
- Name (_HID, EisaId ("PNP0100") /* PC-class System Timer */) // _HID: Hardware ID
- Name (BUF0, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0040, // Range Minimum
- 0x0040, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IO (Decode16,
- 0x0050, // Range Minimum
- 0x0050, // Range Maximum
- 0x10, // Alignment
- 0x04, // Length
- )
- })
- Name (BUF1, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0040, // Range Minimum
- 0x0040, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IO (Decode16,
- 0x0050, // Range Minimum
- 0x0050, // Range Maximum
- 0x10, // Alignment
- 0x04, // Length
- )
- IRQNoFlags ()
- {0}
- })
- Method (_CRS, 0, Serialized) // _CRS: Current Resource Settings
- {
- If (HPTS)
- {
- Return (BUF0) /* \_SB_.PCI0.LPC_.TIMR.BUF0 */
- }
- Return (BUF1) /* \_SB_.PCI0.LPC_.TIMR.BUF1 */
- }
- }
- Device (FWHD)
- {
- Name (_HID, EisaId ("INT0800") /* Intel 82802 Firmware Hub Device */) // _HID: Hardware ID
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- Memory32Fixed (ReadOnly,
- 0xFFF00000, // Address Base
- 0x00100000, // Address Length
- )
- })
- }
- Device (KBC0)
- {
- Name (_HID, EisaId ("PNP0303") /* IBM Enhanced Keyboard (101/102-key, PS/2 Mouse) */) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (KBTP, 0x4A))
- {
- Return (Zero)
- }
- Else
- {
- Return (0x0F)
- }
- }
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0060, // Range Minimum
- 0x0060, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0064, // Range Minimum
- 0x0064, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {1}
- })
- }
- Device (KBCJ)
- {
- Name (_HID, EisaId ("PNP0320")) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (KBTP, 0x4A))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IO (Decode16,
- 0x0060, // Range Minimum
- 0x0060, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0064, // Range Minimum
- 0x0064, // Range Maximum
- 0x01, // Alignment
- 0x01, // Length
- )
- IRQ (Edge, ActiveHigh, Exclusive, )
- {1}
- })
- }
- Device (MSE0)
- {
- Name (_HID, EisaId ("PNP0F13") /* PS/2 Mouse */) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (TSTE, One), One))
- {
- Return (Zero)
- }
- Else
- {
- Return (0x0F)
- }
- }
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IRQ (Edge, ActiveHigh, Exclusive, )
- {12}
- })
- }
- Device (MSS0)
- {
- Name (_HID, EisaId ("SYN1B07")) // _HID: Hardware ID
- Name (_CID, Package (0x03) // _CID: Compatible ID
- {
- EisaId ("SYN1B00"),
- EisaId ("SYN0002"),
- EisaId ("PNP0F13") /* PS/2 Mouse */
- })
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (And (TSTE, One), One))
- {
- Return (0x0F)
- }
- Else
- {
- Return (Zero)
- }
- }
- Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings
- {
- IRQ (Edge, ActiveHigh, Exclusive, )
- {12}
- })
- }
- Device (EC0)
- {
- Name (_HID, EisaId ("PNP0C09") /* Embedded Controller Device */) // _HID: Hardware ID
- Name (_UID, One) // _UID: Unique ID
- Name (_GPE, 0x1C) // _GPE: General Purpose Events
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BFFR, ResourceTemplate ()
- {
- IO (Decode16,
- 0x0062, // Range Minimum
- 0x0062, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- IO (Decode16,
- 0x0066, // Range Minimum
- 0x0066, // Range Maximum
- 0x00, // Alignment
- 0x01, // Length
- )
- })
- Return (BFFR) /* \_SB_.PCI0.LPC_.EC0_._CRS.BFFR */
- }
- Name (_ADR, 0x00020000) // _ADR: Address
- OperationRegion (HDCS, PCI_Config, Zero, One)
- Field (HDCS, ByteAcc, NoLock, Preserve)
- {
- OBV, 8
- }
- OperationRegion (ERAM, EmbeddedControl, Zero, 0xFF)
- Field (ERAM, ByteAcc, Lock, Preserve)
- {
- Offset (0x60),
- SMPR, 8,
- SMST, 8,
- SMAD, 8,
- SMCM, 8,
- SMDR, 32,
- BCNT, 8,
- SMAA, 8,
- SMD0, 8,
- SMD1, 8,
- Offset (0x90),
- Offset (0x91),
- Offset (0x92),
- Offset (0x93),
- Offset (0x94),
- ERIB, 16,
- ERBD, 8,
- Offset (0x98),
- Offset (0x99),
- OSIF, 1,
- Offset (0x9A),
- BAL1, 1,
- BAL2, 1,
- BAL3, 1,
- BAL4, 1,
- BCL1, 1,
- BCL2, 1,
- BCL3, 1,
- BCL4, 1,
- BPU1, 1,
- BPU2, 1,
- BPU3, 1,
- BPU4, 1,
- BOS1, 1,
- BOS2, 1,
- BOS3, 1,
- BOS4, 1,
- PHDD, 1,
- IFDD, 1,
- IODD, 1,
- SHDD, 1,
- LS20, 1,
- EFDD, 1,
- ECRT, 1,
- LANC, 1,
- SBTN, 1,
- VIDO, 1,
- VOLD, 1,
- VOLU, 1,
- MUTE, 1,
- CONT, 1,
- BRGT, 1,
- HBTN, 1,
- S4SE, 1,
- SKEY, 1,
- BKEY, 1,
- TKEY, 1,
- FKEY, 1,
- DVDM, 1,
- DIGM, 1,
- CDLK, 1,
- , 1,
- LIDO, 1,
- PMEE, 1,
- PBET, 1,
- RIIN, 1,
- BTWK, 1,
- DKIN, 1,
- Offset (0xA0),
- , 6,
- SWTH, 1,
- HWTH, 1,
- DKT0, 1,
- DKT1, 1,
- , 2,
- OSUD, 1,
- OSDK, 1,
- OSSU, 1,
- DKCG, 1,
- ODTS, 8,
- S1LD, 1,
- S3LD, 1,
- VGAQ, 1,
- PCMQ, 1,
- PCMR, 1,
- ADPT, 1,
- SYS6, 1,
- SYS7, 1,
- PWAK, 1,
- MWAK, 1,
- LWAK, 1,
- RWAK, 1,
- , 2,
- KWAK, 1,
- MSWK, 1,
- CCAC, 1,
- AOAC, 1,
- BLAC, 1,
- PSRC, 1,
- BOAC, 1,
- LCAC, 1,
- AAAC, 1,
- ACAC, 1,
- PCEC, 8,
- THON, 8,
- THSD, 8,
- THEM, 8,
- TCON, 8,
- THRS, 8,
- THSE, 8,
- FSSN, 4,
- FANU, 4,
- PTVL, 3,
- , 3,
- TTSR, 1,
- TTHR, 1,
- TSTH, 1,
- TSBC, 1,
- TSBF, 1,
- TSPL, 1,
- TSBT, 1,
- , 2,
- THTA, 1,
- CTMP, 8,
- LTMP, 8,
- SKTA, 8,
- SKTB, 8,
- SKTC, 8,
- SKTD, 8,
- NBTP, 8,
- LANP, 1,
- LCDS, 1,
- Offset (0xB8),
- BTPV, 8,
- BRTS, 8,
- CTRS, 8,
- WLAT, 1,
- BTAT, 1,
- WLEX, 1,
- BTEX, 1,
- KLSW, 1,
- WLOK, 1,
- Offset (0xBC),
- PJID, 8,
- CPUN, 8,
- THFN, 8,
- MLED, 1,
- SCHG, 1,
- SCCF, 1,
- SCPF, 1,
- ACIS, 1,
- OSTY, 1,
- Offset (0xC0),
- , 7,
- BTY0, 1,
- BST0, 8,
- BRC0, 16,
- BSN0, 16,
- BPV0, 16,
- BDV0, 16,
- BDC0, 16,
- BFC0, 16,
- GAU0, 8,
- BSCY, 8,
- BSCU, 16,
- BAC0, 16,
- BTW0, 8,
- BATV, 8,
- BPTC, 8,
- BTTC, 8,
- BTMA, 16,
- BTSC, 8,
- BCIX, 8,
- CCBA, 8,
- CBOT, 8,
- BTSS, 16,
- OVCC, 8,
- CCFC, 8,
- BADC, 8,
- BSC1, 16,
- BSC2, 16,
- BSC3, 16,
- BSC4, 16,
- BDME, 16,
- Offset (0xEE),
- Offset (0xEF),
- Offset (0xF0),
- BTS1, 8,
- BTS2, 8,
- BSCS, 16,
- BDAD, 16,
- BACV, 16,
- BDFC, 16
- }
- OperationRegion (CCLK, SystemIO, 0x0410, 0x04)
- Field (CCLK, DWordAcc, NoLock, Preserve)
- {
- , 1,
- DUTY, 3,
- THEN, 1,
- Offset (0x01),
- FTT, 1,
- , 8,
- TSTS, 1
- }
- Mutex (FAMX, 0x00)
- Method (FANG, 1, NotSerialized)
- {
- Acquire (FAMX, 0xFFFF)
- Store (Arg0, ERIB) /* \_SB_.PCI0.LPC_.EC0_.ERIB */
- Store (ERBD, Local0)
- Release (FAMX)
- Return (Local0)
- }
- Method (FANW, 2, NotSerialized)
- {
- Acquire (FAMX, 0xFFFF)
- Store (Arg0, ERIB) /* \_SB_.PCI0.LPC_.EC0_.ERIB */
- Store (Arg1, ERBD) /* \_SB_.PCI0.LPC_.EC0_.ERBD */
- Release (FAMX)
- Return (Arg1)
- }
- Method (TUVR, 1, NotSerialized)
- {
- Return (0x03)
- }
- Method (THRO, 1, NotSerialized)
- {
- If (LEqual (Arg0, Zero))
- {
- Return (THEN) /* \_SB_.PCI0.LPC_.EC0_.THEN */
- }
- Else
- {
- If (LEqual (Arg0, One))
- {
- Return (DUTY) /* \_SB_.PCI0.LPC_.EC0_.DUTY */
- }
- Else
- {
- If (LEqual (Arg0, 0x02))
- {
- Return (TTHR) /* \_SB_.PCI0.LPC_.EC0_.TTHR */
- }
- Else
- {
- Return (0xFF)
- }
- }
- }
- }
- Method (CLCK, 1, NotSerialized)
- {
- If (LEqual (Arg0, Zero))
- {
- Store (Zero, THEN) /* \_SB_.PCI0.LPC_.EC0_.THEN */
- }
- Else
- {
- Store (Arg0, DUTY) /* \_SB_.PCI0.LPC_.EC0_.DUTY */
- Store (One, THEN) /* \_SB_.PCI0.LPC_.EC0_.THEN */
- }
- Return (THEN) /* \_SB_.PCI0.LPC_.EC0_.THEN */
- }
- Method (PCLK, 0, NotSerialized)
- {
- Store (PTVL, Local0)
- If (LEqual (Local0, Zero))
- {
- Store (Zero, THEN) /* \_SB_.PCI0.LPC_.EC0_.THEN */
- }
- Else
- {
- Not (Local0, Local0)
- Add (Local0, One, Local0)
- And (Local0, 0x07, Local0)
- Store (Local0, DUTY) /* \_SB_.PCI0.LPC_.EC0_.DUTY */
- If (LEqual (Local0, Zero))
- {
- Store (Zero, THEN) /* \_SB_.PCI0.LPC_.EC0_.THEN */
- }
- Else
- {
- Store (One, THEN) /* \_SB_.PCI0.LPC_.EC0_.THEN */
- }
- }
- }
- Method (_REG, 2, NotSerialized) // _REG: Region Availability
- {
- If (LEqual (Arg0, 0x03))
- {
- Store (Arg1, ECON) /* \ECON */
- If (LEqual (LIDO, ^^^OVGA.CLID))
- {
- If (LEqual (LIDO, Zero))
- {
- ^^^OVGA.GLID (One)
- }
- Else
- {
- ^^^OVGA.GLID (Zero)
- }
- }
- Else
- {
- If (LNot (^^^OVGA.GLID (LIDO)))
- {
- Store (LIDO, LIDS) /* \LIDS */
- Notify (LID0, 0x80) // Status Change
- }
- }
- }
- }
- Method (_Q11, 0, NotSerialized) // _Qxx: EC Query
- {
- If (LGreaterEqual (OSYS, 0x07D6))
- {
- If (LEqual (OBV, 0xFF))
- {
- Notify (^^^PEGP.VGA.LCD, 0x87) // Device-Specific
- }
- Else
- {
- Notify (^^^OVGA.DD03, 0x87) // Device-Specific
- }
- }
- Else
- {
- If (LEqual (^^^WMID.BAEF, One))
- {
- Store (BRTS, Local1)
- Store (^^^WMID.LBL0, Local2)
- Add (Local2, Local1, Local2)
- Store (Local2, ^^^WMID.NTDC) /* \_SB_.PCI0.WMID.NTDC */
- Notify (WMID, 0x80) // Status Change
- }
- }
- }
- Method (_Q12, 0, NotSerialized) // _Qxx: EC Query
- {
- If (LGreaterEqual (OSYS, 0x07D6))
- {
- If (LEqual (OBV, 0xFF))
- {
- Notify (^^^PEGP.VGA.LCD, 0x86) // Device-Specific
- }
- Else
- {
- Notify (^^^OVGA.DD03, 0x86) // Device-Specific
- }
- }
- Else
- {
- If (LEqual (^^^WMID.BAEF, One))
- {
- Store (BRTS, Local1)
- Store (^^^WMID.LBL0, Local2)
- Add (Local2, Local1, Local2)
- Store (Local2, ^^^WMID.NTDC) /* \_SB_.PCI0.WMID.NTDC */
- Notify (WMID, 0x80) // Status Change
- }
- }
- }
- Method (_Q1C, 0, NotSerialized) // _Qxx: EC Query
- {
- }
- Method (_Q1D, 0, NotSerialized) // _Qxx: EC Query
- {
- PCLK ()
- }
- Method (_Q22, 0, NotSerialized) // _Qxx: EC Query
- {
- Notify (BAT0, 0x80) // Status Change
- }
- Method (_Q25, 0, NotSerialized) // _Qxx: EC Query
- {
- Notify (BAT0, 0x81) // Information Change
- Notify (BAT0, 0x80) // Status Change
- }
- Method (_Q34, 0, NotSerialized) // _Qxx: EC Query
- {
- Store (0x34, P80H) /* \P80H */
- If (LEqual (^^^WMID.BAEF, One))
- {
- Store (BTAT, Local1)
- Store (^^^WMID.BLTD, Local2)
- Add (Local2, Local1, Local2)
- Store (Local2, ^^^WMID.NTDC) /* \_SB_.PCI0.WMID.NTDC */
- Notify (WMID, 0x80) // Status Change
- }
- }
- Method (_Q37, 0, NotSerialized) // _Qxx: EC Query
- {
- Notify (AC, Zero) // Bus Check
- Sleep (0x03F0)
- Notify (BAT0, 0x80) // Status Change
- Notify (\_PR.CPU0, 0x80) // Performance Capability Change
- OSMI (0x60)
- }
- Method (_Q38, 0, NotSerialized) // _Qxx: EC Query
- {
- Notify (AC, One) // Device Check
- Sleep (0x03F0)
- Notify (BAT0, 0x80) // Status Change
- Notify (\_PR.CPU0, 0x80) // Performance Capability Change
- OSMI (0x61)
- }
- Method (_Q60, 0, NotSerialized) // _Qxx: EC Query
- {
- Store (0x60, P80H) /* \P80H */
- If (LEqual (^^^WMID.BAEF, One))
- {
- Store (WLAT, Local1)
- Store (^^^WMID.WLSD, Local2)
- Add (Local2, Local1, Local2)
- Store (Local2, ^^^WMID.NTDC) /* \_SB_.PCI0.WMID.NTDC */
- Notify (WMID, 0x80) // Status Change
- }
- }
- Method (_Q4F, 0, NotSerialized) // _Qxx: EC Query
- {
- If (LEqual (^^^WMID.BAEF, One))
- {
- Store (One, Local1)
- If (LEqual (LANC, One))
- {
- Store (Zero, Local1)
- }
- Store (^^^WMID.LANI, Local2)
- Add (Local2, Local1, Local2)
- Store (Local2, ^^^WMID.NTDC) /* \_SB_.PCI0.WMID.NTDC */
- Notify (WMID, 0x80) // Status Change
- }
- }
- Method (_Q50, 0, NotSerialized) // _Qxx: EC Query
- {
- If (LEqual (^^^WMID.BAEF, One))
- {
- Store (Zero, Local1)
- If (LEqual (LCDS, One))
- {
- Store (One, Local1)
- }
- Store (^^^WMID.LDOF, Local2)
- Add (Local2, Local1, Local2)
- Store (Local2, ^^^WMID.NTDC) /* \_SB_.PCI0.WMID.NTDC */
- Notify (WMID, 0x80) // Status Change
- }
- }
- }
- Device (BAT0)
- {
- Name (_HID, EisaId ("PNP0C0A") /* Control Method Battery */) // _HID: Hardware ID
- Name (_UID, One) // _UID: Unique ID
- Name (_PCL, Package (0x01) // _PCL: Power Consumer List
- {
- _SB
- })
- Name (PBIF, Package (0x0D)
- {
- One,
- 0x0FA0,
- 0x0FA0,
- One,
- 0x39D0,
- 0x0190,
- 0x78,
- 0x0108,
- 0x0EC4,
- "Li_Ion 4000mA ",
- "",
- "Lion",
- "Acer "
- })
- Name (PBST, Package (0x04)
- {
- One,
- Ones,
- Ones,
- 0x39D0
- })
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (ECON)
- {
- If (^^EC0.BAL1)
- {
- Sleep (0x64)
- Return (0x1F)
- }
- Else
- {
- Sleep (0x64)
- Return (0x0F)
- }
- }
- Else
- {
- Sleep (0x64)
- Return (0x1F)
- }
- }
- Method (_BIF, 0, NotSerialized) // _BIF: Battery Information
- {
- If (ECON)
- {
- Sleep (0x64)
- Store (^^EC0.BDC0, Index (PBIF, One))
- Sleep (0x64)
- Store (^^EC0.BFC0, Index (PBIF, 0x02))
- Sleep (0x64)
- Store (^^EC0.BDV0, Index (PBIF, 0x04))
- Sleep (0x64)
- Store (^^EC0.BDC0, Local2)
- Divide (Local2, 0x64, Local6, Local2)
- Multiply (Local2, 0x05, Local3)
- Store (Local3, Index (PBIF, 0x05))
- Multiply (Local2, 0x03, Local4)
- Store (Local4, Index (PBIF, 0x06))
- Store (^^EC0.BTY0, Local1)
- Sleep (0x64)
- If (LEqual (Local1, One))
- {
- Store ("GC86508SAT0 ", Index (PBIF, 0x09))
- Store ("SANYO ", Index (PBIF, 0x0C))
- }
- Else
- {
- If (LEqual (Local1, 0x02))
- {
- Store ("GC86503SY90 ", Index (PBIF, 0x09))
- Store ("SONY ", Index (PBIF, 0x0C))
- }
- Else
- {
- If (LEqual (Local1, 0x04))
- {
- Store ("GC86503PAG0 ", Index (PBIF, 0x09))
- Store ("PANASONIC ", Index (PBIF, 0x0C))
- }
- Else
- {
- If (LEqual (Local1, 0x05))
- {
- Store ("GC86508SM60 ", Index (PBIF, 0x09))
- Store ("SAMSUNG ", Index (PBIF, 0x0C))
- }
- Else
- {
- Store ("BCL3100LiON ", Index (PBIF, 0x09))
- Store ("COMPAL ", Index (PBIF, 0x0C))
- }
- }
- }
- }
- }
- Return (PBIF) /* \_SB_.PCI0.LPC_.BAT0.PBIF */
- }
- Method (_BST, 0, NotSerialized) // _BST: Battery Status
- {
- If (ECON)
- {
- Sleep (0x64)
- Store (^^EC0.BST0, Local0)
- And (Local0, 0x07, Local0)
- Store (Local0, Index (PBST, Zero))
- Sleep (0x64)
- Store (^^EC0.GAU0, Local2)
- Sleep (0x64)
- Store (^^EC0.BPV0, Local3)
- Sleep (0x64)
- Store (^^EC0.BFC0, Local1)
- Sleep (0x64)
- If (Local2)
- {
- Multiply (Local2, Local1, Local2)
- Divide (Local2, 0x64, Local6, Local2)
- If (Local6)
- {
- Increment (Local2)
- }
- }
- Store (^^EC0.BAC0, Local1)
- If (And (Local1, 0x8000, Local1))
- {
- Store (^^EC0.BAC0, Local1)
- Subtract (0xFFFF, Local1, Local1)
- }
- Else
- {
- Store (Zero, Local1)
- }
- Sleep (0x64)
- Store (Local1, Index (PBST, One))
- Store (Local2, Index (PBST, 0x02))
- Store (Local3, Index (PBST, 0x03))
- }
- Return (PBST) /* \_SB_.PCI0.LPC_.BAT0.PBST */
- }
- }
- Device (AC)
- {
- Name (_HID, "ACPI0003" /* Power Source Device */) // _HID: Hardware ID
- Name (_PCL, Package (0x01) // _PCL: Power Consumer List
- {
- _SB
- })
- Method (_PSR, 0, NotSerialized) // _PSR: Power Source
- {
- If (ECON)
- {
- Store (^^EC0.ADPT, PWRS) /* \PWRS */
- }
- Return (PWRS) /* \PWRS */
- }
- }
- Device (PWRB)
- {
- Name (_HID, EisaId ("PNP0C0C") /* Power Button Device */) // _HID: Hardware ID
- }
- Device (LID0)
- {
- Name (_HID, EisaId ("PNP0C0D") /* Lid Device */) // _HID: Hardware ID
- Method (_LID, 0, NotSerialized) // _LID: Lid Status
- {
- Return (LPDL) /* \LPDL */
- }
- }
- Device (SLPB)
- {
- Name (_HID, EisaId ("PNP0C0E") /* Sleep Button Device */) // _HID: Hardware ID
- }
- }
- Device (UHC1)
- {
- Name (_ADR, 0x001D0000) // _ADR: Address
- Device (HUB1)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PRT1)
- {
- Name (_ADR, One) // _ADR: Address
- }
- Device (PRT2)
- {
- Name (_ADR, 0x02) // _ADR: Address
- Name (_EJD, "\\_SB.PCI0.EXP1.PXS1") // _EJD: Ejection Dependent Device
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x03,
- 0x03
- })
- OperationRegion (USBR, PCI_Config, 0xC4, One)
- Field (USBR, AnyAcc, NoLock, Preserve)
- {
- URES, 8
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (LEqual (Arg0, Zero))
- {
- Store (Zero, URES) /* \_SB_.PCI0.UHC1.URES */
- }
- If (LEqual (Arg0, One))
- {
- Store (0x03, URES) /* \_SB_.PCI0.UHC1.URES */
- }
- }
- }
- Device (UHC2)
- {
- Name (_ADR, 0x001D0001) // _ADR: Address
- Device (HUB2)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PRT1)
- {
- Name (_ADR, One) // _ADR: Address
- }
- Device (PRT2)
- {
- Name (_ADR, 0x02) // _ADR: Address
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x04,
- 0x03
- })
- OperationRegion (USBR, PCI_Config, 0xC4, One)
- Field (USBR, AnyAcc, NoLock, Preserve)
- {
- URES, 8
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (LEqual (Arg0, Zero))
- {
- Store (Zero, URES) /* \_SB_.PCI0.UHC2.URES */
- }
- If (LEqual (Arg0, One))
- {
- Store (One, URES) /* \_SB_.PCI0.UHC2.URES */
- }
- }
- }
- Device (UHC3)
- {
- Name (_ADR, 0x001D0002) // _ADR: Address
- Device (HUB3)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PRT1)
- {
- Name (_ADR, One) // _ADR: Address
- }
- Device (PRT2)
- {
- Name (_ADR, 0x02) // _ADR: Address
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x0C,
- 0x03
- })
- OperationRegion (USBR, PCI_Config, 0xC4, One)
- Field (USBR, AnyAcc, NoLock, Preserve)
- {
- URES, 8
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (LEqual (Arg0, Zero))
- {
- Store (Zero, URES) /* \_SB_.PCI0.UHC3.URES */
- }
- If (LEqual (Arg0, One))
- {
- Store (One, URES) /* \_SB_.PCI0.UHC3.URES */
- }
- }
- }
- Device (UHC4)
- {
- Name (_ADR, 0x001A0000) // _ADR: Address
- Device (HUB4)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PRT1)
- {
- Name (_ADR, One) // _ADR: Address
- }
- Device (PRT2)
- {
- Name (_ADR, 0x02) // _ADR: Address
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x0E,
- 0x03
- })
- OperationRegion (USBR, PCI_Config, 0xC4, One)
- Field (USBR, AnyAcc, NoLock, Preserve)
- {
- URES, 8
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (LEqual (Arg0, Zero))
- {
- Store (Zero, URES) /* \_SB_.PCI0.UHC4.URES */
- }
- If (LEqual (Arg0, One))
- {
- Store (One, URES) /* \_SB_.PCI0.UHC4.URES */
- }
- }
- }
- Device (UHC5)
- {
- Name (_ADR, 0x001A0001) // _ADR: Address
- Device (HUB5)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PRT1)
- {
- Name (_ADR, One) // _ADR: Address
- }
- Device (PRT2)
- {
- Name (_ADR, 0x02) // _ADR: Address
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x05,
- 0x03
- })
- OperationRegion (USBR, PCI_Config, 0xC4, One)
- Field (USBR, AnyAcc, NoLock, Preserve)
- {
- URES, 8
- }
- Method (_PSW, 1, NotSerialized) // _PSW: Power State Wake
- {
- If (LEqual (Arg0, Zero))
- {
- Store (Zero, URES) /* \_SB_.PCI0.UHC5.URES */
- }
- If (LEqual (Arg0, One))
- {
- Store (0x03, URES) /* \_SB_.PCI0.UHC5.URES */
- }
- }
- }
- Device (EHC1)
- {
- Name (_ADR, 0x001D0007) // _ADR: Address
- OperationRegion (U7CS, PCI_Config, 0x54, 0x04)
- Field (U7CS, DWordAcc, NoLock, Preserve)
- {
- , 15,
- PMES, 1
- }
- Device (HUB7)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PRT1)
- {
- Name (_ADR, One) // _ADR: Address
- }
- Device (PRT2)
- {
- Name (_ADR, 0x02) // _ADR: Address
- Name (_EJD, "\\_SB.PCI0.EXP1.PXS1") // _EJD: Ejection Dependent Device
- }
- Device (PRT3)
- {
- Name (_ADR, 0x03) // _ADR: Address
- }
- Device (PRT4)
- {
- Name (_ADR, 0x04) // _ADR: Address
- }
- Device (PRT5)
- {
- Name (_ADR, 0x05) // _ADR: Address
- }
- Device (PRT6)
- {
- Name (_ADR, 0x06) // _ADR: Address
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x0D,
- 0x03
- })
- Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
- {
- Return (0x02)
- }
- Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
- {
- Return (0x02)
- }
- }
- Device (EHC2)
- {
- Name (_ADR, 0x001A0007) // _ADR: Address
- OperationRegion (UFCS, PCI_Config, 0x54, 0x04)
- Field (UFCS, DWordAcc, NoLock, Preserve)
- {
- , 15,
- PMES, 1
- }
- Device (HUB7)
- {
- Name (_ADR, Zero) // _ADR: Address
- Device (PRT1)
- {
- Name (_ADR, One) // _ADR: Address
- }
- Device (PRT2)
- {
- Name (_ADR, 0x02) // _ADR: Address
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (Zero)
- }
- }
- Device (PRT3)
- {
- Name (_ADR, 0x03) // _ADR: Address
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (Zero)
- }
- }
- Device (PRT4)
- {
- Name (_ADR, 0x04) // _ADR: Address
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (Zero)
- }
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x0D,
- 0x03
- })
- Method (_S3D, 0, NotSerialized) // _S3D: S3 Device State
- {
- Return (0x02)
- }
- Method (_S4D, 0, NotSerialized) // _S4D: S4 Device State
- {
- Return (0x02)
- }
- }
- Device (EXP1)
- {
- Name (_ADR, 0x001C0000) // _ADR: Address
- OperationRegion (P1CS, PCI_Config, 0x40, 0x0100)
- Field (P1CS, AnyAcc, NoLock, Preserve)
- {
- Offset (0x10),
- , 4,
- LKD1, 1,
- Offset (0x1A),
- ABP1, 1,
- , 2,
- PDC1, 1,
- , 2,
- PDS1, 1,
- Offset (0x20),
- RID1, 16,
- PSP1, 1,
- PPP1, 1,
- Offset (0x9C),
- , 30,
- HPCS, 1,
- PMCS, 1
- }
- Device (PXS1)
- {
- Name (_ADR, Zero) // _ADR: Address
- OperationRegion (P1FG, PCI_Config, Zero, 0x08)
- Field (P1FG, DWordAcc, NoLock, Preserve)
- {
- P1ID, 32
- }
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (One)
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LEqual (P1ID, Ones))
- {
- Return (Zero)
- }
- Else
- {
- Return (0x0F)
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x04
- })
- Name (_EJD, "\\_SB.PCI0.EHC1.HUB7.PRT2") // _EJD: Ejection Dependent Device
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (LEqual (GPIC, Zero))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- ^^^LPC.LNKA,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^^LPC.LNKB,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- ^^^LPC.LNKC,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- ^^^LPC.LNKD,
- Zero
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- Zero,
- 0x10
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- Zero,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- Zero,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- Zero,
- 0x13
- }
- })
- }
- }
- }
- }
- Device (EXP2)
- {
- Name (_ADR, 0x001C0001) // _ADR: Address
- OperationRegion (P2CS, PCI_Config, 0x40, 0x0100)
- Field (P2CS, AnyAcc, NoLock, Preserve)
- {
- Offset (0x10),
- , 4,
- LKD2, 1,
- Offset (0x1A),
- ABP2, 1,
- , 2,
- PDC2, 1,
- , 2,
- PDS2, 1,
- Offset (0x20),
- RID2, 16,
- PSP2, 1,
- PPP2, 1,
- Offset (0x9C),
- , 30,
- HPCS, 1,
- PMCS, 1
- }
- Device (PXS2)
- {
- Name (_ADR, Zero) // _ADR: Address
- }
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (LEqual (GPIC, Zero))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- ^^LPC.LNKB,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKC,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- ^^LPC.LNKD,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- ^^LPC.LNKA,
- Zero
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- Zero,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- Zero,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- Zero,
- 0x13
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- Zero,
- 0x10
- }
- })
- }
- }
- }
- Device (EXP3)
- {
- Name (_ADR, 0x001C0002) // _ADR: Address
- OperationRegion (P3CS, PCI_Config, 0x40, 0x0100)
- Field (P3CS, AnyAcc, NoLock, Preserve)
- {
- Offset (0x10),
- , 4,
- LKD3, 1,
- Offset (0x1A),
- ABP3, 1,
- , 2,
- PDC3, 1,
- , 2,
- PDS3, 1,
- Offset (0x20),
- RID3, 16,
- PSP3, 1,
- PPP3, 1,
- Offset (0x9C),
- , 30,
- HPCS, 1,
- PMCS, 1
- }
- Device (PXS3)
- {
- Name (_ADR, Zero) // _ADR: Address
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x04
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (LEqual (GPIC, Zero))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- ^^LPC.LNKC,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKD,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- ^^LPC.LNKA,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- ^^LPC.LNKB,
- Zero
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- Zero,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- Zero,
- 0x13
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- Zero,
- 0x10
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- Zero,
- 0x11
- }
- })
- }
- }
- }
- Device (EXP4)
- {
- Name (_ADR, 0x001C0003) // _ADR: Address
- OperationRegion (P4CS, PCI_Config, 0x40, 0x0100)
- Field (P4CS, AnyAcc, NoLock, Preserve)
- {
- Offset (0x10),
- , 4,
- LKD4, 1,
- Offset (0x1A),
- ABP4, 1,
- , 2,
- PDC4, 1,
- , 2,
- PDS4, 1,
- Offset (0x20),
- RID4, 16,
- PSP4, 1,
- PPP4, 1,
- Offset (0x9C),
- , 30,
- HPCS, 1,
- PMCS, 1
- }
- Device (PXS4)
- {
- Name (_ADR, Zero) // _ADR: Address
- }
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (LEqual (GPIC, Zero))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- ^^LPC.LNKD,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKA,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- ^^LPC.LNKB,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- ^^LPC.LNKC,
- Zero
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- Zero,
- 0x13
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- Zero,
- 0x10
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- Zero,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- Zero,
- 0x12
- }
- })
- }
- }
- }
- Device (EXP5)
- {
- Name (_ADR, 0x001C0004) // _ADR: Address
- OperationRegion (P5CS, PCI_Config, 0x40, 0x0100)
- Field (P5CS, AnyAcc, NoLock, Preserve)
- {
- Offset (0x10),
- , 4,
- LKD5, 1,
- Offset (0x1A),
- ABP5, 1,
- , 2,
- PDC5, 1,
- , 2,
- PDS5, 1,
- Offset (0x20),
- RID5, 16,
- PSP5, 1,
- PPP5, 1,
- Offset (0x9C),
- , 30,
- HPCS, 1,
- PMCS, 1
- }
- Device (PXS5)
- {
- Name (_ADR, Zero) // _ADR: Address
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (One)
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x04
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (LEqual (GPIC, Zero))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- ^^LPC.LNKA,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKB,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- ^^LPC.LNKC,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- ^^LPC.LNKD,
- Zero
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- Zero,
- 0x10
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- Zero,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- Zero,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- Zero,
- 0x13
- }
- })
- }
- }
- }
- Device (EXP6)
- {
- Name (_ADR, 0x001C0005) // _ADR: Address
- OperationRegion (P6CS, PCI_Config, 0x40, 0x0100)
- Field (P6CS, AnyAcc, NoLock, Preserve)
- {
- Offset (0x10),
- , 4,
- LKD6, 1,
- Offset (0x1A),
- ABP6, 1,
- , 2,
- PDC6, 1,
- , 2,
- PDS6, 1,
- Offset (0x20),
- RID6, 16,
- PSP6, 1,
- PPP6, 1,
- Offset (0x9C),
- , 30,
- HPCS, 1,
- PMCS, 1
- }
- Device (PXS6)
- {
- Name (_ADR, Zero) // _ADR: Address
- Method (_RMV, 0, NotSerialized) // _RMV: Removal Status
- {
- Return (One)
- }
- }
- Name (_PRW, Package (0x02) // _PRW: Power Resources for Wake
- {
- 0x09,
- 0x04
- })
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (LEqual (GPIC, Zero))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- ^^LPC.LNKB,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKC,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- ^^LPC.LNKD,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- ^^LPC.LNKA,
- Zero
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- Zero,
- 0x11
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- Zero,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- Zero,
- 0x13
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- Zero,
- 0x10
- }
- })
- }
- }
- }
- Device (AZAL)
- {
- Name (_ADR, 0x001B0000) // _ADR: Address
- OperationRegion (HDCS, PCI_Config, 0x54, 0x04)
- Field (HDCS, DWordAcc, NoLock, Preserve)
- {
- , 15,
- PMES, 1
- }
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- If (LEqual (WKMD, One))
- {
- Return (Package (0x02)
- {
- 0x0D,
- 0x04
- })
- }
- Else
- {
- Return (Package (0x02)
- {
- 0x0D,
- Zero
- })
- }
- }
- }
- Device (AUDO)
- {
- Name (_ADR, 0x001E0002) // _ADR: Address
- }
- Device (MODM)
- {
- Name (_ADR, 0x001E0003) // _ADR: Address
- Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
- {
- If (LEqual (WKMD, One))
- {
- Return (Package (0x02)
- {
- 0x05,
- 0x04
- })
- }
- Else
- {
- Return (Package (0x02)
- {
- 0x05,
- Zero
- })
- }
- }
- }
- Device (PEGP)
- {
- Name (_ADR, 0x00010000) // _ADR: Address
- Method (_PRT, 0, NotSerialized) // _PRT: PCI Routing Table
- {
- If (LEqual (GPIC, Zero))
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- ^^LPC.LNKA,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKE,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKC,
- Zero
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- ^^LPC.LNKD,
- Zero
- }
- })
- }
- Else
- {
- Return (Package (0x04)
- {
- Package (0x04)
- {
- 0xFFFF,
- Zero,
- Zero,
- 0x10
- },
- Package (0x04)
- {
- 0xFFFF,
- One,
- Zero,
- 0x14
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x02,
- Zero,
- 0x12
- },
- Package (0x04)
- {
- 0xFFFF,
- 0x03,
- Zero,
- 0x13
- }
- })
- }
- }
- Device (VGA)
- {
- Name (_ADR, Zero) // _ADR: Address
- Name (SWIT, One)
- Name (CRTA, One)
- Name (LCDA, One)
- Name (TVAA, One)
- Name (VLDF, One)
- OperationRegion (VIDS, PCI_Config, Zero, 0xC8)
- Field (VIDS, DWordAcc, NoLock, Preserve)
- {
- VDID, 32
- }
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- Return (0x0F)
- }
- Name (_PSC, Zero) // _PSC: Power State Current
- Method (_PS0, 0, NotSerialized) // _PS0: Power State 0
- {
- Store (Zero, _PSC) /* \_SB_.PCI0.PEGP.VGA_._PSC */
- }
- Method (_PS1, 0, NotSerialized) // _PS1: Power State 1
- {
- Store (One, _PSC) /* \_SB_.PCI0.PEGP.VGA_._PSC */
- }
- Method (_PS3, 0, NotSerialized) // _PS3: Power State 3
- {
- Store (0x03, _PSC) /* \_SB_.PCI0.PEGP.VGA_._PSC */
- }
- Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching
- {
- Store (And (Arg0, 0x03), SWIT) /* \_SB_.PCI0.PEGP.VGA_.SWIT */
- }
- Method (_DOD, 0, NotSerialized) // _DOD: Display Output Devices
- {
- Return (Package (0x03)
- {
- 0x00010100,
- 0x00010110,
- 0x0200
- })
- }
- Device (CRT)
- {
- Method (_ADR, 0, NotSerialized) // _ADR: Address
- {
- Return (0x0100)
- }
- Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
- {
- OSMI (0x90)
- Store (CADL, Local0)
- Store (CSTE, Local1)
- And (Local0, 0x02, Local0)
- And (Local1, 0x02, Local1)
- If (Local0)
- {
- Store (One, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- }
- Else
- {
- Store (Zero, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- }
- If (CRTA)
- {
- If (LEqual (Local1, 0x02))
- {
- Return (0x1F)
- }
- Else
- {
- Return (0x1D)
- }
- }
- Else
- {
- If (LEqual (Local1, 0x02))
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x0D)
- }
- }
- }
- Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
- {
- If (CRTA)
- {
- Return (One)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
- {
- }
- Method (MXMX, 1, NotSerialized)
- {
- Return (One)
- }
- }
- Device (LCD)
- {
- Method (_ADR, 0, NotSerialized) // _ADR: Address
- {
- Return (0x0110)
- }
- Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
- {
- OSMI (0x90)
- Store (CADL, Local0)
- Store (CSTE, Local1)
- And (Local0, One, Local0)
- And (Local1, One, Local1)
- If (Local0)
- {
- Store (One, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- }
- Else
- {
- Store (Zero, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- }
- If (LCDA)
- {
- If (LEqual (Local1, One))
- {
- Return (0x1F)
- }
- Else
- {
- Return (0x1D)
- }
- }
- Else
- {
- If (LEqual (Local1, One))
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x0D)
- }
- }
- }
- Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
- {
- If (LCDA)
- {
- Return (One)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
- {
- }
- Method (MXMX, 1, NotSerialized)
- {
- Return (One)
- }
- Method (_BCL, 0, NotSerialized) // _BCL: Brightness Control Levels
- {
- Return (Package (0x0C)
- {
- 0x46,
- 0x28,
- 0x0A,
- 0x14,
- 0x1E,
- 0x28,
- 0x32,
- 0x3C,
- 0x46,
- 0x50,
- 0x5A,
- 0x64
- })
- }
- Method (_BCM, 1, NotSerialized) // _BCM: Brightness Control Method
- {
- Divide (Arg0, 0x0A, Local0, Local1)
- Decrement (Local1)
- Store (Local1, ^^^^LPC.EC0.BRTS) /* \_SB_.PCI0.LPC_.EC0_.BRTS */
- }
- Method (_BQC, 0, NotSerialized) // _BQC: Brightness Query Current
- {
- Multiply (^^^^LPC.EC0.BRTS, 0x0A, Local0)
- Add (Local0, One, Local0)
- Sleep (0x64)
- Return (Local0)
- }
- }
- Device (HDV0)
- {
- Name (_ADR, 0x80000210) // _ADR: Address
- Method (MXMX, 1, NotSerialized)
- {
- Return (One)
- }
- }
- Device (TV)
- {
- Method (_ADR, 0, NotSerialized) // _ADR: Address
- {
- Return (0x0200)
- }
- Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
- {
- OSMI (0x90)
- Store (CADL, Local0)
- Store (CSTE, Local1)
- And (Local0, 0x04, Local0)
- And (Local1, 0x04, Local1)
- If (Local0)
- {
- Store (One, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- Else
- {
- Store (Zero, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- If (TVAA)
- {
- If (LEqual (Local1, 0x04))
- {
- Return (0x1F)
- }
- Else
- {
- Return (0x1D)
- }
- }
- Else
- {
- If (LEqual (Local1, 0x04))
- {
- Return (0x0F)
- }
- Else
- {
- Return (0x0D)
- }
- }
- }
- Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
- {
- If (TVAA)
- {
- Return (One)
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
- {
- }
- }
- Method (DSSW, 0, NotSerialized)
- {
- If (LEqual (SWIT, Zero))
- {
- OSMI (0x90)
- Store (CADL, Local0)
- Store (CSTE, Local1)
- If (LGreater (Local1, One))
- {
- And (Local0, Local1, VLDF) /* \_SB_.PCI0.PEGP.VGA_.VLDF */
- And (VLDF, 0xFE, VLDF) /* \_SB_.PCI0.PEGP.VGA_.VLDF */
- }
- If (VLDF)
- {
- If (LEqual (Local0, 0x03))
- {
- If (LEqual (Local1, One))
- {
- STBL (0x04)
- }
- If (LEqual (Local1, 0x03))
- {
- STBL (0x02)
- }
- If (LEqual (Local1, 0x02))
- {
- STBL (One)
- }
- }
- If (LEqual (Local0, 0x05))
- {
- If (LEqual (Local1, One))
- {
- STBL (0x06)
- }
- If (LEqual (Local1, 0x05))
- {
- STBL (0x03)
- }
- If (LEqual (Local1, 0x04))
- {
- STBL (One)
- }
- }
- If (LEqual (Local0, 0x07))
- {
- If (LEqual (Local1, One))
- {
- STBL (0x04)
- }
- If (LEqual (Local1, 0x03))
- {
- STBL (0x02)
- }
- If (LEqual (Local1, 0x02))
- {
- STBL (0x06)
- }
- If (LEqual (Local1, 0x05))
- {
- STBL (0x03)
- }
- If (LEqual (Local1, 0x04))
- {
- STBL (One)
- }
- }
- }
- Else
- {
- Store (One, VLDF) /* \_SB_.PCI0.PEGP.VGA_.VLDF */
- STBL (One)
- }
- }
- Else
- {
- If (LEqual (SWIT, One))
- {
- OSMI (0x91)
- }
- }
- }
- Method (STBL, 1, NotSerialized)
- {
- If (LEqual (Arg0, One))
- {
- Store (Zero, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- Store (One, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- Store (Zero, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- If (LEqual (Arg0, 0x02))
- {
- Store (One, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- Store (Zero, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- Store (Zero, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- If (LEqual (Arg0, 0x03))
- {
- Store (Zero, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- Store (Zero, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- Store (One, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- If (LEqual (Arg0, 0x04))
- {
- Store (One, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- Store (One, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- Store (Zero, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- If (LEqual (Arg0, 0x05))
- {
- Store (Zero, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- Store (One, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- Store (One, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- If (LEqual (Arg0, 0x06))
- {
- Store (One, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- Store (Zero, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- Store (One, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- If (LEqual (Arg0, 0x07))
- {
- Store (One, CRTA) /* \_SB_.PCI0.PEGP.VGA_.CRTA */
- Store (One, LCDA) /* \_SB_.PCI0.PEGP.VGA_.LCDA */
- Store (One, TVAA) /* \_SB_.PCI0.PEGP.VGA_.TVAA */
- }
- Notify (VGA, 0x80) // Status Change
- }
- Method (MXMI, 1, NotSerialized)
- {
- Return (0x21)
- }
- Method (MXMS, 1, NotSerialized)
- {
- Return (MXM2) /* \MXM2 */
- }
- }
- }
- Device (OVGA)
- {
- Name (_ADR, 0x00020000) // _ADR: Address
- Method (_DOS, 1, NotSerialized) // _DOS: Disable Output Switching
- {
- Store (And (Arg0, 0x07), DSEN) /* \DSEN */
- }
- Method (_DOD, 0, NotSerialized) // _DOD: Display Output Devices
- {
- Store (Zero, NDID) /* \NDID */
- If (LNotEqual (DIDL, Zero))
- {
- Store (SDDL (DID1), DID1) /* \DID1 */
- }
- If (LNotEqual (DDL2, Zero))
- {
- Store (SDDL (DID2), DID2) /* \DID2 */
- }
- If (LNotEqual (DDL3, Zero))
- {
- Store (SDDL (DID3), DID3) /* \DID3 */
- }
- If (LNotEqual (DDL4, Zero))
- {
- Store (SDDL (DID4), DID4) /* \DID4 */
- }
- If (LNotEqual (DDL5, Zero))
- {
- Store (SDDL (DID5), DID5) /* \DID5 */
- }
- If (LEqual (NDID, One))
- {
- Name (TMP1, Package (0x01)
- {
- Ones
- })
- Store (Or (0x00010000, DID1), Index (TMP1, Zero))
- Return (TMP1) /* \_SB_.PCI0.OVGA._DOD.TMP1 */
- }
- If (LEqual (NDID, 0x02))
- {
- Name (TMP2, Package (0x02)
- {
- Ones,
- Ones
- })
- Store (Or (0x00010000, DID1), Index (TMP2, Zero))
- Store (Or (0x00010000, DID2), Index (TMP2, One))
- Return (TMP2) /* \_SB_.PCI0.OVGA._DOD.TMP2 */
- }
- If (LEqual (NDID, 0x03))
- {
- Name (TMP3, Package (0x03)
- {
- Ones,
- Ones,
- Ones
- })
- Store (Or (0x00010000, DID1), Index (TMP3, Zero))
- Store (Or (0x00010000, DID2), Index (TMP3, One))
- Store (Or (0x00010000, DID3), Index (TMP3, 0x02))
- Return (TMP3) /* \_SB_.PCI0.OVGA._DOD.TMP3 */
- }
- If (LEqual (NDID, 0x04))
- {
- Name (TMP4, Package (0x04)
- {
- Ones,
- Ones,
- Ones,
- Ones
- })
- Store (Or (0x00010000, DID1), Index (TMP4, Zero))
- Store (Or (0x00010000, DID2), Index (TMP4, One))
- Store (Or (0x00010000, DID3), Index (TMP4, 0x02))
- Store (Or (0x00010000, DID4), Index (TMP4, 0x03))
- Return (TMP4) /* \_SB_.PCI0.OVGA._DOD.TMP4 */
- }
- If (LGreater (NDID, 0x04))
- {
- Name (TMP5, Package (0x05)
- {
- Ones,
- Ones,
- Ones,
- Ones,
- Ones
- })
- Store (Or (0x00010000, DID1), Index (TMP5, Zero))
- Store (Or (0x00010000, DID2), Index (TMP5, One))
- Store (Or (0x00010000, DID3), Index (TMP5, 0x02))
- Store (Or (0x00010000, DID4), Index (TMP5, 0x03))
- Store (Or (0x00010000, DID4), Index (TMP5, 0x04))
- Return (TMP5) /* \_SB_.PCI0.OVGA._DOD.TMP5 */
- }
- Return (Package (0x01)
- {
- 0x0400
- })
- }
- Device (DD01)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (DID1, Zero))
- {
- Return (One)
- }
- Else
- {
- Return (And (0xFFFF, DID1))
- }
- }
- Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
- {
- Return (CDDS (DID1))
- }
- Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
- {
- Return (NDDS (DID1))
- }
- Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
- {
- If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
- {
- Store (NSTE, CSTE) /* \CSTE */
- }
- }
- }
- Device (DD02)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (DID2, Zero))
- {
- Return (0x02)
- }
- Else
- {
- Return (And (0xFFFF, DID2))
- }
- }
- Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
- {
- Return (CDDS (DID2))
- }
- Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
- {
- Return (NDDS (DID2))
- }
- Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
- {
- If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
- {
- Store (NSTE, CSTE) /* \CSTE */
- }
- }
- }
- Device (DD03)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (DID3, Zero))
- {
- Return (0x03)
- }
- Else
- {
- Return (And (0xFFFF, DID3))
- }
- }
- Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
- {
- If (LEqual (DID3, Zero))
- {
- Return (0x0B)
- }
- Else
- {
- Return (CDDS (DID3))
- }
- }
- Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
- {
- Return (NDDS (DID3))
- }
- Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
- {
- If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
- {
- Store (NSTE, CSTE) /* \CSTE */
- }
- }
- Method (_BCL, 0, NotSerialized) // _BCL: Brightness Control Levels
- {
- Return (Package (0x0C)
- {
- 0x46,
- 0x28,
- 0x0A,
- 0x14,
- 0x1E,
- 0x28,
- 0x32,
- 0x3C,
- 0x46,
- 0x50,
- 0x5A,
- 0x64
- })
- }
- Method (_BCM, 1, NotSerialized) // _BCM: Brightness Control Method
- {
- Divide (Arg0, 0x0A, Local0, Local1)
- Decrement (Local1)
- Store (Local1, ^^^LPC.EC0.BRTS) /* \_SB_.PCI0.LPC_.EC0_.BRTS */
- }
- Method (_BQC, 0, NotSerialized) // _BQC: Brightness Query Current
- {
- Multiply (^^^LPC.EC0.BRTS, 0x0A, Local0)
- Add (Local0, One, Local0)
- Sleep (0x64)
- Return (Local0)
- }
- }
- Device (DD04)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (DID4, Zero))
- {
- Return (0x04)
- }
- Else
- {
- Return (And (0xFFFF, DID4))
- }
- }
- Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
- {
- If (LEqual (DID4, Zero))
- {
- Return (0x0B)
- }
- Else
- {
- Return (CDDS (DID4))
- }
- }
- Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
- {
- Return (NDDS (DID4))
- }
- Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
- {
- If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
- {
- Store (NSTE, CSTE) /* \CSTE */
- }
- }
- }
- Device (DD05)
- {
- Method (_ADR, 0, Serialized) // _ADR: Address
- {
- If (LEqual (DID5, Zero))
- {
- Return (0x05)
- }
- Else
- {
- Return (And (0xFFFF, DID5))
- }
- }
- Method (_DCS, 0, NotSerialized) // _DCS: Display Current Status
- {
- If (LEqual (DID5, Zero))
- {
- Return (0x0B)
- }
- Else
- {
- Return (CDDS (DID5))
- }
- }
- Method (_DGS, 0, NotSerialized) // _DGS: Display Graphics State
- {
- Return (NDDS (DID5))
- }
- Method (_DSS, 1, NotSerialized) // _DSS: Device Set State
- {
- If (LEqual (And (Arg0, 0xC0000000), 0xC0000000))
- {
- Store (NSTE, CSTE) /* \CSTE *//* \_SB_.PCI0.OVGA.PARM */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, One))
- {
- Store (0x0240, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x04))
- {
- And (PARM, 0xEFFF0000, PARM) /* \_SB_.PCI0.OVGA.PARM */
- And (PARM, ShiftLeft (DerefOf (Index (DBTB, IBTT)), 0x10),
- PARM) /* \_SB_.PCI0.OVGA.PARM */
- Or (IBTT, PARM, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x05))
- {
- Store (IPSC, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Or (PARM, ShiftLeft (IPAT, 0x08), PARM) /* \_SB_.PCI0.OVGA.PARM */
- Add (PARM, 0x0100, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Or (PARM, ShiftLeft (LIDS, 0x10), PARM) /* \_SB_.PCI0.OVGA.PARM */
- Add (PARM, 0x00010000, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Or (PARM, ShiftLeft (IBIA, 0x14), PARM) /* \_SB_.PCI0.OVGA.PARM */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x06))
- {
- Store (ITVF, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Or (PARM, ShiftLeft (ITVM, 0x04), PARM) /* \_SB_.PCI0.OVGA.PARM */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x07))
- {
- Store (GIVD, PARM) /* \_SB_.PCI0.OVGA.PARM */
- XOr (PARM, One, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Or (PARM, ShiftLeft (GMFN, One), PARM) /* \_SB_.PCI0.OVGA.PARM */
- Or (PARM, 0x1000, PARM) /* \_SB_.PCI0.OVGA.PARM */
- If (LLess (TASM, 0x04))
- {
- Or (PARM, 0x00020000, PARM) /* \_SB_.PCI0.OVGA.PARM */
- }
- Else
- {
- If (LLess (TASM, 0x08))
- {
- Or (PARM, 0x00040000, PARM) /* \_SB_.PCI0.OVGA.PARM */
- }
- Else
- {
- Or (PARM, 0x00060000, PARM) /* \_SB_.PCI0.OVGA.PARM */
- }
- }
- Or (ShiftLeft (DerefOf (Index (DerefOf (Index (CDCT, HVCO)), Subtract (
- CDVL, One))), 0x15), PARM, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Store (One, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x0A))
- {
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- If (ISSC)
- {
- Or (0x03, PARM, PARM) /* \_SB_.PCI0.OVGA.PARM */
- }
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (CRIT) /* \_SB_.PCI0.OVGA.CRIT */
- }
- Method (SBCB, 0, Serialized)
- {
- If (LEqual (GESF, Zero))
- {
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Store (0xF7FD, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, One))
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x03))
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x04))
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x05))
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x06))
- {
- Store (And (PARM, 0x0F), ITVF) /* \ITVF */
- Store (ShiftRight (And (PARM, 0xF0), 0x04), ITVM) /* \ITVM */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x07))
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x08))
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x09))
- {
- And (PARM, 0xFF, IBTT) /* \IBTT */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x0A))
- {
- And (PARM, 0xFF, IPSC) /* \IPSC */
- If (And (ShiftRight (PARM, 0x08), 0xFF))
- {
- And (ShiftRight (PARM, 0x08), 0xFF, IPAT) /* \IPAT */
- Decrement (IPAT)
- }
- And (ShiftRight (PARM, 0x14), 0x07, IBIA) /* \IBIA */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x0B))
- {
- And (ShiftRight (PARM, One), One, IF1E) /* \IF1E */
- If (And (PARM, 0x0001E000))
- {
- And (ShiftRight (PARM, 0x0D), 0x0F, IDMS) /* \IDMS */
- Store (Zero, IDMM) /* \IDMM */
- }
- Else
- {
- And (ShiftRight (PARM, 0x11), 0x0F, IDMS) /* \IDMS */
- Store (One, IDMM) /* \IDMM */
- }
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x10))
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x11))
- {
- Store (ShiftLeft (LIDS, 0x08), PARM) /* \_SB_.PCI0.OVGA.PARM */
- Add (PARM, 0x0100, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x12))
- {
- If (And (PARM, One))
- {
- If (LEqual (ShiftRight (PARM, One), One))
- {
- Store (One, ISSC) /* \ISSC */
- }
- Else
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (CRIT) /* \_SB_.PCI0.OVGA.CRIT */
- }
- }
- Else
- {
- Store (Zero, ISSC) /* \ISSC */
- }
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GESF, 0x13))
- {
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Store (Zero, PARM) /* \_SB_.PCI0.OVGA.PARM */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- Store (Zero, GESF) /* \_SB_.PCI0.OVGA.GESF */
- Return (SUCC) /* \_SB_.PCI0.OVGA.SUCC */
- }
- If (LEqual (GEFC, 0x04))
- {
- Store (GBDA (), GXFC) /* \_SB_.PCI0.OVGA.GXFC */
- }
- If (LEqual (GEFC, 0x06))
- {
- Store (SBCB (), GXFC) /* \_SB_.PCI0.OVGA.GXFC */
- }
- Store (Zero, GEFC) /* \_SB_.PCI0.OVGA.GEFC */
- Store (One, SCIS) /* \SCIS */
- Store (Zero, GSSE) /* \_SB_.PCI0.OVGA.GSSE */
- Store (Zero, SCIE) /* \_SB_.PCI0.OVGA.SCIE */
- Return (Zero)
- }
- Method (PDRD, 0, NotSerialized)
- {
- If (LNot (DRDY))
- {
- Sleep (ASLP)
- }
- Return (LNot (DRDY))
- }
- Method (PSTS, 0, NotSerialized)
- {
- If (LGreater (CSTS, 0x02))
- {
- Sleep (ASLP)
- }
- Return (LEqual (CSTS, 0x03))
- }
- Method (GNOT, 2, NotSerialized)
- {
- If (PDRD ())
- {
- Return (One)
- }
- If (PSTS ())
- {
- Return (One)
- }
- Store (Arg0, CEVT) /* \_SB_.PCI0.OVGA.CEVT */
- Store (0x03, CSTS) /* \_SB_.PCI0.OVGA.CSTS */
- If (LAnd (LEqual (CHPD, Zero), LEqual (Arg1, Zero)))
- {
- If (LOr (LGreater (OSYS, 0x07D0), LLess (OSYS, 0x07D7)))
- {
- Notify (PCI0, Arg1)
- }
- Else
- {
- Notify (OVGA, Arg1)
- }
- }
- Notify (OVGA, 0x80) // Status Change
- If (LNot (PSTS ()))
- {
- Store (Zero, CEVT) /* \_SB_.PCI0.OVGA.CEVT */
- }
- Return (Zero)
- }
- Method (GHDS, 1, NotSerialized)
- {
- Store (Arg0, TIDX) /* \_SB_.PCI0.OVGA.TIDX */
- Return (GNOT (One, Zero))
- }
- Method (GLID, 1, NotSerialized)
- {
- Store (0x010D, P80H) /* \P80H */
- Store (Arg0, CLID) /* \_SB_.PCI0.OVGA.CLID */
- Return (GNOT (0x02, Zero))
- }
- Method (GDCK, 1, NotSerialized)
- {
- Store (Arg0, CDCK) /* \_SB_.PCI0.OVGA.CDCK */
- Return (GNOT (0x04, 0x80))
- }
- Method (PARD, 0, NotSerialized)
- {
- If (LNot (ARDY))
- {
- Sleep (ASLP)
- }
- Return (LNot (ARDY))
- }
- Method (AINT, 2, NotSerialized)
- {
- If (LNot (And (TCHE, ShiftLeft (One, Arg0))))
- {
- Return (One)
- }
- If (PARD ())
- {
- Return (One)
- }
- If (LEqual (Arg0, 0x02))
- {
- XOr (PFIT, 0x07, PFIT) /* \_SB_.PCI0.OVGA.PFIT */
- Or (PFIT, 0x80000000, PFIT) /* \_SB_.PCI0.OVGA.PFIT */
- Store (0x04, ASLC) /* \_SB_.PCI0.OVGA.ASLC */
- }
- Else
- {
- If (LEqual (Arg0, One))
- {
- Store (Divide (Multiply (Arg1, 0xFF), 0x64, ), BCLP) /* \_SB_.PCI0.OVGA.BCLP */
- Or (BCLP, 0x80000000, BCLP) /* \_SB_.PCI0.OVGA.BCLP */
- Store (0x02, ASLC) /* \_SB_.PCI0.OVGA.ASLC */
- }
- Else
- {
- If (LEqual (Arg0, Zero))
- {
- Store (Arg1, ALSI) /* \_SB_.PCI0.OVGA.ALSI */
- Store (One, ASLC) /* \_SB_.PCI0.OVGA.ASLC */
- }
- Else
- {
- Return (One)
- }
- }
- }
- Store (Zero, LBPC) /* \_SB_.PCI0.OVGA.LBPC */
- Return (Zero)
- }
- Method (SCIP, 0, NotSerialized)
- {
- If (LNotEqual (OVER, Zero))
- {
- Return (LNot (GSMI))
- }
- Return (Zero)
- }
- }
- Device (IDEC)
- {
- Name (_ADR, 0x001F0001) // _ADR: Address
- OperationRegion (PACS, PCI_Config, 0x40, 0xC0)
- Field (PACS, DWordAcc, NoLock, Preserve)
- {
- PRIT, 16,
- Offset (0x04),
- PSIT, 4,
- Offset (0x08),
- SYNC, 4,
- Offset (0x0A),
- SDT0, 2,
- , 2,
- SDT1, 2,
- Offset (0x14),
- ICR0, 4,
- ICR1, 4,
- ICR2, 4,
- ICR3, 4,
- ICR4, 4,
- ICR5, 4
- }
- Device (PRID)
- {
- Name (_ADR, Zero) // _ADR: Address
- Method (_GTM, 0, NotSerialized) // _GTM: Get Timing Mode
- {
- Name (PBUF, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateDWordField (PBUF, Zero, PIO0)
- CreateDWordField (PBUF, 0x04, DMA0)
- CreateDWordField (PBUF, 0x08, PIO1)
- CreateDWordField (PBUF, 0x0C, DMA1)
- CreateDWordField (PBUF, 0x10, FLAG)
- Store (GETP (PRIT), PIO0) /* \_SB_.PCI0.IDEC.PRID._GTM.PIO0 */
- Store (GDMA (And (SYNC, One), And (ICR3, One),
- And (ICR0, One), SDT0, And (ICR1, One)), DMA0) /* \_SB_.PCI0.IDEC.PRID._GTM.DMA0 */
- If (LEqual (DMA0, Ones))
- {
- Store (PIO0, DMA0) /* \_SB_.PCI0.IDEC.PRID._GTM.DMA0 */
- }
- If (And (PRIT, 0x4000))
- {
- If (LEqual (And (PRIT, 0x90), 0x80))
- {
- Store (0x0384, PIO1) /* \_SB_.PCI0.IDEC.PRID._GTM.PIO1 */
- }
- Else
- {
- Store (GETT (PSIT), PIO1) /* \_SB_.PCI0.IDEC.PRID._GTM.PIO1 */
- }
- }
- Else
- {
- Store (Ones, PIO1) /* \_SB_.PCI0.IDEC.PRID._GTM.PIO1 */
- }
- Store (GDMA (And (SYNC, 0x02), And (ICR3, 0x02),
- And (ICR0, 0x02), SDT1, And (ICR1, 0x02)), DMA1) /* \_SB_.PCI0.IDEC.PRID._GTM.DMA1 */
- If (LEqual (DMA1, Ones))
- {
- Store (PIO1, DMA1) /* \_SB_.PCI0.IDEC.PRID._GTM.DMA1 */
- }
- Store (GETF (And (SYNC, One), And (SYNC, 0x02),
- PRIT), FLAG) /* \_SB_.PCI0.IDEC.PRID._GTM.FLAG */
- If (And (LEqual (PIO0, Ones), LEqual (DMA0, Ones)))
- {
- Store (0x78, PIO0) /* \_SB_.PCI0.IDEC.PRID._GTM.PIO0 */
- Store (0x14, DMA0) /* \_SB_.PCI0.IDEC.PRID._GTM.DMA0 */
- Store (0x03, FLAG) /* \_SB_.PCI0.IDEC.PRID._GTM.FLAG */
- }
- Return (PBUF) /* \_SB_.PCI0.IDEC.PRID._GTM.PBUF */
- }
- Method (_STM, 3, NotSerialized) // _STM: Set Timing Mode
- {
- CreateDWordField (Arg0, Zero, PIO0)
- CreateDWordField (Arg0, 0x04, DMA0)
- CreateDWordField (Arg0, 0x08, PIO1)
- CreateDWordField (Arg0, 0x0C, DMA1)
- CreateDWordField (Arg0, 0x10, FLAG)
- If (LEqual (SizeOf (Arg1), 0x0200))
- {
- And (PRIT, 0x40F0, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- And (SYNC, 0x02, SYNC) /* \_SB_.PCI0.IDEC.SYNC */
- Store (Zero, SDT0) /* \_SB_.PCI0.IDEC.SDT0 */
- And (ICR0, 0x02, ICR0) /* \_SB_.PCI0.IDEC.ICR0 */
- And (ICR1, 0x02, ICR1) /* \_SB_.PCI0.IDEC.ICR1 */
- And (ICR3, 0x02, ICR3) /* \_SB_.PCI0.IDEC.ICR3 */
- And (ICR5, 0x02, ICR5) /* \_SB_.PCI0.IDEC.ICR5 */
- CreateWordField (Arg1, 0x62, W490)
- CreateWordField (Arg1, 0x6A, W530)
- CreateWordField (Arg1, 0x7E, W630)
- CreateWordField (Arg1, 0x80, W640)
- CreateWordField (Arg1, 0xB0, W880)
- CreateWordField (Arg1, 0xBA, W930)
- Or (PRIT, 0x8004, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- If (LAnd (And (FLAG, 0x02), And (W490, 0x0800)))
- {
- Or (PRIT, 0x02, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- }
- Or (PRIT, SETP (PIO0, W530, W640), PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- If (And (FLAG, One))
- {
- Or (SYNC, One, SYNC) /* \_SB_.PCI0.IDEC.SYNC */
- Store (SDMA (DMA0), SDT0) /* \_SB_.PCI0.IDEC.SDT0 */
- If (LLess (DMA0, 0x1E))
- {
- Or (ICR3, One, ICR3) /* \_SB_.PCI0.IDEC.ICR3 */
- }
- If (LLess (DMA0, 0x3C))
- {
- Or (ICR0, One, ICR0) /* \_SB_.PCI0.IDEC.ICR0 */
- }
- If (And (W930, 0x2000))
- {
- Or (ICR1, One, ICR1) /* \_SB_.PCI0.IDEC.ICR1 */
- }
- }
- }
- If (LEqual (SizeOf (Arg2), 0x0200))
- {
- And (PRIT, 0x3F0F, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- Store (Zero, PSIT) /* \_SB_.PCI0.IDEC.PSIT */
- And (SYNC, One, SYNC) /* \_SB_.PCI0.IDEC.SYNC */
- Store (Zero, SDT1) /* \_SB_.PCI0.IDEC.SDT1 */
- And (ICR0, One, ICR0) /* \_SB_.PCI0.IDEC.ICR0 */
- And (ICR1, One, ICR1) /* \_SB_.PCI0.IDEC.ICR1 */
- And (ICR3, One, ICR3) /* \_SB_.PCI0.IDEC.ICR3 */
- And (ICR5, One, ICR5) /* \_SB_.PCI0.IDEC.ICR5 */
- CreateWordField (Arg2, 0x62, W491)
- CreateWordField (Arg2, 0x6A, W531)
- CreateWordField (Arg2, 0x7E, W631)
- CreateWordField (Arg2, 0x80, W641)
- CreateWordField (Arg2, 0xB0, W881)
- CreateWordField (Arg2, 0xBA, W931)
- Or (PRIT, 0x8040, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- If (LAnd (And (FLAG, 0x08), And (W491, 0x0800)))
- {
- Or (PRIT, 0x20, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- }
- If (And (FLAG, 0x10))
- {
- Or (PRIT, 0x4000, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- If (LGreater (PIO1, 0xF0))
- {
- Or (PRIT, 0x80, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- }
- Else
- {
- Or (PRIT, 0x10, PRIT) /* \_SB_.PCI0.IDEC.PRIT */
- Store (SETT (PIO1, W531, W641), PSIT) /* \_SB_.PCI0.IDEC.PSIT */
- }
- }
- If (And (FLAG, 0x04))
- {
- Or (SYNC, 0x02, SYNC) /* \_SB_.PCI0.IDEC.SYNC */
- Store (SDMA (DMA1), SDT1) /* \_SB_.PCI0.IDEC.SDT1 */
- If (LLess (DMA1, 0x1E))
- {
- Or (ICR3, 0x02, ICR3) /* \_SB_.PCI0.IDEC.ICR3 */
- }
- If (LLess (DMA1, 0x3C))
- {
- Or (ICR0, 0x02, ICR0) /* \_SB_.PCI0.IDEC.ICR0 */
- }
- If (And (W931, 0x2000))
- {
- Or (ICR1, 0x02, ICR1) /* \_SB_.PCI0.IDEC.ICR1 */
- }
- }
- }
- }
- Device (P_D0)
- {
- Name (_ADR, Zero) // _ADR: Address
- Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
- {
- Name (PIB0, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF /* ...... */
- })
- CreateByteField (PIB0, One, PMD0)
- CreateByteField (PIB0, 0x08, DMD0)
- If (And (PRIT, 0x02))
- {
- If (LEqual (And (PRIT, 0x09), 0x08))
- {
- Store (0x08, PMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.PMD0 */
- }
- Else
- {
- Store (0x0A, PMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.PMD0 */
- ShiftRight (And (PRIT, 0x0300), 0x08, Local0)
- ShiftRight (And (PRIT, 0x3000), 0x0C, Local1)
- Add (Local0, Local1, Local2)
- If (LEqual (0x03, Local2))
- {
- Store (0x0B, PMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.PMD0 */
- }
- If (LEqual (0x05, Local2))
- {
- Store (0x0C, PMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.PMD0 */
- }
- }
- }
- Else
- {
- Store (One, PMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.PMD0 */
- }
- If (And (SYNC, One))
- {
- Store (Or (SDT0, 0x40), DMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.DMD0 */
- If (And (ICR1, One))
- {
- If (And (ICR0, One))
- {
- Add (DMD0, 0x02, DMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.DMD0 */
- }
- If (And (ICR3, One))
- {
- Store (0x45, DMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.DMD0 */
- }
- }
- }
- Else
- {
- Or (Subtract (And (PMD0, 0x07), 0x02), 0x20, DMD0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.DMD0 */
- }
- Return (PIB0) /* \_SB_.PCI0.IDEC.PRID.P_D0._GTF.PIB0 */
- }
- }
- Device (P_D1)
- {
- Name (_ADR, One) // _ADR: Address
- Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
- {
- Name (PIB1, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF /* ...... */
- })
- CreateByteField (PIB1, One, PMD1)
- CreateByteField (PIB1, 0x08, DMD1)
- If (And (PRIT, 0x20))
- {
- If (LEqual (And (PRIT, 0x90), 0x80))
- {
- Store (0x08, PMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.PMD1 */
- }
- Else
- {
- Add (And (PSIT, 0x03), ShiftRight (And (PSIT, 0x0C),
- 0x02), Local0)
- If (LEqual (0x05, Local0))
- {
- Store (0x0C, PMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.PMD1 */
- }
- Else
- {
- If (LEqual (0x03, Local0))
- {
- Store (0x0B, PMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.PMD1 */
- }
- Else
- {
- Store (0x0A, PMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.PMD1 */
- }
- }
- }
- }
- Else
- {
- Store (One, PMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.PMD1 */
- }
- If (And (SYNC, 0x02))
- {
- Store (Or (SDT1, 0x40), DMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.DMD1 */
- If (And (ICR1, 0x02))
- {
- If (And (ICR0, 0x02))
- {
- Add (DMD1, 0x02, DMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.DMD1 */
- }
- If (And (ICR3, 0x02))
- {
- Store (0x45, DMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.DMD1 */
- }
- }
- }
- Else
- {
- Or (Subtract (And (PMD1, 0x07), 0x02), 0x20, DMD1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.DMD1 */
- }
- Return (PIB1) /* \_SB_.PCI0.IDEC.PRID.P_D1._GTF.PIB1 */
- }
- }
- }
- }
- Device (SATA)
- {
- Name (_ADR, 0x001F0002) // _ADR: Address
- OperationRegion (SACS, PCI_Config, 0x40, 0xC0)
- Field (SACS, DWordAcc, NoLock, Preserve)
- {
- PRIT, 16,
- SECT, 16,
- PSIT, 4,
- SSIT, 4,
- Offset (0x08),
- SYNC, 4,
- Offset (0x0A),
- SDT0, 2,
- , 2,
- SDT1, 2,
- Offset (0x0B),
- SDT2, 2,
- , 2,
- SDT3, 2,
- Offset (0x14),
- ICR0, 4,
- ICR1, 4,
- ICR2, 4,
- ICR3, 4,
- ICR4, 4,
- ICR5, 4,
- Offset (0x50),
- MAPV, 2
- }
- Device (PRID)
- {
- Name (_ADR, Zero) // _ADR: Address
- Method (_GTM, 0, NotSerialized) // _GTM: Get Timing Mode
- {
- If (LNotEqual (SCFG, 0x04))
- {
- Name (PBUF, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateDWordField (PBUF, Zero, PIO0)
- CreateDWordField (PBUF, 0x04, DMA0)
- CreateDWordField (PBUF, 0x08, PIO1)
- CreateDWordField (PBUF, 0x0C, DMA1)
- CreateDWordField (PBUF, 0x10, FLAG)
- Store (GETP (PRIT), PIO0) /* \_SB_.PCI0.SATA.PRID._GTM.PIO0 */
- Store (GDMA (And (SYNC, One), And (ICR3, One),
- And (ICR0, One), SDT0, And (ICR1, One)), DMA0) /* \_SB_.PCI0.SATA.PRID._GTM.DMA0 */
- If (LEqual (DMA0, Ones))
- {
- Store (PIO0, DMA0) /* \_SB_.PCI0.SATA.PRID._GTM.DMA0 */
- }
- If (And (PRIT, 0x4000))
- {
- If (LEqual (And (PRIT, 0x90), 0x80))
- {
- Store (0x0384, PIO1) /* \_SB_.PCI0.SATA.PRID._GTM.PIO1 */
- }
- Else
- {
- Store (GETT (PSIT), PIO1) /* \_SB_.PCI0.SATA.PRID._GTM.PIO1 */
- }
- }
- Else
- {
- Store (Ones, PIO1) /* \_SB_.PCI0.SATA.PRID._GTM.PIO1 */
- }
- Store (GDMA (And (SYNC, 0x02), And (ICR3, 0x02),
- And (ICR0, 0x02), SDT1, And (ICR1, 0x02)), DMA1) /* \_SB_.PCI0.SATA.PRID._GTM.DMA1 */
- If (LEqual (DMA1, Ones))
- {
- Store (PIO1, DMA1) /* \_SB_.PCI0.SATA.PRID._GTM.DMA1 */
- }
- Store (GETF (And (SYNC, One), And (SYNC, 0x02),
- PRIT), FLAG) /* \_SB_.PCI0.SATA.PRID._GTM.FLAG */
- Return (PBUF) /* \_SB_.PCI0.SATA.PRID._GTM.PBUF */
- }
- Return (Buffer (Zero) {})
- }
- Method (_STM, 3, NotSerialized) // _STM: Set Timing Mode
- {
- If (LNotEqual (SCFG, 0x04))
- {
- CreateDWordField (Arg0, Zero, PIO0)
- CreateDWordField (Arg0, 0x04, DMA0)
- CreateDWordField (Arg0, 0x08, PIO1)
- CreateDWordField (Arg0, 0x0C, DMA1)
- CreateDWordField (Arg0, 0x10, FLAG)
- If (LEqual (SizeOf (Arg1), 0x0200))
- {
- And (PRIT, 0x40F0, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- And (SYNC, 0x0E, SYNC) /* \_SB_.PCI0.SATA.SYNC */
- Store (Zero, SDT0) /* \_SB_.PCI0.SATA.SDT0 */
- And (ICR0, 0x0E, ICR0) /* \_SB_.PCI0.SATA.ICR0 */
- And (ICR1, 0x0E, ICR1) /* \_SB_.PCI0.SATA.ICR1 */
- And (ICR3, 0x0E, ICR3) /* \_SB_.PCI0.SATA.ICR3 */
- And (ICR5, 0x0E, ICR5) /* \_SB_.PCI0.SATA.ICR5 */
- CreateWordField (Arg1, 0x62, W490)
- CreateWordField (Arg1, 0x6A, W530)
- CreateWordField (Arg1, 0x7E, W630)
- CreateWordField (Arg1, 0x80, W640)
- CreateWordField (Arg1, 0xB0, W880)
- CreateWordField (Arg1, 0xBA, W930)
- Or (PRIT, 0x8004, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- If (LAnd (And (FLAG, 0x02), And (W490, 0x0800)))
- {
- Or (PRIT, 0x02, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- }
- Or (PRIT, SETP (PIO0, W530, W640), PRIT) /* \_SB_.PCI0.SATA.PRIT */
- If (And (FLAG, One))
- {
- Or (SYNC, One, SYNC) /* \_SB_.PCI0.SATA.SYNC */
- Store (SDMA (DMA0), SDT0) /* \_SB_.PCI0.SATA.SDT0 */
- If (LLess (DMA0, 0x1E))
- {
- Or (ICR3, One, ICR3) /* \_SB_.PCI0.SATA.ICR3 */
- }
- If (LLess (DMA0, 0x3C))
- {
- Or (ICR0, One, ICR0) /* \_SB_.PCI0.SATA.ICR0 */
- }
- Or (ICR1, One, ICR1) /* \_SB_.PCI0.SATA.ICR1 */
- }
- }
- If (LEqual (SizeOf (Arg2), 0x0200))
- {
- And (PRIT, 0x3F0F, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- Store (Zero, PSIT) /* \_SB_.PCI0.SATA.PSIT */
- And (SYNC, 0x0D, SYNC) /* \_SB_.PCI0.SATA.SYNC */
- Store (Zero, SDT1) /* \_SB_.PCI0.SATA.SDT1 */
- And (ICR0, 0x0D, ICR0) /* \_SB_.PCI0.SATA.ICR0 */
- And (ICR1, 0x0D, ICR1) /* \_SB_.PCI0.SATA.ICR1 */
- And (ICR3, 0x0D, ICR3) /* \_SB_.PCI0.SATA.ICR3 */
- And (ICR5, 0x0D, ICR5) /* \_SB_.PCI0.SATA.ICR5 */
- CreateWordField (Arg2, 0x62, W491)
- CreateWordField (Arg2, 0x6A, W531)
- CreateWordField (Arg2, 0x7E, W631)
- CreateWordField (Arg2, 0x80, W641)
- CreateWordField (Arg2, 0xB0, W881)
- CreateWordField (Arg2, 0xBA, W931)
- Or (PRIT, 0x8040, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- If (LAnd (And (FLAG, 0x08), And (W491, 0x0800)))
- {
- Or (PRIT, 0x20, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- }
- If (And (FLAG, 0x10))
- {
- Or (PRIT, 0x4000, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- If (LGreater (PIO1, 0xF0))
- {
- Or (PRIT, 0x80, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- }
- Else
- {
- Or (PRIT, 0x10, PRIT) /* \_SB_.PCI0.SATA.PRIT */
- Store (SETT (PIO1, W531, W641), PSIT) /* \_SB_.PCI0.SATA.PSIT */
- }
- }
- If (And (FLAG, 0x04))
- {
- Or (SYNC, 0x02, SYNC) /* \_SB_.PCI0.SATA.SYNC */
- Store (SDMA (DMA1), SDT1) /* \_SB_.PCI0.SATA.SDT1 */
- If (LLess (DMA1, 0x1E))
- {
- Or (ICR3, 0x02, ICR3) /* \_SB_.PCI0.SATA.ICR3 */
- }
- If (LLess (DMA1, 0x3C))
- {
- Or (ICR0, 0x02, ICR0) /* \_SB_.PCI0.SATA.ICR0 */
- }
- Or (ICR1, 0x02, ICR1) /* \_SB_.PCI0.SATA.ICR1 */
- }
- }
- }
- }
- Device (P_D0)
- {
- Name (_ADR, Zero) // _ADR: Address
- Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
- {
- If (LNotEqual (SCFG, 0x04))
- {
- Name (PIB0, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF /* ...... */
- })
- CreateByteField (PIB0, One, PMD0)
- CreateByteField (PIB0, 0x08, DMD0)
- If (And (PRIT, 0x02))
- {
- If (LEqual (And (PRIT, 0x09), 0x08))
- {
- Store (0x08, PMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.PMD0 */
- }
- Else
- {
- Store (0x0A, PMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.PMD0 */
- ShiftRight (And (PRIT, 0x0300), 0x08, Local0)
- ShiftRight (And (PRIT, 0x3000), 0x0C, Local1)
- Add (Local0, Local1, Local2)
- If (LEqual (0x03, Local2))
- {
- Store (0x0B, PMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.PMD0 */
- }
- If (LEqual (0x05, Local2))
- {
- Store (0x0C, PMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.PMD0 */
- }
- }
- }
- Else
- {
- Store (One, PMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.PMD0 */
- }
- If (And (SYNC, One))
- {
- Store (Or (SDT0, 0x40), DMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.DMD0 */
- If (And (ICR1, One))
- {
- If (And (ICR0, One))
- {
- Add (DMD0, 0x02, DMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.DMD0 */
- }
- If (And (ICR3, One))
- {
- Store (0x45, DMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.DMD0 */
- }
- }
- }
- Else
- {
- Or (Subtract (And (PMD0, 0x07), 0x02), 0x20, DMD0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.DMD0 */
- }
- Return (PIB0) /* \_SB_.PCI0.SATA.PRID.P_D0._GTF.PIB0 */
- }
- Return (Buffer (Zero) {})
- }
- }
- Device (P_D1)
- {
- Name (_ADR, One) // _ADR: Address
- Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
- {
- If (LNotEqual (SCFG, 0x04))
- {
- Name (PIB1, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF /* ...... */
- })
- CreateByteField (PIB1, One, PMD1)
- CreateByteField (PIB1, 0x08, DMD1)
- If (And (PRIT, 0x20))
- {
- If (LEqual (And (PRIT, 0x90), 0x80))
- {
- Store (0x08, PMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.PMD1 */
- }
- Else
- {
- Add (And (PSIT, 0x03), ShiftRight (And (PSIT, 0x0C),
- 0x02), Local0)
- If (LEqual (0x05, Local0))
- {
- Store (0x0C, PMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.PMD1 */
- }
- Else
- {
- If (LEqual (0x03, Local0))
- {
- Store (0x0B, PMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.PMD1 */
- }
- Else
- {
- Store (0x0A, PMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.PMD1 */
- }
- }
- }
- }
- Else
- {
- Store (One, PMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.PMD1 */
- }
- If (And (SYNC, 0x02))
- {
- Store (Or (SDT1, 0x40), DMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.DMD1 */
- If (And (ICR1, 0x02))
- {
- If (And (ICR0, 0x02))
- {
- Add (DMD1, 0x02, DMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.DMD1 */
- }
- If (And (ICR3, 0x02))
- {
- Store (0x45, DMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.DMD1 */
- }
- }
- }
- Else
- {
- Or (Subtract (And (PMD1, 0x07), 0x02), 0x20, DMD1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.DMD1 */
- }
- Return (PIB1) /* \_SB_.PCI0.SATA.PRID.P_D1._GTF.PIB1 */
- }
- Return (Buffer (Zero) {})
- }
- }
- }
- Device (SECD)
- {
- Name (_ADR, One) // _ADR: Address
- Method (_GTM, 0, NotSerialized) // _GTM: Get Timing Mode
- {
- Sleep (0x01F4)
- If (LNotEqual (SCFG, 0x04))
- {
- Name (SBUF, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateDWordField (SBUF, Zero, PIO0)
- CreateDWordField (SBUF, 0x04, DMA0)
- CreateDWordField (SBUF, 0x08, PIO1)
- CreateDWordField (SBUF, 0x0C, DMA1)
- CreateDWordField (SBUF, 0x10, FLAG)
- Store (GETP (SECT), PIO0) /* \_SB_.PCI0.SATA.SECD._GTM.PIO0 */
- Store (GDMA (And (SYNC, 0x04), And (ICR3, 0x04),
- And (ICR0, 0x04), SDT2, And (ICR1, 0x04)), DMA0) /* \_SB_.PCI0.SATA.SECD._GTM.DMA0 */
- If (LEqual (DMA0, Ones))
- {
- Store (PIO0, DMA0) /* \_SB_.PCI0.SATA.SECD._GTM.DMA0 */
- }
- If (And (SECT, 0x4000))
- {
- If (LEqual (And (SECT, 0x90), 0x80))
- {
- Store (0x0384, PIO1) /* \_SB_.PCI0.SATA.SECD._GTM.PIO1 */
- }
- Else
- {
- Store (GETT (SSIT), PIO1) /* \_SB_.PCI0.SATA.SECD._GTM.PIO1 */
- }
- }
- Else
- {
- Store (Ones, PIO1) /* \_SB_.PCI0.SATA.SECD._GTM.PIO1 */
- }
- Store (GDMA (And (SYNC, 0x08), And (ICR3, 0x08),
- And (ICR0, 0x08), SDT3, And (ICR1, 0x08)), DMA1) /* \_SB_.PCI0.SATA.SECD._GTM.DMA1 */
- If (LEqual (DMA1, Ones))
- {
- Store (PIO1, DMA1) /* \_SB_.PCI0.SATA.SECD._GTM.DMA1 */
- }
- Store (GETF (And (SYNC, 0x04), And (SYNC, 0x08),
- SECT), FLAG) /* \_SB_.PCI0.SATA.SECD._GTM.FLAG */
- If (And (LEqual (PIO0, Ones), LEqual (DMA0, Ones)))
- {
- Store (0x78, PIO0) /* \_SB_.PCI0.SATA.SECD._GTM.PIO0 */
- Store (0x14, DMA0) /* \_SB_.PCI0.SATA.SECD._GTM.DMA0 */
- Store (0x03, FLAG) /* \_SB_.PCI0.SATA.SECD._GTM.FLAG */
- }
- Return (SBUF) /* \_SB_.PCI0.SATA.SECD._GTM.SBUF */
- }
- Return (Buffer (Zero) {})
- }
- Method (_STM, 3, NotSerialized) // _STM: Set Timing Mode
- {
- If (LNotEqual (SCFG, 0x04))
- {
- CreateDWordField (Arg0, Zero, PIO0)
- CreateDWordField (Arg0, 0x04, DMA0)
- CreateDWordField (Arg0, 0x08, PIO1)
- CreateDWordField (Arg0, 0x0C, DMA1)
- CreateDWordField (Arg0, 0x10, FLAG)
- If (LEqual (SizeOf (Arg1), 0x0200))
- {
- And (SECT, 0x40F0, SECT) /* \_SB_.PCI0.SATA.SECT */
- And (SYNC, 0x0B, SYNC) /* \_SB_.PCI0.SATA.SYNC */
- Store (Zero, SDT2) /* \_SB_.PCI0.SATA.SDT2 */
- And (ICR0, 0x0B, ICR0) /* \_SB_.PCI0.SATA.ICR0 */
- And (ICR1, 0x0B, ICR1) /* \_SB_.PCI0.SATA.ICR1 */
- And (ICR3, 0x0B, ICR3) /* \_SB_.PCI0.SATA.ICR3 */
- And (ICR5, 0x0B, ICR5) /* \_SB_.PCI0.SATA.ICR5 */
- CreateWordField (Arg1, 0x62, W490)
- CreateWordField (Arg1, 0x6A, W530)
- CreateWordField (Arg1, 0x7E, W630)
- CreateWordField (Arg1, 0x80, W640)
- CreateWordField (Arg1, 0xB0, W880)
- CreateWordField (Arg1, 0xBA, W930)
- Or (SECT, 0x8004, SECT) /* \_SB_.PCI0.SATA.SECT */
- If (LAnd (And (FLAG, 0x02), And (W490, 0x0800)))
- {
- Or (SECT, 0x02, SECT) /* \_SB_.PCI0.SATA.SECT */
- }
- Or (SECT, SETP (PIO0, W530, W640), SECT) /* \_SB_.PCI0.SATA.SECT */
- If (And (FLAG, One))
- {
- Or (SYNC, 0x04, SYNC) /* \_SB_.PCI0.SATA.SYNC */
- Store (SDMA (DMA0), SDT2) /* \_SB_.PCI0.SATA.SDT2 */
- If (LLess (DMA0, 0x1E))
- {
- Or (ICR3, 0x04, ICR3) /* \_SB_.PCI0.SATA.ICR3 */
- }
- If (LLess (DMA0, 0x3C))
- {
- Or (ICR0, 0x04, ICR0) /* \_SB_.PCI0.SATA.ICR0 */
- }
- If (And (W930, 0x2000))
- {
- Or (ICR1, 0x04, ICR1) /* \_SB_.PCI0.SATA.ICR1 */
- }
- }
- }
- If (LEqual (SizeOf (Arg2), 0x0200))
- {
- And (SECT, 0x3F0F, SECT) /* \_SB_.PCI0.SATA.SECT */
- Store (Zero, SSIT) /* \_SB_.PCI0.SATA.SSIT */
- And (SYNC, 0x07, SYNC) /* \_SB_.PCI0.SATA.SYNC */
- Store (Zero, SDT3) /* \_SB_.PCI0.SATA.SDT3 */
- And (ICR0, 0x07, ICR0) /* \_SB_.PCI0.SATA.ICR0 */
- And (ICR1, 0x07, ICR1) /* \_SB_.PCI0.SATA.ICR1 */
- And (ICR3, 0x07, ICR3) /* \_SB_.PCI0.SATA.ICR3 */
- And (ICR5, 0x07, ICR5) /* \_SB_.PCI0.SATA.ICR5 */
- CreateWordField (Arg2, 0x62, W491)
- CreateWordField (Arg2, 0x6A, W531)
- CreateWordField (Arg2, 0x7E, W631)
- CreateWordField (Arg2, 0x80, W641)
- CreateWordField (Arg2, 0xB0, W881)
- CreateWordField (Arg2, 0xBA, W931)
- Or (SECT, 0x8040, SECT) /* \_SB_.PCI0.SATA.SECT */
- If (LAnd (And (FLAG, 0x08), And (W491, 0x0800)))
- {
- Or (SECT, 0x20, SECT) /* \_SB_.PCI0.SATA.SECT */
- }
- If (And (FLAG, 0x10))
- {
- Or (SECT, 0x4000, SECT) /* \_SB_.PCI0.SATA.SECT */
- If (LGreater (PIO1, 0xF0))
- {
- Or (SECT, 0x80, SECT) /* \_SB_.PCI0.SATA.SECT */
- }
- Else
- {
- Or (SECT, 0x10, SECT) /* \_SB_.PCI0.SATA.SECT */
- Store (SETT (PIO1, W531, W641), SSIT) /* \_SB_.PCI0.SATA.SSIT */
- }
- }
- If (And (FLAG, 0x04))
- {
- Or (SYNC, 0x08, SYNC) /* \_SB_.PCI0.SATA.SYNC */
- Store (SDMA (DMA1), SDT3) /* \_SB_.PCI0.SATA.SDT3 */
- If (LLess (DMA1, 0x1E))
- {
- Or (ICR3, 0x08, ICR3) /* \_SB_.PCI0.SATA.ICR3 */
- }
- If (LLess (DMA1, 0x3C))
- {
- Or (ICR0, 0x08, ICR0) /* \_SB_.PCI0.SATA.ICR0 */
- }
- If (And (W931, 0x2000))
- {
- Or (ICR1, 0x08, ICR1) /* \_SB_.PCI0.SATA.ICR1 */
- }
- }
- }
- }
- }
- Device (S_D0)
- {
- Name (_ADR, Zero) // _ADR: Address
- Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
- {
- If (LNotEqual (SCFG, 0x04))
- {
- Name (SIB0, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF /* ...... */
- })
- CreateByteField (SIB0, One, PMD0)
- CreateByteField (SIB0, 0x08, DMD0)
- If (And (SECT, 0x02))
- {
- If (LEqual (And (SECT, 0x09), 0x08))
- {
- Store (0x08, PMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.PMD0 */
- }
- Else
- {
- Store (0x0A, PMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.PMD0 */
- ShiftRight (And (SECT, 0x0300), 0x08, Local0)
- ShiftRight (And (SECT, 0x3000), 0x0C, Local1)
- Add (Local0, Local1, Local2)
- If (LEqual (0x03, Local2))
- {
- Store (0x0B, PMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.PMD0 */
- }
- If (LEqual (0x05, Local2))
- {
- Store (0x0C, PMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.PMD0 */
- }
- }
- }
- Else
- {
- Store (One, PMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.PMD0 */
- }
- If (And (SYNC, 0x04))
- {
- Store (Or (SDT2, 0x40), DMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.DMD0 */
- If (And (ICR1, 0x04))
- {
- If (And (ICR0, 0x04))
- {
- Add (DMD0, 0x02, DMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.DMD0 */
- }
- If (And (ICR3, 0x04))
- {
- Store (0x45, DMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.DMD0 */
- }
- }
- }
- Else
- {
- Or (Subtract (And (PMD0, 0x07), 0x02), 0x20, DMD0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.DMD0 */
- }
- Return (SIB0) /* \_SB_.PCI0.SATA.SECD.S_D0._GTF.SIB0 */
- }
- Return (Buffer (Zero) {})
- }
- }
- Device (S_D1)
- {
- Name (_ADR, One) // _ADR: Address
- Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
- {
- If (LNotEqual (SCFG, 0x04))
- {
- Name (SIB1, Buffer (0x0E)
- {
- /* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF, 0x03, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xB0, 0xEF /* ...... */
- })
- CreateByteField (SIB1, One, PMD1)
- CreateByteField (SIB1, 0x08, DMD1)
- If (And (SECT, 0x20))
- {
- If (LEqual (And (SECT, 0x90), 0x80))
- {
- Store (0x08, PMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.PMD1 */
- }
- Else
- {
- Add (And (SSIT, 0x03), ShiftRight (And (SSIT, 0x0C),
- 0x02), Local0)
- If (LEqual (0x05, Local0))
- {
- Store (0x0C, PMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.PMD1 */
- }
- Else
- {
- If (LEqual (0x03, Local0))
- {
- Store (0x0B, PMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.PMD1 */
- }
- Else
- {
- Store (0x0A, PMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.PMD1 */
- }
- }
- }
- }
- Else
- {
- Store (One, PMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.PMD1 */
- }
- If (And (SYNC, 0x08))
- {
- Store (Or (SDT3, 0x40), DMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.DMD1 */
- If (And (ICR1, 0x08))
- {
- If (And (ICR0, 0x08))
- {
- Add (DMD1, 0x02, DMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.DMD1 */
- }
- If (And (ICR3, 0x08))
- {
- Store (0x45, DMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.DMD1 */
- }
- }
- }
- Else
- {
- Or (Subtract (And (PMD1, 0x07), 0x02), 0x20, DMD1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.DMD1 */
- }
- Return (SIB1) /* \_SB_.PCI0.SATA.SECD.S_D1._GTF.SIB1 */
- }
- Return (Buffer (Zero) {})
- }
- }
- }
- Device (PRT0)
- {
- Name (_ADR, 0xFFFF) // _ADR: Address
- Method (_SDD, 1, NotSerialized) // _SDD: Set Device Data
- {
- If (LEqual (SCFG, 0x04))
- {
- Name (GBU0, Buffer (0x07)
- {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0x00 /* ....... */
- })
- CreateByteField (GBU0, Zero, GB00)
- CreateByteField (GBU0, One, GB01)
- CreateByteField (GBU0, 0x02, GB02)
- CreateByteField (GBU0, 0x03, GB03)
- CreateByteField (GBU0, 0x04, GB04)
- CreateByteField (GBU0, 0x05, GB05)
- CreateByteField (GBU0, 0x06, GB06)
- If (LEqual (SizeOf (Arg0), 0x0200))
- {
- CreateWordField (Arg0, 0x9C, W780)
- CreateWordField (Arg0, 0x9E, W790)
- If (LAnd (W780, 0x04))
- {
- If (LEqual (And (W790, 0x04), Zero))
- {
- Store (0x10, GB00) /* \_SB_.PCI0.SATA.PRT0._SDD.GB00 */
- Store (0x03, GB01) /* \_SB_.PCI0.SATA.PRT0._SDD.GB01 */
- Store (0xEF, GB06) /* \_SB_.PCI0.SATA.PRT0._SDD.GB06 */
- }
- }
- }
- Store (GBU0, GTF0) /* \GTF0 */
- }
- }
- Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
- {
- If (LAnd (LEqual (SCFG, 0x04), LEqual (AIBT, Zero)))
- {
- Return (GTF0) /* \GTF0 */
- }
- Return (Buffer (Zero) {})
- }
- }
- Device (PRT2)
- {
- Name (_ADR, 0x0002FFFF) // _ADR: Address
- Method (_SDD, 1, NotSerialized) // _SDD: Set Device Data
- {
- If (LEqual (SCFG, 0x04))
- {
- Name (GBU2, Buffer (0x07)
- {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0x00 /* ....... */
- })
- CreateByteField (GBU2, Zero, GB20)
- CreateByteField (GBU2, One, GB21)
- CreateByteField (GBU2, 0x02, GB22)
- CreateByteField (GBU2, 0x03, GB23)
- CreateByteField (GBU2, 0x04, GB24)
- CreateByteField (GBU2, 0x05, GB25)
- CreateByteField (GBU2, 0x06, GB26)
- If (LEqual (SizeOf (Arg0), 0x0200))
- {
- CreateWordField (Arg0, 0x9C, W782)
- CreateWordField (Arg0, 0x9E, W792)
- If (LAnd (W782, 0x04))
- {
- If (LEqual (And (W792, 0x04), Zero))
- {
- Store (0x10, GB20) /* \_SB_.PCI0.SATA.PRT2._SDD.GB20 */
- Store (0x03, GB21) /* \_SB_.PCI0.SATA.PRT2._SDD.GB21 */
- Store (0xEF, GB26) /* \_SB_.PCI0.SATA.PRT2._SDD.GB26 */
- }
- }
- }
- Store (GBU2, GTF2) /* \GTF2 */
- }
- }
- Method (_GTF, 0, NotSerialized) // _GTF: Get Task File
- {
- If (LAnd (LEqual (SCFG, 0x04), LEqual (AIBT, Zero)))
- {
- Return (GTF2) /* \GTF2 */
- }
- Return (Buffer (Zero) {})
- }
- }
- }
- Device (MIR)
- {
- Name (_HID, EisaId ("ENE0100")) // _HID: Hardware ID
- Method (_STA, 0, NotSerialized) // _STA: Status
- {
- If (LGreaterEqual (OSYS, 0x07D6))
- {
- If (LOr (And (OTHR, 0x02), And (OTHR, 0x40)))
- {
- Return (Zero)
- }
- Else
- {
- Return (0x0F)
- }
- }
- Else
- {
- Return (Zero)
- }
- }
- Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings
- {
- Name (BUF0, ResourceTemplate ()
- {
- IO (Decode16,
- 0xFF2C, // Range Minimum
- 0xFF2C, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IRQNoFlags ()
- {4}
- })
- Return (BUF0) /* \_SB_.PCI0.MIR_._CRS.BUF0 */
- }
- Name (_PRS, ResourceTemplate () // _PRS: Possible Resource Settings
- {
- IO (Decode16,
- 0xFF2C, // Range Minimum
- 0xFF2C, // Range Maximum
- 0x01, // Alignment
- 0x04, // Length
- )
- IRQNoFlags ()
- {4}
- })
- }
- Device (WMID)
- {
- Name (_HID, "PNP0C14" /* Windows Management Instrumentation Device */) // _HID: Hardware ID
- Name (_UID, Zero) // _UID: Unique ID
- Name (ERRD, 0x00010000)
- Name (BUFF, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateByteField (BUFF, Zero, BF00)
- CreateByteField (BUFF, One, BF01)
- CreateByteField (BUFF, 0x02, BF02)
- CreateByteField (BUFF, 0x03, BF03)
- Name (BUF1, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- Name (AADS, Buffer (0x04)
- {
- 0x00 /* . */
- })
- CreateField (AADS, Zero, 0x04, AS00)
- CreateField (AADS, 0x04, One, AS01)
- CreateField (AADS, 0x05, One, AS02)
- CreateField (AADS, 0x10, 0x10, AS03)
- Name (BAEF, Zero)
- Name (BADF, Zero)
- Name (BADG, Package (0x0D)
- {
- Zero,
- Zero,
- Zero,
- Zero,
- Zero,
- Zero,
- Zero,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- Zero,
- 0x00010000
- })
- Name (WLDS, Zero)
- Name (WLED, Zero)
- Name (BTDS, Zero)
- Name (BTED, Zero)
- Name (BLDS, Zero)
- Name (BLED, Zero)
- Name (NTDC, Zero)
- Name (NTDV, Zero)
- Name (WLSD, 0x0100)
- Name (WLSE, 0x0101)
- Name (BLTD, 0x0200)
- Name (BLTE, 0x0201)
- Name (LBL0, 0x0300)
- Name (LBL1, 0x0301)
- Name (LBL2, 0x0302)
- Name (LBL3, 0x0303)
- Name (LBL4, 0x0304)
- Name (LBL5, 0x0305)
- Name (LBL6, 0x0306)
- Name (LBL7, 0x0307)
- Name (LBL8, 0x0308)
- Name (LBL9, 0x0309)
- Name (LBLA, 0x030A)
- Name (LBLB, 0x030B)
- Name (LBLC, 0x030C)
- Name (LBLD, 0x030D)
- Name (LBLE, 0x030E)
- Name (LBLF, 0x030F)
- Name (CADI, 0x0401)
- Name (CADO, 0x0400)
- Name (GSEE, 0x0501)
- Name (GSED, 0x0502)
- Name (VAPI, 0x0601)
- Name (VAPO, 0x0600)
- Name (WBBO, 0x0701)
- Name (WBBI, 0x0700)
- Name (G3MD, 0x0800)
- Name (G3ME, 0x0801)
- Name (LANI, 0x0900)
- Name (LANO, 0x0901)
- Name (LDOF, 0x0A00)
- Name (LDON, 0x0A01)
- Name (FNKE, 0x00010002)
- Name (FNF5, 0x00015001)
- Name (BBSB, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateField (BBSB, Zero, 0x10, BBD0)
- CreateField (BBSB, 0x10, 0x10, BBD1)
- Name (TLS0, Zero)
- Name (TLS1, One)
- Name (TLS2, 0x02)
- Name (TLS3, 0x03)
- Name (TLS4, 0x04)
- Name (TLS5, 0x05)
- Name (TLS6, 0x06)
- Name (TLS7, 0x07)
- Name (BCDS, Package (0x0D)
- {
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000
- })
- Name (BDDS, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateField (BDDS, Zero, 0x10, BDD0)
- CreateField (BDDS, 0x10, 0x10, BDD1)
- Name (DSY0, Buffer (0x28)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* ........ */
- })
- Name (DSY1, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* ........ */
- })
- Name (DSY2, Buffer (0x10)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* ........ */
- })
- Name (DSY3, Buffer (0x18)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* ........ */
- })
- Name (DSY4, Buffer (0x10)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* ........ */
- })
- Name (DSY5, Buffer (0x28)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0018 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0020 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* ........ */
- })
- CreateField (DSY0, Zero, 0x40, DY00)
- CreateField (DSY0, 0x40, 0x40, DY01)
- CreateField (DSY0, 0x80, 0x40, DY02)
- CreateField (DSY0, 0xC0, 0x40, DY03)
- CreateField (DSY0, 0x0100, 0x40, DY04)
- CreateField (DSY1, Zero, 0x40, DY10)
- CreateField (DSY1, 0x40, 0x40, DY11)
- CreateField (DSY1, 0x80, 0x40, DY12)
- CreateField (DSY2, Zero, 0x40, DY20)
- CreateField (DSY2, 0x40, 0x10, DY21)
- CreateField (DSY2, 0x50, 0x10, DY22)
- CreateField (DSY0, Zero, 0xC0, DSX4)
- Name (BEDS, Package (0x12)
- {
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000,
- 0x00010000
- })
- Name (WIT0, Zero)
- Name (DSY6, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateField (DSY6, Zero, 0x20, DY60)
- CreateField (DSY6, 0x20, 0x20, DY61)
- CreateField (DSY6, 0x40, 0x20, DY62)
- CreateField (DSY6, 0x60, 0x20, DY63)
- CreateField (DSY6, 0x80, 0x20, DY64)
- Name (WPRW, Buffer (0x14)
- {
- /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* ........ */
- /* 0010 */ 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateField (WPRW, Zero, 0x08, WWD0)
- CreateField (WPRW, 0x08, 0x08, WWD1)
- CreateField (WPRW, 0x10, 0x08, WWD2)
- CreateField (WPRW, 0x18, 0x08, WWD3)
- CreateField (WPRW, 0x20, 0x08, WWD4)
- CreateField (WPRW, 0x28, 0x20, WWD5)
- Name (WPCI, Buffer (0x04)
- {
- 0x00, 0x00, 0x00, 0x00 /* .... */
- })
- CreateField (WPCI, Zero, 0x08, WPIR)
- CreateField (WPCI, 0x08, 0x03, WPIF)
- CreateField (WPCI, 0x0B, 0x05, WPID)
- CreateField (WPCI, 0x10, 0x08, WPIB)
- Name (BFDS, Package (0x04)
- {
- 0x02,
- 0x02,
- 0x02,
- 0x02
- })
- Name (GSTS, Zero)
- Name (BFEF, Zero)
- Name (BGEF, Zero)
- Name (BGDS, Package (0x01)
- {
- One
- })
- Method (AAF1, 0, NotSerialized)
- {
- Store (^^LPC.EC0.WLEX, AS00) /* \_SB_.PCI0.WMID.AS00 */
- Store (^^LPC.EC0.BTEX, AS01) /* \_SB_.PCI0.WMID.AS01 */
- Store (Zero, AS02) /* \_SB_.PCI0.WMID.AS02 */
- Store (Zero, AS03) /* \_SB_.PCI0.WMID.AS03 */
- }
- Method (WGDS, 1, NotSerialized)
- {
- Name (T_0, Zero)
- Store (Arg0, T_0) /* \_SB_.PCI0.WMID.WGDS.T_0_ */
- If (LEqual (T_0, One))
- {
- Store (^^LPC.EC0.WLAT, Index (BADG, Zero))
- }
- Else
- {
- If (LEqual (T_0, 0x02))
- {
- Store (^^LPC.EC0.BTAT, Index (BADG, One))
- }
- Else
- {
- If (LEqual (T_0, 0x03))
- {
- Store (^^LPC.EC0.BRTS, Index (BADG, 0x02))
- }
- Else
- {
- If (LEqual (T_0, 0x08))
- {
- Store (One, Index (BADG, 0x07))
- }
- Else
- {
- If (LEqual (T_0, 0x09))
- {
- Store (Zero, Index (BADG, 0x08))
- }
- Else
- {
- If (LEqual (T_0, 0x0C))
- {
- If (And (OTHR, One))
- {
- Store (0x00010000, Index (BADG, 0x0B))
- }
- Else
- {
- Store (^^LPC.EC0.LANC, Index (BADG, 0x0B))
- }
- }
- Else
- {
- If (LEqual (T_0, 0x0D))
- {
- Store (^^LPC.EC0.LCDS, Index (BADG, 0x0C))
- }
- }
- }
- }
- }
- }
- }
- }
- Method (WSDS, 2, NotSerialized)
- {
- Store (Arg1, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Store (Arg0, Local0)
- Store (BF00, Local1)
- Store (Zero, Index (BADG, Subtract (Local0, One)))
- Name (T_0, Zero)
- Store (Local1, T_0) /* \_SB_.PCI0.WMID.WSDS.T_0_ */
- If (LEqual (T_0, Zero))
- {
- Name (T_1, Zero)
- Store (Local0, T_1) /* \_SB_.PCI0.WMID.WSDS.T_1_ */
- If (LEqual (T_1, 0x04))
- {
- Store (Zero, ^^LPC.EC0.WLAT) /* \_SB_.PCI0.LPC_.EC0_.WLAT */
- }
- Else
- {
- If (LEqual (T_1, 0x05))
- {
- Store (Zero, ^^LPC.EC0.BTAT) /* \_SB_.PCI0.LPC_.EC0_.BTAT */
- }
- Else
- {
- If (LEqual (T_1, 0x06))
- {
- Store (Zero, ^^LPC.EC0.BRTS) /* \_SB_.PCI0.LPC_.EC0_.BRTS */
- }
- Else
- {
- If (LEqual (T_1, 0x07))
- {
- Store (Zero, BAEF) /* \_SB_.PCI0.WMID.BAEF */
- }
- Else
- {
- Store (0x0100, Index (BADG, Subtract (Local0, One)))
- }
- }
- }
- }
- }
- Else
- {
- Name (T_2, Zero)
- Store (Local0, T_2) /* \_SB_.PCI0.WMID.WSDS.T_2_ */
- If (LEqual (T_2, 0x04))
- {
- Store (One, ^^LPC.EC0.WLAT) /* \_SB_.PCI0.LPC_.EC0_.WLAT */
- }
- Else
- {
- If (LEqual (T_2, 0x05))
- {
- Store (One, ^^LPC.EC0.BTAT) /* \_SB_.PCI0.LPC_.EC0_.BTAT */
- }
- Else
- {
- If (LEqual (T_2, 0x06))
- {
- Store (Local1, ^^LPC.EC0.BRTS) /* \_SB_.PCI0.LPC_.EC0_.BRTS */
- }
- Else
- {
- If (LEqual (T_2, 0x07))
- {
- Store (One, BAEF) /* \_SB_.PCI0.WMID.BAEF */
- }
- Else
- {
- Store (0x0100, Index (BADG, Subtract (Local0, One)))
- }
- }
- }
- }
- }
- }
- Method (OEMN, 0, NotSerialized)
- {
- If (LEqual (BGEF, One))
- {
- Store (NTDV, Local0)
- If (LNotEqual (Local0, Zero))
- {
- Store (Zero, NTDV) /* \_SB_.PCI0.WMID.NTDV */
- Return (Local0)
- }
- }
- If (LEqual (BAEF, One))
- {
- Store (NTDC, Local0)
- If (LNotEqual (Local0, Zero))
- {
- Store (Zero, NTDC) /* \_SB_.PCI0.WMID.NTDC */
- Return (Local0)
- }
- }
- If (LEqual (BFEF, One)) {}
- Return (Zero)
- }
- Method (STRL, 2, NotSerialized)
- {
- Store (Arg0, Local0)
- Store (Arg1, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Store (Zero, BBSB) /* \_SB_.PCI0.WMID.BBSB */
- Name (T_0, Zero)
- Store (Local0, T_0) /* \_SB_.PCI0.WMID.STRL.T_0_ */
- If (LEqual (T_0, One))
- {
- Store (^^LPC.EC0.THRO (Zero), Local1)
- If (And (Local1, One))
- {
- Store (^^LPC.EC0.THRO (One), Local1)
- Store (Local1, BBSB) /* \_SB_.PCI0.WMID.BBSB */
- }
- }
- Else
- {
- If (LEqual (T_0, 0x02))
- {
- Store (BF00, Local1)
- ^^LPC.EC0.CLCK (Local1)
- }
- Else
- {
- Store (0x00010000, BBSB) /* \_SB_.PCI0.WMID.BBSB */
- }
- }
- }
- Method (WODP, 2, NotSerialized)
- {
- If (LEqual (Arg0, 0x03))
- {
- Store (^^LPC.EC0.LANP, Index (BCDS, Subtract (Arg0, One)))
- }
- Else
- {
- Store (One, Index (BCDS, Subtract (Arg0, One)))
- }
- If (LEqual (Arg0, 0x0C))
- {
- If (Arg1)
- {
- Store (One, ^^LPC.EC0.LANP) /* \_SB_.PCI0.LPC_.EC0_.LANP */
- }
- Else
- {
- Store (Zero, ^^LPC.EC0.LANP) /* \_SB_.PCI0.LPC_.EC0_.LANP */
- }
- Store (Zero, Index (BCDS, Subtract (Arg0, 0x0A)))
- }
- Else
- {
- Store (One, Index (BCDS, Subtract (Arg0, 0x0A)))
- }
- }
- Method (GCPU, 1, NotSerialized)
- {
- Store (DSY5, DSY0) /* \_SB_.PCI0.WMID.DSY0 */
- Store (Arg0, Local0)
- Store (IHWM (Zero, Arg0), Local2)
- Store (Local2, DSY6) /* \_SB_.PCI0.WMID.DSY6 */
- Store (DY60, DY00) /* \_SB_.PCI0.WMID.DY00 */
- Store (DY61, DY01) /* \_SB_.PCI0.WMID.DY01 */
- Store (DY62, DY02) /* \_SB_.PCI0.WMID.DY02 */
- Store (DY63, DY03) /* \_SB_.PCI0.WMID.DY03 */
- }
- Method (MSRR, 1, NotSerialized)
- {
- Store (DSY3, DSY1) /* \_SB_.PCI0.WMID.DSY1 */
- Store (Arg0, DY00) /* \_SB_.PCI0.WMID.DY00 */
- Store (IHWM (One, Arg0), Local2)
- Store (Local2, DSY6) /* \_SB_.PCI0.WMID.DSY6 */
- Store (DY60, DY10) /* \_SB_.PCI0.WMID.DY10 */
- Store (DY61, DY11) /* \_SB_.PCI0.WMID.DY11 */
- Store (Zero, WIT0) /* \_SB_.PCI0.WMID.WIT0 */
- Store (WIT0, DY12) /* \_SB_.PCI0.WMID.DY12 */
- }
- Method (MSRW, 1, NotSerialized)
- {
- Store (DSY3, DSY1) /* \_SB_.PCI0.WMID.DSY1 */
- Store (IHWM (0x02, Arg0), Local2)
- Store (Local2, DSY6) /* \_SB_.PCI0.WMID.DSY6 */
- Store (DY60, DY10) /* \_SB_.PCI0.WMID.DY10 */
- Store (DY61, DY11) /* \_SB_.PCI0.WMID.DY11 */
- Store (Zero, WIT0) /* \_SB_.PCI0.WMID.WIT0 */
- Store (WIT0, DY12) /* \_SB_.PCI0.WMID.DY12 */
- }
- Method (C4C3, 2, NotSerialized)
- {
- Store (Arg1, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- If (LNotEqual (And (PPMF, 0x80), 0x80))
- {
- Store (0x00010000, Index (BCDS, 0x09))
- }
- Else
- {
- If (LEqual (Arg0, 0x04))
- {
- Store (BF00, ^^LPC.C4O3) /* \_SB_.PCI0.LPC_.C4O3 */
- Store (BF00, Index (BCDS, 0x09))
- }
- Else
- {
- Store (^^LPC.C4O3, Index (BCDS, 0x09))
- }
- }
- }
- Method (CPUF, 0, NotSerialized)
- {
- Store (^^LPC.EC0.THFN, Local0)
- Multiply (Local0, 0x64, Local1)
- Store (Local1, Index (BCDS, 0x0A))
- }
- Method (CPUT, 0, NotSerialized)
- {
- Store (^^LPC.EC0.CTMP, Index (BCDS, 0x0B))
- }
- Method (PCIR, 1, NotSerialized)
- {
- Store (Arg0, Local0)
- Store (IHWM (0x03, Arg0), Local2)
- Store (Local2, DY20) /* \_SB_.PCI0.WMID.DY20 */
- Store (Local2, DSY6) /* \_SB_.PCI0.WMID.DSY6 */
- Store (DSY4, DSY2) /* \_SB_.PCI0.WMID.DSY2 */
- Store (DY60, DY20) /* \_SB_.PCI0.WMID.DY20 */
- }
- Method (PCIW, 1, NotSerialized)
- {
- Store (Arg0, Local0)
- Store (Arg0, DY20) /* \_SB_.PCI0.WMID.DY20 */
- Store (IHWM (0x04, Arg0), Local2)
- Store (Local2, DSY6) /* \_SB_.PCI0.WMID.DSY6 */
- Store (DY61, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Method (CPUS, 0, NotSerialized)
- {
- Store (IHWM (0x05, Zero), Local2)
- Store (Local2, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Store (BUFF, Index (BCDS, 0x0C))
- }
- Method (PCID, 1, NotSerialized)
- {
- Store (IHWM (0x06, Arg0), Local2)
- Store (Local2, DSY6) /* \_SB_.PCI0.WMID.DSY6 */
- }
- Method (BTIF, 2, NotSerialized)
- {
- Store (Arg0, Local0)
- Store (Arg1, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- If (LEqual (Local0, 0x0D))
- {
- Store (BF02, BF00) /* \_SB_.PCI0.WMID.BF00 */
- Store (BF01, Local1)
- Store (BF02, BF00) /* \_SB_.PCI0.WMID.BF00 */
- Store (BF01, Local1)
- }
- If (LEqual (Local0, 0x0E))
- {
- If (LEqual (BF00, Zero))
- {
- Store (0xFF, BF00) /* \_SB_.PCI0.WMID.BF00 */
- }
- Else
- {
- Store (BF00, Local1)
- Store (One, BF00) /* \_SB_.PCI0.WMID.BF00 */
- }
- }
- Name (T_0, Zero)
- Store (BF00, T_0) /* \_SB_.PCI0.WMID.BTIF.T_0_ */
- If (LEqual (T_0, One))
- {
- If (LEqual (^^LPC.EC0.BDC0, Zero))
- {
- Store (0x00020000, Local1)
- Decrement (Local0)
- Store (Local1, Index (BEDS, Local0))
- }
- Else
- {
- Name (T_1, Zero)
- Store (Local0, T_1) /* \_SB_.PCI0.WMID.BTIF.T_1_ */
- If (LEqual (T_1, One))
- {
- Store (Zero, Index (BEDS, Zero))
- }
- Else
- {
- If (LEqual (T_1, 0x02))
- {
- Store (^^LPC.EC0.BPTC, Index (BEDS, One))
- }
- Else
- {
- If (LEqual (T_1, 0x03))
- {
- Store (^^LPC.EC0.BPV0, Index (BEDS, 0x02))
- }
- Else
- {
- If (LEqual (T_1, 0x04))
- {
- Store (^^LPC.EC0.BSCU, Index (BEDS, 0x03))
- }
- Else
- {
- If (LEqual (T_1, 0x05))
- {
- Store (^^LPC.EC0.BRC0, Index (BEDS, 0x04))
- }
- Else
- {
- If (LEqual (T_1, 0x06))
- {
- Store (^^LPC.EC0.BFC0, Index (BEDS, 0x05))
- }
- Else
- {
- If (LEqual (T_1, 0x07))
- {
- Store (^^LPC.EC0.BSCY, Index (BEDS, 0x06))
- }
- Else
- {
- If (LEqual (T_1, 0x08))
- {
- Store (^^LPC.EC0.BDC0, Index (BEDS, 0x07))
- }
- Else
- {
- If (LEqual (T_1, 0x09))
- {
- Store (^^LPC.EC0.BDV0, Index (BEDS, 0x08))
- }
- Else
- {
- If (LEqual (T_1, 0x0A))
- {
- Store (^^LPC.EC0.BDAD, Index (BEDS, 0x09))
- }
- Else
- {
- If (LEqual (T_1, 0x0B))
- {
- Store (^^LPC.EC0.BSN0, Index (BEDS, 0x0A))
- }
- Else
- {
- If (LEqual (T_1, 0x0C))
- {
- If (LEqual (^^LPC.EC0.ACIS, One))
- {
- Store (Zero, ^^LPC.EC0.PSRC) /* \_SB_.PCI0.LPC_.EC0_.PSRC */
- Store (One, Index (BEDS, 0x0B))
- }
- Else
- {
- Store (0x00020000, Index (BEDS, 0x0B))
- }
- }
- Else
- {
- If (LEqual (T_1, 0x0D))
- {
- Store (Local1, ^^LPC.EC0.BTMA) /* \_SB_.PCI0.LPC_.EC0_.BTMA */
- Store (One, ^^LPC.EC0.SCCF) /* \_SB_.PCI0.LPC_.EC0_.SCCF */
- Store (One, Index (BEDS, 0x0C))
- }
- Else
- {
- If (LEqual (T_1, 0x0E))
- {
- Store (Local1, ^^LPC.EC0.BTPV) /* \_SB_.PCI0.LPC_.EC0_.BTPV */
- Store (Zero, ^^LPC.EC0.SCHG) /* \_SB_.PCI0.LPC_.EC0_.SCHG */
- Store (One, ^^LPC.EC0.SCPF) /* \_SB_.PCI0.LPC_.EC0_.SCPF */
- Store (One, Index (BEDS, 0x0D))
- }
- Else
- {
- If (LEqual (T_1, 0x0F))
- {
- Store (^^LPC.EC0.BDFC, Index (BEDS, 0x0E))
- }
- Else
- {
- If (LEqual (T_1, 0x10))
- {
- Store (^^LPC.EC0.BDME, Index (BEDS, 0x0F))
- }
- Else
- {
- If (LEqual (T_1, 0x11))
- {
- Store (0x03E8, Index (BEDS, 0x10))
- }
- Else
- {
- If (LEqual (T_1, 0x12))
- {
- Store (Zero, Index (BEDS, 0x11))
- }
- Else
- {
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- Else
- {
- Name (T_2, Zero)
- Store (Local0, T_2) /* \_SB_.PCI0.WMID.BTIF.T_2_ */
- If (LEqual (T_2, One))
- {
- Store (0x00020000, Index (BEDS, Zero))
- }
- Else
- {
- If (LEqual (T_2, 0x02))
- {
- Store (0x00020000, Index (BEDS, One))
- }
- Else
- {
- If (LEqual (T_2, 0x03))
- {
- Store (0x00020000, Index (BEDS, 0x02))
- }
- Else
- {
- If (LEqual (T_2, 0x04))
- {
- Store (0x00020000, Index (BEDS, 0x03))
- }
- Else
- {
- If (LEqual (T_2, 0x05))
- {
- Store (0x00020000, Index (BEDS, 0x04))
- }
- Else
- {
- If (LEqual (T_2, 0x06))
- {
- Store (0x00020000, Index (BEDS, 0x05))
- }
- Else
- {
- If (LEqual (T_2, 0x07))
- {
- Store (0x00020000, Index (BEDS, 0x06))
- }
- Else
- {
- If (LEqual (T_2, 0x08))
- {
- Store (0x00020000, Index (BEDS, 0x07))
- }
- Else
- {
- If (LEqual (T_2, 0x09))
- {
- Store (0x00020000, Index (BEDS, 0x08))
- }
- Else
- {
- If (LEqual (T_2, 0x0A))
- {
- Store (0x00020000, Index (BEDS, 0x09))
- }
- Else
- {
- If (LEqual (T_2, 0x0B))
- {
- Store (0x00020000, Index (BEDS, 0x0A))
- }
- Else
- {
- If (LEqual (T_2, 0x0C))
- {
- If (LEqual (^^LPC.EC0.BDC0, Zero))
- {
- Store (0x00030000, Index (BEDS, 0x0B))
- }
- Else
- {
- Store (One, ^^LPC.EC0.PSRC) /* \_SB_.PCI0.LPC_.EC0_.PSRC */
- Store (One, Index (BEDS, 0x0B))
- }
- }
- Else
- {
- If (LEqual (T_2, 0x0D))
- {
- Store (0x00020000, Index (BEDS, 0x0C))
- }
- Else
- {
- If (LEqual (T_2, 0x0E))
- {
- Store (One, ^^LPC.EC0.SCHG) /* \_SB_.PCI0.LPC_.EC0_.SCHG */
- Store (One, ^^LPC.EC0.SCPF) /* \_SB_.PCI0.LPC_.EC0_.SCPF */
- Store (One, Index (BEDS, 0x0D))
- }
- Else
- {
- If (LEqual (T_2, 0x0F))
- {
- Store (0x00020000, Index (BEDS, 0x0E))
- }
- Else
- {
- If (LEqual (T_2, 0x10))
- {
- Store (0x00020000, Index (BEDS, 0x0F))
- }
- Else
- {
- If (LEqual (T_2, 0x11))
- {
- Store (0x03E8, Index (BEDS, 0x10))
- }
- Else
- {
- If (LEqual (T_2, 0x12))
- {
- Store (Zero, Index (BEDS, 0x11))
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- Method (CKGS, 0, NotSerialized)
- {
- Store (One, GSTS) /* \_SB_.PCI0.WMID.GSTS */
- Return (GSTS) /* \_SB_.PCI0.WMID.GSTS */
- }
- Method (WSHP, 1, NotSerialized)
- {
- }
- Method (WSSL, 1, NotSerialized)
- {
- }
- Method (WSSP, 1, NotSerialized)
- {
- }
- Method (WSSE, 1, NotSerialized)
- {
- }
- Method (WSVE, 1, NotSerialized)
- {
- Store (Arg0, Local0)
- If (LEqual (Local0, One))
- {
- Store (One, BGEF) /* \_SB_.PCI0.WMID.BGEF */
- }
- Else
- {
- Store (Zero, BGEF) /* \_SB_.PCI0.WMID.BGEF */
- }
- Store (Zero, Index (BGDS, Zero))
- }
- Name (_WDG, Buffer (0xDC)
- {
- /* 0000 */ 0x09, 0x4E, 0x76, 0x95, 0x56, 0xFB, 0x83, 0x4E, /* .Nv.V..N */
- /* 0008 */ 0xB3, 0x1A, 0x37, 0x76, 0x1F, 0x60, 0x99, 0x4A, /* ..7v.`.J */
- /* 0010 */ 0x41, 0x41, 0x01, 0x01, 0x58, 0xF2, 0xF4, 0x6A, /* AA..X..j */
- /* 0018 */ 0x01, 0xB4, 0xFD, 0x42, 0xBE, 0x91, 0x3D, 0x4A, /* ...B..=J */
- /* 0020 */ 0xC2, 0xD7, 0xC0, 0xD3, 0x42, 0x41, 0x01, 0x02, /* ....BA.. */
- /* 0028 */ 0xAC, 0x61, 0x1A, 0xCC, 0x56, 0x42, 0xA3, 0x41, /* .a..VB.A */
- /* 0030 */ 0xB9, 0xE0, 0x05, 0xA4, 0x45, 0xAD, 0xE2, 0xF5, /* ....E... */
- /* 0038 */ 0x80, 0x00, 0x01, 0x08, 0x53, 0x44, 0x8C, 0xE7, /* ....SD.. */
- /* 0040 */ 0x27, 0x02, 0x61, 0x48, 0x9E, 0xDE, 0xF5, 0x60, /* '.aH...` */
- /* 0048 */ 0x0B, 0x4A, 0x3D, 0x39, 0x42, 0x42, 0x01, 0x02, /* .J=9BB.. */
- /* 0050 */ 0x7B, 0x4F, 0xE0, 0xAA, 0xC5, 0xB3, 0x65, 0x48, /* {O....eH */
- /* 0058 */ 0x95, 0xD6, 0x9F, 0xAC, 0x7F, 0xF3, 0xE9, 0x2B, /* .......+ */
- /* 0060 */ 0x42, 0x43, 0x01, 0x02, 0x79, 0x4C, 0xF9, 0xCF, /* BC..yL.. */
- /* 0068 */ 0x77, 0x6C, 0xF7, 0x4A, 0xAC, 0x56, 0x7D, 0xD0, /* wl.J.V}. */
- /* 0070 */ 0xCE, 0x01, 0xC9, 0x97, 0x42, 0x44, 0x01, 0x02, /* ....BD.. */
- /* 0078 */ 0xC5, 0x2E, 0x77, 0x79, 0xB1, 0x04, 0xFD, 0x4B, /* ..wy...K */
- /* 0080 */ 0x84, 0x3C, 0x61, 0xE7, 0xF7, 0x7B, 0x6C, 0xC9, /* .<a..{l. */
- /* 0088 */ 0x42, 0x45, 0x01, 0x02, 0xB7, 0xA0, 0xC9, 0xA7, /* BE...... */
- /* 0090 */ 0x9D, 0x4C, 0x72, 0x4C, 0x83, 0xBB, 0x53, 0xA3, /* .LrL..S. */
- /* 0098 */ 0x45, 0x91, 0x71, 0xDF, 0x42, 0x46, 0x01, 0x02, /* E.q.BF.. */
- /* 00A0 */ 0x4F, 0x06, 0x3A, 0x65, 0x3A, 0xA2, 0x5F, 0x48, /* O.:e:._H */
- /* 00A8 */ 0xB3, 0xD9, 0x13, 0xF6, 0x53, 0x2A, 0x01, 0x82, /* ....S*.. */
- /* 00B0 */ 0x42, 0x47, 0x01, 0x02, 0xA7, 0xB1, 0x85, 0xDB, /* BG...... */
- /* 00B8 */ 0x9A, 0x06, 0xBB, 0x4A, 0xA2, 0xB5, 0xD1, 0x86, /* ...J.... */
- /* 00C0 */ 0xA2, 0x1B, 0x80, 0xF1, 0x81, 0x00, 0x01, 0x08, /* ........ */
- /* 00C8 */ 0x91, 0x6B, 0x91, 0x36, 0x64, 0x1A, 0x83, 0x45, /* .k.6d..E */
- /* 00D0 */ 0x84, 0xD0, 0x53, 0x83, 0x0F, 0xB9, 0x10, 0x8D, /* ..S..... */
- /* 00D8 */ 0x82, 0x00, 0x01, 0x08 /* .... */
- })
- Method (WQAA, 1, NotSerialized)
- {
- AAF1 ()
- Store (AADS, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Method (WMBA, 3, NotSerialized)
- {
- Name (T_0, Zero)
- Store (Arg1, T_0) /* \_SB_.PCI0.WMID.WMBA.T_0_ */
- If (LNotEqual (Match (Package (0x08)
- {
- One,
- 0x02,
- 0x03,
- 0x08,
- 0x09,
- 0x0A,
- 0x0C,
- 0x0D
- }, MEQ, T_0, MTR, Zero, Zero), Ones))
- {
- Store (Zero, Local0)
- }
- Else
- {
- If (LNotEqual (Match (Package (0x05)
- {
- 0x04,
- 0x05,
- 0x06,
- 0x07,
- 0x0B
- }, MEQ, T_0, MTR, Zero, Zero), Ones))
- {
- If (LEqual (Arg1, 0x07))
- {
- Store (Arg2, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- If (BF00)
- {
- Store (One, BAEF) /* \_SB_.PCI0.WMID.BAEF */
- }
- }
- Store (One, Local0)
- }
- }
- If (Local0)
- {
- WSDS (Arg1, Arg2)
- }
- Else
- {
- WGDS (Arg1)
- }
- Store (DerefOf (Index (BADG, Subtract (Arg1, One))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Method (_WED, 1, NotSerialized) // _Wxx: Wake Event
- {
- If (LGreaterEqual (Arg0, 0x80))
- {
- If (LLess (Arg0, 0x83))
- {
- Return (OEMN ())
- }
- }
- Return (Zero)
- }
- Method (WMBB, 3, NotSerialized)
- {
- STRL (Arg1, Arg2)
- If (LEqual (Arg1, One))
- {
- Store (BBSB, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- If (LEqual (Arg1, 0x02))
- {
- Store (BBD1, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Method (WMBC, 3, NotSerialized)
- {
- WODP (Arg1, Arg2)
- If (LLess (Arg1, 0x0A))
- {
- Subtract (Arg1, One, Local0)
- Store (DerefOf (Index (BCDS, Subtract (Arg1, One))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Else
- {
- ShiftRight (DerefOf (Index (BCDS, Subtract (Arg1, 0x0A))), 0x10,
- BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Method (WMBD, 3, NotSerialized)
- {
- If (LEqual (Arg1, One))
- {
- Store (Arg2, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Store (BUFF, Local0)
- Store (Arg2, WIT0) /* \_SB_.PCI0.WMID.WIT0 */
- GCPU (WIT0)
- Return (DSY0) /* \_SB_.PCI0.WMID.DSY0 */
- }
- If (LEqual (Arg1, 0x02))
- {
- Store (Arg2, Local0)
- MSRR (Arg2)
- Return (DSY1) /* \_SB_.PCI0.WMID.DSY1 */
- }
- If (LEqual (Arg1, 0x03))
- {
- Store (Arg2, Local0)
- MSRW (Arg2)
- Return (DSY1) /* \_SB_.PCI0.WMID.DSY1 */
- }
- If (LEqual (Arg1, 0x04))
- {
- C4C3 (Arg1, Arg2)
- ShiftRight (DerefOf (Index (BCDS, Add (Arg1, 0x05))), 0x10,
- BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- If (LEqual (Arg1, 0x05))
- {
- C4C3 (Arg1, Arg2)
- Store (DerefOf (Index (BCDS, Add (Arg1, 0x04))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- If (LEqual (Arg1, 0x06))
- {
- CPUF ()
- Store (DerefOf (Index (BCDS, Add (Arg1, 0x04))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- If (LEqual (Arg1, 0x07))
- {
- CPUT ()
- Store (DerefOf (Index (BCDS, Add (Arg1, 0x04))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- If (LEqual (Arg1, 0x08))
- {
- Store (Arg2, WPRW) /* \_SB_.PCI0.WMID.WPRW */
- Store (WWD1, WPIR) /* \_SB_.PCI0.WMID.WPIR */
- Store (WWD2, WPIF) /* \_SB_.PCI0.WMID.WPIF */
- Store (WWD3, WPID) /* \_SB_.PCI0.WMID.WPID */
- Store (WWD4, WPIB) /* \_SB_.PCI0.WMID.WPIB */
- Concatenate (WPCI, WWD0, Local0)
- PCIR (Local0)
- Return (DSY2) /* \_SB_.PCI0.WMID.DSY2 */
- }
- If (LEqual (Arg1, 0x09))
- {
- Store (Arg2, DSY6) /* \_SB_.PCI0.WMID.DSY6 */
- Store (DY60, Local0)
- Store (Arg2, DSY0) /* \_SB_.PCI0.WMID.DSY0 */
- Store (DY01, WPRW) /* \_SB_.PCI0.WMID.WPRW */
- Store (WWD1, WPIR) /* \_SB_.PCI0.WMID.WPIR */
- Store (WWD2, WPIF) /* \_SB_.PCI0.WMID.WPIF */
- Store (WWD3, WPID) /* \_SB_.PCI0.WMID.WPID */
- Store (WWD4, WPIB) /* \_SB_.PCI0.WMID.WPIB */
- Store (WPCI, Local1)
- Concatenate (DY60, WPCI, Local0)
- Concatenate (Local0, WWD0, Local1)
- PCIW (Local1)
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- If (LEqual (Arg1, 0x0A))
- {
- CPUS ()
- Store (DerefOf (Index (BCDS, Add (Arg1, 0x02))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- If (LEqual (Arg1, 0x0B))
- {
- PCID (Arg2)
- Return (DSY6) /* \_SB_.PCI0.WMID.DSY6 */
- }
- Return (Buffer (Zero) {})
- }
- Method (WMBE, 3, NotSerialized)
- {
- BTIF (Arg1, Arg2)
- Store (BUFF, Debug)
- Store (BEDS, Debug)
- Store (DerefOf (Index (BEDS, Subtract (Arg1, One))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Store (BUFF, Debug)
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Method (WMBF, 3, NotSerialized)
- {
- If (LGreater (Arg1, 0x04))
- {
- Store (0x02, BF00) /* \_SB_.PCI0.WMID.BF00 */
- Store (Zero, BF01) /* \_SB_.PCI0.WMID.BF01 */
- Store (Zero, BF02) /* \_SB_.PCI0.WMID.BF02 */
- Store (Zero, BF03) /* \_SB_.PCI0.WMID.BF03 */
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- If (CKGS ())
- {
- Store (Arg2, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- If (LEqual (Arg1, One))
- {
- WSHP (BF00)
- }
- Else
- {
- If (LEqual (Arg1, 0x02))
- {
- WSSL (BF00)
- }
- Else
- {
- If (LEqual (Arg1, 0x03))
- {
- WSSP (BF00)
- }
- Else
- {
- WSSE (BF00)
- }
- }
- }
- Store (DerefOf (Index (BFDS, Subtract (Arg1, One))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Store (BUFF, Debug)
- }
- Else
- {
- Store (0x03, BF00) /* \_SB_.PCI0.WMID.BF00 */
- Store (Zero, BF01) /* \_SB_.PCI0.WMID.BF01 */
- Store (Zero, BF02) /* \_SB_.PCI0.WMID.BF02 */
- Store (Zero, BF03) /* \_SB_.PCI0.WMID.BF03 */
- }
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- Method (WMBG, 3, NotSerialized)
- {
- Store (Arg2, BUFF) /* \_SB_.PCI0.WMID.BUFF */
- WSVE (BF00)
- Store (DerefOf (Index (BGDS, Subtract (Arg1, One))), BUFF) /* \_SB_.PCI0.WMID.BUFF */
- Store (BUFF, Debug)
- Return (BUFF) /* \_SB_.PCI0.WMID.BUFF */
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement