/* RSD PTR: OEM=HP, ACPI_Rev=2.0x (2) XSDT=0x3fff0100, length=36, cksum=157 */ /* XSDT: Length=100, Revision=1, Checksum=90, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x7000714, Creator ID=FOXC, Creator Revision=0x97 Entries={ 0x3fff0290, 0x3fff0390, 0x3fff0400, 0x3fff0450, 0x3fff0490, 0x3fffe040, 0x3fff4aa0, 0x3fff4ae0 } */ /* FACP: Length=244, Revision=3, Checksum=252, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x7000714, Creator ID=FOXC, Creator Revision=0x97 FACS=0x3fffe000, DSDT=0x3fff04d0 INT_MODEL=APIC Preferred_PM_Profile=Desktop (1) SCI_INT=9 SMI_CMD=0x242e, ACPI_ENABLE=0xe1, ACPI_DISABLE=0x1e, S4BIOS_REQ=0x0 PSTATE_CNT=0xe2 PM1a_EVT_BLK=0x2000-0x2003 PM1a_CNT_BLK=0x2004-0x2005 PM_TMR_BLK=0x2008-0x200b GPE0_BLK=0x2020-0x2027 GPE1_BLK=0x24a0-0x24af, GPE1_BASE=32 CST_CNT=0xe3 P_LVL2_LAT=101 us, P_LVL3_LAT=1001 us FLUSH_SIZE=1024, FLUSH_STRIDE=16 DUTY_OFFSET=1, DUTY_WIDTH=0 DAY_ALRM=125, MON_ALRM=126, CENTURY=50 IAPC_BOOT_ARCH={LEGACY_DEV} Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4,RESET_REG} RESET_REG=0xcf9:0[8] (IO), RESET_VALUE=0x6 X_FACS=0x3fffe000, X_DSDT=0x3fff04d0 X_PM1a_EVT_BLK=0x2000:0[32] (IO) X_PM1a_CNT_BLK=0x2004:0[16] (IO) X_PM_TMR_BLK=0x2008:0[32] (IO) X_GPE0_BLK=0x2020:0[64] (IO) X_GPE1_BLK=0x24a0:0[128] (IO) */ /* FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000 Global_Lock= Flags= Version=1 */ /* DSDT: Length=17863, Revision=1, Checksum=67, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x100, Creator ID=INTL, Creator Revision=0x20051117 */ /* APIC: Length=112, Revision=1, Checksum=212, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x7000714, Creator ID=FOXC, Creator Revision=0x97 Local APIC ADDR=0xfee00000 Flags={PC-AT} Type=Local APIC ACPI CPU=1 Flags={ENABLED} APIC ID=0 Type=Local APIC ACPI CPU=2 Flags={DISABLED} APIC ID=129 Type=IO APIC APIC ID=1 INT BASE=0 ADDR=0x00000000fec00000 Type=INT Override BUS=0 IRQ=0 INTR=2 Flags={Polarity=conforming, Trigger=conforming} Type=INT Override BUS=0 IRQ=9 INTR=9 Flags={Polarity=active-hi, Trigger=level} Type=INT Override BUS=0 IRQ=14 INTR=14 Flags={Polarity=active-hi, Trigger=edge} Type=INT Override BUS=0 IRQ=15 INTR=15 Flags={Polarity=active-hi, Trigger=edge} */ /* SPCR: Length=80, Revision=1, Checksum=165, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x7000714, Creator ID=FOXC, Creator Revision=0x97 */ /* MCFG: Length=60, Revision=1, Checksum=254, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x7000714, Creator ID=FOXC, Creator Revision=0x97 Base Address= 0x00000000e0000000 Segment Group= 0x0000 Start Bus= 0 End Bus= 255 */ /* SPMI: Length=61, Revision=1, Checksum=188, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x7000714, Creator ID=FOXC, Creator Revision=0x97 */ /* HPET: Length=56, Revision=1, Checksum=97, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x7000714, Creator ID=FOXC, Creator Revision=0x97 HPET Number=0 ADDR=0x00000800 HW Rev=0x1 Comparitors=2 Counter Size=0 Legacy IRQ routing capable={TRUE} PCI Vendor ID=0x10de Minimal Tick=14318 */ /* SSDT: Length=277, Revision=1, Checksum=241, OEMID=HP, OEM Table ID=ML115 G1, OEM Revision=0x1, Creator ID=FOXC, Creator Revision=0x1 */ /* * Intel ACPI Component Architecture * AML Disassembler version 20041119 * * Disassembly of /tmp/acpidump.ecJ54X, Fri Nov 2 14:23:55 2007 */ DefinitionBlock ("DSDT.aml", "DSDT", 1, "HP ", "ML115 G1", 256) { Name (FZTF, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5 }) Name (DP80, 0x80) Name (DP90, 0x90) Name (SPIO, 0x2E) Name (IOSB, 0x0A00) Name (IOSL, 0x80) Name (IOEB, 0x0A80) Name (IOEL, 0x04) Name (IOCB, 0x0A84) Name (IOCL, 0x02) Name (IOBB, 0x0A86) Name (IOBL, 0x08) Name (IOWB, 0x0A90) Name (IOWL, 0x10) Name (IOGB, 0x0B00) Name (IOGL, 0xFF) Name (SSMI, 0x242E) Name (SSEP, 0x99) Name (SSEN, One) Name (SLIB, 0xD0000000) Name (SLBL, 0x10000000) Name (SHPB, 0xFED00000) Name (SHPL, 0x1000) Name (PMBS, 0x2000) Name (PMLN, 0x0100) Name (SCBS, 0x2400) Name (SCLN, 0x0100) Name (ACBS, 0x2800) Name (ACLN, 0x0100) Name (MTAB, 0x2F00) Name (MTAL, 0x0100) Name (IGPB, 0x2C00) Name (IGLN, 0x0100) Name (ACA4, 0x20A4) Name (SCIO, 0x2400) Name (SCTL, 0x2090) Name (EXTS, Zero) Name (APIC, One) Name (PCIB, 0xE0000000) Name (PCIL, 0x10000000) Name (WKTP, One) OperationRegion (BIOS, SystemMemory, 0x3FFFE064, 0xFF) Field (BIOS, ByteAcc, NoLock, Preserve) { SS1, 1, SS2, 1, SS3, 1, SS4, 1, Offset (0x01), IOST, 16, TOPM, 32, ROMS, 32, MG1B, 32, MG1L, 32, MG2B, 32, MG2L, 32, Offset (0x1C), DMAX, 8, HPTA, 32, CPB0, 32, CPB1, 32, CPB2, 32, CPB3, 32, ASSB, 8, AOTB, 8, AAXB, 32, SMIF, 8, DTSE, 8, DTS1, 8, DTS2, 8, MPEN, 8 } Method (RRIO, 4, NotSerialized) { Store ("RRIO", Debug) } Method (RDMA, 3, NotSerialized) { Store ("rDMA", Debug) } Name (PICM, Zero) Method (_PIC, 1, NotSerialized) { If (Arg0) { Store (0xAA, DBG8) } Else { Store (0xAC, DBG8) } Store (Arg0, PICM) } Name (OSVR, Ones) Method (OSFL, 0, NotSerialized) { If (LNot (LEqual (OSVR, Ones))) { Return (OSVR) } If (LEqual (PICM, Zero)) { Store (0xAC, DBG8) } Store (One, OSVR) If (CondRefOf (_OSI, Local1)) { If (_OSI ("Windows 2001")) { Store (Zero, OSVR) } } Else { If (MCTH (_OS, "Microsoft Windows NT")) { Store (0x04, OSVR) } Else { If (MCTH (_OS, "Microsoft WindowsME: Millennium Edition")) { Store (0x02, OSVR) } If (MCTH (_OS, "Linux")) { Store (0x03, OSVR) } } } Return (OSVR) } Method (MCTH, 2, NotSerialized) { If (LLess (SizeOf (Arg0), SizeOf (Arg1))) { Return (Zero) } Add (SizeOf (Arg0), One, Local0) Name (BUF0, Buffer (Local0) {}) Name (BUF1, Buffer (Local0) {}) Store (Arg0, BUF0) Store (Arg1, BUF1) While (Local0) { Decrement (Local0) If (LNot (LEqual (DerefOf (Index (BUF0, Local0)), DerefOf (Index (BUF1, Local0))))) { Return (Zero) } } Return (One) } Name (PRWP, Package (0x02) { Zero, Zero }) Method (GPRW, 2, NotSerialized) { Store (Arg0, Index (PRWP, Zero)) Store (ShiftLeft (SS1, One), Local0) Or (Local0, ShiftLeft (SS2, 0x02), Local0) Or (Local0, ShiftLeft (SS3, 0x03), Local0) Or (Local0, ShiftLeft (SS4, 0x04), Local0) If (And (ShiftLeft (One, Arg1), Local0)) { Store (Arg1, Index (PRWP, One)) } Else { ShiftRight (Local0, One, Local0) If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) { FindSetLeftBit (Local0, Index (PRWP, One)) } Else { FindSetRightBit (Local0, Index (PRWP, One)) } } Return (PRWP) } Name (WAKP, Package (0x02) { Zero, Zero }) OperationRegion (DEB0, SystemIO, DP80, One) Field (DEB0, ByteAcc, NoLock, Preserve) { DBG8, 8 } OperationRegion (DEB1, SystemIO, DP90, 0x02) Field (DEB1, WordAcc, NoLock, Preserve) { DBG9, 16 } Scope (_PR) { Processor (P001, 0x01, 0x00002010, 0x06) {} Processor (P002, 0x02, 0x00000000, 0x00) {} Alias (P001, CPU1) Alias (P002, CPU2) } Scope (_SB) { Name (PR00, Package (0x17) { Package (0x04) { 0x0001FFFF, Zero, LSMB, Zero }, Package (0x04) { 0x0001FFFF, One, LPMU, Zero }, Package (0x04) { 0x0002FFFF, Zero, LUB0, Zero }, Package (0x04) { 0x0002FFFF, One, LUB2, Zero }, Package (0x04) { 0x0005FFFF, Zero, LSA0, Zero }, Package (0x04) { 0x0005FFFF, One, LSA1, Zero }, Package (0x04) { 0x0005FFFF, 0x02, LSA2, Zero }, Package (0x04) { 0x000FFFFF, Zero, LNEB, Zero }, Package (0x04) { 0x000FFFFF, One, LNEC, Zero }, Package (0x04) { 0x000FFFFF, 0x02, LNED, Zero }, Package (0x04) { 0x000FFFFF, 0x03, LNEA, Zero }, Package (0x04) { 0x000EFFFF, Zero, LNEC, Zero }, Package (0x04) { 0x000EFFFF, One, LNED, Zero }, Package (0x04) { 0x000EFFFF, 0x02, LNEA, Zero }, Package (0x04) { 0x000EFFFF, 0x03, LNEB, Zero }, Package (0x04) { 0x000DFFFF, Zero, LNED, Zero }, Package (0x04) { 0x000DFFFF, One, LNEA, Zero }, Package (0x04) { 0x000DFFFF, 0x02, LNEB, Zero }, Package (0x04) { 0x000DFFFF, 0x03, LNEC, Zero }, Package (0x04) { 0x000AFFFF, Zero, LNEC, Zero }, Package (0x04) { 0x000AFFFF, One, LNED, Zero }, Package (0x04) { 0x000AFFFF, 0x02, LNEA, Zero }, Package (0x04) { 0x000AFFFF, 0x03, LNEB, Zero } }) Name (AR00, Package (0x17) { Package (0x04) { 0x0001FFFF, Zero, LSMB, Zero }, Package (0x04) { 0x0001FFFF, One, LPMU, Zero }, Package (0x04) { 0x0002FFFF, Zero, LUB0, Zero }, Package (0x04) { 0x0002FFFF, One, LUB2, Zero }, Package (0x04) { 0x0005FFFF, Zero, LSA0, Zero }, Package (0x04) { 0x0005FFFF, One, LSA1, Zero }, Package (0x04) { 0x0005FFFF, 0x02, LSA2, Zero }, Package (0x04) { 0x000FFFFF, Zero, LNEB, Zero }, Package (0x04) { 0x000FFFFF, One, LNEC, Zero }, Package (0x04) { 0x000FFFFF, 0x02, LNED, Zero }, Package (0x04) { 0x000FFFFF, 0x03, LNEA, Zero }, Package (0x04) { 0x000EFFFF, Zero, LNEC, Zero }, Package (0x04) { 0x000EFFFF, One, LNED, Zero }, Package (0x04) { 0x000EFFFF, 0x02, LNEA, Zero }, Package (0x04) { 0x000EFFFF, 0x03, LNEB, Zero }, Package (0x04) { 0x000DFFFF, Zero, LNED, Zero }, Package (0x04) { 0x000DFFFF, One, LNEA, Zero }, Package (0x04) { 0x000DFFFF, 0x02, LNEB, Zero }, Package (0x04) { 0x000DFFFF, 0x03, LNEC, Zero }, Package (0x04) { 0x000AFFFF, Zero, LNEC, Zero }, Package (0x04) { 0x000AFFFF, One, LNED, Zero }, Package (0x04) { 0x000AFFFF, 0x02, LNEA, Zero }, Package (0x04) { 0x000AFFFF, 0x03, LNEB, Zero } }) Name (PR10, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNEB, Zero }, Package (0x04) { 0xFFFF, One, LNEC, Zero }, Package (0x04) { 0xFFFF, 0x02, LNED, Zero }, Package (0x04) { 0xFFFF, 0x03, LNEA, Zero } }) Name (AR10, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNEB, Zero }, Package (0x04) { 0xFFFF, One, LNEC, Zero }, Package (0x04) { 0xFFFF, 0x02, LNED, Zero }, Package (0x04) { 0xFFFF, 0x03, LNEA, Zero } }) Name (PR11, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNEC, Zero }, Package (0x04) { 0xFFFF, One, LNED, Zero }, Package (0x04) { 0xFFFF, 0x02, LNEA, Zero }, Package (0x04) { 0xFFFF, 0x03, LNEB, Zero } }) Name (AR11, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNEC, Zero }, Package (0x04) { 0xFFFF, One, LNED, Zero }, Package (0x04) { 0xFFFF, 0x02, LNEA, Zero }, Package (0x04) { 0xFFFF, 0x03, LNEB, Zero } }) Name (PR12, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNED, Zero }, Package (0x04) { 0xFFFF, One, LNEA, Zero }, Package (0x04) { 0xFFFF, 0x02, LNEB, Zero }, Package (0x04) { 0xFFFF, 0x03, LNEC, Zero } }) Name (AR12, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNED, Zero }, Package (0x04) { 0xFFFF, One, LNEA, Zero }, Package (0x04) { 0xFFFF, 0x02, LNEB, Zero }, Package (0x04) { 0xFFFF, 0x03, LNEC, Zero } }) Name (PR15, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNEC, Zero }, Package (0x04) { 0xFFFF, One, LNED, Zero }, Package (0x04) { 0xFFFF, 0x02, LNEA, Zero }, Package (0x04) { 0xFFFF, 0x03, LNEB, Zero } }) Name (AR15, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNEC, Zero }, Package (0x04) { 0xFFFF, One, LNED, Zero }, Package (0x04) { 0xFFFF, 0x02, LNEA, Zero }, Package (0x04) { 0xFFFF, 0x03, LNEB, Zero } }) Name (PR01, Package (0x08) { Package (0x04) { 0x0008FFFF, Zero, LNKB, Zero }, Package (0x04) { 0x0008FFFF, One, LNKC, Zero }, Package (0x04) { 0x0008FFFF, 0x02, LNKD, Zero }, Package (0x04) { 0x0008FFFF, 0x03, LNKA, Zero }, Package (0x04) { 0x0009FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0009FFFF, One, LNKB, Zero }, Package (0x04) { 0x0009FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0009FFFF, 0x03, LNKD, Zero } }) Name (AR01, Package (0x08) { Package (0x04) { 0x0008FFFF, Zero, LNKB, Zero }, Package (0x04) { 0x0008FFFF, One, LNKC, Zero }, Package (0x04) { 0x0008FFFF, 0x02, LNKD, Zero }, Package (0x04) { 0x0008FFFF, 0x03, LNKA, Zero }, Package (0x04) { 0x0009FFFF, Zero, LNKA, Zero }, Package (0x04) { 0x0009FFFF, One, LNKB, Zero }, Package (0x04) { 0x0009FFFF, 0x02, LNKC, Zero }, Package (0x04) { 0x0009FFFF, 0x03, LNKD, Zero } }) Name (PRSA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {5,10,11,14} }) Alias (PRSA, PRSB) Alias (PRSA, PRSC) Alias (PRSA, PRSD) Alias (PRSA, RSEA) Alias (PRSA, RSEB) Alias (PRSA, RSEC) Alias (PRSA, RSED) Alias (PRSA, RSMB) Name (RSB2, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {7} }) Alias (PRSA, RSMU) Alias (PRSA, RSA1) Alias (PRSA, RSA0) Alias (RSB2, RSB0) Alias (PRSA, RSAD) Alias (PRSA, RSAC) Alias (PRSA, RSZA) Alias (PRSA, RSTA) Alias (PRSA, RSA2) Name (RSIR, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared) { 0x00000010, 0x00000011, 0x00000012, 0x00000013, } }) Name (RSII, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared) { 0x00000014, 0x00000015, 0x00000016, 0x00000017, } }) Device (PCI0) { Name (_HID, EisaId ("PNP0A03")) Name (_ADR, 0x00180000) Method (^BN00, 0, NotSerialized) { Return (Zero) } Method (_BBN, 0, NotSerialized) { Return (BN00 ()) } Name (_UID, Zero) Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR00) } Return (PR00) } Method (NPTS, 1, NotSerialized) { } Method (NWAK, 1, NotSerialized) { } Device (SBRG) { Name (_ADR, 0x00010000) Method (SPTS, 1, NotSerialized) { If (LEqual (Arg0, 0x03)) { Store (Zero, LCTM) Store (Zero, LCNM) } Store (Arg0, ^^IDE0.PTS0) Store (^^IDE0.ID20, ^^IDE0.SID0) Store (^^IDE0.IDTS, ^^IDE0.SID1) Store (^^IDE0.IDTP, ^^IDE0.SID2) Store (^^IDE0.ID22, ^^IDE0.SID3) Store (^^IDE0.UMSS, ^^IDE0.SID4) Store (^^IDE0.UMSP, ^^IDE0.SID5) Store (One, PS1S) Store (One, PS1E) Store (One, SLPS) } Method (SWAK, 1, NotSerialized) { Store (Zero, SLPS) Store (Zero, PS1E) Store (0x02, S1CT) Store (0x02, S3CT) Store (0x02, S4CT) Store (0x02, S5CT) } OperationRegion (SMIE, SystemIO, SCIO, 0x08) Field (SMIE, ByteAcc, NoLock, Preserve) { , 15, PS1S, 1, , 31, PS1E, 1, Offset (0x08) } OperationRegion (SXCT, SystemIO, SCTL, 0x10) Field (SXCT, ByteAcc, NoLock, Preserve) { S1CT, 2, Offset (0x04), S3CT, 2, Offset (0x08), S4CT, 2, Offset (0x0C), S5CT, 2, Offset (0x10) } Scope (\_SB) { OperationRegion (\SCPP, SystemIO, SSMI, One) Field (SCPP, ByteAcc, NoLock, Preserve) { SMIP, 8 } OperationRegion (\APA4, SystemIO, ACA4, 0x04) Field (APA4, ByteAcc, NoLock, Preserve) { Offset (0x02), LCTM, 1, LCNM, 1 } Name (SLPS, Zero) Device (MI0) { Name (_HID, EisaId ("IPI0001")) Name (_UID, Zero) Name (_STR, Unicode ("IPMI_KCS")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0CA2, 0x0CA2, 0x01, 0x02) }) Method (_IFT, 0, NotSerialized) { Return (One) } Method (_SRV, 0, NotSerialized) { Return (0x0200) } } Device (SLPB) { Name (_HID, EisaId ("PNP0C0E")) Method (_STA, 0, NotSerialized) { If (EXTS) { Return (0x0F) } Return (Zero) } Method (SBEV, 0, NotSerialized) { If (SLPS) { Notify (SLPB, 0x02) } Else { Notify (SLPB, 0x80) } } Method (\_GPE._L01, 0, NotSerialized) { \_SB.SLPB.SBEV () } Method (_PRW, 0, NotSerialized) { Return (Package (0x02) { One, 0x04 }) } } Scope (PCI0) { Method (_S3D, 0, NotSerialized) { If (LEqual (OSFL (), 0x02)) { Return (0x02) } Else { Return (0x03) } } Name (_S1D, One) Name (NATA, Package (0x01) { 0x00100000 }) Device (NVRB) { Name (_HID, "NVRAIDBUS") Method (_STA, 0, NotSerialized) { If (And (CPB0, One)) { Return (0x0F) } Else { Return (Zero) } } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x04D2, 0x04D2, 0x01, 0x01) }) } } } OperationRegion (PIMC, PCI_Config, 0x7C, 0x0C) Field (PIMC, ByteAcc, NoLock, Preserve) { PIRA, 4, PIRB, 4, PIRC, 4, PIRD, 4, PREA, 4, PREB, 4, PREC, 4, PRED, 4, , 4, Offset (0x05), PIRM, 4, PIU2, 4, , 4, PMUD, 4, SIID, 4, PIID, 4, PIU0, 4, PILM, 4, PILN, 4, PAZA, 4, , 4, Offset (0x0B), PR0E, 4, SIR2, 4 } Device (PIC) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, 0x0020, 0x00, 0x02) IO (Decode16, 0x00A0, 0x00A0, 0x00, 0x02) IRQNoFlags () {2} }) } Device (DMAD) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { DMA (Compatibility, BusMaster, Transfer8) {4} IO (Decode16, 0x0000, 0x0000, 0x00, 0x10) IO (Decode16, 0x0081, 0x0081, 0x00, 0x03) IO (Decode16, 0x0087, 0x0087, 0x00, 0x01) IO (Decode16, 0x0089, 0x0089, 0x00, 0x03) IO (Decode16, 0x008F, 0x008F, 0x00, 0x01) IO (Decode16, 0x00C0, 0x00C0, 0x00, 0x20) }) } Device (TMR) { Name (_HID, EisaId ("PNP0100")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0040, 0x0040, 0x00, 0x04) IRQNoFlags () {0} }) } Device (RTC0) { Name (_HID, EisaId ("PNP0B00")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0070, 0x0070, 0x00, 0x02) IRQNoFlags () {8} }) } Device (SPKR) { Name (_HID, EisaId ("PNP0800")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0061, 0x0061, 0x00, 0x01) }) } Device (COPR) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, 0x00F0, 0x00, 0x10) IRQNoFlags () {13} }) } Device (UAR1) { Name (_UID, One) Name (_HID, EisaId ("PNP0501")) Method (_STA, 0, NotSerialized) { Return (DSTA (Zero)) } Method (_DIS, 0, NotSerialized) { DCNT (Zero, Zero) } Method (_CRS, 0, NotSerialized) { Return (DCRS (Zero, Zero)) } Method (_SRS, 1, NotSerialized) { DSRS (Arg0, Zero) } Method (_PRS, 0, NotSerialized) { Return (CMPR) } Name (CMPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08) IRQNoFlags () {4} DMA (Compatibility, NotBusMaster, Transfer8) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, 0x03F8, 0x01, 0x08) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, 0x02F8, 0x01, 0x08) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, 0x03E8, 0x01, 0x08) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, 0x02E8, 0x01, 0x08) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8) {} } EndDependentFn () }) } Device (RMSC) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x10) Name (CRS, ResourceTemplate () { DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000D0000, 0x000D3FFF, 0x00000000, 0x00004000) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000D4000, 0x000D7FFF, 0x00000000, 0x00004000) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000DE000, 0x000DFFFF, 0x00000000, 0x00002000) IO (Decode16, 0x0010, 0x0010, 0x00, 0x10) IO (Decode16, 0x0022, 0x0022, 0x00, 0x1E) IO (Decode16, 0x0044, 0x0044, 0x00, 0x1C) IO (Decode16, 0x0060, 0x0060, 0x00, 0x01) IO (Decode16, 0x0062, 0x0062, 0x00, 0x02) IO (Decode16, 0x0064, 0x0064, 0x00, 0x01) IO (Decode16, 0x0065, 0x0065, 0x00, 0x0B) IO (Decode16, 0x0072, 0x0072, 0x00, 0x0E) IO (Decode16, 0x0080, 0x0080, 0x00, 0x01) IO (Decode16, 0x0084, 0x0084, 0x00, 0x03) IO (Decode16, 0x0088, 0x0088, 0x00, 0x01) IO (Decode16, 0x008C, 0x008C, 0x00, 0x03) IO (Decode16, 0x0090, 0x0090, 0x00, 0x10) IO (Decode16, 0x00A2, 0x00A2, 0x00, 0x1E) IO (Decode16, 0x00E0, 0x00E0, 0x00, 0x10) IO (Decode16, 0x04D0, 0x04D0, 0x00, 0x02) IO (Decode16, 0x0800, 0x0800, 0x00, 0x10) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) Memory32Fixed (ReadOnly, 0x00000000, 0x00000000) Memory32Fixed (ReadOnly, 0xFEE01000, 0x000FF000) }) Method (_CRS, 0, NotSerialized) { CreateWordField (CRS, 0xD8, GP00) CreateWordField (CRS, 0xDA, GP01) CreateByteField (CRS, 0xDD, GP0L) CreateWordField (CRS, 0xE0, GP10) CreateWordField (CRS, 0xE2, GP11) CreateByteField (CRS, 0xE5, GP1L) Store (PMBS, GP00) Store (PMBS, GP01) If (LNot (LLess (PMLN, 0x0100))) { ShiftRight (PMLN, One, GP0L) Add (GP00, GP0L, GP10) Add (GP01, GP0L, GP11) Subtract (PMLN, GP0L, GP1L) } Else { Store (PMLN, GP0L) } If (SCBS) { CreateWordField (CRS, 0xE8, SC00) CreateWordField (CRS, 0xEA, SC01) CreateByteField (CRS, 0xED, SC0L) CreateWordField (CRS, 0xF0, SC10) CreateWordField (CRS, 0xF2, SC11) CreateByteField (CRS, 0xF5, SC1L) Store (SCBS, SC00) Store (SCBS, SC01) If (LNot (LLess (SCLN, 0x0100))) { ShiftRight (SCLN, One, SC0L) Add (SC00, SC0L, SC10) Add (SC01, SC0L, SC11) Subtract (SCLN, SC0L, SC1L) } Else { Store (SCLN, SC0L) } } If (ACBS) { CreateWordField (CRS, 0xF8, AC00) CreateWordField (CRS, 0xFA, AC01) CreateByteField (CRS, 0xFD, AC0L) CreateWordField (CRS, 0x0100, AC10) CreateWordField (CRS, 0x0102, AC11) CreateByteField (CRS, 0x0105, AC1L) Store (ACBS, AC00) Store (ACBS, AC01) If (LNot (LLess (ACLN, 0x0100))) { ShiftRight (ACLN, One, AC0L) Add (AC00, AC0L, AC10) Add (AC01, AC0L, AC11) Subtract (ACLN, AC0L, AC1L) } Else { Store (ACLN, AC0L) } } If (IGPB) { CreateWordField (CRS, 0x0108, IC00) CreateWordField (CRS, 0x010A, IC01) CreateByteField (CRS, 0x010D, IC0L) CreateWordField (CRS, 0x0110, IC10) CreateWordField (CRS, 0x0112, IC11) CreateByteField (CRS, 0x0115, IC1L) Store (IGPB, IC00) Store (IGPB, IC01) If (LNot (LLess (IGLN, 0x0100))) { ShiftRight (IGLN, One, IC0L) Add (IC00, IC0L, IC10) Add (IC01, IC0L, IC11) Subtract (IGLN, IC0L, IC1L) } Else { Store (IGLN, IC0L) } } CreateDWordField (CRS, 0x011A, MB01) CreateDWordField (CRS, 0x011E, ML01) Store (CPB1, MB01) Store (CPB2, ML01) Return (CRS) } } Device (HPET) { Name (_HID, EisaId ("PNP0103")) Name (_UID, Zero) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, 0x00000000) }) Method (_STA, 0, NotSerialized) { If (LEqual (OSFL (), Zero)) { If (LEqual (NVID, 0x10DE)) { Return (0x0F) } Else { Return (Zero) } } Else { Return (Zero) } } Method (_CRS, 0, NotSerialized) { CreateDWordField (CRS, 0x04, HPX1) CreateDWordField (CRS, 0x08, HPX2) Store (SHPB, HPX1) Store (SHPL, HPX2) Return (CRS) } OperationRegion (HPTE, SystemMemory, SHPB, 0x04) Field (HPTE, ByteAcc, NoLock, Preserve) { Offset (0x02), NVID, 16 } } OperationRegion (LPDC, PCI_Config, 0xA0, 0x06) Field (LPDC, ByteAcc, NoLock, Preserve) { S3F8, 1, S2F8, 1, , 3, S2E8, 1, , 1, S3E8, 1, , 4, M300, 1, , 2, M330, 1, , 4, FDC0, 1, Offset (0x03), P378, 1, P278, 1, P3BC, 1, Offset (0x04), G200, 8, G208, 8 } Method (RRIO, 4, NotSerialized) { If (LOr (LEqual (Arg0, Zero), LEqual (Arg0, One))) { If (LEqual (Arg2, 0x03F8)) { Store (Arg1, S3F8) } If (LEqual (Arg2, 0x02F8)) { Store (Arg1, S2F8) } If (LEqual (Arg2, 0x03E8)) { Store (Arg1, S3E8) } If (LEqual (Arg2, 0x02E8)) { Store (Arg1, S2E8) } } If (LEqual (Arg0, 0x02)) { If (LEqual (Arg2, 0x0378)) { Store (Arg1, P378) } If (LEqual (Arg2, 0x0278)) { Store (Arg1, P278) } If (LEqual (Arg2, 0x03BC)) { Store (Arg1, P3BC) } } If (LEqual (Arg0, 0x03)) { Store (Arg1, FDC0) } If (LEqual (Arg0, 0x05)) { If (LEqual (Arg2, 0x0330)) { Store (Arg1, M330) } If (LEqual (Arg2, 0x0300)) { Store (Arg1, M300) } } If (LEqual (Arg0, 0x08)) { Store (Zero, Local0) If (Arg1) { Store (0xFF, Local0) } If (LEqual (Arg2, 0x0200)) { Store (Local0, G200) } If (LEqual (Arg2, 0x0208)) { Store (Local0, G208) } } } Method (RDMA, 3, NotSerialized) { } Device (^PCIE) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x11) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadOnly, 0xE0000000, 0x10000000) }) Method (_CRS, 0, NotSerialized) { CreateDWordField (CRS, 0x04, BAS1) CreateDWordField (CRS, 0x08, LEN1) Store (PCIB, BAS1) Store (PCIL, LEN1) Return (CRS) } } Device (OMSC) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, Zero) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadOnly, 0x00000000, 0x00000000) Memory32Fixed (ReadOnly, 0x00000000, 0x00000000) }) Method (_CRS, 0, NotSerialized) { If (APIC) { CreateDWordField (CRS, 0x08, ML01) CreateDWordField (CRS, 0x04, MB01) CreateDWordField (CRS, 0x14, ML02) CreateDWordField (CRS, 0x10, MB02) Store (0xFEC00000, MB01) Store (0x1000, ML01) Store (0xFEE00000, MB02) Store (0x1000, ML02) } Return (CRS) } } Device (PS2K) { Name (_HID, EisaId ("PNP0303")) Name (_CID, 0x0B03D041) Method (_STA, 0, NotSerialized) { ShiftLeft (One, 0x0A, Local0) Return (Zero) } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, 0x0060, 0x00, 0x01) IO (Decode16, 0x0064, 0x0064, 0x00, 0x01) IRQNoFlags () {1} }) } Method (PS2K._PRW, 0, NotSerialized) { Return (GPRW (0x10, 0x04)) } Device (PS2M) { Name (_HID, EisaId ("PNP0F03")) Name (_CID, 0x130FD041) Method (_STA, 0, NotSerialized) { Return (Zero) } Name (_CRS, ResourceTemplate () { IRQNoFlags () {12} }) } Method (PS2M._PRW, 0, NotSerialized) { Return (GPRW (0x10, 0x04)) } Device (SIOR) { Name (_HID, EisaId ("PNP0C02")) Method (_UID, 0, NotSerialized) { Return (SPIO) } Name (CRS, ResourceTemplate () { IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) IO (Decode16, 0x0000, 0x0000, 0x00, 0x00) }) Method (_CRS, 0, NotSerialized) { If (LAnd (LNot (LEqual (SPIO, 0x03F0)), LGreater (SPIO, 0xF0))) { CreateWordField (CRS, 0x02, GP10) CreateWordField (CRS, 0x04, GP11) CreateByteField (CRS, 0x07, GPL1) Store (SPIO, GP10) Store (SPIO, GP11) Store (0x02, GPL1) } If (IOSB) { CreateWordField (CRS, 0x0A, GP20) CreateWordField (CRS, 0x0C, GP21) CreateByteField (CRS, 0x0F, GPL2) Store (IOSB, GP20) Store (IOSB, GP21) Store (IOSL, GPL2) } If (IOEB) { CreateWordField (CRS, 0x12, GP30) CreateWordField (CRS, 0x14, GP31) CreateByteField (CRS, 0x17, GPL3) Store (IOEB, GP30) Store (IOEB, GP31) Store (IOEL, GPL3) } If (IOCB) { CreateWordField (CRS, 0x1A, GP40) CreateWordField (CRS, 0x1C, GP41) CreateByteField (CRS, 0x1F, GPL4) Store (IOCB, GP40) Store (IOCB, GP41) Store (IOCL, GPL4) } If (IOBB) { CreateWordField (CRS, 0x22, GP50) CreateWordField (CRS, 0x24, GP51) CreateByteField (CRS, 0x27, GPL5) Store (IOBB, GP50) Store (IOBB, GP51) Store (IOBL, GPL5) } If (IOWB) { CreateWordField (CRS, 0x2A, GP60) CreateWordField (CRS, 0x2C, GP61) CreateByteField (CRS, 0x2F, GPL6) Store (IOWB, GP60) Store (IOWB, GP61) Store (IOWL, GPL6) } If (IOGB) {} Return (CRS) } } Name (DCAT, Package (0x16) { 0x02, One, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0xFF }) Mutex (MUT0, 0x00) Method (ENFG, 1, NotSerialized) { Acquire (MUT0, 0x0FFF) Store (0x5A, INDX) Store (Arg0, LDN) } Method (EXFG, 0, NotSerialized) { Store (0xA5, INDX) Release (MUT0) } Name (KBFG, One) Name (MSFG, One) OperationRegion (WKBA, SystemIO, IOSB, 0x80) Field (WKBA, ByteAcc, NoLock, Preserve) { WKS0, 8, WKS1, 8, WKE0, 8, WKE1, 8, CFG0, 8, CFG1, 8, WSMI, 8, Offset (0x08), WIRQ, 8, SWCT, 8, SWS0, 8, SWS1, 8, Offset (0x0E), O0S3, 8, O1S3, 8, O0S5, 8, O1S5, 8, P0S3, 8, P1S3, 8, P0S5, 8, P1S5, 8, KBWC, 4, MSWC, 3, , 8, PSK0, 8, PSK1, 8, Offset (0x20), S0TY, 8, S1TY, 8, S2TY, 8, S3TY, 8, S4TY, 8, S5TY, 8, SLCF, 8, PCTL, 8 } OperationRegion (PMEV, SystemIO, IOEB, 0x04) Field (PMEV, ByteAcc, NoLock, Preserve) { PMSL, 8, PMSH, 8, PMEL, 8, PMEH, 8 } OperationRegion (PMCN, SystemIO, IOCB, 0x02) Field (PMCN, ByteAcc, NoLock, Preserve) { PMCL, 8, PMCH, 8 } OperationRegion (GPEV, SystemIO, IOBB, 0x08) Field (GPEV, ByteAcc, NoLock, Preserve) { GPS0, 8, GPS1, 8, Offset (0x04), GPR1, 1, GPR2, 1, GPKB, 1, GPMS, 1, , 2, SFEV, 1 } Method (PS2K._PSW, 1, NotSerialized) { Store (0xFF, PMSH) Store (0xFF, GPS0) If (LNot (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))) { If (Arg0) { Store (One, KBFG) } Else { Store (Zero, KBFG) } } } Method (PS2M._PSW, 1, NotSerialized) { Store (0xFF, PMSH) Store (0xFF, GPS0) If (LNot (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))) { If (Arg0) { Store (One, MSFG) } Else { Store (Zero, MSFG) } } } Method (SIOS, 1, NotSerialized) { Store ("SIOS", Debug) If (LEqual (Arg0, One)) { Store (One, KBWC) Store (Zero, PSK0) Store (Zero, PSK1) Store (One, MSWC) Store (KBFG, GPKB) Store (MSFG, GPMS) } Store (0xFF, PMSH) Store (0xFF, GPS0) } Method (SIOW, 1, NotSerialized) { Store ("SIOW", Debug) Store (0xFF, PMSH) Store (0xFF, GPS0) Store (Zero, KBWC) Store (Zero, MSWC) Store (Zero, GPKB) Store (Zero, GPMS) } Method (SIOH, 0, NotSerialized) { Store ("SIOH", Debug) If (And (GPS0, 0x08)) { Notify (PS2M, 0x02) } If (And (GPS0, 0x04)) { Notify (PS2K, 0x02) } } OperationRegion (IOID, SystemIO, SPIO, 0x02) Field (IOID, ByteAcc, NoLock, Preserve) { INDX, 8, DATA, 8 } IndexField (INDX, DATA, ByteAcc, NoLock, Preserve) { Offset (0x07), LDN, 8, Offset (0x23), OP23, 8, Offset (0x30), ACTR, 8, Offset (0x60), IOAH, 8, IOAL, 8, IOH2, 8, IOL2, 8, Offset (0x70), INTR, 8, Offset (0x74), DMCH, 8, Offset (0xF0), OPT0, 8, OPT1, 8, OPT2, 8 } Method (CGLD, 1, NotSerialized) { Return (DerefOf (Index (DCAT, Arg0))) } Method (DSTA, 1, NotSerialized) { ENFG (CGLD (Arg0)) Store (ACTR, Local0) EXFG () If (LEqual (Local0, 0xFF)) { Return (Zero) } And (Local0, One, Local0) Or (IOST, ShiftLeft (Local0, Arg0), IOST) If (Local0) { Return (0x0F) } Else { If (And (ShiftLeft (One, Arg0), IOST)) { Return (0x0D) } Else { Return (Zero) } } } Method (DCNT, 2, NotSerialized) { ENFG (CGLD (Arg0)) ShiftLeft (IOAH, 0x08, Local1) Or (IOAL, Local1, Local1) If (LAnd (LLess (DMCH, 0x04), LNot (LEqual (And (DMCH, 0x03, Local1), Zero)))) { RDMA (Arg0, Arg1, Increment (Local1)) } Store (Arg1, ACTR) RRIO (Arg0, Arg1, Local1, 0x08) EXFG () } Name (CRS1, ResourceTemplate () { IO (Decode16, 0x0000, 0x0000, 0x01, 0x00) IRQNoFlags () {} DMA (Compatibility, NotBusMaster, Transfer8) {} }) CreateWordField (CRS1, 0x09, IRQM) CreateByteField (CRS1, 0x0C, DMAM) CreateWordField (CRS1, 0x02, IO11) CreateWordField (CRS1, 0x04, IO12) CreateByteField (CRS1, 0x07, LEN1) Name (CRS2, ResourceTemplate () { IO (Decode16, 0x0000, 0x0000, 0x01, 0x00) IO (Decode16, 0x0000, 0x0000, 0x01, 0x00) IRQNoFlags () {6} DMA (Compatibility, NotBusMaster, Transfer8) {2} }) CreateWordField (CRS2, 0x11, IRQE) CreateByteField (CRS2, 0x14, DMAE) CreateWordField (CRS2, 0x02, IO21) CreateWordField (CRS2, 0x04, IO22) CreateByteField (CRS2, 0x07, LEN2) CreateWordField (CRS2, 0x0A, IO31) CreateWordField (CRS2, 0x0C, IO32) CreateByteField (CRS2, 0x0F, LEN3) Method (DCRS, 2, NotSerialized) { ENFG (CGLD (Arg0)) ShiftLeft (IOAH, 0x08, IO11) Or (IOAL, IO11, IO11) Store (IO11, IO12) Subtract (FindSetRightBit (IO11), One, Local0) ShiftLeft (One, Local0, LEN1) If (INTR) { ShiftLeft (One, INTR, IRQM) } Else { Store (Zero, IRQM) } If (LOr (LGreater (DMCH, 0x03), LEqual (Arg1, Zero))) { Store (Zero, DMAM) } Else { And (DMCH, 0x03, Local1) ShiftLeft (One, Local1, DMAM) } EXFG () Return (CRS1) } Method (DSRS, 2, NotSerialized) { CreateWordField (Arg0, 0x09, IRQM) CreateByteField (Arg0, 0x0C, DMAM) CreateWordField (Arg0, 0x02, IO11) ENFG (CGLD (Arg1)) ShiftLeft (IOAH, 0x08, Local1) Or (IOAL, Local1, Local1) RRIO (Arg1, Zero, Local1, 0x08) RRIO (Arg1, One, IO11, 0x08) And (IO11, 0xFF, IOAL) ShiftRight (IO11, 0x08, IOAH) If (IRQM) { FindSetRightBit (IRQM, Local0) Subtract (Local0, One, INTR) } Else { Store (Zero, INTR) } If (DMAM) { FindSetRightBit (DMAM, Local0) Subtract (Local0, One, DMCH) } Else { Store (0x04, DMCH) } EXFG () DCNT (Arg1, One) } } Device (NSMB) { Name (_ADR, 0x00010001) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x09, 0x04)) } } Device (USB0) { Name (_ADR, 0x00020000) Name (_S1D, One) Method (_S3D, 0, NotSerialized) { If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) { Return (0x02) } Else { Return (0x03) } } Method (_PRW, 0, NotSerialized) { Return (GPRW (0x0D, 0x04)) } } Device (USB2) { Name (_ADR, 0x00020001) Name (_S1D, One) Method (_S3D, 0, NotSerialized) { If (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02))) { Return (0x02) } Else { Return (0x03) } } Method (_PRW, 0, NotSerialized) { Return (GPRW (0x05, 0x04)) } } Device (IDE0) { Name (_ADR, 0x00040000) Name (PTS0, Zero) Name (SID0, Zero) Name (SID1, Zero) Name (SID2, Zero) Name (SID3, Zero) Name (SID4, Zero) Name (SID5, Zero) OperationRegion (IRQM, SystemIO, 0x21, One) Field (IRQM, ByteAcc, NoLock, Preserve) { IR0M, 1 } Name (REGF, One) Method (_REG, 2, NotSerialized) { If (LEqual (Arg0, 0x02)) { Store (Arg1, REGF) } } 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 (TIM0, Package (0x07) { Package (0x05) { 0x3C, 0x78, 0xB4, 0xF0, 0x0384 }, Package (0x05) { 0x11, 0x20, 0x22, 0x47, 0xA8 }, Package (0x07) { 0x78, 0x49, 0x3C, 0x2D, 0x1E, 0x14, 0x0F }, Package (0x05) { 0x05, 0x04, 0x03, 0x02, Zero }, Package (0x04) { 0x02, One, Zero, Zero }, Package (0x08) { 0x02, One, Zero, Zero, 0x03, 0x04, 0x05, 0x06 }, Package (0x07) { 0x02, One, Zero, 0x04, 0x05, 0x06, 0x07 } }) Name (TMD0, Buffer (0x14) {}) CreateDWordField (TMD0, Zero, PIO0) CreateDWordField (TMD0, 0x04, DMA0) CreateDWordField (TMD0, 0x08, PIO1) CreateDWordField (TMD0, 0x0C, DMA1) CreateDWordField (TMD0, 0x10, CHNF) OperationRegion (CFG2, PCI_Config, 0x58, 0x0C) Field (CFG2, DWordAcc, NoLock, Preserve) { SSPT, 8, SMPT, 8, PSPT, 8, PMPT, 8, SSAS, 2, SMAS, 2, PSAS, 2, PMAS, 2, Offset (0x06), SDDR, 4, SDDA, 4, PDDR, 4, PDDA, 4, SSUT, 3, , 3, SSUE, 2, SMUT, 3, , 3, SMUE, 2, PSUT, 3, , 3, PSUE, 2, PMUT, 3, , 3, PMUE, 2 } Name (GMPT, Zero) Name (GMUE, Zero) Name (GMUT, Zero) Name (GSPT, Zero) Name (GSUE, Zero) Name (GSUT, Zero) Device (CHN0) { Name (_ADR, Zero) Method (_STM, 3, NotSerialized) { Store ("STM_CHN0", Debug) Store (Arg0, Debug) Store (Arg0, TMD0) Store (PMPT, GMPT) Store (PMUE, GMUE) Store (PMUT, GMUT) Store (PSPT, GSPT) Store (PSUE, GSUE) Store (PSUT, GSUT) STM () Store (GMPT, PMPT) Store (GMUE, PMUE) Store (GMUT, PMUT) Store (GSPT, PSPT) Store (GSUE, PSUE) Store (GSUT, PSUT) Store (GTF (Zero, Arg1), ATA0) Store (GTF (One, Arg2), ATA1) } Device (DRV0) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { Store ("_GTF_CHN0_DRV0", Debug) Return (Concatenate (RATA (ATA0), FZTF)) } } Device (DRV1) { Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Store ("_GTF_CHN0_DRV1", Debug) Return (Concatenate (RATA (ATA1), FZTF)) } } } Device (CHN1) { Name (_ADR, One) Method (_STM, 3, NotSerialized) { Store (Arg0, Debug) Store (Arg0, TMD0) Store (SMPT, GMPT) Store (SMUE, GMUE) Store (SMUT, GMUT) Store (SSPT, GSPT) Store (SSUE, GSUE) Store (SSUT, GSUT) STM () Store (GMPT, SMPT) Store (GMUE, SMUE) Store (GMUT, SMUT) Store (GSPT, SSPT) Store (GSUE, SSUE) Store (GSUT, SSUT) Store (GTF (Zero, Arg1), ATA2) Store (GTF (One, Arg2), ATA3) } Device (DRV0) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { Store ("_GTF_CHN1_DRV0", Debug) Return (Concatenate (RATA (ATA2), FZTF)) } } Device (DRV1) { Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Store ("_GTF_CHN1_DRV1", Debug) Return (Concatenate (RATA (ATA3), FZTF)) } } } Method (DRMP, 0, NotSerialized) { ShiftRight (CPB0, 0x04, Local1) And (Local1, 0x0F, Local0) Return (Local0) } Method (GTM, 6, Serialized) { Store (Ones, PIO0) Store (Ones, PIO1) Store (Ones, DMA0) Store (Ones, DMA1) Store (0x10, CHNF) If (REGF) {} Else { Return (TMD0) } If (LEqual (PTS0, One)) { If (OSFL ()) { Store (One, IR0M) } } Store (Match (DerefOf (Index (TIM0, One)), MEQ, Arg0, MTR, Zero, Zero), Local6) Store (DerefOf (Index (DerefOf (Index (TIM0, Zero)), Local6)), Local7) Store (Local7, DMA0) Store (Local7, PIO0) Store (Match (DerefOf (Index (TIM0, One)), MEQ, Arg3, MTR, Zero, Zero), Local6) Store (DerefOf (Index (DerefOf (Index (TIM0, Zero)), Local6)), Local7) Store (Local7, DMA1) Store (Local7, PIO1) If (Arg1) { Store (DerefOf (Index (DerefOf (Index (TIM0, 0x05)), Arg2)), Local5) Store (DerefOf (Index (DerefOf (Index (TIM0, 0x02)), Local5)), DMA0) Or (CHNF, One, CHNF) } If (Arg4) { Store (DerefOf (Index (DerefOf (Index (TIM0, 0x05)), Arg5)), Local5) Store (DerefOf (Index (DerefOf (Index (TIM0, 0x02)), Local5)), DMA1) Or (CHNF, 0x04, CHNF) } Store (TMD0, Debug) Return (TMD0) } Method (STM, 0, Serialized) { If (REGF) {} Else { Return (Zero) } If (PTS0) { 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 (Zero, PTS0) Store (Zero, GMUE) Store (Zero, GMUT) Store (Zero, GSUE) Store (Zero, GSUT) If (And (CHNF, One)) { Store (Match (DerefOf (Index (TIM0, 0x02)), MLE, DMA0, MTR, Zero, Zero), Local0) If (LGreater (Local0, 0x06)) { Store (0x06, Local0) } Store (DerefOf (Index (DerefOf (Index (TIM0, 0x06)), Local0)), GMUT) Or (GMUE, 0x03, GMUE) } Else { If (Or (LEqual (PIO0, Ones), LEqual (PIO0, Zero))) { If (And (LLess (DMA0, Ones), LGreater (DMA0, Zero))) { Store (DMA0, PIO0) } } } If (And (CHNF, 0x04)) { Store (Match (DerefOf (Index (TIM0, 0x02)), MLE, DMA1, MTR, Zero, Zero), Local0) If (LGreater (Local0, 0x06)) { Store (0x06, Local0) } Store (DerefOf (Index (DerefOf (Index (TIM0, 0x06)), Local0)), GSUT) Or (GSUE, 0x03, GSUE) } Else { If (Or (LEqual (PIO1, Ones), LEqual (PIO1, Zero))) { If (And (LLess (DMA1, Ones), LGreater (DMA1, Zero))) { Store (DMA1, PIO1) } } } And (Match (DerefOf (Index (TIM0, Zero)), MGE, PIO0, MTR, Zero, Zero), 0x07, Local0) Store (DerefOf (Index (DerefOf (Index (TIM0, One)), Local0)), Local1) Store (Local1, GMPT) And (Match (DerefOf (Index (TIM0, Zero)), MGE, PIO1, MTR, Zero, Zero), 0x07, Local0) Store (DerefOf (Index (DerefOf (Index (TIM0, One)), Local0)), Local1) Store (Local1, GSPT) Return (Zero) } Name (AT01, Buffer (0x07) { 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0xEF }) Name (AT02, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90 }) Name (AT03, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC6 }) Name (AT04, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x91 }) Name (ATA0, Buffer (0x1D) {}) Name (ATA1, Buffer (0x1D) {}) Name (ATA2, Buffer (0x1D) {}) Name (ATA3, Buffer (0x1D) {}) Name (ATAB, Buffer (0x1D) {}) CreateByteField (ATAB, Zero, CMDC) Method (GTFB, 3, Serialized) { Multiply (CMDC, 0x38, Local0) Add (Local0, 0x08, Local1) CreateField (ATAB, Local1, 0x38, CMDX) Multiply (CMDC, 0x07, Local0) CreateByteField (ATAB, Add (Local0, 0x02), A001) CreateByteField (ATAB, Add (Local0, 0x06), A005) Store (Arg0, CMDX) Store (Arg1, A001) Store (Arg2, A005) Increment (CMDC) } Method (GTF, 2, Serialized) { Store ("GTF_Entry", Debug) Store (Arg1, Debug) Store (Zero, CMDC) Name (ID49, 0x0C00) Name (ID59, Zero) Name (ID53, 0x04) Name (ID63, 0x0F00) Name (ID88, 0x0F00) Name (IRDY, One) Name (PIOT, Zero) Name (DMAT, Zero) If (LEqual (SizeOf (Arg1), 0x0200)) { CreateWordField (Arg1, 0x62, IW49) Store (IW49, ID49) CreateWordField (Arg1, 0x6A, IW53) Store (IW53, ID53) CreateWordField (Arg1, 0x7E, IW63) Store (IW63, ID63) CreateWordField (Arg1, 0x76, IW59) Store (IW59, ID59) CreateWordField (Arg1, 0xB0, IW88) Store (IW88, ID88) } Store (0xA0, Local7) If (Arg0) { Store (0xB0, Local7) And (CHNF, 0x08, IRDY) If (And (CHNF, 0x10)) { Store (PIO1, PIOT) } Else { Store (PIO0, PIOT) } If (And (CHNF, 0x04)) { If (And (CHNF, 0x10)) { Store (DMA1, DMAT) } Else { Store (DMA0, DMAT) } } } Else { And (CHNF, 0x02, IRDY) Store (PIO0, PIOT) If (And (CHNF, One)) { Store (DMA0, DMAT) } } If (LAnd (LAnd (And (ID53, 0x04), And (ID88, 0xFF00)), DMAT)) { Store (Match (DerefOf (Index (TIM0, 0x02)), MLE, DMAT, MTR, Zero, Zero), Local1) If (LGreater (Local1, 0x06)) { Store (0x06, Local1) } GTFB (AT01, Or (0x40, Local1), Local7) } Else { If (LAnd (And (ID63, 0xFF00), PIOT)) { And (Match (DerefOf (Index (TIM0, Zero)), MGE, PIOT, MTR, Zero, Zero), 0x03, Local0) Or (0x20, DerefOf (Index (DerefOf (Index (TIM0, 0x04)), Local0)), Local1) GTFB (AT01, Local1, Local7) } } If (IRDY) { And (Match (DerefOf (Index (TIM0, Zero)), MGE, PIOT, MTR, Zero, Zero), 0x07, Local0) Or (0x08, DerefOf (Index (DerefOf (Index (TIM0, 0x03)), Local0)), Local1) GTFB (AT01, Local1, Local7) } Else { If (And (ID49, 0x0400)) { GTFB (AT01, One, Local7) } } If (LAnd (And (ID59, 0x0100), And (ID59, 0xFF))) { GTFB (AT03, And (ID59, 0xFF), Local7) } Store ("ATAB_GTF", Debug) Store (ATAB, Debug) Return (ATAB) } Method (RATA, 1, NotSerialized) { CreateByteField (Arg0, Zero, CMDN) Multiply (CMDN, 0x38, Local0) CreateField (Arg0, 0x08, Local0, RETB) Store (RETB, Debug) Return (RETB) } } Device (ATA0) { Name (_ADR, 0x00050000) Device (PRI0) { Name (_ADR, Zero) Name (SPTM, Buffer (0x14) { 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SPTM) } Device (MAST) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { If (SSEN) { Store (SSEP, SMIP) } Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Concatenate (Local0, FZTF)) } } } Device (SEC0) { Name (_ADR, One) Name (SSTM, Buffer (0x14) { 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SSTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SSTM) } Device (MAST) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { If (SSEN) { Store (SSEP, SMIP) } Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Concatenate (Local0, FZTF)) } } } Method (DRMP, 0, NotSerialized) { Store (0x10, Local0) If (LEqual (And (_ADR, 0x0F), One)) { Store (0x0C, Local0) } If (LEqual (And (_ADR, 0x0F), Zero)) { Store (0x08, Local0) } ShiftRight (CPB0, Local0, Local1) And (Local1, 0x0F, Local0) Return (Local0) } } Device (ATA1) { Name (_ADR, 0x00050001) Device (PRI0) { Name (_ADR, Zero) Name (SPTM, Buffer (0x14) { 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SPTM) } Device (MAST) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { If (SSEN) { Store (SSEP, SMIP) } Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Concatenate (Local0, FZTF)) } } } Device (SEC0) { Name (_ADR, One) Name (SSTM, Buffer (0x14) { 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SSTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SSTM) } Device (MAST) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { If (SSEN) { Store (SSEP, SMIP) } Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Concatenate (Local0, FZTF)) } } } Method (DRMP, 0, NotSerialized) { Store (0x10, Local0) If (LEqual (And (_ADR, 0x0F), One)) { Store (0x0C, Local0) } If (LEqual (And (_ADR, 0x0F), Zero)) { Store (0x08, Local0) } ShiftRight (CPB0, Local0, Local1) And (Local1, 0x0F, Local0) Return (Local0) } } Device (ATA2) { Name (_ADR, 0x00050002) Device (PRI0) { Name (_ADR, Zero) Name (SPTM, Buffer (0x14) { 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SPTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SPTM) } Device (MAST) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { If (SSEN) { Store (SSEP, SMIP) } Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Concatenate (Local0, FZTF)) } } } Device (SEC0) { Name (_ADR, One) Name (SSTM, Buffer (0x14) { 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x13, 0x00, 0x00, 0x00 }) Method (_GTM, 0, NotSerialized) { Return (SSTM) } Method (_STM, 3, NotSerialized) { Store (Arg0, SSTM) } Device (MAST) { Name (_ADR, Zero) Method (_GTF, 0, NotSerialized) { If (SSEN) { Store (SSEP, SMIP) } Store (Buffer (0x07) { 0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF }, Local0) Return (Concatenate (Local0, FZTF)) } } } Method (DRMP, 0, NotSerialized) { Store (0x10, Local0) If (LEqual (And (_ADR, 0x0F), One)) { Store (0x0C, Local0) } If (LEqual (And (_ADR, 0x0F), Zero)) { Store (0x08, Local0) } ShiftRight (CPB0, Local0, Local1) And (Local1, 0x0F, Local0) Return (Local0) } } Device (P0P1) { Name (_ADR, 0x00060000) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR01) } Return (PR01) } } Device (BR10) { Name (_ADR, 0x000F0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x11, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR10) } Return (PR10) } } Device (BR11) { Name (_ADR, 0x000E0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x11, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR11) } Return (PR11) } } Device (BR12) { Name (_ADR, 0x000D0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x11, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR12) } Return (PR12) } } Device (BR15) { Name (_ADR, 0x000A0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x11, 0x04)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR15) } Return (PR15) } } } Scope (\_GPE) { Method (_L10, 0, NotSerialized) { \_SB.PCI0.SBRG.SIOH () Notify (\_SB.PWRB, 0x02) } Method (_L09, 0, NotSerialized) { Notify (\_SB.PCI0.NSMB, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L0D, 0, NotSerialized) { Notify (\_SB.PCI0.USB0, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L05, 0, NotSerialized) { Notify (\_SB.PCI0.USB2, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L00, 0, NotSerialized) { Notify (\_SB.PCI0.P0P1, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L11, 0, NotSerialized) { Notify (\_SB.PCI0.BR10, 0x02) Notify (\_SB.PCI0.BR11, 0x02) Notify (\_SB.PCI0.BR12, 0x02) Notify (\_SB.PCI0.BR15, 0x02) Notify (\_SB.PWRB, 0x02) } } Device (PWRB) { Name (_HID, EisaId ("PNP0C0C")) Name (_UID, 0xAA) Name (_STA, 0x0B) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x10, 0x04)) } } } Scope (_SB) { Name (BUFA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared) {15} }) CreateWordField (BUFA, One, ICRS) Method (LSTA, 1, NotSerialized) { If (Arg0) { Return (0x0B) } Else { Return (0x09) } } Method (LPRS, 2, NotSerialized) { If (PICM) { Return (Arg1) } Else { Return (Arg0) } } Method (LCRS, 1, NotSerialized) { If (PICM) { Name (BUFB, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared) { 0x00000011, } }) CreateByteField (BUFB, 0x05, AIRQ) Store (Arg0, AIRQ) If (LEqual (Arg0, One)) { Store (0x17, AIRQ) } If (LEqual (Arg0, 0x02)) { Store (0x16, AIRQ) } If (LEqual (Arg0, 0x03)) { Store (0x10, AIRQ) } If (LEqual (Arg0, 0x04)) { Store (0x11, AIRQ) } If (LEqual (Arg0, 0x06)) { Store (0x12, AIRQ) } If (LEqual (Arg0, 0x08)) { Store (0x14, AIRQ) } If (LEqual (Arg0, 0x0C)) { Store (0x13, AIRQ) } If (LEqual (Arg0, 0x0D)) { Store (0x15, AIRQ) } Return (BUFB) } Else { ShiftLeft (One, Arg0, ICRS) Return (BUFA) } } Method (LCRO, 1, NotSerialized) { If (PICM) { Name (BUFB, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveLow, Shared) { 0x00000014, } }) CreateByteField (BUFB, 0x05, AIRQ) Store (Arg0, AIRQ) If (LEqual (Arg0, One)) { Store (0x17, AIRQ) } If (LEqual (Arg0, 0x02)) { Store (0x16, AIRQ) } If (LEqual (Arg0, 0x03)) { Store (0x10, AIRQ) } If (LEqual (Arg0, 0x04)) { Store (0x11, AIRQ) } If (LEqual (Arg0, 0x06)) { Store (0x12, AIRQ) } If (LEqual (Arg0, 0x08)) { Store (0x14, AIRQ) } If (LEqual (Arg0, 0x0C)) { Store (0x13, AIRQ) } If (LEqual (Arg0, 0x0D)) { Store (0x15, AIRQ) } Return (BUFB) } Else { ShiftLeft (One, Arg0, ICRS) Return (BUFA) } } Method (LSRS, 1, NotSerialized) { If (PICM) { CreateByteField (Arg0, 0x05, SAIR) Store (SAIR, Local0) If (LEqual (Local0, 0x17)) { Store (One, Local0) } If (LEqual (Local0, 0x16)) { Store (0x02, Local0) } If (LEqual (Local0, 0x10)) { Store (0x03, Local0) } If (LEqual (Local0, 0x11)) { Store (0x04, Local0) } If (LEqual (Local0, 0x12)) { Store (0x06, Local0) } If (LEqual (Local0, 0x14)) { Store (0x08, Local0) } If (LEqual (Local0, 0x13)) { Store (0x0C, Local0) } If (LEqual (Local0, 0x15)) { Store (0x0D, Local0) } Return (Local0) } Else { CreateWordField (Arg0, One, ISRS) FindSetRightBit (ISRS, Local0) Return (Decrement (Local0)) } } Method (LSRO, 1, NotSerialized) { If (PICM) { CreateByteField (Arg0, 0x05, SAIR) Store (SAIR, Local0) If (LEqual (Local0, 0x14)) { Store (0x08, Local0) } If (LEqual (Local0, 0x15)) { Store (0x0D, Local0) } If (LEqual (Local0, 0x16)) { Store (0x02, Local0) } If (LEqual (Local0, 0x17)) { Store (One, Local0) } Return (Local0) } Else { CreateWordField (Arg0, One, ISRS) FindSetRightBit (ISRS, Local0) Return (Decrement (Local0)) } } Device (LNKA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, One) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PIRA)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (PRSA, RSIR)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PIRA) } Method (_CRS, 0, NotSerialized) { Return (LCRS (^^PCI0.SBRG.PIRA)) } Method (_SRS, 1, NotSerialized) { Store (LSRS (Arg0), ^^PCI0.SBRG.PIRA) } } Device (LNKB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x02) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PIRB)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (PRSB, RSIR)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PIRB) } Method (_CRS, 0, NotSerialized) { Return (LCRS (^^PCI0.SBRG.PIRB)) } Method (_SRS, 1, NotSerialized) { Store (LSRS (Arg0), ^^PCI0.SBRG.PIRB) } } Device (LNKC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x03) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PIRC)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (PRSC, RSIR)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PIRC) } Method (_CRS, 0, NotSerialized) { Return (LCRS (^^PCI0.SBRG.PIRC)) } Method (_SRS, 1, NotSerialized) { Store (LSRS (Arg0), ^^PCI0.SBRG.PIRC) } } Device (LNKD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x04) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PIRD)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (PRSD, RSIR)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PIRD) } Method (_CRS, 0, NotSerialized) { Return (LCRS (^^PCI0.SBRG.PIRD)) } Method (_SRS, 1, NotSerialized) { Store (LSRS (Arg0), ^^PCI0.SBRG.PIRD) } } Device (LNEA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x05) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PREA)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (PRSA, RSIR)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PREA) } Method (_CRS, 0, NotSerialized) { Return (LCRS (^^PCI0.SBRG.PREA)) } Method (_SRS, 1, NotSerialized) { Store (LSRS (Arg0), ^^PCI0.SBRG.PREA) } } Device (LNEB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x06) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PREB)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (PRSB, RSIR)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PREB) } Method (_CRS, 0, NotSerialized) { Return (LCRS (^^PCI0.SBRG.PREB)) } Method (_SRS, 1, NotSerialized) { Store (LSRS (Arg0), ^^PCI0.SBRG.PREB) } } Device (LNEC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x07) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PREC)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (PRSC, RSIR)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PREC) } Method (_CRS, 0, NotSerialized) { Return (LCRS (^^PCI0.SBRG.PREC)) } Method (_SRS, 1, NotSerialized) { Store (LSRS (Arg0), ^^PCI0.SBRG.PREC) } } Device (LNED) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x08) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PRED)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (PRSD, RSIR)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PRED) } Method (_CRS, 0, NotSerialized) { Return (LCRS (^^PCI0.SBRG.PRED)) } Method (_SRS, 1, NotSerialized) { Store (LSRS (Arg0), ^^PCI0.SBRG.PRED) } } Device (LUB0) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x09) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PIU0)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSB0, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PIU0) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.PIU0)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PIU0) } } Device (LMAD) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0A) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PILM)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSAD, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PILM) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.PILM)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PILM) } } Device (LUB2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0B) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PIU2)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSB2, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PIU2) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.PIU2)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PIU2) } } Device (LMAC) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0C) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PILN)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSAC, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PILN) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.PILN)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PILN) } } Device (LAZA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x0D) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PAZA)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSZA, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PAZA) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.PAZA)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PAZA) } } Device (LSMB) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x10) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PIRM)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSMB, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PIRM) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.PIRM)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PIRM) } } Device (LPMU) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x11) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PMUD)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSMU, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PMUD) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.PMUD)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PMUD) } } Device (LSA0) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x12) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PIID)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSA0, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PIID) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.PIID)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), Local0) Store (Local0, ^^PCI0.SBRG.PIID) } } Device (LSA1) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x13) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.SIID)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSA1, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.SIID) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.SIID)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), Local0) Store (Local0, ^^PCI0.SBRG.SIID) } } Device (LATA) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x14) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.PR0E)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSTA, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.PR0E) } Method (_CRS, 0, NotSerialized) { If (OSFL ()) { Return (Zero) } Else { Return (LCRO (^^PCI0.SBRG.PR0E)) } } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PR0E) } } Device (LSA2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x15) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.SIR2)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSA2, RSII)) } Method (_DIS, 0, NotSerialized) { Store (Zero, ^^PCI0.SBRG.SIR2) } Method (_CRS, 0, NotSerialized) { Return (LCRO (^^PCI0.SBRG.SIR2)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), Local0) Store (Local0, ^^PCI0.SBRG.SIR2) } } } Scope (_SB) { Name (XCPD, Zero) Name (XNPT, One) Name (XCAP, 0x02) Name (XDCP, 0x04) Name (XDCT, 0x08) Name (XDST, 0x0A) Name (XLCP, 0x0C) Name (XLCT, 0x10) Name (XLST, 0x12) Name (XSCP, 0x14) Name (XSCT, 0x18) Name (XSST, 0x1A) Name (XRCT, 0x1C) Mutex (MUTE, 0x00) Method (RBPE, 1, NotSerialized) { Acquire (MUTE, 0x03E8) Add (Arg0, PCIB, Local0) OperationRegion (PCFG, SystemMemory, Local0, One) Field (PCFG, ByteAcc, NoLock, Preserve) { XCFG, 8 } Release (MUTE) Return (XCFG) } Method (RWPE, 1, NotSerialized) { Acquire (MUTE, 0x03E8) And (Arg0, 0xFFFFFFFE, Arg0) Add (Arg0, PCIB, Local0) OperationRegion (PCFG, SystemMemory, Local0, 0x02) Field (PCFG, WordAcc, NoLock, Preserve) { XCFG, 16 } Release (MUTE) Return (XCFG) } Method (RDPE, 1, NotSerialized) { Acquire (MUTE, 0x03E8) And (Arg0, 0xFFFFFFFC, Arg0) Add (Arg0, PCIB, Local0) OperationRegion (PCFG, SystemMemory, Local0, 0x04) Field (PCFG, DWordAcc, NoLock, Preserve) { XCFG, 32 } Release (MUTE) Return (XCFG) } Method (WBPE, 2, NotSerialized) { Acquire (MUTE, 0x0FFF) Add (Arg0, PCIB, Local0) OperationRegion (PCFG, SystemMemory, Local0, One) Field (PCFG, ByteAcc, NoLock, Preserve) { XCFG, 8 } Store (Arg1, XCFG) Release (MUTE) } Method (WWPE, 2, NotSerialized) { Acquire (MUTE, 0x03E8) And (Arg0, 0xFFFFFFFE, Arg0) Add (Arg0, PCIB, Local0) OperationRegion (PCFG, SystemMemory, Local0, 0x02) Field (PCFG, WordAcc, NoLock, Preserve) { XCFG, 16 } Store (Arg1, XCFG) Release (MUTE) } Method (WDPE, 2, NotSerialized) { Acquire (MUTE, 0x03E8) And (Arg0, 0xFFFFFFFC, Arg0) Add (Arg0, PCIB, Local0) OperationRegion (PCFG, SystemMemory, Local0, 0x04) Field (PCFG, DWordAcc, NoLock, Preserve) { XCFG, 32 } Store (Arg1, XCFG) Release (MUTE) } Method (RWDP, 3, NotSerialized) { Acquire (MUTE, 0x03E8) And (Arg0, 0xFFFFFFFC, Arg0) Add (Arg0, PCIB, Local0) OperationRegion (PCFG, SystemMemory, Local0, 0x04) Field (PCFG, DWordAcc, NoLock, Preserve) { XCFG, 32 } And (XCFG, Arg2, Local1) Or (Local1, Arg1, XCFG) Release (MUTE) } Method (RPME, 1, NotSerialized) { Add (Arg0, 0x84, Local0) Store (RDPE (Local0), Local1) If (LEqual (Local1, Ones)) { Return (Zero) } Else { If (LAnd (Local1, 0x00010000)) { WDPE (Local0, And (Local1, 0x00010000)) Return (One) } Return (Zero) } } } Scope (_SB.PCI0) { Name (SUPP, Zero) Name (CTRL, Zero) Method (_OSC, 4, NotSerialized) { If (LEqual (Arg0, Buffer (0x10) { 0x5B, 0x4D, 0xDB, 0x33, 0xF7, 0x1F, 0x1C, 0x40, 0x96, 0x57, 0x74, 0x41, 0xC0, 0x3D, 0xD7, 0x66 })) { CreateDWordField (Arg3, Zero, CDW1) CreateDWordField (Arg3, 0x04, CDW2) CreateDWordField (Arg3, 0x08, CDW3) Store (CDW2, SUPP) Store (CDW3, CTRL) If (LNot (LEqual (And (SUPP, 0x16), 0x16))) { And (CTRL, 0x1E, CTRL) } And (CTRL, 0x1D, CTRL) If (Not (And (CDW1, One))) { If (And (CTRL, One)) {} If (And (CTRL, 0x04)) {} If (And (CTRL, 0x10)) {} } If (LNot (LEqual (Arg1, One))) { Or (CDW1, 0x08, CDW1) } If (LNot (LEqual (CDW3, CTRL))) { Or (CDW1, 0x10, CDW1) } Store (CTRL, CDW3) Return (Arg3) } Else { Or (CDW1, 0x04, CDW1) Return (Arg3) } } } Scope (_SB) { Scope (PCI0) { Name (CRS, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, 0x0000, 0x00FF, 0x0000, 0x0100) IO (Decode16, 0x0CF8, 0x0CF8, 0x01, 0x08) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, 0x0000, 0x0CA1, 0x0000, 0x0CA2) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, 0x0D00, 0xFFFF, 0x0000, 0xF300) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000A0000, 0x000BFFFF, 0x00000000, 0x00020000) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x000C0000, 0x000DFFFF, 0x00000000, 0x00020000) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000) }) CreateDWordField (CRS, 0x5C, MIN5) CreateDWordField (CRS, 0x60, MAX5) CreateDWordField (CRS, 0x68, LEN5) CreateDWordField (CRS, 0x76, MIN6) CreateDWordField (CRS, 0x7A, MAX6) CreateDWordField (CRS, 0x82, LEN6) Method (_CRS, 0, NotSerialized) { Store (MG1L, Local0) If (Local0) { Store (MG1B, MIN5) Store (MG1L, LEN5) Add (MIN5, Decrement (Local0), MAX5) } Store (MG2B, MIN6) Store (MG2L, LEN6) Store (MG2L, Local0) Add (MIN6, Decrement (Local0), MAX6) Return (CRS) } } } Name (WOTB, Zero) Name (WSSB, Zero) Name (WAXB, Zero) Method (_PTS, 1, NotSerialized) { Store (Arg0, DBG8) PTS (Arg0) Store (Zero, Index (WAKP, Zero)) Store (Zero, Index (WAKP, One)) If (LAnd (LEqual (Arg0, 0x04), LEqual (OSFL (), 0x02))) { Sleep (0x0BB8) } Store (ASSB, WSSB) Store (AOTB, WOTB) Store (AAXB, WAXB) Store (Arg0, ASSB) Store (OSFL (), AOTB) Store (Zero, AAXB) } Method (_WAK, 1, NotSerialized) { ShiftLeft (Arg0, 0x04, DBG8) WAK (Arg0) If (ASSB) { Store (WSSB, ASSB) Store (WOTB, AOTB) Store (WAXB, AAXB) } If (DerefOf (Index (WAKP, Zero))) { Store (Zero, Index (WAKP, One)) } Else { Store (Arg0, Index (WAKP, One)) } Return (WAKP) } Scope (_SB.PCI0) { Device (SLIX) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x12) Method (_STA, 0, NotSerialized) { Store (CPB3, Local0) If (LEqual (And (Local0, One), One)) { Return (0x0F) } Else { Return (Zero) } } Name (CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, 0x00000000) }) CreateDWordField (CRS, 0x04, BASS) CreateDWordField (CRS, 0x08, LENS) Method (_CRS, 0, NotSerialized) { Store (SLIB, BASS) Store (SLBL, LENS) Return (CRS) } } } Name (_S0, Package (0x04) { Zero, Zero, Zero, Zero }) If (SS4) { Name (_S4, Package (0x04) { 0x06, Zero, Zero, Zero }) } Name (_S5, Package (0x04) { 0x07, Zero, Zero, Zero }) Method (PTS, 1, NotSerialized) { If (Arg0) { \_SB.PCI0.SBRG.SIOS (Arg0) \_SB.PCI0.NPTS (Arg0) \_SB.PCI0.SBRG.SPTS (Arg0) } } Method (WAK, 1, NotSerialized) { \_SB.PCI0.SBRG.SIOW (Arg0) \_SB.PCI0.NWAK (Arg0) \_SB.PCI0.SBRG.SWAK (Arg0) } Scope (\_PR.P001) { Name (_PCT, Package (0x02) { ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) }, ResourceTemplate () { Register (FFixedHW, 0x00, 0x00, 0x0000000000000000) } }) Name (_PSS, Package (0x04) { Package (0x06) { 0x00000898, 0x000186A0, 0x00000064, 0x00000009, 0xE8202A0E, 0x0000020E }, Package (0x06) { 0x000007D0, 0x0001494B, 0x00000064, 0x00000009, 0xE8202A8C, 0x0000028C }, Package (0x06) { 0x00000708, 0x00011201, 0x00000064, 0x00000009, 0xE8202B0A, 0x0000030A }, Package (0x06) { 0x000003E8, 0x000075E2, 0x00000064, 0x00000009, 0xE8202C82, 0x00000482 } }) Name (_PPC, 0x00) Name (_PSD, Package (0x01) { Package (0x05) { 0x05, 0x00, 0x00000000, 0x000000FD, 0x00000001 } }) } }