/* * Intel ACPI Component Architecture * AML Disassembler version 20061109 * * Disassembly of mydsdt.bin, Sat Jul 10 21:22:03 2010 * * * Original Table Header: * Signature "DSDT" * Length 0x000090ED (37101) * Revision 0x01 * OEM ID "NVIDIA" * OEM Table ID "AWRDACPI" * OEM Revision 0x00001000 (4096) * Creator ID "MSFT" * Creator Revision 0x0100000E (16777230) */ DefinitionBlock ("mydsdt.aml", "DSDT", 1, "NVIDIA", "AWRDACPI", 0x00001000) { Scope (\_PR) { Processor (\_PR.CPU0, 0x00, 0x00000000, 0x00) {} Processor (\_PR.CPU1, 0x01, 0x00000000, 0x00) {} } Name (\_S0, Package (0x04) { 0x00, 0x00, 0x00, 0x00 }) Name (\SS1, Package (0x04) { 0x01, 0x00, 0x00, 0x00 }) Name (\_S3, Package (0x04) { 0x05, 0x00, 0x00, 0x00 }) Name (\_S4, Package (0x04) { 0x06, 0x00, 0x00, 0x00 }) Name (\_S5, Package (0x04) { 0x07, 0x00, 0x00, 0x00 }) OperationRegion (\DEBG, SystemIO, 0x80, 0x01) Field (\DEBG, ByteAcc, NoLock, Preserve) { DBG1, 8 } OperationRegion (KBC, SystemIO, 0x64, 0x01) Field (KBC, ByteAcc, NoLock, Preserve) { KCMD, 8 } OperationRegion (KBCD, SystemIO, 0x60, 0x01) Field (KBCD, ByteAcc, NoLock, Preserve) { KDAT, 8 } OperationRegion (EXTM, SystemMemory, 0x000FF830, 0x10) Field (EXTM, WordAcc, NoLock, Preserve) { ROM1, 16, RMS1, 16, ROM2, 16, RMS2, 16, ROM3, 16, RMS3, 16, AMEM, 32 } OperationRegion (\PM1S, SystemIO, 0x1000, 0x02) Field (\PM1S, ByteAcc, NoLock, Preserve) { Offset (0x01), PBTS, 1, , 1, RTCS, 1, , 4, WAKS, 1 } OperationRegion (\APA4, SystemIO, 0x10A4, 0x04) Field (\APA4, ByteAcc, NoLock, Preserve) { Offset (0x02), LCTM, 1, LCNM, 1 } OperationRegion (ELCR, SystemIO, 0x04D0, 0x02) Field (ELCR, ByteAcc, NoLock, Preserve) { ELC1, 8, ELC2, 8 } OperationRegion (\STUS, SystemIO, 0x1400, 0x04) Field (\STUS, ByteAcc, NoLock, Preserve) { G_ST, 32 } OperationRegion (\GPS0, SystemIO, 0x1020, 0x04) Field (\GPS0, ByteAcc, NoLock, Preserve) { GS00, 8, GS01, 8, GS02, 8, GS03, 8 } OperationRegion (\SMIC, SystemIO, 0x142E, 0x01) Field (\SMIC, ByteAcc, NoLock, Preserve) { SCP, 8 } OperationRegion (\GP1, SystemIO, 0x14C0, 0x32) Field (\GP1, ByteAcc, NoLock, Preserve) { GP00, 8, GP01, 8, GP02, 8, GP03, 8, GP04, 8, GP05, 8, GP06, 8, GP07, 8, GP08, 8, GP09, 8, GP10, 8, GP11, 8, GP12, 8, GP13, 8, GP14, 8, GP15, 8, GP16, 8, GP17, 8, GP18, 8, GP19, 8, GP20, 8, GP21, 8, GP22, 8, Offset (0x18), GP24, 8, GP25, 8, GP26, 8, GP27, 8, GP28, 8, GP29, 8, GP30, 8, GP31, 8, GP32, 8, GP33, 8, GP34, 8, GP35, 8, GP36, 8, GP37, 8, GP38, 8, GP39, 8, GP40, 8, GP41, 8, GP42, 8, GP43, 8, GP44, 8, GP45, 8, GP46, 8, GP47, 8, GP48, 8, GP49, 8 } Name (OSFX, 0x01) Name (OSFL, 0x01) Method (STRC, 2, NotSerialized) { If (LNotEqual (SizeOf (Arg0), SizeOf (Arg1))) { Return (0x00) } Add (SizeOf (Arg0), 0x01, Local0) Name (BUF0, Buffer (Local0) {}) Name (BUF1, Buffer (Local0) {}) Store (Arg0, BUF0) Store (Arg1, BUF1) While (Local0) { Decrement (Local0) If (LNotEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index ( BUF1, Local0)))) { Return (Zero) } } Return (One) } OperationRegion (RTCM, SystemIO, 0x70, 0x02) Field (RTCM, ByteAcc, NoLock, Preserve) { CMIN, 8, CMDA, 8 } IndexField (CMIN, CMDA, ByteAcc, NoLock, Preserve) { Offset (0x0F), SHUT, 8 } OperationRegion (INFO, SystemMemory, 0x000FF840, 0x01) Field (INFO, ByteAcc, NoLock, Preserve) { KBDI, 1, RTCW, 1, PS2F, 1, IRFL, 2, DISE, 1, SSHU, 1 } OperationRegion (BEEP, SystemIO, 0x61, 0x01) Field (BEEP, ByteAcc, NoLock, Preserve) { S1B, 8 } OperationRegion (CONT, SystemIO, 0x40, 0x04) Field (CONT, ByteAcc, NoLock, Preserve) { CNT0, 8, CNT1, 8, CNT2, 8, CTRL, 8 } Method (SPKR, 1, NotSerialized) { Store (S1B, Local0) Store (0xB6, CTRL) Store (0x55, CNT2) Store (0x03, CNT2) Store (Arg0, Local2) While (LGreater (Local2, 0x00)) { Or (S1B, 0x03, S1B) Store (0x5FFF, Local3) While (LGreater (Local3, 0x00)) { Decrement (Local3) } And (S1B, 0xFC, S1B) Store (0x0EFF, Local3) While (LGreater (Local3, 0x00)) { Decrement (Local3) } Decrement (Local2) } Store (Local0, S1B) } OperationRegion (AMDL, SystemMemory, 0x000FFFEA, 0x01) Field (AMDL, ByteAcc, NoLock, Preserve) { , 1, AWEN, 1, , 1, , 1, , 1, , 1, , 1, Offset (0x01) } Scope (\_SB) { Device (\AWY) { Name (_HID, "AWY0001") Method (SMOD, 1, NotSerialized) { } Method (_STA, 0, NotSerialized) { If (LEqual (AWEN, 0x00)) { Return (0x00) } Return (0x0F) } } } Scope (\) { Name (PICF, 0x00) Method (_PIC, 1, NotSerialized) { Store (Arg0, PICF) } } Name (SID4, 0x00) Name (SLG0, 0x00) Name (SLG1, 0x00) Name (SLG2, 0x00) Name (SLG3, 0x00) Name (SLG4, 0x00) Name (SLG5, 0x00) Name (SLG6, 0x00) Name (SLG7, 0x00) Name (SLG8, 0x00) Name (SLG9, 0x00) Name (SLGA, 0x00) Name (SID5, 0x00) Name (SSM0, 0x00) Name (SSM1, 0x00) Name (SSM2, 0x00) Name (SSM3, 0x00) Name (SSM4, 0x00) Name (SUA0, 0x00) Name (SUB0, 0x00) Name (SX, 0x00) Name (SFLG, 0x00) Name (SID0, 0x00) Name (SID1, 0x00) Name (SID2, 0x00) Name (SID3, 0x00) Method (\_PTS, 1, NotSerialized) { Store (Arg0, Local0) Store (Local0, SX) Or (Arg0, 0xF0, Local0) Store (Local0, DBG1) OSTP () Store (\_SB.PCI0.IDE0.ID20, SID0) Store (\_SB.PCI0.IDE0.IDTS, SID1) Store (\_SB.PCI0.IDE0.IDTP, SID2) Store (\_SB.PCI0.IDE0.ID22, SID3) Store (\_SB.PCI0.IDE0.UMSS, SID4) Store (\_SB.PCI0.IDE0.UMSP, SID5) If (LEqual (Arg0, 0x01)) {} If (LEqual (Arg0, 0x03)) { Store (0x00, LCTM) Store (0x00, LCNM) } If (LEqual (Arg0, 0x04)) {} If (LEqual (Arg0, 0x05)) { If (LNotEqual (OSFL, 0x00)) { Sleep (0x01F4) } } } Method (\_WAK, 1, NotSerialized) { Store (0xFF, DBG1) Store (0x00, SFLG) If (LEqual (RTCW, 0x00)) { Notify (\_SB.PWRB, 0x02) } Notify (\_SB.PCI0.USB0, 0x00) If (LGreaterEqual (OSFL, 0x01)) { Store (0x00, \_SB.PCI0.SMB0.SMPM) } } Scope (\_SI) { Method (_MSG, 1, NotSerialized) { Store ("==== MSG Working ====", Debug) } Method (_SST, 1, NotSerialized) { Store ("==== SST Working ====", Debug) } } Scope (\_GPE) { Method (_L11, 0, NotSerialized) { Store (0x02, GS02) If (LNotEqual (PEV0, 0xFFFF)) { If (PES0) { While (PES0) { Store (0x01, PES0) } Notify (\_SB.PCI0.XVR0, 0x02) } } If (LNotEqual (PEV1, 0xFFFF)) { If (PES1) { While (PES1) { Store (0x01, PES1) } Notify (\_SB.PCI0.XVR1, 0x02) } } If (LNotEqual (PEV2, 0xFFFF)) { If (PES2) { While (PES2) { Store (0x01, PES2) } Notify (\_SB.PCI0.XVR2, 0x02) } } If (LNotEqual (PEV3, 0xFFFF)) { If (PES3) { While (PES3) { Store (0x01, PES3) } Notify (\_SB.PCI0.XVR3, 0x02) } } If (LNotEqual (PEV4, 0xFFFF)) { If (PES4) { While (PES4) { Store (0x01, PES4) } Notify (\_SB.PCI0.XVR4, 0x02) } } If (LNotEqual (PEV5, 0xFFFF)) { If (PES5) { While (PES5) { Store (0x01, PES5) } Notify (\_SB.PCI0.XVR5, 0x02) } } } Method (_L00, 0, NotSerialized) { Notify (\_SB.PCI0.HUB0, 0x02) } Method (_L03, 0, NotSerialized) { Notify (\_SB.PCI0.UAR1, 0x02) } Method (_L0B, 0, NotSerialized) { Notify (\_SB.PCI0.MMAC, 0x02) } Method (_L0D, 0, NotSerialized) { Notify (\_SB.PCI0.USB0, 0x02) } Method (_L05, 0, NotSerialized) { Notify (\_SB.PCI0.USB2, 0x02) } Method (_L10, 0, NotSerialized) { \_SB.PCI0.PS2W () } Method (_L15, 0, NotSerialized) { Notify (\_SB.PCI0.AZAD, 0x02) } Method (_L31, 0, NotSerialized) { Notify (\_SB.PCI0.ASOC, 0x01) } } Scope (\_SB) { OperationRegion (\CTCR, SystemIO, 0x1010, 0x04) Field (\CTCR, DWordAcc, NoLock, Preserve) { CTCR, 32 } Method (SCTC, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { And (CTCR, 0xFFFFFFEF, CTCR) } Else { Store (Arg0, Local0) If (LLessEqual (Local0, 0x07)) { If (LGreaterEqual (Local0, 0x01)) { And (CTCR, 0xFFFFFFF1, CTCR) Decrement (Local0) Not (Local0, Local0) And (Local0, 0x07, Local0) Or (Local0, 0x08, Local0) ShiftLeft (Local0, 0x01, Local0) Or (CTCR, Local0, CTCR) } } } } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C")) Method (_STA, 0, NotSerialized) { Return (0x0B) } } Device (PCI0) { Name (_HID, EisaId ("PNP0A08")) Name (_CID, 0x030AD041) Name (_ADR, 0x00) Name (_UID, 0x01) Name (_BBN, 0x00) Name (PCIA, 0x00) Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x02)) { Store (Arg1, PCIA) } } Device (MBIO) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x05) Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IO (Decode16, 0x1000, // Range Minimum 0x1000, // Range Maximum 0x01, // Alignment 0x80, // Length ) IO (Decode16, 0x1080, // Range Minimum 0x1080, // Range Maximum 0x01, // Alignment 0x80, // Length ) IO (Decode16, 0x1400, // Range Minimum 0x1400, // Range Maximum 0x01, // Alignment 0x80, // Length ) IO (Decode16, 0x1480, // Range Minimum 0x1480, // Range Maximum 0x01, // Alignment 0x80, // Length ) IO (Decode16, 0x1800, // Range Minimum 0x1800, // Range Maximum 0x01, // Alignment 0x80, // Length ) IO (Decode16, 0x1880, // Range Minimum 0x1880, // Range Maximum 0x01, // Alignment 0x80, // Length ) }) Return (BUF0) } } Name (NATA, Package (0x01) { 0x00040000 }) Method (_S3D, 0, NotSerialized) { If (LEqual (OSFL, 0x02)) { Return (0x02) } Else { Return (0x03) } } Method (_STA, 0, NotSerialized) { Return (0x0F) } OperationRegion (LDT3, PCI_Config, 0x6C, 0x04) Field (LDT3, DWordAcc, NoLock, Preserve) { UCFG, 32 } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { WordBusNumber (ResourceProducer, MinNotFixed, MaxNotFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x0000, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, _Y00) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum 0x01, // Alignment 0x08, // Length ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x03AF, // Range Maximum 0x0000, // Translation Offset 0x03B0, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x03E0, // Range Minimum 0x0CF7, // Range Maximum 0x0000, // Translation Offset 0x0918, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x1C00, // Range Minimum 0x1C7F, // Range Maximum 0x0000, // Translation Offset 0x0080, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0000, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, _Y01, TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0000, // Range Maximum 0x0000, // Translation Offset 0x0000, // Length ,, _Y02, TypeStatic) QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000000000000, // Range Minimum 0x0000000000000000, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000000000, // Length ,, _Y03, AddressRangeMemory, TypeStatic) QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000000000000, // Range Minimum 0x0000000000000000, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000000000, // Length ,, _Y04, AddressRangeMemory, TypeStatic) QWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x0000000000000000, // Granularity 0x0000000000000000, // Range Minimum 0x0000000000000000, // Range Maximum 0x0000000000000000, // Translation Offset 0x0000000000000000, // Length ,, _Y05, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0xFEC80000, // Range Minimum 0xFECBFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00040000, // Length ,, , AddressRangeMemory, TypeStatic) }) CreateWordField (BUF0, \_SB.PCI0._CRS._Y00._MIN, B1MN) CreateWordField (BUF0, \_SB.PCI0._CRS._Y00._MAX, B1MX) CreateWordField (BUF0, \_SB.PCI0._CRS._Y00._LEN, B1LN) And (\_SB.PCI0.K801.L0EN, 0x03, Local0) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.DL00, 0x03, Local0) If (LEqual (Local0, 0x00)) { Store (\_SB.PCI0.K801.BNB0, B1MN) Store (\_SB.PCI0.K801.BNL0, B1MX) Subtract (B1MX, B1MN, Local1) Add (0x01, Local1, B1LN) } } And (\_SB.PCI0.K801.L1EN, 0x03, Local0) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.DL01, 0x03, Local0) If (LEqual (Local0, 0x00)) { Store (\_SB.PCI0.K801.BNB1, B1MN) Store (\_SB.PCI0.K801.BNL1, B1MX) Subtract (B1MX, B1MN, Local1) Add (0x01, Local1, B1LN) } } And (\_SB.PCI0.K801.L2EN, 0x03, Local0) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.DL02, 0x03, Local0) If (LEqual (Local0, 0x00)) { Store (\_SB.PCI0.K801.BNB2, B1MN) Store (\_SB.PCI0.K801.BNL2, B1MX) Subtract (B1MX, B1MN, Local1) Add (0x01, Local1, B1LN) } } And (\_SB.PCI0.K801.L3EN, 0x03, Local0) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.DL03, 0x03, Local0) If (LEqual (Local0, 0x00)) { Store (\_SB.PCI0.K801.BNB3, B1MN) Store (\_SB.PCI0.K801.BNL3, B1MX) Subtract (B1MX, B1MN, Local1) Add (0x01, Local1, B1LN) } } CreateWordField (BUF0, \_SB.PCI0._CRS._Y01._MIN, IOMN) CreateWordField (BUF0, \_SB.PCI0._CRS._Y01._MAX, IOMX) CreateWordField (BUF0, \_SB.PCI0._CRS._Y01._LEN, IOLN) CreateWordField (BUF0, \_SB.PCI0._CRS._Y02._MIN, VIMN) CreateWordField (BUF0, \_SB.PCI0._CRS._Y02._MAX, VIMX) CreateWordField (BUF0, \_SB.PCI0._CRS._Y02._LEN, VILN) And (\_SB.PCI0.K801.IB00, 0x03, Local0) And (\_SB.PCI0.K801.IL00, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { If (LEqual (Local1, 0x00)) { And (\_SB.PCI0.K801.IB00, 0x10, Local1) ShiftLeft (\_SB.PCI0.K801.IBV0, 0x0C, IOMN) ShiftLeft (\_SB.PCI0.K801.ILV0, 0x0C, IOMX) Or (IOMX, 0x0FFF, IOMX) Subtract (IOMX, IOMN, IOLN) Increment (IOLN) If (LEqual (Local1, 0x10)) { Store (0x03B0, VIMN) Store (0x03DF, VIMX) Store (0x30, VILN) } } } And (\_SB.PCI0.K801.IB01, 0x03, Local0) And (\_SB.PCI0.K801.IL01, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { If (LEqual (Local1, 0x00)) { And (\_SB.PCI0.K801.IB01, 0x10, Local1) ShiftLeft (\_SB.PCI0.K801.IBV1, 0x0C, IOMN) ShiftLeft (\_SB.PCI0.K801.ILV1, 0x0C, IOMX) Or (IOMX, 0x0FFF, IOMX) Subtract (IOMX, IOMN, IOLN) Increment (IOLN) If (LEqual (Local1, 0x10)) { Store (0x03B0, VIMN) Store (0x03DF, VIMX) Store (0x30, VILN) } } } And (\_SB.PCI0.K801.IB02, 0x03, Local0) And (\_SB.PCI0.K801.IL02, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { If (LEqual (Local1, 0x00)) { And (\_SB.PCI0.K801.IB02, 0x10, Local1) ShiftLeft (\_SB.PCI0.K801.IBV2, 0x0C, IOMN) ShiftLeft (\_SB.PCI0.K801.ILV2, 0x0C, IOMX) Or (IOMX, 0x0FFF, IOMX) Subtract (IOMX, IOMN, IOLN) Increment (IOLN) If (LEqual (Local1, 0x10)) { Store (0x03B0, VIMN) Store (0x03DF, VIMX) Store (0x30, VILN) } } } And (\_SB.PCI0.K801.IB03, 0x03, Local0) And (\_SB.PCI0.K801.IL03, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { If (LEqual (Local1, 0x00)) { And (\_SB.PCI0.K801.IB03, 0x10, Local1) ShiftLeft (\_SB.PCI0.K801.IBV3, 0x0C, IOMN) ShiftLeft (\_SB.PCI0.K801.ILV3, 0x0C, IOMX) Or (IOMX, 0x0FFF, IOMX) Subtract (IOMX, IOMN, IOLN) Increment (IOLN) If (LEqual (Local1, 0x10)) { Store (0x03B0, VIMN) Store (0x03DF, VIMX) Store (0x30, VILN) } } } CreateDWordField (BUF0, \_SB.PCI0._CRS._Y03._MIN, M0MN) CreateDWordField (BUF0, \_SB.PCI0._CRS._Y03._MAX, M0MX) CreateDWordField (BUF0, \_SB.PCI0._CRS._Y03._LEN, M0LN) CreateDWordField (BUF0, \_SB.PCI0._CRS._Y04._MIN, M1MN) CreateDWordField (BUF0, \_SB.PCI0._CRS._Y04._MAX, M1MX) CreateDWordField (BUF0, \_SB.PCI0._CRS._Y04._LEN, M1LN) CreateDWordField (BUF0, \_SB.PCI0._CRS._Y05._MIN, M2MN) CreateDWordField (BUF0, \_SB.PCI0._CRS._Y05._MAX, M2MX) CreateDWordField (BUF0, \_SB.PCI0._CRS._Y05._LEN, M2LN) And (\_SB.PCI0.K801.MB00, 0x03, Local0) And (\_SB.PCI0.K801.ML00, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.ML00, 0x80, Local0) If (LEqual (Local0, 0x00)) { If (LEqual (Local1, 0x00)) { If (LEqual (M0LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV0, 0x10, M0MN) ShiftLeft (\_SB.PCI0.K801.MLV0, 0x10, M0MX) Or (M0MX, 0xFFFF, M0MX) Subtract (M0MX, M0MN, M0LN) Increment (M0LN) } Else { If (LEqual (M1LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV0, 0x10, M1MN) ShiftLeft (\_SB.PCI0.K801.MLV0, 0x10, M1MX) Or (M1MX, 0xFFFF, M1MX) Subtract (M1MX, M1MN, M1LN) Increment (M1LN) } Else { ShiftLeft (\_SB.PCI0.K801.MBV0, 0x10, M2MN) ShiftLeft (\_SB.PCI0.K801.MLV0, 0x10, M2MX) Or (M2MX, 0xFFFF, M2MX) Subtract (M2MX, M2MN, M2LN) Increment (M2LN) } } } } } And (\_SB.PCI0.K801.MB01, 0x03, Local0) And (\_SB.PCI0.K801.ML01, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.ML01, 0x80, Local0) If (LEqual (Local0, 0x00)) { If (LEqual (Local1, 0x00)) { If (LEqual (M0LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV1, 0x10, M0MN) ShiftLeft (\_SB.PCI0.K801.MLV1, 0x10, M0MX) Or (M0MX, 0xFFFF, M0MX) Subtract (M0MX, M0MN, M0LN) Increment (M0LN) } Else { If (LEqual (M1LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV1, 0x10, M1MN) ShiftLeft (\_SB.PCI0.K801.MLV1, 0x10, M1MX) Or (M1MX, 0xFFFF, M1MX) Subtract (M1MX, M1MN, M1LN) Increment (M1LN) } Else { ShiftLeft (\_SB.PCI0.K801.MBV1, 0x10, M2MN) ShiftLeft (\_SB.PCI0.K801.MLV1, 0x10, M2MX) Or (M2MX, 0xFFFF, M2MX) Subtract (M2MX, M2MN, M2LN) Increment (M2LN) } } } } } And (\_SB.PCI0.K801.MB02, 0x03, Local0) And (\_SB.PCI0.K801.ML02, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.ML02, 0x80, Local0) If (LEqual (Local0, 0x00)) { If (LEqual (Local1, 0x00)) { If (LEqual (M0LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV2, 0x10, M0MN) ShiftLeft (\_SB.PCI0.K801.MLV2, 0x10, M0MX) Or (M0MX, 0xFFFF, M0MX) Subtract (M0MX, M0MN, M0LN) Increment (M0LN) } Else { If (LEqual (M1LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV2, 0x10, M1MN) ShiftLeft (\_SB.PCI0.K801.MLV2, 0x10, M1MX) Or (M1MX, 0xFFFF, M1MX) Subtract (M1MX, M1MN, M1LN) Increment (M1LN) } Else { ShiftLeft (\_SB.PCI0.K801.MBV2, 0x10, M2MN) ShiftLeft (\_SB.PCI0.K801.MLV2, 0x10, M2MX) Or (M2MX, 0xFFFF, M2MX) Subtract (M2MX, M2MN, M2LN) Increment (M2LN) } } } } } And (\_SB.PCI0.K801.MB03, 0x03, Local0) And (\_SB.PCI0.K801.ML03, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.ML03, 0x80, Local0) If (LEqual (Local0, 0x00)) { If (LEqual (Local1, 0x00)) { If (LEqual (M0LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV3, 0x10, M0MN) ShiftLeft (\_SB.PCI0.K801.MLV3, 0x10, M0MX) Or (M0MX, 0xFFFF, M0MX) Subtract (M0MX, M0MN, M0LN) Increment (M0LN) } Else { If (LEqual (M1LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV3, 0x10, M1MN) ShiftLeft (\_SB.PCI0.K801.MLV3, 0x10, M1MX) Or (M1MX, 0xFFFF, M1MX) Subtract (M1MX, M1MN, M1LN) Increment (M1LN) } Else { ShiftLeft (\_SB.PCI0.K801.MBV3, 0x10, M2MN) ShiftLeft (\_SB.PCI0.K801.MLV3, 0x10, M2MX) Or (M2MX, 0xFFFF, M2MX) Subtract (M2MX, M2MN, M2LN) Increment (M2LN) } } } } } And (\_SB.PCI0.K801.MB04, 0x03, Local0) And (\_SB.PCI0.K801.ML04, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.ML04, 0x80, Local0) If (LEqual (Local0, 0x00)) { If (LEqual (Local1, 0x00)) { If (LEqual (M0LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV4, 0x10, M0MN) ShiftLeft (\_SB.PCI0.K801.MLV4, 0x10, M0MX) Or (M0MX, 0xFFFF, M0MX) Subtract (M0MX, M0MN, M0LN) Increment (M0LN) } Else { If (LEqual (M1LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV4, 0x10, M1MN) ShiftLeft (\_SB.PCI0.K801.MLV4, 0x10, M1MX) Or (M1MX, 0xFFFF, M1MX) Subtract (M1MX, M1MN, M1LN) Increment (M1LN) } Else { ShiftLeft (\_SB.PCI0.K801.MBV4, 0x10, M2MN) ShiftLeft (\_SB.PCI0.K801.MLV4, 0x10, M2MX) Or (M2MX, 0xFFFF, M2MX) Subtract (M2MX, M2MN, M2LN) Increment (M2LN) } } } } } And (\_SB.PCI0.K801.MB05, 0x03, Local0) And (\_SB.PCI0.K801.ML05, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.ML05, 0x80, Local0) If (LEqual (Local0, 0x00)) { If (LEqual (Local1, 0x00)) { If (LEqual (M0LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV5, 0x10, M0MN) ShiftLeft (\_SB.PCI0.K801.MLV5, 0x10, M0MX) Or (M0MX, 0xFFFF, M0MX) Subtract (M0MX, M0MN, M0LN) Increment (M0LN) } Else { If (LEqual (M1LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV5, 0x10, M1MN) ShiftLeft (\_SB.PCI0.K801.MLV5, 0x10, M1MX) Or (M1MX, 0xFFFF, M1MX) Subtract (M1MX, M1MN, M1LN) Increment (M1LN) } Else { ShiftLeft (\_SB.PCI0.K801.MBV5, 0x10, M2MN) ShiftLeft (\_SB.PCI0.K801.MLV5, 0x10, M2MX) Or (M2MX, 0xFFFF, M2MX) Subtract (M2MX, M2MN, M2LN) Increment (M2LN) } } } } } And (\_SB.PCI0.K801.MB06, 0x03, Local0) And (\_SB.PCI0.K801.ML06, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.ML06, 0x80, Local0) If (LEqual (Local0, 0x00)) { If (LEqual (Local1, 0x00)) { If (LEqual (M0LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV6, 0x10, M0MN) ShiftLeft (\_SB.PCI0.K801.MLV6, 0x10, M0MX) Or (M0MX, 0xFFFF, M0MX) Subtract (M0MX, M0MN, M0LN) Increment (M0LN) } Else { If (LEqual (M1LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV6, 0x10, M1MN) ShiftLeft (\_SB.PCI0.K801.MLV6, 0x10, M1MX) Or (M1MX, 0xFFFF, M1MX) Subtract (M1MX, M1MN, M1LN) Increment (M1LN) } Else { ShiftLeft (\_SB.PCI0.K801.MBV6, 0x10, M2MN) ShiftLeft (\_SB.PCI0.K801.MLV6, 0x10, M2MX) Or (M2MX, 0xFFFF, M2MX) Subtract (M2MX, M2MN, M2LN) Increment (M2LN) } } } } } And (\_SB.PCI0.K801.MB07, 0x03, Local0) And (\_SB.PCI0.K801.ML07, 0x30, Local1) ShiftRight (Local1, 0x04, Local1) If (LEqual (Local0, 0x03)) { And (\_SB.PCI0.K801.ML07, 0x80, Local0) If (LEqual (Local0, 0x00)) { If (LEqual (Local1, 0x00)) { If (LEqual (M0LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV7, 0x10, M0MN) ShiftLeft (\_SB.PCI0.K801.MLV7, 0x10, M0MX) Or (M0MX, 0xFFFF, M0MX) Subtract (M0MX, M0MN, M0LN) Increment (M0LN) } Else { If (LEqual (M1LN, 0x00)) { ShiftLeft (\_SB.PCI0.K801.MBV7, 0x10, M1MN) ShiftLeft (\_SB.PCI0.K801.MLV7, 0x10, M1MX) Or (M1MX, 0xFFFF, M1MX) Subtract (M1MX, M1MN, M1LN) Increment (M1LN) } Else { ShiftLeft (\_SB.PCI0.K801.MBV7, 0x10, M2MN) ShiftLeft (\_SB.PCI0.K801.MLV7, 0x10, M2MX) Or (M2MX, 0xFFFF, M2MX) Subtract (M2MX, M2MN, M2LN) Increment (M2LN) } } } } } Return (BUF0) } Name (PICM, Package (0x23) { Package (0x04) { 0x0001FFFF, 0x00, \_SB.PCI0.LSMB, 0x00 }, Package (0x04) { 0x0001FFFF, 0x01, \_SB.PCI0.LPMU, 0x00 }, Package (0x04) { 0x0002FFFF, 0x00, \_SB.PCI0.LUBA, 0x00 }, Package (0x04) { 0x0002FFFF, 0x01, \_SB.PCI0.LUB2, 0x00 }, Package (0x04) { 0x0008FFFF, 0x00, \_SB.PCI0.LMAC, 0x00 }, Package (0x04) { 0x0006FFFF, 0x00, \_SB.PCI0.LP2P, 0x00 }, Package (0x04) { 0x0006FFFF, 0x01, \_SB.PCI0.LAZA, 0x00 }, Package (0x04) { 0x0004FFFF, 0x00, \_SB.PCI0.LIDE, 0x00 }, Package (0x04) { 0x0005FFFF, 0x00, \_SB.PCI0.LSID, 0x00 }, Package (0x04) { 0x0005FFFF, 0x01, \_SB.PCI0.LFID, 0x00 }, Package (0x04) { 0x0005FFFF, 0x02, \_SB.PCI0.LSA2, 0x00 }, Package (0x04) { 0x000FFFFF, 0x00, \_SB.PCI0.LNK6, 0x00 }, Package (0x04) { 0x000FFFFF, 0x01, \_SB.PCI0.LNK7, 0x00 }, Package (0x04) { 0x000FFFFF, 0x02, \_SB.PCI0.LNK8, 0x00 }, Package (0x04) { 0x000FFFFF, 0x03, \_SB.PCI0.LNK5, 0x00 }, Package (0x04) { 0x000EFFFF, 0x00, \_SB.PCI0.LNK7, 0x00 }, Package (0x04) { 0x000EFFFF, 0x01, \_SB.PCI0.LNK8, 0x00 }, Package (0x04) { 0x000EFFFF, 0x02, \_SB.PCI0.LNK5, 0x00 }, Package (0x04) { 0x000EFFFF, 0x03, \_SB.PCI0.LNK6, 0x00 }, Package (0x04) { 0x000DFFFF, 0x00, \_SB.PCI0.LNK8, 0x00 }, Package (0x04) { 0x000DFFFF, 0x01, \_SB.PCI0.LNK5, 0x00 }, Package (0x04) { 0x000DFFFF, 0x02, \_SB.PCI0.LNK6, 0x00 }, Package (0x04) { 0x000DFFFF, 0x03, \_SB.PCI0.LNK7, 0x00 }, Package (0x04) { 0x000CFFFF, 0x00, \_SB.PCI0.LNK5, 0x00 }, Package (0x04) { 0x000CFFFF, 0x01, \_SB.PCI0.LNK6, 0x00 }, Package (0x04) { 0x000CFFFF, 0x02, \_SB.PCI0.LNK7, 0x00 }, Package (0x04) { 0x000CFFFF, 0x03, \_SB.PCI0.LNK8, 0x00 }, Package (0x04) { 0x000BFFFF, 0x00, \_SB.PCI0.LNK6, 0x00 }, Package (0x04) { 0x000BFFFF, 0x01, \_SB.PCI0.LNK7, 0x00 }, Package (0x04) { 0x000BFFFF, 0x02, \_SB.PCI0.LNK8, 0x00 }, Package (0x04) { 0x000BFFFF, 0x03, \_SB.PCI0.LNK5, 0x00 }, Package (0x04) { 0x000AFFFF, 0x00, \_SB.PCI0.LNK7, 0x00 }, Package (0x04) { 0x000AFFFF, 0x01, \_SB.PCI0.LNK8, 0x00 }, Package (0x04) { 0x000AFFFF, 0x02, \_SB.PCI0.LNK5, 0x00 }, Package (0x04) { 0x000AFFFF, 0x03, \_SB.PCI0.LNK6, 0x00 } }) Name (APIC, Package (0x23) { Package (0x04) { 0x0001FFFF, 0x00, \_SB.PCI0.APCS, 0x00 }, Package (0x04) { 0x0001FFFF, 0x01, \_SB.PCI0.APMU, 0x00 }, Package (0x04) { 0x0002FFFF, 0x00, \_SB.PCI0.APCF, 0x00 }, Package (0x04) { 0x0002FFFF, 0x01, \_SB.PCI0.APCL, 0x00 }, Package (0x04) { 0x0008FFFF, 0x00, \_SB.PCI0.APCH, 0x00 }, Package (0x04) { 0x0006FFFF, 0x00, \_SB.PCI0.APCM, 0x00 }, Package (0x04) { 0x0006FFFF, 0x01, \_SB.PCI0.AAZA, 0x00 }, Package (0x04) { 0x0004FFFF, 0x00, \_SB.PCI0.APCZ, 0x00 }, Package (0x04) { 0x0005FFFF, 0x00, \_SB.PCI0.APSI, 0x00 }, Package (0x04) { 0x0005FFFF, 0x01, \_SB.PCI0.APSJ, 0x00 }, Package (0x04) { 0x0005FFFF, 0x02, \_SB.PCI0.ASA2, 0x00 }, Package (0x04) { 0x000FFFFF, 0x00, \_SB.PCI0.APC6, 0x00 }, Package (0x04) { 0x000FFFFF, 0x01, \_SB.PCI0.APC7, 0x00 }, Package (0x04) { 0x000FFFFF, 0x02, \_SB.PCI0.APC8, 0x00 }, Package (0x04) { 0x000FFFFF, 0x03, \_SB.PCI0.APC5, 0x00 }, Package (0x04) { 0x000EFFFF, 0x00, \_SB.PCI0.APC7, 0x00 }, Package (0x04) { 0x000EFFFF, 0x01, \_SB.PCI0.APC8, 0x00 }, Package (0x04) { 0x000EFFFF, 0x02, \_SB.PCI0.APC5, 0x00 }, Package (0x04) { 0x000EFFFF, 0x03, \_SB.PCI0.APC6, 0x00 }, Package (0x04) { 0x000DFFFF, 0x00, \_SB.PCI0.APC8, 0x00 }, Package (0x04) { 0x000DFFFF, 0x01, \_SB.PCI0.APC5, 0x00 }, Package (0x04) { 0x000DFFFF, 0x02, \_SB.PCI0.APC6, 0x00 }, Package (0x04) { 0x000DFFFF, 0x03, \_SB.PCI0.APC7, 0x00 }, Package (0x04) { 0x000CFFFF, 0x00, \_SB.PCI0.APC5, 0x00 }, Package (0x04) { 0x000CFFFF, 0x01, \_SB.PCI0.APC6, 0x00 }, Package (0x04) { 0x000CFFFF, 0x02, \_SB.PCI0.APC7, 0x00 }, Package (0x04) { 0x000CFFFF, 0x03, \_SB.PCI0.APC8, 0x00 }, Package (0x04) { 0x000BFFFF, 0x00, \_SB.PCI0.APC6, 0x00 }, Package (0x04) { 0x000BFFFF, 0x01, \_SB.PCI0.APC7, 0x00 }, Package (0x04) { 0x000BFFFF, 0x02, \_SB.PCI0.APC8, 0x00 }, Package (0x04) { 0x000BFFFF, 0x03, \_SB.PCI0.APC5, 0x00 }, Package (0x04) { 0x000AFFFF, 0x00, \_SB.PCI0.APC7, 0x00 }, Package (0x04) { 0x000AFFFF, 0x01, \_SB.PCI0.APC8, 0x00 }, Package (0x04) { 0x000AFFFF, 0x02, \_SB.PCI0.APC5, 0x00 }, Package (0x04) { 0x000AFFFF, 0x03, \_SB.PCI0.APC6, 0x00 } }) Method (_PRT, 0, NotSerialized) { If (LNot (PICF)) { Return (PICM) } Else { Return (APIC) } } Device (HUB0) { Name (_ADR, 0x00060000) Method (_STA, 0, NotSerialized) { Return (0x0F) } Name (PICM, Package (0x10) { Package (0x04) { 0x0006FFFF, 0x00, \_SB.PCI0.LNK1, 0x00 }, Package (0x04) { 0x0006FFFF, 0x01, \_SB.PCI0.LNK2, 0x00 }, Package (0x04) { 0x0006FFFF, 0x02, \_SB.PCI0.LNK3, 0x00 }, Package (0x04) { 0x0006FFFF, 0x03, \_SB.PCI0.LNK4, 0x00 }, Package (0x04) { 0x0007FFFF, 0x00, \_SB.PCI0.LNK2, 0x00 }, Package (0x04) { 0x0007FFFF, 0x01, \_SB.PCI0.LNK3, 0x00 }, Package (0x04) { 0x0007FFFF, 0x02, \_SB.PCI0.LNK4, 0x00 }, Package (0x04) { 0x0007FFFF, 0x03, \_SB.PCI0.LNK1, 0x00 }, Package (0x04) { 0x0008FFFF, 0x00, \_SB.PCI0.LNK3, 0x00 }, Package (0x04) { 0x0008FFFF, 0x01, \_SB.PCI0.LNK4, 0x00 }, Package (0x04) { 0x0008FFFF, 0x02, \_SB.PCI0.LNK1, 0x00 }, Package (0x04) { 0x0008FFFF, 0x03, \_SB.PCI0.LNK2, 0x00 }, Package (0x04) { 0x000BFFFF, 0x00, \_SB.PCI0.LNK4, 0x00 }, Package (0x04) { 0x000BFFFF, 0x01, \_SB.PCI0.LNK4, 0x00 }, Package (0x04) { 0x000BFFFF, 0x02, \_SB.PCI0.LNK4, 0x00 }, Package (0x04) { 0x000BFFFF, 0x03, \_SB.PCI0.LNK4, 0x00 } }) Name (APIC, Package (0x10) { Package (0x04) { 0x0006FFFF, 0x00, \_SB.PCI0.APC1, 0x00 }, Package (0x04) { 0x0006FFFF, 0x01, \_SB.PCI0.APC2, 0x00 }, Package (0x04) { 0x0006FFFF, 0x02, \_SB.PCI0.APC3, 0x00 }, Package (0x04) { 0x0006FFFF, 0x03, \_SB.PCI0.APC4, 0x00 }, Package (0x04) { 0x0007FFFF, 0x00, \_SB.PCI0.APC2, 0x00 }, Package (0x04) { 0x0007FFFF, 0x01, \_SB.PCI0.APC3, 0x00 }, Package (0x04) { 0x0007FFFF, 0x02, \_SB.PCI0.APC4, 0x00 }, Package (0x04) { 0x0007FFFF, 0x03, \_SB.PCI0.APC1, 0x00 }, Package (0x04) { 0x0008FFFF, 0x00, \_SB.PCI0.APC3, 0x00 }, Package (0x04) { 0x0008FFFF, 0x01, \_SB.PCI0.APC4, 0x00 }, Package (0x04) { 0x0008FFFF, 0x02, \_SB.PCI0.APC1, 0x00 }, Package (0x04) { 0x0008FFFF, 0x03, \_SB.PCI0.APC2, 0x00 }, Package (0x04) { 0x000BFFFF, 0x00, \_SB.PCI0.APC4, 0x00 }, Package (0x04) { 0x000BFFFF, 0x01, \_SB.PCI0.APC4, 0x00 }, Package (0x04) { 0x000BFFFF, 0x02, \_SB.PCI0.APC4, 0x00 }, Package (0x04) { 0x000BFFFF, 0x03, \_SB.PCI0.APC4, 0x00 } }) Method (_PRT, 0, NotSerialized) { If (LNot (PICF)) { Return (PICM) } Else { Return (APIC) } } Name (_PRW, Package (0x02) { 0x00, 0x05 }) } Device (SAT1) { Name (_ADR, 0x00050000) Device (PRI0) { Name (_ADR, 0x00) Name (PCS0, 0x00) Name (PSS0, 0x00) Name (SPTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0010 */ 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SPTM) CreateWordField (Arg1, 0xA4, ICM0) CreateWordField (Arg1, 0x0100, ISE0) Store (ICM0, PCS0) Store (ISE0, PSS0) } Device (MAST) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) And (PCS0, 0x02, Local2) And (PSS0, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x0E) { /* 0000 */ 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local0) } } Return (Local0) } } } Device (SEC0) { Name (_ADR, 0x01) Name (PCS1, 0x00) Name (PSS1, 0x00) Name (SSTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0010 */ 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SSTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SSTM) CreateWordField (Arg1, 0xA4, ICM1) CreateWordField (Arg1, 0x0100, ISE1) Store (ICM1, PCS1) Store (ISE1, PSS1) } Device (MAST) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) And (PCS1, 0x02, Local2) And (PSS1, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x0E) { /* 0000 */ 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local0) } } Return (Local0) } } } Method (DRMP, 0, NotSerialized) { Return (\_SB.PCI0.NVRB.R_S0) } } Device (SAT2) { Name (_ADR, 0x00050001) Device (PRI0) { Name (_ADR, 0x00) Name (PCS0, 0x00) Name (PSS0, 0x00) Name (SPTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0010 */ 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SPTM) CreateWordField (Arg1, 0xA4, ICM0) CreateWordField (Arg1, 0x0100, ISE0) Store (ICM0, PCS0) Store (ISE0, PSS0) } Device (MAST) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) And (PCS0, 0x02, Local2) And (PSS0, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x0E) { /* 0000 */ 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local0) } } Return (Local0) } } } Device (SEC0) { Name (_ADR, 0x01) Name (PCS1, 0x00) Name (PSS1, 0x00) Name (SSTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0010 */ 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SSTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SSTM) CreateWordField (Arg1, 0xA4, ICM1) CreateWordField (Arg1, 0x0100, ISE1) Store (ICM1, PCS1) Store (ISE1, PSS1) } Device (MAST) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) And (PCS1, 0x02, Local2) And (PSS1, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x0E) { /* 0000 */ 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local0) } } Return (Local0) } } } Method (DRMP, 0, NotSerialized) { Return (\_SB.PCI0.NVRB.R_S1) } } Device (SAT3) { Name (_ADR, 0x00050002) Device (PRI0) { Name (_ADR, 0x00) Name (PCS0, 0x00) Name (PSS0, 0x00) Name (SPTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0010 */ 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SPTM) CreateWordField (Arg1, 0xA4, ICM0) CreateWordField (Arg1, 0x0100, ISE0) Store (ICM0, PCS0) Store (ISE0, PSS0) } Device (MAST) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) And (PCS0, 0x02, Local2) And (PSS0, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x0E) { /* 0000 */ 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local0) } } Return (Local0) } } } Device (SEC0) { Name (_ADR, 0x01) Name (PCS1, 0x00) Name (PSS1, 0x00) Name (SSTM, Buffer (0x14) { /* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, /* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* 0010 */ 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SSTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SSTM) CreateWordField (Arg1, 0xA4, ICM1) CreateWordField (Arg1, 0x0100, ISE1) Store (ICM1, PCS1) Store (ISE1, PSS1) } Device (MAST) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) And (PCS1, 0x02, Local2) And (PSS1, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x0E) { /* 0000 */ 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x00, /* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local0) } } Return (Local0) } } } Method (DRMP, 0, NotSerialized) { Return (\_SB.PCI0.NVRB.R_S2) } } Device (IDE0) { Name (_ADR, 0x00040000) OperationRegion (A090, PCI_Config, 0x50, 0x18) Field (A090, DWordAcc, NoLock, Preserve) { ID20, 16, Offset (0x08), IDTS, 16, IDTP, 16, ID22, 32, UMSS, 16, UMSP, 16 } Name (IDEP, Buffer (0x14) {}) Name (IDES, Buffer (0x14) {}) Method (GTM, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Store (IDTP, Local0) Store (UMSP, Local1) Store (IDEP, Local2) } Else { Store (IDTS, Local0) Store (UMSS, Local1) Store (IDES, Local2) } CreateDWordField (Local2, 0x00, PIO0) CreateDWordField (Local2, 0x04, DMA0) CreateDWordField (Local2, 0x08, PIO1) CreateDWordField (Local2, 0x0C, DMA1) CreateDWordField (Local2, 0x10, FLAG) Store (0x10, FLAG) And (Local0, 0x0F00, Local3) And (Local0, 0xF000, Local4) ShiftRight (Local3, 0x08, Local3) ShiftRight (Local4, 0x0C, Local4) Add (Local3, Local4, Local3) Multiply (Add (Local3, 0x02), 0x1E, PIO0) If (LLessEqual (PIO0, 0xB4)) { Or (FLAG, 0x02, FLAG) } If (And (Local1, 0x4000)) { Or (FLAG, 0x01, FLAG) And (Local1, 0x0700, Local3) ShiftRight (Local3, 0x08, Local3) Store (U2T (Local3), DMA0) } Else { Store (PIO0, DMA0) } And (Local0, 0x0F, Local3) And (Local0, 0xF0, Local4) ShiftRight (Local4, 0x04, Local4) Add (Local3, Local4, Local3) Multiply (Add (Local3, 0x02), 0x1E, PIO1) If (LLessEqual (PIO1, 0xB4)) { Or (FLAG, 0x08, FLAG) } If (And (Local1, 0x40)) { Or (FLAG, 0x04, FLAG) And (Local1, 0x07, Local3) Store (U2T (Local3), DMA1) } Else { Store (PIO1, DMA1) } If (LEqual (Arg0, 0x00)) { Store (Local2, IDEP) Return (IDEP) } Else { Store (Local2, IDES) Return (IDES) } } Method (U2T, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Return (0x3C) } If (LEqual (Arg0, 0x01)) { Return (0x5A) } If (LEqual (Arg0, 0x02)) { Return (0x78) } If (LEqual (Arg0, 0x03)) { Return (0x96) } If (LEqual (Arg0, 0x04)) { Return (0x2D) } If (LEqual (Arg0, 0x05)) { Return (0x1E) } If (LEqual (Arg0, 0x06)) { Return (0x14) } Return (0x0F) } Method (T2U, 1, NotSerialized) { If (LGreater (Arg0, 0x78)) { Return (0x03) } If (LGreater (Arg0, 0x5A)) { Return (0x02) } If (LGreater (Arg0, 0x3C)) { Return (0x01) } If (LGreater (Arg0, 0x2D)) { Return (0x00) } If (LGreater (Arg0, 0x1E)) { Return (0x04) } If (LGreater (Arg0, 0x14)) { Return (0x05) } If (LGreater (Arg0, 0x0F)) { Return (0x06) } Return (0x07) } Method (T2D, 1, NotSerialized) { If (LGreater (Arg0, 0x01E0)) { Return (0xA8) } If (LGreater (Arg0, 0x0186)) { Return (0x77) } If (LGreater (Arg0, 0xF0)) { Return (0x47) } If (LGreater (Arg0, 0xB4)) { Return (0x33) } If (LGreater (Arg0, 0x96)) { Return (0x22) } If (LGreater (Arg0, 0x78)) { Return (0x21) } Return (0x20) } Method (STM, 4, NotSerialized) { If (SX) { Store (SID0, ID20) Store (SID1, IDTS) Store (SID2, IDTP) Store (SID3, ID22) Store (SID4, UMSS) Store (SID5, UMSP) } Else { Store (ID20, SID0) Store (IDTS, SID1) Store (IDTP, SID2) Store (ID22, SID3) Store (UMSS, SID4) Store (UMSP, SID5) } Store (0x00, SX) CreateDWordField (Arg0, 0x00, PIO0) CreateDWordField (Arg0, 0x04, DMA0) CreateDWordField (Arg0, 0x08, PIO1) CreateDWordField (Arg0, 0x0C, DMA1) CreateDWordField (Arg0, 0x10, FLAG) If (LEqual (Arg3, 0x00)) { Store (SID2, Local0) Store (SID5, Local1) } Else { Store (SID1, Local0) Store (SID4, Local1) } If (LNotEqual (PIO0, 0xFFFFFFFF)) { And (Local0, 0xFF, Local0) ShiftLeft (T2D (PIO0), 0x08, Local2) Or (Local0, Local2, Local0) } If (LNotEqual (PIO1, 0xFFFFFFFF)) { And (Local0, 0xFF00, Local0) Or (Local0, T2D (PIO1), Local0) } If (And (FLAG, 0x01)) { And (Local1, 0xFF, Local1) ShiftLeft (T2U (DMA0), 0x08, Local2) Or (0xC000, Local2, Local2) Or (Local2, Local1, Local1) } Else { If (LNotEqual (DMA0, 0xFFFFFFFF)) { And (Local0, 0xFF, Local0) ShiftLeft (T2D (DMA0), 0x08, Local2) Or (Local0, Local2, Local0) } } If (And (FLAG, 0x04)) { And (Local1, 0xFF00, Local1) Or (0xC0, T2U (DMA1), Local2) Or (Local2, Local1, Local1) } Else { If (LNotEqual (DMA1, 0xFFFFFFFF)) { And (Local0, 0xFF00, Local0) Or (Local0, T2D (DMA1), Local0) } } If (LEqual (Arg3, 0x00)) { Store (Local0, IDTP) Store (Local1, UMSP) } Else { Store (Local0, IDTS) Store (Local1, UMSS) } } Method (GTF, 2, NotSerialized) { Store (Buffer (0x07) { 0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) CreateByteField (Local0, 0x01, MODE) CreateByteField (Local0, 0x05, DRIV) Store (Arg1, DRIV) If (LEqual (Arg0, 0x00)) { Store (IDEP, Local1) } Else { Store (IDES, Local1) } CreateDWordField (Local1, 0x00, PIO0) CreateDWordField (Local1, 0x04, DMA0) CreateDWordField (Local1, 0x08, PIO1) CreateDWordField (Local1, 0x0C, DMA1) CreateDWordField (Local1, 0x10, FLGX) If (LEqual (Arg1, 0xA0)) { Store (PIO0, Local2) Store (DMA0, Local3) And (FLGX, 0x01, FLGX) } Else { Store (PIO1, Local2) Store (DMA1, Local3) And (FLGX, 0x04, FLGX) } Store (FLGX, Local1) If (LGreater (Local2, 0x0186)) { Store (0x00, Local2) } Else { If (LGreater (Local2, 0xF0)) { Store (0x01, Local2) } Else { If (LGreater (Local2, 0xB4)) { Store (0x02, Local2) } Else { If (LGreater (Local2, 0x78)) { Store (0x03, Local2) } Else { Store (0x04, Local2) } } } } Or (0x08, Local2, MODE) Store (Local0, Local2) If (FLGX) { If (LGreater (Local3, 0x5A)) { Store (0x00, Local3) } Else { If (LGreater (Local3, 0x3C)) { Store (0x01, Local3) } Else { If (LGreater (Local3, 0x2D)) { Store (0x02, Local3) } Else { If (LGreater (Local3, 0x1E)) { Store (0x03, Local3) } Else { If (LGreater (Local3, 0x14)) { Store (0x04, Local3) } Else { If (LGreater (Local3, 0x0F)) { Store (0x05, Local3) } Else { Store (0x06, Local3) } } } } } } Or (0x40, Local3, MODE) } Else { If (LEqual (Local3, 0xFFFFFFFF)) { Return (Local0) } Else { If (LGreater (Local3, 0x96)) { Store (0x00, Local3) } Else { If (LGreater (Local3, 0x78)) { Store (0x01, Local3) } Else { Store (0x02, Local3) } } Or (0x20, Local3, MODE) } } Concatenate (Local0, Local2, Local1) Return (Local1) } Device (PRI0) { Name (_ADR, 0x00) Name (PCS0, 0x00) Name (PSS0, 0x00) Name (PCS1, 0x00) Name (PSS1, 0x00) Method (_GTM, 0, NotSerialized) { Return (GTM (0x00)) } Method (_STM, 3, NotSerialized) { STM (Arg0, Arg1, Arg2, 0x00) CreateWordField (Arg1, 0xA4, ICM0) CreateWordField (Arg1, 0x0100, ISE0) CreateWordField (Arg2, 0xA4, ICM1) CreateWordField (Arg2, 0x0100, ISE1) Store (ICM0, PCS0) Store (ISE0, PSS0) Store (ICM1, PCS1) Store (ISE1, PSS1) } Device (MAST) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Store (GTF (0x00, 0xA0), Local0) And (PCS0, 0x02, Local2) And (PSS0, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local1) Concatenate (Local0, Local1, Local0) } } Return (Local0) } } Device (SLAV) { Name (_ADR, 0x01) Method (_GTF, 0, NotSerialized) { Store (GTF (0x00, 0xB0), Local0) And (PCS1, 0x02, Local2) And (PSS1, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local1) Concatenate (Local0, Local1, Local0) } } Return (Local0) } } } Device (SEC0) { Name (_ADR, 0x01) Name (PCS0, 0x00) Name (PSS0, 0x00) Name (PCS1, 0x00) Name (PSS1, 0x00) Method (_GTM, 0, NotSerialized) { Return (GTM (0x01)) } Method (_STM, 3, NotSerialized) { STM (Arg0, Arg1, Arg2, 0x01) CreateWordField (Arg1, 0xA4, ICM0) CreateWordField (Arg1, 0x0100, ISE0) CreateWordField (Arg2, 0xA4, ICM1) CreateWordField (Arg2, 0x0100, ISE1) Store (ICM0, PCS0) Store (ISE0, PSS0) Store (ICM1, PCS1) Store (ISE1, PSS1) } Device (MAST) { Name (_ADR, 0x00) Method (_GTF, 0, NotSerialized) { Store (GTF (0x01, 0xA0), Local0) And (PCS0, 0x02, Local2) And (PSS0, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xF5 }, Local1) Concatenate (Local0, Local1, Local0) } } Return (Local0) } } Device (SLAV) { Name (_ADR, 0x01) Method (_GTF, 0, NotSerialized) { Store (GTF (0x01, 0xB0), Local0) And (PCS1, 0x02, Local2) And (PSS1, 0x01, Local3) If (LEqual (Local2, 0x02)) { If (LEqual (Local3, 0x01)) { Store (Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0xF5 }, Local1) Concatenate (Local0, Local1, Local0) } } Return (Local0) } } } Method (DRMP, 0, NotSerialized) { Return (\_SB.PCI0.NVRB.R_P0) } } Device (K800) { Name (_BBN, 0x00) Name (_ADR, 0x00180000) } Device (K801) { Name (_BBN, 0x00) Name (_ADR, 0x00180001) OperationRegion (K181, PCI_Config, 0x00, 0xFF) Field (K181, AnyAcc, NoLock, Preserve) { Offset (0x80), MB00, 8, MBV0, 24, ML00, 8, MLV0, 24, MB01, 8, MBV1, 24, ML01, 8, MLV1, 24, MB02, 8, MBV2, 24, ML02, 8, MLV2, 24, MB03, 8, MBV3, 24, ML03, 8, MLV3, 24, MB04, 8, MBV4, 24, ML04, 8, MLV4, 24, MB05, 8, MBV5, 24, ML05, 8, MLV5, 24, MB06, 8, MBV6, 24, ML06, 8, MLV6, 24, MB07, 8, MBV7, 24, ML07, 8, MLV7, 24, IB00, 6, , 6, IBV0, 13, Offset (0xC4), IL00, 6, , 6, ILV0, 13, Offset (0xC8), IB01, 6, , 6, IBV1, 13, Offset (0xCC), IL01, 6, , 6, ILV1, 13, Offset (0xD0), IB02, 6, , 6, IBV2, 13, Offset (0xD4), IL02, 6, , 6, ILV2, 13, Offset (0xD8), IB03, 6, , 6, IBV3, 13, Offset (0xDC), IL03, 6, , 6, ILV3, 13, Offset (0xE0), L0EN, 8, DL00, 8, BNB0, 8, BNL0, 8, L1EN, 8, DL01, 8, BNB1, 8, BNL1, 8, L2EN, 8, DL02, 8, BNB2, 8, BNL2, 8, L3EN, 8, DL03, 8, BNB3, 8, BNL3, 8 } } Device (K802) { Name (_BBN, 0x00) Name (_ADR, 0x00180002) } Device (K810) { Name (_BBN, 0x00) Name (_ADR, 0x00190000) } Device (K811) { Name (_BBN, 0x00) Name (_ADR, 0x00190001) OperationRegion (K281, PCI_Config, 0x00, 0xFF) Field (K281, AnyAcc, NoLock, Preserve) { Offset (0x80), MB00, 8, MBV0, 24, ML00, 8, MLV0, 24, MB01, 8, MBV1, 24, ML01, 8, MLV1, 24, MB02, 8, MBV2, 24, ML02, 8, MLV2, 24, MB03, 8, MBV3, 24, ML03, 8, MLV3, 24, MB04, 8, MBV4, 24, ML04, 8, MLV4, 24, MB05, 8, MBV5, 24, ML05, 8, MLV5, 24, MB06, 8, MBV6, 24, ML06, 8, MLV6, 24, MB07, 8, MBV7, 24, ML07, 8, MLV7, 24, IB00, 6, , 6, IBV0, 13, Offset (0xC4), IL00, 6, , 6, ILV0, 13, Offset (0xC8), IB01, 6, , 6, IBV1, 13, Offset (0xCC), IL01, 6, , 6, ILV1, 13, Offset (0xD0), IB02, 6, , 6, IBV2, 13, Offset (0xD4), IL02, 6, , 6, ILV2, 13, Offset (0xD8), IB03, 6, , 6, IBV3, 13, Offset (0xDC), IL03, 6, , 6, ILV3, 13, Offset (0xE0), L0EN, 8, DL00, 8, BNB0, 8, BNL0, 8, L1EN, 8, DL01, 8, BNB1, 8, BNL1, 8, L2EN, 8, DL02, 8, BNB2, 8, BNL2, 8, L3EN, 8, DL03, 8, BNB3, 8, BNL3, 8 } } Device (K812) { Name (_BBN, 0x00) Name (_ADR, 0x00190002) } Device (K820) { Name (_BBN, 0x00) Name (_ADR, 0x001A0000) } Device (K821) { Name (_BBN, 0x00) Name (_ADR, 0x001A0001) OperationRegion (K381, PCI_Config, 0x00, 0xFF) Field (K381, AnyAcc, NoLock, Preserve) { Offset (0x80), MB00, 8, MBV0, 24, ML00, 8, MLV0, 24, MB01, 8, MBV1, 24, ML01, 8, MLV1, 24, MB02, 8, MBV2, 24, ML02, 8, MLV2, 24, MB03, 8, MBV3, 24, ML03, 8, MLV3, 24, MB04, 8, MBV4, 24, ML04, 8, MLV4, 24, MB05, 8, MBV5, 24, ML05, 8, MLV5, 24, MB06, 8, MBV6, 24, ML06, 8, MLV6, 24, MB07, 8, MBV7, 24, ML07, 8, MLV7, 24, IB00, 6, , 5, IBV0, 13, Offset (0xC4), IL00, 6, , 5, ILV0, 13, Offset (0xC8), IB01, 6, , 5, IBV1, 13, Offset (0xCC), IL01, 6, , 5, ILV1, 13, Offset (0xD0), IB02, 6, , 5, IBV2, 13, Offset (0xD4), IL02, 6, , 5, ILV2, 13, Offset (0xD8), IB03, 6, , 5, IBV3, 13, Offset (0xDC), IL03, 6, , 5, ILV3, 13, Offset (0xE0), L0EN, 8, DL00, 8, BNB0, 8, BNL0, 8, L1EN, 8, DL01, 8, BNB1, 8, BNL1, 8, L2EN, 8, DL02, 8, BNB2, 8, BNL2, 8, L3EN, 8, DL03, 8, BNB3, 8, BNL3, 8 } } Device (K822) { Name (_BBN, 0x00) Name (_ADR, 0x001A0002) } Device (K830) { Name (_BBN, 0x00) Name (_ADR, 0x001B0000) } Device (K831) { Name (_BBN, 0x00) Name (_ADR, 0x001B0001) OperationRegion (K381, PCI_Config, 0x00, 0xFF) Field (K381, AnyAcc, NoLock, Preserve) { Offset (0x80), MB00, 8, MBV0, 24, ML00, 8, MLV0, 24, MB01, 8, MBV1, 24, ML01, 8, MLV1, 24, MB02, 8, MBV2, 24, ML02, 8, MLV2, 24, MB03, 8, MBV3, 24, ML03, 8, MLV3, 24, MB04, 8, MBV4, 24, ML04, 8, MLV4, 24, MB05, 8, MBV5, 24, ML05, 8, MLV5, 24, MB06, 8, MBV6, 24, ML06, 8, MLV6, 24, MB07, 8, MBV7, 24, ML07, 8, MLV7, 24, IB00, 6, , 5, IBV0, 13, Offset (0xC4), IL00, 6, , 5, ILV0, 13, Offset (0xC8), IB01, 6, , 5, IBV1, 13, Offset (0xCC), IL01, 6, , 5, ILV1, 13, Offset (0xD0), IB02, 6, , 5, IBV2, 13, Offset (0xD4), IL02, 6, , 5, ILV2, 13, Offset (0xD8), IB03, 6, , 5, IBV3, 13, Offset (0xDC), IL03, 6, , 5, ILV3, 13, Offset (0xE0), L0EN, 8, DL00, 8, BNB0, 8, BNL0, 8, L1EN, 8, DL01, 8, BNB1, 8, BNL1, 8, L2EN, 8, DL02, 8, BNB2, 8, BNL2, 8, L3EN, 8, DL03, 8, BNB3, 8, BNL3, 8 } } Device (K832) { Name (_BBN, 0x00) Name (_ADR, 0x001B0002) } Device (XVR0) { Name (_ADR, 0x000F0000) OperationRegion (PCV0, PCI_Config, 0x00, 0xFF) Scope (\) { Field (\_SB.PCI0.XVR0.PCV0, ByteAcc, NoLock, Preserve) { PEV0, 16, Offset (0x9C), , 3, XPE0, 1, Offset (0xA0), RQD0, 16, PES0, 1, PEP0, 1 } } Name (_PRW, Package (0x02) { 0x11, 0x05 }) } Device (XVR1) { Name (_ADR, 0x000E0000) OperationRegion (PCV1, PCI_Config, 0x00, 0xFF) Scope (\) { Field (\_SB.PCI0.XVR1.PCV1, ByteAcc, NoLock, Preserve) { PEV1, 16, Offset (0x9C), , 3, XPE1, 1, Offset (0xA0), RQD1, 16, PES1, 1, PEP1, 1 } } Name (_PRW, Package (0x02) { 0x11, 0x05 }) } Device (XVR2) { Name (_ADR, 0x000D0000) OperationRegion (PCV2, PCI_Config, 0x00, 0xFF) Scope (\) { Field (\_SB.PCI0.XVR2.PCV2, ByteAcc, NoLock, Preserve) { PEV2, 16, Offset (0x9C), , 3, XPE2, 1, Offset (0xA0), RQD2, 16, PES2, 1, PEP2, 1 } } Name (_PRW, Package (0x02) { 0x11, 0x05 }) } Device (XVR3) { Name (_ADR, 0x000C0000) OperationRegion (PCV3, PCI_Config, 0x00, 0xFF) Scope (\) { Field (\_SB.PCI0.XVR3.PCV3, ByteAcc, NoLock, Preserve) { PEV3, 16, Offset (0x9C), , 3, XPE3, 1, Offset (0xA0), RQD3, 16, PES3, 1, PEP3, 1 } } Name (_PRW, Package (0x02) { 0x11, 0x05 }) } Device (XVR4) { Name (_ADR, 0x000B0000) OperationRegion (PCV4, PCI_Config, 0x00, 0xFF) Scope (\) { Field (\_SB.PCI0.XVR4.PCV4, ByteAcc, NoLock, Preserve) { PEV4, 16, Offset (0x9C), , 3, XPE4, 1, Offset (0xA0), RQD4, 16, PES4, 1, PEP4, 1 } } Name (_PRW, Package (0x02) { 0x11, 0x05 }) } Device (XVR5) { Name (_ADR, 0x000A0000) OperationRegion (PCV5, PCI_Config, 0x00, 0xFF) Scope (\) { Field (\_SB.PCI0.XVR5.PCV5, ByteAcc, NoLock, Preserve) { PEV5, 16, Offset (0x9C), , 3, XPE5, 1, Offset (0xA0), RQD5, 16, PES5, 1, PEP5, 1 } } Name (_PRW, Package (0x02) { 0x11, 0x05 }) } Device (SMB0) { Name (_ADR, 0x00010001) OperationRegion (SMCF, PCI_Config, 0x48, 0x10) Field (SMCF, DWordAcc, NoLock, Preserve) { SMPM, 4, SMT1, 28, SMT2, 32 } OperationRegion (SMCA, PCI_Config, 0x20, 0x08) Field (SMCA, DWordAcc, NoLock, Preserve) { SB1, 32, SB2, 32 } Method (SMBB, 0, NotSerialized) { If (PCIA) { And (SB1, 0xFFFE, Local0) And (SB2, 0xFFFE, Local0) } Else { Store (0x1C00, Local0) Store (0x1C40, Local0) } Return (Local0) } } Device (LEG0) { Name (_ADR, 0x00010000) OperationRegion (PIO0, PCI_Config, 0x04, 0x20) Scope (\) { Field (\_SB.PCI0.LEG0.PIO0, ByteAcc, NoLock, Preserve) { SMEN, 8, Offset (0x0C), Offset (0x0D), SMIO, 8 } } OperationRegion (PIO1, PCI_Config, 0x74, 0x01) Scope (\) { Field (\_SB.PCI0.LEG0.PIO1, ByteAcc, NoLock, Preserve) { , 2, HPTF, 1, Offset (0x01) } } OperationRegion (PIRQ, PCI_Config, 0x7C, 0x0C) Scope (\) { Field (\_SB.PCI0.LEG0.PIRQ, AnyAcc, NoLock, Preserve) { INTA, 4, INTB, 4, INTC, 4, INTD, 4, PCEA, 4, PCEB, 4, PCEC, 4, PCED, 4, SCII, 4, TCOI, 4, INTF, 4, INTQ, 4, INTU, 4, INTS, 4, IS0P, 4, ITID, 4, INTG, 4, INTH, 4, INTJ, 4, INTK, 4, INTL, 4, INTM, 4, INTN, 4, ISA2, 4 } } OperationRegion (LPIO, PCI_Config, 0xA0, 0x18) Scope (\) { Field (\_SB.PCI0.LEG0.LPIO, ByteAcc, NoLock, Preserve) { UAIO, 8, SNDD, 4, MIDD, 4, MSSD, 4, FDCD, 2, Offset (0x03), PRIO, 3, , 1, GEN1, 1, GEN2, 1, GEN3, 1, GEN4, 1, GAM1, 8, GAM2, 8 } OperationRegion (RTC2, SystemIO, 0x72, 0x02) Field (RTC2, ByteAcc, NoLock, Preserve) { CM2I, 8, CM2D, 8 } IndexField (CM2I, CM2D, ByteAcc, NoLock, Preserve) { Offset (0xCC), UA1D, 8 } Name (UARA, 0x00) Name (UARB, 0x00) Method (DISD, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Store (UARA, Local0) XOr (Local0, 0xFF, Local0) And (UAIO, Local0, UAIO) } If (LEqual (Arg0, 0x01)) { Store (UARB, Local0) XOr (Local0, 0xFF, Local0) And (UAIO, Local0, UAIO) } If (LEqual (Arg0, 0x02)) { Store (0x00, PRIO) } If (LEqual (Arg0, 0x03)) { Store (0x00, FDCD) } If (LEqual (Arg0, 0x04)) { Store (0x00, GAM1) Store (0x00, GAM2) } If (LEqual (Arg0, 0x05)) { Store (0x00, MIDD) } } Method (CKIO, 2, NotSerialized) { If (LEqual (Arg1, 0x00)) { Or (UARA, UARB, Local0) And (UAIO, Local0, UAIO) Store (UARA, Local0) XOr (Local0, 0xFF, Local0) And (UAIO, Local0, UAIO) If (LEqual (Arg0, 0x03F8)) { Store (0x01, Local0) } If (LEqual (Arg0, 0x02F8)) { Store (0x02, Local0) } If (LEqual (Arg0, 0x02E8)) { Store (0x20, Local0) } If (LEqual (Arg0, 0x03E8)) { Store (0x80, Local0) } Or (UAIO, Local0, UAIO) Store (Local0, UARA) } If (LEqual (Arg1, 0x01)) { Or (UARA, UARB, Local0) And (UAIO, Local0, UAIO) Store (UARB, Local0) XOr (Local0, 0xFF, Local0) And (UAIO, Local0, UAIO) If (LEqual (Arg0, 0x03F8)) { Store (0x01, Local0) } If (LEqual (Arg0, 0x02F8)) { Store (0x02, Local0) } If (LEqual (Arg0, 0x02E8)) { Store (0x20, Local0) } If (LEqual (Arg0, 0x03E8)) { Store (0x80, Local0) } Or (UAIO, Local0, UAIO) Store (Local0, UARB) } If (LEqual (Arg1, 0x02)) { If (LEqual (Arg0, 0x0378)) { Store (0x00, PRIO) Or (PRIO, 0x01, PRIO) } If (LEqual (Arg0, 0x0278)) { Store (0x00, PRIO) Or (PRIO, 0x02, PRIO) } If (LEqual (Arg0, 0x03BC)) { Store (0x00, PRIO) Or (PRIO, 0x04, PRIO) } } If (LEqual (Arg1, 0x03)) { Or (FDCD, 0x01, FDCD) } If (LEqual (Arg1, 0x04)) { Store (0x00, GAM1) Store (0x00, GAM2) If (LEqual (Arg0, 0x0201)) { Or (GAM1, 0x02, GAM1) } If (LEqual (Arg0, 0x0209)) { Or (GAM2, 0x02, GAM2) } } If (LEqual (Arg1, 0x05)) { Store (0x00, MIDD) If (LEqual (Arg0, 0x0300)) { Or (MIDD, 0x01, MIDD) } If (LEqual (Arg0, 0x0330)) { Or (MIDD, 0x08, MIDD) } } } Method (SLDM, 2, NotSerialized) { } Method (CLSU, 1, NotSerialized) { CreateWordField (Arg0, 0x02, UARO) If (LEqual (UARO, 0x03F8)) { And (UAIO, 0xFE, UAIO) } If (LEqual (UARO, 0x02F8)) { And (UAIO, 0xFD, UAIO) } If (LEqual (UARO, 0x02E8)) { And (UAIO, 0xBF, UAIO) } If (LEqual (UARO, 0x03E8)) { And (UAIO, 0x7F, UAIO) } } } } Device (USB0) { Name (_ADR, 0x00020000) Method (_S1D, 0, NotSerialized) { Return (0x01) } Method (_S3D, 0, NotSerialized) { If (LEqual (OSFL, 0x02)) { Return (0x02) } Else { Return (0x03) } } Name (_PRW, Package (0x02) { 0x0D, 0x04 }) } Device (USB2) { Name (_ADR, 0x00020001) OperationRegion (P020, PCI_Config, 0x49, 0x01) Field (P020, AnyAcc, NoLock, Preserve) { U0WK, 1 } Method (_PSW, 1, NotSerialized) { If (Arg0) { Store (0x01, U0WK) } Else { Store (0x00, U0WK) } } Method (_S1D, 0, NotSerialized) { Return (0x01) } Method (_S3D, 0, NotSerialized) { Return (0x01) } Name (_PRW, Package (0x02) { 0x05, 0x03 }) } Device (AZAD) { Name (_ADR, 0x00060001) Name (_PRW, Package (0x02) { 0x15, 0x05 }) } Device (MMAC) { Name (_ADR, 0x00080000) Name (_PRW, Package (0x02) { 0x0B, 0x05 }) } Device (NVRB) { Name (_HID, "NVRAIDBUS") OperationRegion (NVRD, SystemMemory, 0x000FFF38, 0x03) Field (NVRD, ByteAcc, NoLock, Preserve) { R_ST, 1, , 3, R_P0, 4, R_S0, 4, R_S1, 4, R_S2, 4 } Name (FNVR, 0xFF) Method (_DIS, 0, NotSerialized) { Store (0x00, FNVR) } Method (_STA, 0, NotSerialized) { If (LEqual (R_ST, 0x01)) { If (LEqual (FNVR, 0xFF)) { Return (0x0F) } Else { Return (0x0D) } } Else { Return (0x00) } } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x04D2, // Range Minimum 0x04D2, // Range Maximum 0x01, // Alignment 0x01, // Length ) }) Method (_SRS, 1, NotSerialized) { Store (0xFF, FNVR) } } OperationRegion (SM00, SystemIO, \_SB.PCI0.SMB0.SMBB (), 0x06) Field (SM00, ByteAcc, NoLock, Preserve) { CTLR, 8, HSTS, 8, ADDR, 8, CMDR, 8, DAT0, 8, DAT1, 8 } OperationRegion (SM01, SystemIO, 0x1C40, 0x06) Field (SM01, ByteAcc, NoLock, Preserve) { CTL2, 8, HST2, 8, ADD2, 8, CMD2, 8, DAT2, 8, DAT3, 8 } Method (SWF2, 0, NotSerialized) { And (HST2, 0x80, Local0) While (LEqual (Local0, Zero)) { Stall (0x01) And (HST2, 0x80, Local0) } } Method (SWFS, 0, NotSerialized) { And (HSTS, 0x80, Local0) While (LEqual (Local0, Zero)) { Stall (0x01) And (HSTS, 0x80, Local0) } } Method (SRBY, 2, NotSerialized) { Store (Arg0, ADDR) Store (Arg1, CMDR) Store (0x04, CTLR) SWFS () } Method (WBYT, 3, NotSerialized) { Store (Arg0, ADDR) Store (Arg1, CMDR) Store (Arg2, DAT0) Store (0x06, CTLR) SWFS () } Method (SMWW, 4, NotSerialized) { Store (Arg0, ADDR) Store (Arg1, CMDR) Store (Arg2, DAT0) Store (Arg3, DAT1) Store (0x08, CTLR) SWFS () } Method (RBY2, 2, NotSerialized) { Store (Arg0, ADD2) Store (Arg1, CMD2) Store (0x07, CTL2) SWF2 () Return (DAT2) } Method (RBYT, 2, NotSerialized) { Store (Arg0, ADDR) Store (Arg1, CMDR) Store (0x07, CTLR) SWFS () Return (DAT0) } Method (WBY2, 3, NotSerialized) { Store (Arg0, ADD2) Store (Arg1, CMD2) Store (Arg2, DAT2) Store (0x06, CTL2) SWF2 () } Method (SMRW, 2, NotSerialized) { Store (Arg0, ADDR) Store (Arg1, CMDR) Store (0x09, CTLR) SWFS () Store (DAT0, Local0) ShiftLeft (DAT1, 0x08, Local1) Or (Local0, Local1, Local2) Return (Local2) } Device (ASOC) { Name (_HID, "ATK0110") Name (_UID, 0x01010110) Name (MBIF, Package (0x08) { 0x01, "M2N-E ", 0x01010101, 0x01010101, 0xC0010002, 0x01, 0x00, 0x00 }) Name (VBUF, Package (0x05) { 0x04, VCRE, V333, V500, V120 }) Name (VCRE, Package (0x05) { 0x06020000, "Vcore Voltage", 0x05AA, 0x06D6, 0x01 }) Name (V333, Package (0x05) { 0x06020001, " +3.3 Voltage", 0x0BB8, 0x0E10, 0x01 }) Name (V500, Package (0x05) { 0x06020002, " +5.0 Voltage", 0x1194, 0x157C, 0x01 }) Name (V120, Package (0x05) { 0x06020003, "+12.0 Voltage", 0x2BC0, 0x3390, 0x01 }) Name (TBUF, Package (0x03) { 0x02, CPUT, MBTP }) Name (CPUT, Package (0x05) { 0x06030000, "CPU Temperature", 0x0384, 0x04E2, 0x00010001 }) Name (MBTP, Package (0x05) { 0x06030001, "MB Temperature", 0x02BC, 0x04E2, 0x00010001 }) Name (FBUF, Package (0x07) { 0x06, CPUF, CHAF, PWRF, SF01, SF02, SF03 }) Name (CPUF, Package (0x05) { 0x06040000, "CPU FAN Speed", 0x00, 0x0708, 0x00010001 }) Name (CHAF, Package (0x05) { 0x06040001, "CHASSIS FAN Speed", 0x00, 0x0708, 0x01 }) Name (PWRF, Package (0x05) { 0x06040002, "POWER FAN Speed", 0x00, 0x0708, 0x01 }) Name (CHPF, Package (0x05) { 0x06040005, "CHIPSET FAN Speed", 0x00, 0x0708, 0x00 }) Name (CH2F, Package (0x05) { 0x06040006, "CHASSIS2 FAN Speed", 0x00, 0x0708, 0x00 }) Name (SF01, Package (0x05) { 0x06040021, "CHASSIS4 FAN FAN Speed", 0x00, 0x0708, 0x01 }) Name (SF02, Package (0x05) { 0x06040022, "CHASSIS2 FAN FAN Speed", 0x00, 0x0708, 0x01 }) Name (SF03, Package (0x05) { 0x06040023, "CHASSIS3 FAN FAN Speed", 0x00, 0x0708, 0x01 }) Name (QFAN, Package (0x05) { 0x04060003, "CPU Q-Fan Control", 0x00, 0x01, 0x01 }) Name (QFRO, Package (0x05) { 0x04050004, "CPU Q-Fan Ratio", 0x3C, 0x5A, 0x00 }) Name (QCFN, Package (0x05) { 0x04060006, "Chassis Q-Fan Control", 0x00, 0x01, 0x00 }) Name (QFCR, Package (0x05) { 0x04050007, "Chassis Q-Fan Ratio", 0x38, 0x64, 0x00 }) OperationRegion (HWRE, SystemIO, 0x0295, 0x02) Field (HWRE, ByteAcc, NoLock, Preserve) { HIDX, 8, HDAT, 8 } IndexField (HIDX, HDAT, ByteAcc, NoLock, Preserve) { Offset (0x0B), FD11, 3, FD12, 3, FD13, 1, Offset (0x0C), Offset (0x0D), FAN1, 8, FAN2, 8, FAN3, 8, Offset (0x18), FEN1, 8, FEN2, 8, FEN3, 8, Offset (0x20), VCOR, 8, V33V, 8, Offset (0x23), V50V, 8, V12V, 8, Offset (0x29), TSR1, 8, MBTE, 8 } Method (ASIF, 0, NotSerialized) { Return (MBIF) } Method (VSIF, 0, NotSerialized) { Return (VBUF) } Method (RVLT, 1, NotSerialized) { Store (DerefOf (Index (VCRE, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (VCOR, Local0) Store (0x00, Local1) While (LEqual (Local0, 0xFF)) { Store (VCOR, Local0) If (LEqual (Local1, 0x000186A0)) { Break } Add (Local1, 0x01, Local1) } Multiply (Local0, 0x10, Local0) Multiply (0x12, 0x0A, Local1) Add (Local1, Local0, Local0) Return (Local0) } Store (DerefOf (Index (V333, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (V33V, Local0) Store (0x00, Local1) While (LEqual (Local0, 0xFF)) { Store (V33V, Local0) If (LEqual (Local1, 0x000186A0)) { Break } Add (Local1, 0x01, Local1) } Multiply (Local0, 0x10, Local0) Multiply (0x14, 0x0A, Local1) Add (Local0, Local1, Local0) Return (Local0) } Store (DerefOf (Index (V500, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (V50V, Local0) Store (0x00, Local1) While (LEqual (Local0, 0xFF)) { Store (V50V, Local0) If (LEqual (Local1, 0x000186A0)) { Break } Add (Local1, 0x01, Local1) } Multiply (Local0, 0x10, Local0) Store (0x22, Local1) Store (0x32, Local2) Add (Local1, Local2, Local1) Multiply (Local0, Local1, Local0) Divide (Local0, Local2, Local3, Local0) Multiply (0x23, 0x0A, Local1) Add (Local1, Local0, Local0) Return (Local0) } Store (DerefOf (Index (V120, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (V12V, Local0) Store (0x00, Local1) While (LEqual (Local0, 0xFF)) { Store (V12V, Local0) If (LEqual (Local1, 0x000186A0)) { Break } Add (Local1, 0x01, Local1) } Multiply (Local0, 0x10, Local0) Store (0x1E, Local1) Store (0x0A, Local2) Add (Local1, Local2, Local1) Multiply (Local0, Local1, Local0) Divide (Local0, Local2, Local3, Local0) Multiply (0x55, 0x0A, Local1) Add (Local1, Local0, Local0) Return (Local0) } } Method (SVLT, 1, NotSerialized) { Store (DerefOf (Index (Arg0, 0x00)), Local0) And (Local0, 0x0F, Local0) Store (DerefOf (Index (VBUF, 0x00)), Local1) If (LGreaterEqual (Local0, Local1)) { Return (0x01) } Add (Local0, 0x01, Local0) Store (DerefOf (Index (Arg0, 0x01)), Local1) Store (DerefOf (Index (Arg0, 0x02)), Local2) Store (DerefOf (Index (Arg0, 0x03)), Local3) Store (DerefOf (Index (Arg0, 0x04)), Local4) Store (Local1, Index (DerefOf (Index (VBUF, Local0)), 0x01)) Store (Local2, Index (DerefOf (Index (VBUF, Local0)), 0x02)) Store (Local3, Index (DerefOf (Index (VBUF, Local0)), 0x03)) Store (Local4, Index (DerefOf (Index (VBUF, Local0)), 0x04)) Return (0x00) } Method (TSIF, 0, NotSerialized) { Return (TBUF) } Method (RTMP, 1, NotSerialized) { Store (DerefOf (Index (CPUT, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (TSR1, Local0) Store (0x00, Local1) While (LEqual (Local0, 0x80)) { Store (TSR1, Local0) If (LEqual (Local1, 0x000186A0)) { Break } Add (Local1, 0x01, Local1) } Multiply (Local0, 0x0A, Local0) Return (Local0) } Store (DerefOf (Index (MBTP, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (MBTE, Local0) Store (0x00, Local1) While (LEqual (Local0, 0x80)) { Store (MBTE, Local0) If (LEqual (Local1, 0x000186A0)) { Break } Add (Local1, 0x01, Local1) } Multiply (Local0, 0x0A, Local0) Return (Local0) } } Method (STMP, 1, NotSerialized) { Store (DerefOf (Index (Arg0, 0x00)), Local0) And (Local0, 0x0F, Local0) Store (DerefOf (Index (TBUF, 0x00)), Local1) If (LGreaterEqual (Local0, Local1)) { Return (0x01) } Add (Local0, 0x01, Local0) Store (DerefOf (Index (Arg0, 0x01)), Local1) Store (DerefOf (Index (Arg0, 0x02)), Local2) Store (DerefOf (Index (Arg0, 0x03)), Local3) Store (DerefOf (Index (Arg0, 0x04)), Local4) Store (Local1, Index (DerefOf (Index (TBUF, Local0)), 0x01)) Store (Local2, Index (DerefOf (Index (TBUF, Local0)), 0x02)) Store (Local3, Index (DerefOf (Index (TBUF, Local0)), 0x03)) Store (Local4, Index (DerefOf (Index (TBUF, Local0)), 0x04)) Return (0x00) } Method (FSIF, 0, NotSerialized) { Return (FBUF) } Method (RFAN, 1, NotSerialized) { Store (DerefOf (Index (CPUF, 0x00)), Local1) If (LEqual (Arg0, Local1)) { Store (FANC (FAN1, FEN1), Local0) } Store (DerefOf (Index (CHAF, 0x00)), Local1) If (LEqual (Arg0, Local1)) { Store (FANC (FAN2, FEN2), Local0) } Store (DerefOf (Index (PWRF, 0x00)), Local1) If (LEqual (Arg0, Local1)) { Store (FANC (FAN3, FEN3), Local0) } Store (SEFA (Arg0), Local1) If (LNotEqual (Local1, 0xFFFFFFFF)) { Return (Local1) } Return (Local0) } Method (FANC, 2, NotSerialized) { Store (Arg0, Local0) Store (Arg1, Local1) Multiply (Local1, 0x0100, Local1) Add (Local0, Local1, Local0) If (LAnd (LLess (Local0, 0xFFFF), LGreater (Local0, 0x0A))) { Divide (0x000A4CB8, Local0, Local1, Local0) } Else { Store (0x00, Local0) } Return (Local0) } Method (SFAN, 1, NotSerialized) { Store (DerefOf (Index (Arg0, 0x00)), Local0) And (Local0, 0x0F, Local0) Store (DerefOf (Index (FBUF, 0x00)), Local1) If (LGreaterEqual (Local0, Local1)) { Return (0x00) } Else { Add (Local0, 0x01, Local0) Store (DerefOf (Index (Arg0, 0x01)), Local1) Store (DerefOf (Index (Arg0, 0x02)), Local2) Store (DerefOf (Index (Arg0, 0x03)), Local3) Store (DerefOf (Index (Arg0, 0x04)), Local4) Store (Local1, Index (DerefOf (Index (FBUF, Local0)), 0x01)) Store (Local2, Index (DerefOf (Index (FBUF, Local0)), 0x02)) Store (Local3, Index (DerefOf (Index (FBUF, Local0)), 0x03)) Store (Local4, Index (DerefOf (Index (FBUF, Local0)), 0x04)) Return (0x01) } } Method (SFAS, 1, NotSerialized) { Store (DerefOf (Index (Arg0, 0x00)), Local0) And (Local0, 0x0F, Local0) Store (DerefOf (Index (FBUF, 0x00)), Local1) If (LGreaterEqual (Local0, Local1)) { Return (0x00) } Else { Return (0x01) } } Method (OCIF, 0, NotSerialized) { If (LEqual (MMCM, 0x00)) { Store (0x00, Index (CPUM, 0x03)) } Else { Store (MMCM, Index (OC02, 0x03)) Store (MMCM, Local0) Store (DerefOf (Index (OC02, 0x02)), Local1) Subtract (Local0, Local1, Local0) Increment (Local0) Store (Local0, Index (OC02, 0x04)) } Return (OBUF) } Name (OC1F, 0x00) Name (OC2F, 0x00) Name (OC3F, 0x00) Name (OC4F, 0x00) Name (OC5F, 0x00) Name (OC6F, 0x00) Name (OC7F, 0x00) Name (OC8F, 0x00) Name (OC9F, 0x00) Name (OCAF, 0x00) Name (OCBF, 0x00) Name (OCCF, 0x00) Name (OCDF, 0x00) Name (OCEF, 0x00) Name (QFNF, 0x00) Name (QFPF, 0x00) Method (OCOP, 1, NotSerialized) { Store (DerefOf (Index (OC01, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC1F, 0x00)) { Store (FSBF, Local0) If (LLess (Local0, 0x64)) { Add (Local0, 0xFF, Local0) } Store (Local0, Local1) Multiply (Local0, 0x64, Local0) Store (Local0, Index (CPUO, 0x01)) Subtract (Local1, 0xC8, Local1) Store (Local1, Index (CPUO, 0x02)) SPRE (Arg0, Local1) Store (0x01, OC1F) } Return (CPUO) } Store (DerefOf (Index (OC02, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC2F, 0x00)) { Store (MULF, Local0) Store (Local0, Index (CPUM, 0x01)) Store (Local0, Index (CPUM, 0x02)) SPRD (Arg0, MUCM) SPRE (Arg0, Local0) Store (0x01, OC2F) } Return (CPUM) } Store (DerefOf (Index (OC0F, 0x00)), Local1) If (LEqual (Arg0, Local1)) { Store (K8HT, Local0) Store (0x04, Local1) If (LEqual (Local0, 0x06)) { Store (0x05, Local1) } If (LEqual (Local0, 0x05)) { Store (0x04, Local1) } If (LEqual (Local0, 0x04)) { Store (0x03, Local1) } If (LEqual (Local0, 0x02)) { Store (0x02, Local1) } If (LEqual (Local0, 0x00)) { Store (0x01, Local1) } Store (Local1, Index (HTFQ, 0x02)) Return (HTFQ) } Store (DerefOf (Index (OC03, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC3F, 0x00)) { Store (0x01, OC3F) } Return (MEMO) } Store (DerefOf (Index (OC04, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC4F, 0x00)) { Store (0x01, OC4F) } Return (PCIO) } Store (DerefOf (Index (OC05, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC5F, 0x00)) { Store (0x01, OC5F) } Return (OCPO) } Store (DerefOf (Index (OC06, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC6F, 0x00)) { Store (NOS1, Local0) Store (Local0, Index (AOCO, 0x02)) SPRE (Arg0, Local0) Store (0x01, OC6F) } Return (AOCO) } Store (DerefOf (Index (OC07, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC7F, 0x00)) { Store (NOS2, Local0) Store (Local0, Index (ADCO, 0x02)) SPRE (Arg0, Local0) Store (0x01, OC7F) } Return (ADCO) } Store (DerefOf (Index (OC08, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC8F, 0x00)) { Store (0x01, OC8F) } Return (FANB) } Store (DerefOf (Index (OC09, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OC9F, 0x00)) { Store (VCRV, Local0) Store (Local0, Index (CPUV, 0x02)) SPRD (Arg0, CVCM) SPRE (Arg0, Local0) Store (0x01, OC9F) } Return (CPUV) } Store (DerefOf (Index (OC0A, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OCAF, 0x00)) { Store (DDRV, Local0) Store (Local0, Index (RAMV, 0x02)) SPRD (Arg0, DRVC) SPRE (Arg0, Local0) Store (0x01, OCAF) } Return (RAMV) } Store (DerefOf (Index (OC0B, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OCBF, 0x00)) { Store (0x01, OCBF) } Return (PCIV) } Store (DerefOf (Index (OC0C, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OCCF, 0x00)) { Store (0x01, OCCF) } Return (PRHT) } Store (DerefOf (Index (OC0D, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (OCDF, 0x00)) { Store (AITU, Index (AITM, 0x02)) SPRE (Arg0, AITU) Store (0x01, OCDF) } Return (AITM) } Store (DerefOf (Index (QFAN, 0x00)), Local1) If (LEqual (Arg0, Local1)) { If (LEqual (QFNF, 0x00)) { Store (QFNE, Index (CQFN, 0x02)) SPRE (Arg0, QFNE) Store (0x01, QFNF) } Return (CQFN) } Store (DerefOf (Index (OC0G, 0x00)), Local1) If (LEqual (Arg0, Local1)) { Store (CNQC, Local0) If (LEqual (Local0, 0x01)) { Store (0x00, Index (CNQF, 0x02)) } Else { Store (0x01, Index (CNQF, 0x02)) } Return (CNQF) } } Method (PROC, 3, NotSerialized) { If (LEqual (Arg2, 0x00)) { Return (0x01) } If (LEqual (Arg2, 0x01)) { Store (DerefOf (Index (OC0D, 0x00)), Local0) If (LEqual (Arg0, Local0)) { If (LEqual (Arg1, 0x00)) { Store (0x00, Index (AITM, 0x02)) } If (LEqual (Arg1, 0x01)) { STDF (0x01) Store (0x01, Index (AITM, 0x02)) } If (LEqual (Arg1, 0x02)) { STDF (0x02) Store (0x02, Index (AITM, 0x02)) } If (LEqual (Arg1, 0x03)) { Store (0x03, Index (AITM, 0x02)) } If (LEqual (Arg1, 0x04)) { Store (0x04, Index (AITM, 0x02)) } } Store (DerefOf (Index (OC01, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (Arg1, AIP) Store (Arg1, Index (CPUO, 0x02)) Store (0x03, AIP2) Store (0xB0, SCP) } Store (DerefOf (Index (OC05, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (Arg1, AIP) Store (Arg1, Index (OCPO, 0x02)) If (LEqual (Arg1, 0x00)) { Store (0x06, Local1) } Else { If (LEqual (Arg1, 0x01)) { Store (0x0A, Local1) } Else { If (LEqual (Arg1, 0x02)) { Store (0x10, Local1) } Else { If (LEqual (Arg1, 0x03)) { Store (0x14, Local1) } Else { Store (0x00, Local1) } } } } Store (Local1, Index (CPUO, 0x02)) Store (0x01, AIP2) Store (0xB0, SCP) } Store (DerefOf (Index (OC06, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (0x00, AIP) Store (0x03, AIP2) Store (0xB0, SCP) Store (0x00, Index (CPUO, 0x02)) Store (Arg1, AIP) Store (Arg1, Index (AOCO, 0x02)) Store (0x02, AIP2) Store (0xB0, SCP) } Store (DerefOf (Index (OC09, 0x00)), Local0) If (LEqual (Arg0, Local0)) { If (LNotEqual (MVCM, 0x00)) { Store (Arg1, AIP) Store (Arg1, Index (CPUV, 0x02)) Store (0x04, AIP2) Store (0xB0, SCP) } } Store (DerefOf (Index (OC0A, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (Arg1, AIP) Store (Arg1, Index (RAMV, 0x02)) Store (0x05, AIP2) Store (0xB0, SCP) } Store (DerefOf (Index (OC02, 0x00)), Local0) If (LEqual (Arg0, Local0)) { If (LNotEqual (MMCM, 0x00)) { Store (Arg1, AIP) Store (Arg1, Index (CPUM, 0x01)) Store (Arg1, Index (CPUM, 0x02)) Store (0x06, AIP2) Store (0xB0, SCP) } } Store (DerefOf (Index (QFAN, 0x00)), Local0) If (LEqual (Arg0, Local0)) { Store (Arg1, AIP) Store (Arg1, Index (CQFN, 0x02)) Store (0x07, AIP2) Store (0xB0, SCP) } SPRE (Arg0, Arg1) Return (0x01) } Else { Return (0x00) } } Method (STDF, 1, NotSerialized) { Store (0x00, AIP) Store (0x03, AIP2) Store (0xB0, SCP) Store (0x00, Index (CPUO, 0x02)) If (LNotEqual (MVCM, 0x00)) { Store (CVCM, AIP) Store (0x04, AIP2) Store (0xB0, SCP) Store (CVCM, Index (CPUV, 0x02)) } If (LNotEqual (MMCM, 0x00)) { Store (MUCM, AIP) Store (0x06, AIP2) Store (0xB0, SCP) Store (MUCM, Index (CPUM, 0x01)) Store (MUCM, Index (CPUM, 0x02)) } Store (DRVC, AIP) Store (0x05, AIP2) Store (0xB0, SCP) Store (DRVC, Index (RAMV, 0x02)) If (LEqual (Arg0, 0x01)) { Store (0x01, AIP) Store (0x09, AIP2) Store (0xB0, SCP) } Else { Store (0x02, AIP) Store (0x0A, AIP2) Store (0xB0, SCP) } } Method (SEFA, 1, NotSerialized) { Store (DerefOf (Index (SF01, 0x00)), Local1) If (LEqual (Arg0, Local1)) { Store (RBY2 (0x5C, 0x28), Local1) Store (RBY2 (0x5C, 0x29), Local2) Multiply (Local2, 0x0100, Local2) Add (Local2, Local1, Local2) If (LEqual (Local2, 0xFFFF)) { Store (0x00, Local0) Return (Local0) } If (LEqual (Local2, 0x00)) { Store (0x00, Local0) Return (Local0) } Divide (0x005265C0, Local2, Local1, Local0) Return (Local0) } Store (DerefOf (Index (SF02, 0x00)), Local1) If (LEqual (Arg0, Local1)) { Store (RBY2 (0x5C, 0x2A), Local1) Store (RBY2 (0x5C, 0x2B), Local2) Multiply (Local2, 0x0100, Local2) Add (Local2, Local1, Local2) If (LEqual (Local2, 0xFFFF)) { Store (0x00, Local0) Return (Local0) } If (LEqual (Local2, 0x00)) { Store (0x00, Local0) Return (Local0) } Divide (0x005265C0, Local2, Local1, Local0) Return (Local0) } Store (DerefOf (Index (SF03, 0x00)), Local1) If (LEqual (Arg0, Local1)) { Store (RBY2 (0x5C, 0x2C), Local1) Store (RBY2 (0x5C, 0x2D), Local2) Multiply (Local2, 0x0100, Local2) Add (Local2, Local1, Local2) If (LEqual (Local2, 0xFFFF)) { Store (0x00, Local0) Return (Local0) } If (LEqual (Local2, 0x00)) { Store (0x00, Local0) Return (Local0) } Divide (0x005265C0, Local2, Local1, Local0) Return (Local0) } Return (0xFFFFFFFF) } Name (CQFN, Package (0x06) { 0x04060003, 0x00, 0x00, 0x01, "Disabled", "Enabled" }) Name (QFNR, Package (0x09) { 0x04050004, 0x5A, 0x00, 0x01, "Auto", "90%", "80%", "70%", "60%" }) Name (QFNT, Package (0x0F) { 0x04030005, 0x42, 0x05, 0x01, "51", "54", "57", "60", "63", "66", "69", "72", "75", "78", "81" }) Name (OC01, Package (0x06) { 0x01010000, "CPU FSB", 0x4E20, 0x9C40, 0xC9, 0x00010003 }) Name (OC02, Package (0x06) { 0x01060001, "CPU Multiplier", 0x05, 0x14, 0x10, 0x00010003 }) Name (OC0F, Package (0x06) { 0x01060002, "Hyper Transport Freq", 0x01, 0x05, 0x05, 0x00010003 }) Name (OC03, Package (0x06) { 0x02010002, "Memory Freq", 0x00, 0x00, 0x04, 0x00010003 }) Name (OC04, Package (0x06) { 0x07010003, "PCI Express", 0x2710, 0x332C, 0x20, 0x00 }) Name (OC05, Package (0x06) { 0x05050004, "OC Profile", 0x69, 0x82, 0x05, 0x00010003 }) Name (OC06, Package (0x06) { 0x08050005, "Turbo N.O.S.", 0x67, 0x6E, 0x04, 0x00010003 }) Name (OC07, Package (0x06) { 0x08050006, "Twin Turbo N.O.S.", 0x00, 0x01, 0x02, 0x00 }) Name (OC08, Package (0x06) { 0x04040007, "FAN-Boost", 0x2EE0, 0x36B0, 0x02, 0x00010001 }) Name (OC09, Package (0x06) { 0x01020008, "CPU Voltage", 0x1F40, 0x3D09, 0x3D, 0x00 }) Name (OC0A, Package (0x06) { 0x02020009, "DRAM Voltage", 0x0708, 0x09C4, 0x0F, 0x00 }) Name (OC0B, Package (0x06) { 0x0702000A, "PCIE Voltage", 0x0D05, 0x115C, 0x03, 0x00 }) Name (OC0C, Package (0x06) { 0x0106000B, "CPU HT", 0x00, 0x01, 0x02, 0x00010002 }) Name (OC0G, Package (0x06) { 0x0106000C, "CoolnQuietFlag", 0x00, 0x01, 0x02, 0x00010001 }) Name (OC0D, Package (0x06) { 0x0906000C, "AI Overclock Tuner", 0x00, 0x04, 0x05, 0x00010003 }) Name (OBUF, Package (0x0D) { OC01, OC02, OC03, OC04, OC05, OC06, OC07, OC08, OC09, OC0A, OC0B, OC0C, OC0D }) Name (CPUO, Package (0x04) { 0x01010000, 0x4E20, 0x64, 0x01 }) Name (CPUM, Package (0x04) { 0x01060001, 0x0E, 0x00, 0x01 }) Name (HTFQ, Package (0x04) { 0x01060002, 0x04, 0x03, 0x01 }) Name (MEMO, Package (0x09) { 0x02010002, 0xD034, 0x04, 0x01, "Auto", "1:3", "1:4", "1:2", "3:8" }) Name (PCIO, Package (0x04) { 0x07010003, 0x2710, 0x00, 0x01 }) Name (OCPO, Package (0x08) { 0x05050004, 0x64, 0x00, 0x01, "103%", "105%", "108%", "110%" }) Name (AOCO, Package (0x09) { 0x08050005, 0x64, 0x00, 0x01, "Disabled", "103%", "105%", "108%", "110%" }) Name (ADCO, Package (0x06) { 0x08050006, 0x00, 0x00, 0x00, "Disabled", "Enabled" }) Name (FANB, Package (0x06) { 0x04040007, 0x00, 0x00, 0x00, "Disabled", "Enabled" }) Name (CPUV, Package (0x04) { 0x01020008, 0x073A, 0x01, 0x01 }) Name (RAMV, Package (0x04) { 0x02020009, 0x0A8C, 0x01, 0x01 }) Name (PCIV, Package (0x04) { 0x0702000A, 0x0640, 0x00, 0x00 }) Name (PRHT, Package (0x04) { 0x0106000B, 0x01, 0x00, 0x00 }) Name (CNQF, Package (0x04) { 0x0106000C, 0x00, 0x00, 0x01 }) Name (AITM, Package (0x09) { 0x0906000C, 0x00, 0x00, 0x01, "Manual", "Auto", "Standard", "OC Profile", "AI NOS" }) Name (PREB, Package (0x1C) { 0x02010002, 0x00, 0x07010003, 0x00, 0x08050005, 0x00, 0x08050006, 0x00, 0x04040007, 0x00, 0x01020008, 0x00, 0x02020009, 0x00, 0x0702000A, 0x00, 0x0106000B, 0x00, 0x0906000C, 0x00, 0x04060003, 0x00, 0x04030005, 0x00, 0x01010000, 0x00, 0x01060001, 0x00 }) Name (PRED, Package (0x0A) { 0x01010000, 0x00, 0x01060001, 0x00, 0x01020008, 0x00, 0x02020009, 0x00, 0x0702000A, 0x00 }) Name (ASBF, Buffer (0x08) { /* 0000 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateDWordField (ASBF, 0x00, ASB0) CreateDWordField (ASBF, 0x04, ASB1) Name (GAT1, Package (0x04) { 0x0A070001, "Music Alarm", 0x00, 0x01 }) Name (GAT2, Package (0x04) { 0x0A070002, "Sunday", 0x00, 0x01 }) Name (GAT3, Package (0x04) { 0x0A070003, "Monday", 0x00, 0x01 }) Name (GAT4, Package (0x04) { 0x0A070004, "Tuesday", 0x00, 0x01 }) Name (GAT5, Package (0x04) { 0x0A070005, "Wednesday", 0x00, 0x01 }) Name (GAT6, Package (0x04) { 0x0A070006, "Thursday", 0x00, 0x01 }) Name (GAT7, Package (0x04) { 0x0A070007, "Friday", 0x00, 0x01 }) Name (GAT8, Package (0x04) { 0x0A070008, "Saturday", 0x00, 0x01 }) Name (GAT9, Package (0x07) { 0x0A060009, "Alarm Hour", 0x00, 0x0C, 0x00, 0x01, 0x18 }) Name (GATA, Package (0x07) { 0x0A06000A, "Alarm Mins", 0x00, 0x00, 0x00, 0x01, 0x3C }) Name (GATB, Package (0x09) { 0x0A08000B, "Music Alarm Drive", 0x00, 0x01, 0x04, "Primary IDE Master", "Primary IDE Slave", "Secondary IDE Master", "Secondary IDE Slave" }) Name (GATC, Package (0x07) { 0x0A06000C, "Starting Track", 0x00, 0x10, 0x01, 0x01, 0x20 }) Name (GATD, Package (0x08) { 0x0A08000E, "Repeat", 0x00, 0x01, 0x03, "Disabled", "Single", "All" }) Name (GATE, Package (0x09) { 0x0A08000D, "Length", 0x00, 0x01, 0x04, "10 mins", "20 mins", "30 mins", "1 hour" }) Name (GATF, Package (0x07) { 0x0A06000F, "Volume", 0x00, 0x0F, 0x00, 0x01, 0x20 }) Name (GRPA, Package (0x0F) { GAT1, GAT2, GAT3, GAT4, GAT5, GAT6, GAT7, GAT8, GAT9, GATA, GATB, GATC, GATD, GATE, GATF }) Method (GGRP, 1, NotSerialized) { If (LEqual (Arg0, 0xFF)) { Return (0x00) } If (LEqual (Arg0, 0x0A)) { Return (GRPA) } Else { Return (0x00) } } Method (GITM, 1, NotSerialized) { CreateDWordField (Arg0, 0x00, PRM0) ShiftRight (PRM0, 0x18, Local0) Store (0x01, ASB0) If (LEqual (Local0, 0xFF)) { Return (0x00) } If (LEqual (Local0, 0x0A)) { If (LEqual (And (PRM0, 0xFF), 0x01)) { Store (ShiftRight (And (MA18, 0x01), 0x00), ASB1) } If (LEqual (And (PRM0, 0xFF), 0x02)) { Store (ShiftRight (And (MA18, 0x02), 0x01), ASB1) } If (LEqual (And (PRM0, 0xFF), 0x03)) { Store (ShiftRight (And (MA18, 0x04), 0x02), ASB1) } If (LEqual (And (PRM0, 0xFF), 0x04)) { Store (ShiftRight (And (MA18, 0x08), 0x03), ASB1) } If (LEqual (And (PRM0, 0xFF), 0x05)) { Store (ShiftRight (And (MA18, 0x10), 0x04), ASB1) } If (LEqual (And (PRM0, 0xFF), 0x06)) { Store (ShiftRight (And (MA18, 0x20), 0x05), ASB1) } If (LEqual (And (PRM0, 0xFF), 0x07)) { Store (ShiftRight (And (MA18, 0x40), 0x06), ASB1) } If (LEqual (And (PRM0, 0xFF), 0x08)) { Store (ShiftRight (And (MA18, 0x80), 0x07), ASB1) } If (LEqual (And (PRM0, 0xFF), 0x09)) { Store (MA09, ASB1) } If (LEqual (And (PRM0, 0xFF), 0x0A)) { Store (MA0A, ASB1) } If (LEqual (And (PRM0, 0xFF), 0x0B)) { Store (MA0B, ASB1) } If (LEqual (And (PRM0, 0xFF), 0x0C)) { Store (MA0C, ASB1) } If (LEqual (And (PRM0, 0xFF), 0x0D)) { Store (MA0D, ASB1) } If (LEqual (And (PRM0, 0xFF), 0x0E)) { Store (MA0E, ASB1) } If (LEqual (And (PRM0, 0xFF), 0x0F)) { Store (MA0F, ASB1) } Return (ASBF) } Else { Return (0x00) } } Method (SITM, 1, NotSerialized) { CreateDWordField (Arg0, 0x00, PRM0) CreateDWordField (Arg0, 0x04, PRM1) CreateDWordField (Arg0, 0x08, PRM2) ShiftRight (PRM0, 0x18, Local0) Store (0x01, ASB0) If (LEqual (Local0, 0xFF)) { Return (0x00) } If (LEqual (Local0, 0x0A)) { If (LEqual (And (PRM0, 0xFF), 0x01)) { And (MA18, 0xFE, MA18) Or (MA18, ShiftLeft (And (PRM1, 0x01), 0x00), MA18) Store (0x32, AIP2) Store (0xB0, SCP) } If (LEqual (And (PRM0, 0xFF), 0x02)) { And (MA18, 0xFD, MA18) Or (MA18, ShiftLeft (And (PRM1, 0x01), 0x01), MA18) } If (LEqual (And (PRM0, 0xFF), 0x03)) { And (MA18, 0xFB, MA18) Or (MA18, ShiftLeft (And (PRM1, 0x01), 0x02), MA18) } If (LEqual (And (PRM0, 0xFF), 0x04)) { And (MA18, 0xF7, MA18) Or (MA18, ShiftLeft (And (PRM1, 0x01), 0x03), MA18) } If (LEqual (And (PRM0, 0xFF), 0x05)) { And (MA18, 0xEF, MA18) Or (MA18, ShiftLeft (And (PRM1, 0x01), 0x04), MA18) } If (LEqual (And (PRM0, 0xFF), 0x06)) { And (MA18, 0xDF, MA18) Or (MA18, ShiftLeft (And (PRM1, 0x01), 0x05), MA18) } If (LEqual (And (PRM0, 0xFF), 0x07)) { And (MA18, 0xBF, MA18) Or (MA18, ShiftLeft (And (PRM1, 0x01), 0x06), MA18) } If (LEqual (And (PRM0, 0xFF), 0x08)) { And (MA18, 0x7F, MA18) Or (MA18, ShiftLeft (And (PRM1, 0x01), 0x07), MA18) Store (0x32, AIP2) Store (0xB0, SCP) } If (LEqual (And (PRM0, 0xFF), 0x09)) { Store (And (PRM1, 0xFF), MA09) } If (LEqual (And (PRM0, 0xFF), 0x0A)) { Store (And (PRM1, 0xFF), MA0A) } If (LEqual (And (PRM0, 0xFF), 0x0B)) { Store (And (PRM1, 0xFF), MA0B) } If (LEqual (And (PRM0, 0xFF), 0x0C)) { Store (And (PRM1, 0xFF), MA0C) } If (LEqual (And (PRM0, 0xFF), 0x0D)) { Store (And (PRM1, 0xFF), MA0D) } If (LEqual (And (PRM0, 0xFF), 0x0E)) { Store (And (PRM1, 0xFF), MA0E) } If (LEqual (And (PRM0, 0xFF), 0x0F)) { Store (And (PRM1, 0xFF), MA0F) Store (0x33, AIP2) Store (0xB0, SCP) } Return (ASBF) } If (LEqual (Local0, 0x0B)) { Store (And (PRM1, 0xFF), AIP) Store (0x0B, AIP2) Store (0xB0, SCP) Return (0x00) } Else { Return (0x00) } } Method (SPRD, 2, NotSerialized) { Store (0x00, Local0) Store (0x01, Local2) While (Local2) { Multiply (Local0, 0x02, Local1) If (LEqual (DerefOf (Index (PRED, Local1)), Arg0)) { Add (Local1, 0x01, Local1) Store (Arg1, Index (PRED, Local1)) Store (0x00, Local2) } Increment (Local0) If (LEqual (Local0, 0x10)) { Store (0x00, Local2) } } } Method (GPRE, 1, NotSerialized) { If (Arg0) { Return (PREB) } Else { Return (PRED) } } Method (SPRE, 2, NotSerialized) { Store (0x00, Local0) Store (0x01, Local2) While (Local2) { Multiply (Local0, 0x02, Local1) If (LEqual (DerefOf (Index (PREB, Local1)), Arg0)) { Add (Local1, 0x01, Local1) Store (Arg1, Index (PREB, Local1)) Store (0x00, Local2) } Increment (Local0) If (LEqual (Local0, 0x10)) { Store (0x00, Local2) } } } Method (GCQV, 1, NotSerialized) { If (LEqual (Arg0, 0x00)) { Store (K8VL, Local0) Return (Local0) } Else { If (LEqual (Arg0, 0x01)) { Store (K8VH, Local0) Return (Local0) } Else { If (LEqual (Arg0, 0x02)) { If (LEqual (CNQC, 0x00)) { Store (0x01, Local0) } Else { Store (0x00, Local0) } Return (Local0) } } } } Method (SPLV, 1, Serialized) { If (LEqual (Arg0, 0x00)) { SCTC (0x00) } Else { ENGR (Arg0) } If (LNotEqual (And (Arg0, 0xFF), 0xFF)) { Store (Arg0, GELF) Store (Arg0, AIP) Store (0x0E, AIP2) Store (0xB0, SCP) } Else { Store (Arg0, AIP) Store (0x0B, AIP2) Store (0xB0, SCP) } Return (Arg0) } Method (GPLV, 0, Serialized) { Return (GELF) } Method (ENGR, 1, NotSerialized) { If (LEqual (Arg0, 0x01)) { SCTC (0x01) } If (LEqual (Arg0, 0x02)) { SCTC (0x04) } If (LEqual (Arg0, 0x03)) { SCTC (0x06) } If (LEqual (Arg0, 0x7FFF)) { SCTC (0x01) } } } Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,7,9,10,11,14,15} }) Name (BUFB, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, _Y06) {} }) CreateWordField (BUFB, \_SB.PCI0._Y06._INT, IRQV) Method (CRS, 1, NotSerialized) { If (Arg0) { ShiftLeft (0x01, Arg0, IRQV) } Else { Store (Zero, IRQV) } Return (BUFB) } Method (SRS, 1, NotSerialized) { CreateWordField (Arg0, 0x01, IRQ0) FindSetRightBit (IRQ0, Local0) Decrement (Local0) Return (Local0) } Method (CRSA, 1, Serialized) { Store (Arg0, Local0) If (LEqual (Arg0, 0x01)) { Store (0x17, Local0) } If (LEqual (Arg0, 0x02)) { Store (0x16, Local0) } If (LEqual (Arg0, 0x03)) { Store (0x10, Local0) } If (LEqual (Arg0, 0x04)) { Store (0x11, Local0) } If (LEqual (Arg0, 0x06)) { Store (0x12, Local0) } If (LEqual (Arg0, 0x08)) { Store (0x14, Local0) } If (LEqual (Arg0, 0x0C)) { Store (0x13, Local0) } If (LEqual (Arg0, 0x0D)) { Store (0x15, Local0) } Name (IRZ5, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, _Y07) { 0x00000007, } }) CreateWordField (IRZ5, \_SB.PCI0.CRSA._Y07._INT, INZ5) Store (Local0, INZ5) Return (IRZ5) } Method (SRSA, 1, Serialized) { CreateWordField (Arg0, 0x05, INZ6) Store (0x08, Local0) If (LEqual (INZ6, 0x10)) { Store (0x03, Local0) } If (LEqual (INZ6, 0x11)) { Store (0x04, Local0) } If (LEqual (INZ6, 0x12)) { Store (0x06, Local0) } If (LEqual (INZ6, 0x13)) { Store (0x0C, Local0) } If (LEqual (INZ6, 0x14)) { Store (0x08, Local0) } If (LEqual (INZ6, 0x15)) { Store (0x0D, Local0) } If (LEqual (INZ6, 0x16)) { Store (0x02, Local0) } If (LEqual (INZ6, 0x17)) { Store (0x01, Local0) } Return (Local0) } Device (LNK1) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x01) Method (_STA, 0, NotSerialized) { If (INTA) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTA) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTA)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTA) } } Device (LNK2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { If (INTB) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTB) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTB)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTB) } } Device (LNK3) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_STA, 0, NotSerialized) { If (INTC) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTC) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTC)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTC) } } Device (LNK4) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_STA, 0, NotSerialized) { If (INTD) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTD) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTD)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTD) } } Device (LNK5) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x05) Method (_STA, 0, NotSerialized) { If (PCEA) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, PCEA) } Method (_CRS, 0, NotSerialized) { Return (CRS (PCEA)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), PCEA) } } Device (LNK6) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x06) Method (_STA, 0, NotSerialized) { If (PCEB) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, PCEB) } Method (_CRS, 0, NotSerialized) { Return (CRS (PCEB)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), PCEB) } } Device (LNK7) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x07) Method (_STA, 0, NotSerialized) { If (PCEC) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, PCEC) } Method (_CRS, 0, NotSerialized) { Return (CRS (PCEC)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), PCEC) } } Device (LNK8) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) Method (_STA, 0, NotSerialized) { If (PCED) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, PCED) } Method (_CRS, 0, NotSerialized) { Return (CRS (PCED)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), PCED) } } Device (LP2P) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x09) Method (_STA, 0, NotSerialized) { If (INTU) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTU) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTU)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTU) } } Device (LUBA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0A) Method (_STA, 0, NotSerialized) { If (INTG) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTG) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTG)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTG) } } Device (LMAC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0B) Method (_STA, 0, NotSerialized) { If (INTJ) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTJ) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTJ)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTJ) } } Device (LAZA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0D) Method (_STA, 0, NotSerialized) { If (INTK) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTK) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTK)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTK) } } Device (LPMU) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0E) Method (_STA, 0, NotSerialized) { If (INTS) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTS) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTS)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTS) } } Device (LSMB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0F) Method (_STA, 0, NotSerialized) { If (INTF) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTF) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTF)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTF) } } Device (LUB2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x10) Method (_STA, 0, NotSerialized) { If (INTQ) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTQ) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTQ)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTQ) } } Device (LIDE) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x11) Method (_STA, 0, NotSerialized) { If (INTN) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTN) } Method (_CRS, 0, NotSerialized) { Return (CRS (INTN)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), INTN) } } Device (LSID) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x12) Method (_STA, 0, NotSerialized) { If (ITID) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, ITID) } Method (_CRS, 0, NotSerialized) { Return (CRS (ITID)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), ITID) } } Device (LFID) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x13) Method (_STA, 0, NotSerialized) { If (IS0P) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, IS0P) } Method (_CRS, 0, NotSerialized) { Return (CRS (IS0P)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), IS0P) } } Device (LSA2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x14) Method (_STA, 0, NotSerialized) { If (ISA2) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFA) } Method (_DIS, 0, NotSerialized) { Store (0x00, ISA2) } Method (_CRS, 0, NotSerialized) { Return (CRS (ISA2)) } Method (_SRS, 1, NotSerialized) { Store (SRS (Arg0), ISA2) } } Name (BUF1, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) { 0x00000010, } }) Name (BUF2, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) { 0x00000011, } }) Name (BUF3, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) { 0x00000012, } }) Name (BUF4, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) { 0x00000013, } }) Name (BUFF, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) { 0x00000014, 0x00000015, 0x00000016, 0x00000017, } }) Name (BUFH, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) { 0x0000000B, } }) Name (BUFI, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) { 0x00000017, } }) Name (IRZ1, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared, ,, ) { 0x00000007, } }) Device (APC1) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x15) Method (_STA, 0, NotSerialized) { If (LAnd (INTA, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUF1) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTA) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTA)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTA) } } Device (APC2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x16) Method (_STA, 0, NotSerialized) { If (LAnd (INTB, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUF2) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTB) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTB)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTB) } } Device (APC3) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x17) Method (_STA, 0, NotSerialized) { If (LAnd (INTC, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUF3) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTC) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTC)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTC) } } Device (APC4) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x18) Method (_STA, 0, NotSerialized) { If (LAnd (INTD, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUF4) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTD) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTD)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTD) } } Device (APC5) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x19) Method (_STA, 0, NotSerialized) { If (LAnd (PCEA, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUF1) } Method (_DIS, 0, NotSerialized) { Store (0x00, PCEA) } Method (_CRS, 0, NotSerialized) { Return (CRSA (PCEA)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), PCEA) } } Device (APC6) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1A) Method (_STA, 0, NotSerialized) { If (LAnd (PCEB, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUF1) } Method (_DIS, 0, NotSerialized) { Store (0x00, PCEB) } Method (_CRS, 0, NotSerialized) { Return (CRSA (PCEB)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), PCEB) } } Device (APC7) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1B) Method (_STA, 0, NotSerialized) { If (LAnd (PCEC, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUF1) } Method (_DIS, 0, NotSerialized) { Store (0x00, PCEC) } Method (_CRS, 0, NotSerialized) { Return (CRSA (PCEC)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), PCEC) } } Device (APC8) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1C) Method (_STA, 0, NotSerialized) { If (LAnd (PCED, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUF1) } Method (_DIS, 0, NotSerialized) { Store (0x00, PCED) } Method (_CRS, 0, NotSerialized) { Return (CRSA (PCED)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), PCED) } } Device (APCF) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1D) Method (_STA, 0, NotSerialized) { If (LAnd (INTG, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTG) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTG)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTG) } } Device (APCH) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x1E) Method (_STA, 0, NotSerialized) { If (LAnd (INTJ, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTJ) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTJ)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTJ) } } Device (APMU) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x20) Method (_STA, 0, NotSerialized) { If (LAnd (INTS, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTS) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTS)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTS) } } Device (AAZA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x21) Method (_STA, 0, NotSerialized) { If (LAnd (INTK, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTK) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTK)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTK) } } Device (APCS) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x22) Method (_STA, 0, NotSerialized) { If (LAnd (INTF, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTF) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTF)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTF) } } Device (APCL) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x23) Method (_STA, 0, NotSerialized) { If (LAnd (INTQ, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTQ) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTQ)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTQ) } } Device (APCM) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x24) Method (_STA, 0, NotSerialized) { If (LAnd (INTU, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTU) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTU)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTU) } } Device (APCZ) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x25) Method (_STA, 0, NotSerialized) { If (LAnd (INTN, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_DIS, 0, NotSerialized) { Store (0x00, INTN) } Method (_CRS, 0, NotSerialized) { Return (CRSA (INTN)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), INTN) } } Device (APSI) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x26) Method (_STA, 0, NotSerialized) { If (LAnd (ITID, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, NotSerialized) { Store (0x00, ITID) } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_CRS, 0, NotSerialized) { Return (CRSA (ITID)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), ITID) } } Device (APSJ) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x27) Method (_STA, 0, NotSerialized) { If (LAnd (IS0P, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, NotSerialized) { Store (0x00, IS0P) } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_CRS, 0, NotSerialized) { Return (CRSA (IS0P)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), IS0P) } } Device (ASA2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x28) Method (_STA, 0, NotSerialized) { If (LAnd (ISA2, PICF)) { Return (0x0B) } Else { Return (0x09) } } Method (_DIS, 0, NotSerialized) { Store (0x00, ISA2) } Method (_PRS, 0, NotSerialized) { Return (BUFF) } Method (_CRS, 0, NotSerialized) { Return (CRSA (ISA2)) } Method (_SRS, 1, NotSerialized) { Store (SRSA (Arg0), ISA2) } } Scope (\) { OperationRegion (\SCPP, SystemIO, 0x142E, 0x01) Field (\SCPP, ByteAcc, NoLock, Preserve) { SMIP, 8 } } Method (\_SB.PCI0._INI, 0, NotSerialized) { If (STRC (\_OS, "Microsoft Windows")) { Store (0x56, SMIP) } Else { If (STRC (\_OS, "Microsoft Windows NT")) { If (CondRefOf (\_OSI, Local0)) { If (\_OSI ("Windows 2001")) { Store (0x59, SMIP) Store (0x00, OSFL) Store (0x03, OSFX) } } Else { Store (0x58, SMIP) Store (0x00, OSFX) Store (0x00, OSFL) } } Else { Store (0x57, SMIP) Store (0x02, OSFX) Store (0x02, OSFL) } } Name (TEMP, 0x00) Store (UA1D, TEMP) And (TEMP, 0x0F, TEMP) If (LEqual (TEMP, 0x01)) { Store (0x01, UARA) } If (LEqual (TEMP, 0x02)) { Store (0x02, UARA) } If (LEqual (TEMP, 0x03)) { Store (0x20, UARA) } If (LEqual (TEMP, 0x04)) { Store (0x80, UARA) } Store (UA1D, TEMP) And (TEMP, 0xF0, TEMP) ShiftRight (TEMP, 0x04, TEMP) If (LEqual (TEMP, 0x01)) { Store (0x01, UARB) } If (LEqual (TEMP, 0x02)) { Store (0x02, UARB) } If (LEqual (TEMP, 0x03)) { Store (0x20, UARB) } If (LEqual (TEMP, 0x04)) { Store (0x80, UARB) } } Scope (\) { Method (OSTP, 0, NotSerialized) { If (LEqual (OSFX, 0x01)) { Store (0x56, SMIP) } If (LEqual (OSFX, 0x02)) { Store (0x57, SMIP) } If (LEqual (OSFX, 0x00)) { Store (0x58, SMIP) } If (LEqual (OSFX, 0x03)) { Store (0x59, SMIP) } } } Device (SYSR) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x01) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0010, // Range Minimum 0x0010, // Range Maximum 0x01, // Alignment 0x10, // Length ) IO (Decode16, 0x0022, // Range Minimum 0x0022, // Range Maximum 0x01, // Alignment 0x1E, // Length ) IO (Decode16, 0x0044, // Range Minimum 0x0044, // Range Maximum 0x01, // Alignment 0x1C, // Length ) IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0065, // Range Minimum 0x0065, // Range Maximum 0x01, // Alignment 0x0B, // Length ) IO (Decode16, 0x0074, // Range Minimum 0x0074, // Range Maximum 0x01, // Alignment 0x0C, // Length ) IO (Decode16, 0x0091, // Range Minimum 0x0091, // Range Maximum 0x01, // Alignment 0x03, // Length ) IO (Decode16, 0x00A2, // Range Minimum 0x00A2, // Range Maximum 0x01, // Alignment 0x1E, // Length ) IO (Decode16, 0x00E0, // Range Minimum 0x00E0, // Range Maximum 0x01, // Alignment 0x10, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x0800, // Range Minimum 0x0800, // Range Maximum 0x01, // Alignment 0x80, // Length ) IO (Decode16, 0x0290, // Range Minimum 0x0290, // Range Maximum 0x01, // Alignment 0x08, // Length ) }) } Device (PIC) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, // Range Minimum 0x0020, // Range Maximum 0x01, // Alignment 0x02, // Length ) IO (Decode16, 0x00A0, // Range Minimum 0x00A0, // Range Maximum 0x01, // Alignment 0x02, // Length ) IRQNoFlags () {2} }) } Device (DMA1) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { DMA (Compatibility, BusMaster, Transfer8, ) {4} IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x10, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x01, // Alignment 0x11, // Length ) IO (Decode16, 0x0094, // Range Minimum 0x0094, // Range Maximum 0x01, // Alignment 0x0C, // Length ) IO (Decode16, 0x00C0, // Range Minimum 0x00C0, // Range Maximum 0x01, // Alignment 0x20, // Length ) }) } Device (TMR) { Name (_HID, EisaId ("PNP0100")) Name (ATT5, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x00, // Alignment 0x04, // Length ) IRQNoFlags () {0} }) Name (ATT6, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x00, // Alignment 0x04, // Length ) }) Method (_CRS, 0, NotSerialized) { If (LEqual (OSFX, 0x03)) { If (HPTF) { Return (ATT6) } Else { Return (ATT5) } } Else { Return (ATT5) } } } Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (ATT3, ResourceTemplate () { IRQNoFlags () {0} IRQNoFlags () {8} Memory32Fixed (ReadWrite, 0xFEFFF000, // Address Base 0x00000400, // Address Length ) }) Name (ATT4, ResourceTemplate () { }) Method (_STA, 0, NotSerialized) { If (LEqual (OSFX, 0x03)) { If (HPTF) { Return (0x0F) } Else { Return (0x00) } } Else { Return (0x00) } } Method (_CRS, 0, NotSerialized) { If (LEqual (OSFX, 0x03)) { If (HPTF) { Return (ATT3) } Else { Return (ATT4) } } Else { Return (ATT4) } } } Device (RTC) { Name (_HID, EisaId ("PNP0B00")) Name (ATT0, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x04, // Length ) IRQNoFlags () {8} }) Name (ATT1, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x04, // Length ) }) Method (_CRS, 0, NotSerialized) { If (LEqual (OSFX, 0x03)) { If (HPTF) { Return (ATT1) } Else { Return (ATT0) } } Else { Return (ATT0) } } } Device (SPKR) { Name (_HID, EisaId ("PNP0800")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0061, // Range Minimum 0x0061, // Range Maximum 0x01, // Alignment 0x01, // Length ) }) } Device (COPR) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum 0x01, // Alignment 0x10, // Length ) IRQNoFlags () {13} }) } Scope (\) { OperationRegion (WIN1, SystemIO, 0x2E, 0x02) Field (WIN1, ByteAcc, NoLock, Preserve) { INDP, 8, DATP, 8 } IndexField (INDP, DATP, ByteAcc, NoLock, Preserve) { Offset (0x02), CFG, 8, Offset (0x07), LDN, 8, Offset (0x20), IDHI, 8, IDLO, 8, POWC, 8, Offset (0x30), ACTR, 8, Offset (0x60), IOAH, 8, IOAL, 8, IO2H, 8, IO2L, 8, Offset (0x70), INTR, 8, Offset (0x72), INT1, 8, Offset (0x74), DMCH, 8, Offset (0xF0), OPT1, 8, OPT2, 8, OPT3, 8 } Method (ENFG, 0, NotSerialized) { Store (0x87, INDP) Store (0x01, INDP) Store (0x55, INDP) Store (0x55, INDP) Or (POWC, 0x80, POWC) } Method (EXFG, 0, NotSerialized) { Store (0x02, CFG) } Method (GSRG, 1, NotSerialized) { Store (Arg0, INDP) Return (DATP) } Method (SSRG, 2, NotSerialized) { Store (Arg0, INDP) Store (Arg1, DATP) } } Device (FDC0) { Name (_HID, EisaId ("PNP0700")) Method (_STA, 0, NotSerialized) { ENFG () Store (Zero, LDN) If (ACTR) { EXFG () Return (0x0F) } Else { If (LOr (IOAH, IOAL)) { EXFG () Return (0x0D) } Else { EXFG () Return (0x00) } } } Method (_DIS, 0, NotSerialized) { ENFG () Store (0x00, LDN) Store (Zero, ACTR) SLDM (DMCH, 0x04) EXFG () DISD (0x03) } Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { IO (Decode16, 0x03F0, // Range Minimum 0x03F0, // Range Maximum 0x01, // Alignment 0x06, // Length _Y08) IO (Decode16, 0x03F7, // Range Minimum 0x03F7, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQNoFlags () {6} DMA (Compatibility, NotBusMaster, Transfer8, ) {2} }) CreateByteField (BUF0, \_SB.PCI0.FDC0._CRS._Y08._MIN, IOLO) CreateByteField (BUF0, 0x03, IOHI) CreateByteField (BUF0, \_SB.PCI0.FDC0._CRS._Y08._MAX, IORL) CreateByteField (BUF0, 0x05, IORH) ENFG () EXFG () Return (BUF0) } Name (_PRS, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x03F0, // Range Minimum 0x03F0, // Range Maximum 0x01, // Alignment 0x06, // Length ) IO (Decode16, 0x03F7, // Range Minimum 0x03F7, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQNoFlags () {6} DMA (Compatibility, NotBusMaster, Transfer8, ) {2} } EndDependentFn () }) Method (_SRS, 1, NotSerialized) { CreateByteField (Arg0, 0x02, IOLO) CreateByteField (Arg0, 0x03, IOHI) CreateWordField (Arg0, 0x02, IOAD) CreateWordField (Arg0, 0x19, IRQW) CreateByteField (Arg0, 0x1C, DMAV) ENFG () Store (Zero, LDN) Store (One, ACTR) SLDM (DMCH, DMCH) CKIO (IOAD, 0x03) EXFG () } } Device (UAR1) { Name (_HID, EisaId ("PNP0501")) Name (_UID, 0x01) Method (_STA, 0, NotSerialized) { ENFG () Store (0x01, LDN) If (ACTR) { EXFG () Return (0x0F) } Else { If (LOr (IOAH, IOAL)) { EXFG () Return (0x0D) } Else { EXFG () Return (0x00) } } EXFG () } Method (_DIS, 0, NotSerialized) { ENFG () Store (0x01, LDN) Store (Zero, ACTR) EXFG () DISD (0x00) } Method (_CRS, 0, NotSerialized) { Name (BUF1, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x08, // Length _Y09) IRQNoFlags (_Y0A) {} }) CreateByteField (BUF1, \_SB.PCI0.UAR1._CRS._Y09._MIN, IOLO) CreateByteField (BUF1, 0x03, IOHI) CreateByteField (BUF1, \_SB.PCI0.UAR1._CRS._Y09._MAX, IORL) CreateByteField (BUF1, 0x05, IORH) CreateWordField (BUF1, \_SB.PCI0.UAR1._CRS._Y0A._INT, IRQW) ENFG () Store (0x01, LDN) Store (IOAL, IOLO) Store (IOAL, IORL) Store (IOAH, IOHI) Store (IOAH, IORH) Store (One, Local0) ShiftLeft (Local0, INTR, IRQW) EXFG () Return (BUF1) } Name (_PRS, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } EndDependentFn () }) Method (_SRS, 1, NotSerialized) { CreateByteField (Arg0, 0x02, IOLO) CreateByteField (Arg0, 0x03, IOHI) CreateWordField (Arg0, 0x02, IOAD) CreateWordField (Arg0, 0x09, IRQW) ENFG () Store (0x01, LDN) Store (One, ACTR) Store (IOLO, IOAL) Store (IOHI, IOAH) FindSetRightBit (IRQW, Local0) Subtract (Local0, 0x01, INTR) EXFG () CKIO (IOAD, 0x00) } } Device (UAR2) { Method (_HID, 0, NotSerialized) { ENFG () Store (0x02, LDN) And (OPT1, 0x70, Local0) If (LEqual (Local0, 0x40)) { Return (0x05878526) } Else { Return (0x0105D041) } EXFG () } Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { ENFG () Store (0x02, LDN) And (OPT1, 0x70, Local0) If (LNotEqual (Local0, 0x10)) { If (ACTR) { EXFG () Return (0x0F) } Else { If (LOr (IOAH, IOAL)) { EXFG () Return (0x0D) } Else { EXFG () Return (0x00) } } } Else { EXFG () Return (0x00) } } Method (_DIS, 0, NotSerialized) { ENFG () Store (0x02, LDN) Store (Zero, ACTR) EXFG () DISD (0x01) } Method (_CRS, 0, NotSerialized) { Name (BUF2, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x08, // Length _Y0B) IRQNoFlags (_Y0C) {4} }) CreateByteField (BUF2, \_SB.PCI0.UAR2._CRS._Y0B._MIN, IOLO) CreateByteField (BUF2, 0x03, IOHI) CreateByteField (BUF2, \_SB.PCI0.UAR2._CRS._Y0B._MAX, IORL) CreateByteField (BUF2, 0x05, IORH) CreateWordField (BUF2, \_SB.PCI0.UAR2._CRS._Y0C._INT, IRQW) ENFG () Store (0x02, LDN) Store (IOAL, IOLO) Store (IOAL, IORL) Store (IOAH, IOHI) Store (IOAH, IORH) Store (One, Local0) ShiftLeft (Local0, INTR, IRQW) EXFG () Return (BUF2) } Name (_PRS, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } EndDependentFn () }) Method (_SRS, 1, NotSerialized) { CreateByteField (Arg0, 0x02, IOLO) CreateByteField (Arg0, 0x03, IOHI) CreateWordField (Arg0, 0x02, IOAD) CreateWordField (Arg0, 0x09, IRQW) ENFG () Store (0x02, LDN) Store (One, ACTR) Store (IOLO, IOAL) Store (IOHI, IOAH) FindSetRightBit (IRQW, Local0) Subtract (Local0, 0x01, INTR) EXFG () CKIO (IOAD, 0x01) } } Method (\_SB.PCI0.UAR2._PRW, 0, NotSerialized) { Return (Package (0x02) { 0x03, 0x05 }) } Device (LPT1) { Name (_HID, EisaId ("PNP0400")) Name (_UID, 0x01) Method (_STA, 0, NotSerialized) { ENFG () Store (0x03, LDN) And (OPT1, 0x02, Local0) If (LNotEqual (Local0, 0x02)) { If (ACTR) { EXFG () Return (0x0F) } Else { If (LOr (IOAH, IOAL)) { EXFG () Return (0x0D) } Else { EXFG () Return (0x00) } } } Else { EXFG () Return (0x00) } } Method (_DIS, 0, NotSerialized) { ENFG () Store (0x03, LDN) Store (Zero, ACTR) EXFG () DISD (0x02) } Method (_CRS, 0, NotSerialized) { Name (BUF5, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x08, // Length _Y0D) IRQNoFlags (_Y0E) {} }) CreateByteField (BUF5, \_SB.PCI0.LPT1._CRS._Y0D._MIN, IOLO) CreateByteField (BUF5, 0x03, IOHI) CreateByteField (BUF5, \_SB.PCI0.LPT1._CRS._Y0D._MAX, IORL) CreateByteField (BUF5, 0x05, IORH) CreateByteField (BUF5, \_SB.PCI0.LPT1._CRS._Y0D._LEN, IOLE) CreateWordField (BUF5, \_SB.PCI0.LPT1._CRS._Y0E._INT, IRQW) ENFG () Store (0x03, LDN) Store (IOAL, IOLO) Store (IOLO, IORL) Store (IOAH, IOHI) Store (IOHI, IORH) If (LEqual (IOLO, 0xBC)) { Store (0x04, IOLE) } Else { Store (0x08, IOLE) } Store (One, Local0) Store (INTR, Local5) ShiftLeft (Local0, Local5, IRQW) EXFG () Return (BUF5) } Name (_PRS, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x0378, // Range Minimum 0x0378, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } StartDependentFnNoPri () { IO (Decode16, 0x0278, // Range Minimum 0x0278, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } StartDependentFnNoPri () { IO (Decode16, 0x03BC, // Range Minimum 0x03BC, // Range Maximum 0x01, // Alignment 0x04, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} } EndDependentFn () }) Method (_SRS, 1, NotSerialized) { CreateByteField (Arg0, 0x02, IOLO) CreateByteField (Arg0, 0x03, IOHI) CreateWordField (Arg0, 0x02, IOAD) CreateByteField (Arg0, 0x04, IORL) CreateByteField (Arg0, 0x05, IORH) CreateWordField (Arg0, 0x09, IRQW) ENFG () Store (0x03, LDN) Store (One, ACTR) Store (IOLO, IOAL) Store (IOHI, IOAH) FindSetLeftBit (IRQW, Local0) Subtract (Local0, 0x01, Local0) Store (Local0, INTR) EXFG () CKIO (IOAD, 0x02) } } Device (ECP1) { Name (_HID, EisaId ("PNP0401")) Name (_UID, 0x01) Method (_STA, 0, NotSerialized) { ENFG () Store (0x03, LDN) And (OPT1, 0x02, Local0) If (LEqual (Local0, 0x02)) { If (ACTR) { EXFG () Return (0x0F) } Else { If (LOr (IOAH, IOAL)) { EXFG () Return (0x0D) } Else { EXFG () Return (0x00) } } } Else { EXFG () Return (0x00) } } Method (_DIS, 0, NotSerialized) { ENFG () Store (0x03, LDN) Store (Zero, ACTR) SLDM (DMCH, 0x04) EXFG () DISD (0x02) } Method (_CRS, 0, NotSerialized) { Name (BUF6, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x04, // Length _Y0F) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x04, // Length _Y10) IRQNoFlags (_Y11) {} DMA (Compatibility, NotBusMaster, Transfer8, _Y12) {} }) CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y0F._MIN, IOLO) CreateByteField (BUF6, 0x03, IOHI) CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y0F._MAX, IORL) CreateByteField (BUF6, 0x05, IORH) CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y0F._LEN, IOLE) CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y10._MIN, IOEL) CreateByteField (BUF6, 0x0B, IOEH) CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y10._MAX, IOML) CreateByteField (BUF6, 0x0D, IOMH) CreateWordField (BUF6, \_SB.PCI0.ECP1._CRS._Y11._INT, IRQW) CreateByteField (BUF6, \_SB.PCI0.ECP1._CRS._Y12._DMA, DMAC) ENFG () Store (0x03, LDN) Store (IOAL, Local2) Store (Local2, IOLO) Store (IOAH, Local3) Store (Local3, IOHI) Or (Local3, 0x04, Local3) Store (Local3, IOEH) Store (Local3, IOMH) Store (IOLO, IORL) Store (IOLO, IOEL) Store (IOLO, IOML) Store (IOHI, IORH) If (LEqual (IOLO, 0xBC)) { Store (0x04, IOLE) } Else { Store (0x08, IOLE) } Store (One, Local0) Store (INTR, Local5) ShiftLeft (Local0, Local5, IRQW) Store (One, Local0) Store (DMCH, Local5) ShiftLeft (Local0, Local5, DMAC) EXFG () Return (BUF6) } Name (_PRS, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x0378, // Range Minimum 0x0378, // Range Maximum 0x00, // Alignment 0x08, // Length ) IO (Decode16, 0x0778, // Range Minimum 0x0778, // Range Maximum 0x00, // Alignment 0x04, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,3} } StartDependentFnNoPri () { IO (Decode16, 0x0278, // Range Minimum 0x0278, // Range Maximum 0x00, // Alignment 0x08, // Length ) IO (Decode16, 0x0678, // Range Minimum 0x0678, // Range Maximum 0x00, // Alignment 0x04, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,3} } StartDependentFnNoPri () { IO (Decode16, 0x03BC, // Range Minimum 0x03BC, // Range Maximum 0x00, // Alignment 0x04, // Length ) IO (Decode16, 0x07BC, // Range Minimum 0x07BC, // Range Maximum 0x00, // Alignment 0x04, // Length ) IRQNoFlags () {3,4,5,7,9,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,3} } EndDependentFn () }) Method (_SRS, 1, NotSerialized) { CreateByteField (Arg0, 0x02, IOLO) CreateByteField (Arg0, 0x03, IOHI) CreateWordField (Arg0, 0x02, IOAD) CreateWordField (Arg0, 0x11, IRQW) CreateByteField (Arg0, 0x14, DMAC) ENFG () Store (0x03, LDN) Store (One, ACTR) Store (IOLO, IOAL) Store (IOHI, IOAH) FindSetLeftBit (IRQW, Local0) Subtract (Local0, 0x01, Local0) Store (Local0, INTR) FindSetLeftBit (DMAC, Local1) Store (DMCH, Local0) Subtract (Local1, 0x01, DMCH) SLDM (Local0, DMCH) EXFG () CKIO (IOAD, 0x02) } } OperationRegion (KBCT, SystemIO, 0x60, 0x05) Field (KBCT, ByteAcc, NoLock, Preserve) { P060, 8, Offset (0x04), P064, 8 } Device (PS2M) { Name (_HID, EisaId ("PNP0F13")) Method (_STA, 0, NotSerialized) { If (LEqual (PS2F, 0x00)) { Return (0x0F) } Else { Return (0x00) } } Method (_CRS, 0, NotSerialized) { Name (BUF1, ResourceTemplate () { IRQNoFlags () {12} }) Name (BUF2, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQNoFlags () {12} }) If (LEqual (KBDI, 0x01)) { If (LEqual (OSFL, 0x02)) { Return (BUF1) } If (LEqual (OSFL, 0x01)) { Return (BUF1) } Else { Return (BUF2) } } Else { Return (BUF1) } } } Device (PS2K) { Name (_HID, EisaId ("PNP0303")) Name (_CID, 0x0B03D041) Method (_STA, 0, NotSerialized) { If (LEqual (KBDI, 0x01)) { Return (0x00) } Else { Return (0x0F) } } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x01, // Alignment 0x01, // Length ) IRQNoFlags () {1} }) } Device (PSMR) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x03) Method (_STA, 0, NotSerialized) { If (LEqual (KBDI, 0x00)) { Return (0x00) } If (LEqual (PS2F, 0x00)) { If (LEqual (OSFL, 0x02)) { Return (0x0F) } If (LEqual (OSFL, 0x01)) { Return (0x0F) } Return (0x00) } Return (0x00) } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x01, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x01, // Alignment 0x01, // Length ) }) } Method (PS2W, 0, NotSerialized) { ENFG () Store (GSRG (0x07), Local0) SSRG (0x07, 0x04) Store (GSRG (0xF1), Local1) If (And (Local1, 0x10)) { Notify (\_SB.PCI0.PS2M, 0x02) } If (And (Local1, 0x08)) { Notify (\_SB.PCI0.PS2K, 0x02) } SSRG (0xF1, 0xFF) SSRG (0x07, Local0) EXFG () } Method (\_SB.PCI0.PS2M._PSW, 1, NotSerialized) { If (Arg0) { Or (WAKF, 0x02, WAKF) } Else { And (WAKF, Not (0x02), WAKF) } } Method (\_SB.PCI0.PS2K._PSW, 1, NotSerialized) { If (Arg0) { Or (WAKF, 0x01, WAKF) } Else { And (WAKF, Not (0x01), WAKF) } } Method (\_SB.PCI0.UAR1._PRW, 0, NotSerialized) { Return (Package (0x02) { 0x03, 0x05 }) } Method (\_SB.PCI0.PS2K._PRW, 0, NotSerialized) { Return (Package (0x02) { 0x10, 0x04 }) } Method (\_SB.PCI0.PS2M._PRW, 0, NotSerialized) { Return (Package (0x02) { 0x10, 0x04 }) } } OperationRegion (ACPM, SystemMemory, 0xBFEE2C00, 0x0400) Field (ACPM, ByteAcc, NoLock, Preserve) { FSBF, 16, MULF, 8, NOS1, 8, NOS2, 8, AITU, 8, NOSM, 8, VCRV, 8, DDRV, 8, QFNE, 8, QFTE, 8, CNQC, 8, K8VH, 16, K8VL, 16, K8HT, 8, MMCM, 8, MUCM, 8, DRVC, 8, CVCM, 8, MVCM, 16, FIDC, 8, AIBC, 8, AIP, 8, AIP2, 8, PM01, 8, PM02, 8, PM03, 8, PM04, 8, PM05, 8, PM06, 8, PM07, 8, PM08, 8, PM09, 8, PM0A, 8, PM0B, 8, PM0C, 8, GELF, 8, MA18, 8, MA09, 8, MA0A, 8, MA0B, 8, MA0C, 8, MA0D, 8, MA0E, 8, MA0F, 8, WAKF, 8 } Device (MEM) { Name (_HID, EisaId ("PNP0C01")) Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x000F0000, // Address Base 0x00004000, // Address Length _Y14) Memory32Fixed (ReadWrite, 0x000F4000, // Address Base 0x00004000, // Address Length _Y15) Memory32Fixed (ReadWrite, 0x000F8000, // Address Base 0x00004000, // Address Length _Y16) Memory32Fixed (ReadWrite, 0x000FC000, // Address Base 0x00004000, // Address Length _Y17) Memory32Fixed (ReadWrite, 0xFEFFF000, // Address Base 0x00000100, // Address Length ) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00010000, // Address Length _Y13) Memory32Fixed (ReadWrite, 0xFFFF0000, // Address Base 0x00010000, // Address Length ) Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x000A0000, // Address Length ) Memory32Fixed (ReadWrite, 0x00100000, // Address Base 0x00000000, // Address Length _Y18) Memory32Fixed (ReadWrite, 0xFEC00000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEE00000, // Address Base 0x00100000, // Address Length ) Memory32Fixed (ReadWrite, 0xFEFFF000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFFF80000, // Address Base 0x00001000, // Address Length ) Memory32Fixed (ReadWrite, 0xFFF90000, // Address Base 0x00030000, // Address Length ) Memory32Fixed (ReadWrite, 0xFFFED000, // Address Base 0x00003000, // Address Length ) }) CreateDWordField (BUF0, \_SB.MEM._CRS._Y13._BAS, ACMM) CreateDWordField (BUF0, \_SB.MEM._CRS._Y13._LEN, ASSM) CreateDWordField (BUF0, \_SB.MEM._CRS._Y14._BAS, RMA1) CreateDWordField (BUF0, \_SB.MEM._CRS._Y14._LEN, RSS1) CreateDWordField (BUF0, \_SB.MEM._CRS._Y15._BAS, RMA2) CreateDWordField (BUF0, \_SB.MEM._CRS._Y15._LEN, RSS2) CreateDWordField (BUF0, \_SB.MEM._CRS._Y16._BAS, RMA3) CreateDWordField (BUF0, \_SB.MEM._CRS._Y16._LEN, RSS3) CreateDWordField (BUF0, \_SB.MEM._CRS._Y17._BAS, RMA4) CreateDWordField (BUF0, \_SB.MEM._CRS._Y17._LEN, RSS4) CreateDWordField (BUF0, \_SB.MEM._CRS._Y18._LEN, EXTM) Subtract (AMEM, 0x00100000, EXTM) If (LNotEqual (ROM1, Zero)) { Store (RMA1, RMA2) ShiftLeft (ROM1, 0x08, Local0) Store (Local0, RMA1) ShiftLeft (RMS1, 0x08, Local0) Store (Local0, RSS1) Store (0x8000, RSS2) } If (LNotEqual (ROM2, Zero)) { Store (RMA2, RMA3) ShiftLeft (ROM2, 0x08, Local0) Store (Local0, RMA2) ShiftLeft (RMS2, 0x08, Local0) Store (Local0, RSS2) Store (0xC000, RSS3) } If (LNotEqual (ROM3, Zero)) { Store (RMA3, RMA4) ShiftLeft (ROM3, 0x08, Local0) Store (Local0, RMA3) ShiftLeft (RMS3, 0x08, Local0) Store (Local0, RSS3) Store (0x00010000, RSS4) } Store (AMEM, ACMM) And (AMEM, 0x000FFFFF, Local0) Subtract (0x00100000, Local0, ASSM) Return (BUF0) } } Device (\_SB.PCI0.EXPL) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x04) Method (_CRS, 0, NotSerialized) { Name (BUF0, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x00000000, // Address Length ) }) Return (BUF0) } } } OperationRegion (TEMM, SystemMemory, 0x000FF810, 0x0C) Field (TEMM, WordAcc, NoLock, Preserve) { TP1H, 16, TP1L, 16, TP2H, 16, TP2L, 16, TRPC, 16, SENF, 16 } Name (TVAR, Buffer (0x05) { 0x00, 0x00, 0x00, 0x00, 0x00 }) CreateByteField (TVAR, 0x00, PLCY) CreateWordField (TVAR, 0x01, CTOS) CreateWordField (TVAR, 0x03, CTHY) Name (TBUF, Buffer (0x04) { 0x00, 0x00, 0x00, 0x00 }) CreateByteField (TBUF, 0x00, DB00) CreateByteField (TBUF, 0x01, DB01) CreateWordField (TBUF, 0x00, DW00) CreateWordField (TBUF, 0x02, DW01) CreateDWordField (TBUF, 0x00, DATD) OperationRegion (IP, SystemIO, 0x0295, 0x02) Field (IP, ByteAcc, NoLock, Preserve) { INDX, 8, DAT0, 8 } Method (SCFG, 1, NotSerialized) { SBYT (0x40, Arg0) } Method (STOS, 3, NotSerialized) { Divide (Arg2, 0x0A, Local0) If (LGreater (Local0, 0x0111)) { Subtract (Local0, 0x0111, Local0) } Else { Subtract (0x0111, Local0, Local0) Or (Local0, 0x80, Local0) } SBYT (0x40, Local0) } Method (STHY, 3, NotSerialized) { Divide (Arg2, 0x0A, Local0) If (LGreater (Local0, 0x0111)) { Subtract (Local0, 0x0111, Local0) } Else { Subtract (0x0111, Local0, Local0) Or (Local0, 0x80, Local0) } SBYT (0x41, Local0) } Method (RTMP, 0, NotSerialized) { Store (GBYT (0x29), Local0) FindSetLeftBit (Local0, Local1) If (LEqual (Local1, 0x08)) { And (Local0, 0x7F, Local0) Multiply (Local0, 0x0A, Local0) Subtract (0x0AAC, Local0, Local0) } Else { Multiply (Local0, 0x0A, Local0) Add (0x0AAC, Local0, Local0) } If (LEqual (SSHU, 0x01)) { Return (0x0C3C) } Else { Return (Local0) } } Method (SBYT, 2, NotSerialized) { Store (Arg0, INDX) Store (Arg1, DAT0) } Method (GBYT, 1, NotSerialized) { Store (Arg0, INDX) Store (DAT0, Local0) Return (Local0) } Method (SFAN, 1, NotSerialized) { And (SENF, 0x02, Local0) If (LEqual (Local0, Zero)) { If (LEqual (Arg0, Zero)) { FOFF () } Else { FON () } } } Method (FON, 0, NotSerialized) { SBYT (0x14, 0x00) } Method (FOFF, 0, NotSerialized) { XOr (0x00, 0x07, Local0) SBYT (0x14, Local0) } Scope (\_TZ) { Device (FAN) { Name (_HID, EisaId ("PNP0C0B")) Method (_INI, 0, NotSerialized) { Store (TP1H, CTOS) Store (TP1L, CTHY) } } ThermalZone (THRM) { Name (_AL0, Package (0x01) { FAN }) Method (_INI, 0, NotSerialized) { } Method (_AC0, 0, NotSerialized) { If (Or (PLCY, PLCY, Local7)) { Return (KELA (TP2H)) } Else { Return (KELA (TP1H)) } } Name (_PSL, Package (0x01) { \_PR.CPU0 }) Name (_TSP, 0x3C) Name (_TC1, 0x04) Name (_TC2, 0x03) Method (_PSV, 0, NotSerialized) { If (Or (PLCY, PLCY, Local7)) { Return (KELA (TP1H)) } Else { Return (KELA (TP2H)) } } Method (KELA, 1, NotSerialized) { If (LGreater (Arg0, 0x01F4)) { Return (Arg0) } Else { Store (Arg0, Local1) Multiply (Local1, 0x0A, Local1) Add (Local1, 0x0AAC, Local1) Return (Local1) } } Method (_CRT, 0, NotSerialized) { Return (TRPC) } Method (_TMP, 0, NotSerialized) { And (SENF, 0x01, Local6) If (LEqual (Local6, 0x01)) { Return (RTMP ()) } Else { Return (0x0B86) } } Method (_SCP, 1, NotSerialized) { If (Arg0) { Store (One, PLCY) } Else { Store (Zero, PLCY) } Notify (\_TZ.THRM, 0x81) } Method (STMP, 2, NotSerialized) { Store (Arg1, DW00) If (Arg0) { STHY (DB00, DB01, DW00) } Else { STOS (DB00, DB01, DW00) } } } } }