/* RSD PTR: OEM=ACPIAM, ACPI_Rev=2.0x (2) XSDT=0xdfff0100, length=36, cksum=253 */ /* XSDT: Length=76, Revision=1, Checksum=132, OEMID=A M I, OEM Table ID=OEMXSDT, OEM Revision=0x7000704, Creator ID=MSFT, Creator Revision=0x97 Entries={ 0xdfff0290, 0xdfff0390, 0xdfff0410, 0xdfffe040, 0xdfff4f90 } */ /* FACP: Length=244, Revision=3, Checksum=95, OEMID=A M I, OEM Table ID=OEMFACP, OEM Revision=0x7000704, Creator ID=MSFT, Creator Revision=0x97 FACS=0xdfffe000, DSDT=0xdfff04a0 INT_MODEL=APIC Preferred_PM_Profile=Enterprise Server (4) 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,8042} Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4,HEADLESS} X_FACS=0xdfffe000, X_DSDT=0xdfff04a0 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=19183, Revision=1, Checksum=118, OEMID=S39_3, OEM Table ID=S39_3B17, OEM Revision=0xb17, Creator ID=INTL, Creator Revision=0x20051117 */ /* APIC: Length=118, Revision=1, Checksum=203, OEMID=A M I, OEM Table ID=OEMAPIC, OEM Revision=0x7000704, Creator ID=MSFT, 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={ENABLED} APIC ID=1 Type=Local APIC ACPI CPU=3 Flags={ENABLED} APIC ID=2 Type=Local APIC ACPI CPU=4 Flags={ENABLED} APIC ID=3 Type=IO APIC APIC ID=4 INT BASE=0 ADDR=0x00000000fec00000 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=24, OEMID=A M I, OEM Table ID=OEMSPCR, OEM Revision=0x7000704, Creator ID=MSFT, Creator Revision=0x97 */ /* SRAT: Length=272, Revision=1, Checksum=15, OEMID=AMD, OEM Table ID=HAMMER, OEM Revision=0x1, Creator ID=AMD, Creator Revision=0x1 */ /* * Intel ACPI Component Architecture * AML Disassembler version 20070320 * * Disassembly of /tmp/acpidump.qRsNZT, Sat Jul 12 10:04:28 2008 * * * Original Table Header: * Signature "DSDT" * Length 0x00004AEF (19183) * Revision 0x01 * OEM ID "S39_3" * OEM Table ID "S39_3B17" * OEM Revision 0x00000B17 (2839) * Creator ID "INTL" * Creator Revision 0x20051117 (537202967) */ DefinitionBlock ("/tmp/acpidump.aml", "DSDT", 1, "S39_3", "S39_3B17", 0x00000B17) { Name (DP80, 0x80) Name (DP90, 0x90) Name (SPIO, 0x2E) Name (IOSB, 0x0A00) Name (IOSL, 0x10) Name (IOHB, 0x0A10) Name (IOHL, 0x10) Name (SSMI, 0x242E) Name (SSEP, 0x99) Name (SSEN, One) Name (PMBS, 0x2000) Name (PMLN, 0x0100) Name (SCBS, 0x2400) Name (SCLN, 0x0100) Name (ACBS, 0x2800) Name (ACLN, 0x0100) Name (IGPB, 0x2F00) 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, 0xDFFFE064, 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 (LNotEqual (OSVR, Ones)) { Return (OSVR) } If (LEqual (PICM, Zero)) { Store (0xAC, DBG8) } Store (One, OSVR) 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 (LNotEqual (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) Or (Local0, 0x20, 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) {} Processor (P003, 0x03, 0x00000000, 0x00) {} Processor (P004, 0x04, 0x00000000, 0x00) {} Alias (P001, CPU1) Alias (P002, CPU2) Alias (P003, CPU3) Alias (P004, CPU4) } Scope (_SB) { Name (PR00, Package (0x22) { 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) { 0x0008FFFF, Zero, LMAC, Zero }, Package (0x04) { 0x0009FFFF, Zero, LMAD, Zero }, Package (0x04) { 0x0005FFFF, Zero, LSA0, Zero }, Package (0x04) { 0x0005FFFF, One, LSA1, Zero }, Package (0x04) { 0x0005FFFF, 0x02, LSA2, Zero }, Package (0x04) { 0x0006FFFF, One, LAZA, 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) { 0x000CFFFF, Zero, LNEA, Zero }, Package (0x04) { 0x000CFFFF, One, LNEB, Zero }, Package (0x04) { 0x000CFFFF, 0x02, LNEC, Zero }, Package (0x04) { 0x000CFFFF, 0x03, LNED, Zero }, Package (0x04) { 0x000BFFFF, Zero, LNEB, Zero }, Package (0x04) { 0x000BFFFF, One, LNEC, Zero }, Package (0x04) { 0x000BFFFF, 0x02, LNED, Zero }, Package (0x04) { 0x000BFFFF, 0x03, LNEA, 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 (0x22) { 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) { 0x0008FFFF, Zero, LMAC, Zero }, Package (0x04) { 0x0009FFFF, Zero, LMAD, Zero }, Package (0x04) { 0x0005FFFF, Zero, LSA0, Zero }, Package (0x04) { 0x0005FFFF, One, LSA1, Zero }, Package (0x04) { 0x0005FFFF, 0x02, LSA2, Zero }, Package (0x04) { 0x0006FFFF, One, LAZA, 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) { 0x000CFFFF, Zero, LNEA, Zero }, Package (0x04) { 0x000CFFFF, One, LNEB, Zero }, Package (0x04) { 0x000CFFFF, 0x02, LNEC, Zero }, Package (0x04) { 0x000CFFFF, 0x03, LNED, Zero }, Package (0x04) { 0x000BFFFF, Zero, LNEB, Zero }, Package (0x04) { 0x000BFFFF, One, LNEC, Zero }, Package (0x04) { 0x000BFFFF, 0x02, LNED, Zero }, Package (0x04) { 0x000BFFFF, 0x03, LNEA, 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 (PR13, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNEA, Zero }, Package (0x04) { 0xFFFF, One, LNEB, Zero }, Package (0x04) { 0xFFFF, 0x02, LNEC, Zero }, Package (0x04) { 0xFFFF, 0x03, LNED, Zero } }) Name (AR13, Package (0x04) { Package (0x04) { 0xFFFF, Zero, LNEA, Zero }, Package (0x04) { 0xFFFF, One, LNEB, Zero }, Package (0x04) { 0xFFFF, 0x02, LNEC, Zero }, Package (0x04) { 0xFFFF, 0x03, LNED, Zero } }) Name (PR14, 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 (AR14, 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 (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 (0x01) { Package (0x04) { 0x0005FFFF, Zero, LNKB, Zero } }) Name (AR01, Package (0x01) { Package (0x04) { 0x0005FFFF, Zero, LNKB, Zero } }) Name (PR1E, Package (0x04) { Package (0x04) { 0x0004FFFF, Zero, LNED, Zero }, Package (0x04) { 0x0004FFFF, One, LNEA, Zero }, Package (0x04) { 0x0004FFFF, 0x02, LNEB, Zero }, Package (0x04) { 0x0004FFFF, 0x03, LNEC, Zero } }) Name (AR1E, Package (0x04) { Package (0x04) { 0x0004FFFF, Zero, LNED, Zero }, Package (0x04) { 0x0004FFFF, One, LNEA, Zero }, Package (0x04) { 0x0004FFFF, 0x02, LNEB, Zero }, Package (0x04) { 0x0004FFFF, 0x03, LNEC, Zero } }) Name (PRSA, ResourceTemplate () { IRQ (Level, ActiveLow, Shared, ) {5,7,10,11,14,15} }) Alias (PRSA, PRSB) Alias (PRSA, PRSC) Alias (PRSA, PRSD) Alias (PRSA, RSEA) Alias (PRSA, RSEB) Alias (PRSA, RSEC) Alias (PRSA, RSED) Alias (PRSA, RSMB) Alias (PRSA, RSB2) Alias (PRSA, RSMU) Alias (PRSA, RSA1) Alias (PRSA, RSA0) Alias (PRSA, 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) } 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 } 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 (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, // Range Minimum 0x04D2, // Range Maximum 0x01, // Alignment 0x01, // Length ) }) } } } Device (PIC) { Name (_HID, EisaId ("PNP0000")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0020, // Range Minimum 0x0020, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x00A0, // Range Minimum 0x00A0, // Range Maximum 0x00, // Alignment 0x02, // Length ) IRQNoFlags () {2} }) } Device (DMAD) { Name (_HID, EisaId ("PNP0200")) Name (_CRS, ResourceTemplate () { DMA (Compatibility, BusMaster, Transfer8, ) {4} IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0081, // Range Minimum 0x0081, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0087, // Range Minimum 0x0087, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0089, // Range Minimum 0x0089, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x008F, // Range Minimum 0x008F, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x00C0, // Range Minimum 0x00C0, // Range Maximum 0x00, // Alignment 0x20, // Length ) }) } Device (TMR) { Name (_HID, EisaId ("PNP0100")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0040, // Range Minimum 0x0040, // Range Maximum 0x00, // Alignment 0x04, // Length ) IRQNoFlags () {0} }) } Device (RTC0) { Name (_HID, EisaId ("PNP0B00")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0070, // Range Minimum 0x0070, // Range Maximum 0x00, // Alignment 0x02, // Length ) IRQNoFlags () {8} }) } Device (SPKR) { Name (_HID, EisaId ("PNP0800")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0061, // Range Minimum 0x0061, // Range Maximum 0x00, // Alignment 0x01, // Length ) }) } Device (COPR) { Name (_HID, EisaId ("PNP0C04")) Name (_CRS, ResourceTemplate () { IO (Decode16, 0x00F0, // Range Minimum 0x00F0, // Range Maximum 0x00, // Alignment 0x10, // Length ) 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, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {4} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) } Device (UAR2) { Name (_UID, 0x02) Name (_HID, EisaId ("PNP0501")) Method (_STA, 0, NotSerialized) { Return (DSTA (One)) } Method (_DIS, 0, NotSerialized) { DCNT (One, Zero) } Method (_CRS, 0, NotSerialized) { Return (DCRS (One, One)) } Method (_SRS, 1, NotSerialized) { DSRS (Arg0, One) } Method (_PRS, 0, NotSerialized) { Return (CMPR) } Name (CMPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03F8, // Range Minimum 0x03F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } StartDependentFnNoPri () { IO (Decode16, 0x02F8, // Range Minimum 0x02F8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } StartDependentFnNoPri () { IO (Decode16, 0x03E8, // Range Minimum 0x03E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } StartDependentFnNoPri () { IO (Decode16, 0x02E8, // Range Minimum 0x02E8, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } EndDependentFn () }) } Device (LPTE) { Method (_HID, 0, NotSerialized) { If (LPTM (0x02)) { Return (0x0104D041) } Else { Return (0x0004D041) } } Method (_STA, 0, NotSerialized) { Return (DSTA (0x02)) } Method (_DIS, 0, NotSerialized) { DCNT (0x02, Zero) } Method (_CRS, 0, NotSerialized) { DCRS (0x02, One) If (LPTM (0x02)) { Store (IRQM, IRQE) Store (DMAM, DMAE) Store (IO11, IO21) Store (IO12, IO22) Store (LEN1, LEN2) Add (IO21, 0x0400, IO31) Store (IO31, IO32) Store (LEN2, LEN3) Return (CRS2) } Else { Return (CRS1) } } Method (_SRS, 1, NotSerialized) { DSRS (Arg0, 0x02) } Method (_PRS, 0, NotSerialized) { If (LPTM (0x02)) { Return (EPPR) } Else { Return (LPPR) } } Name (LPPR, ResourceTemplate () { StartDependentFnNoPri () { IO (Decode16, 0x0378, // Range Minimum 0x0378, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x0278, // Range Minimum 0x0278, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } StartDependentFnNoPri () { IO (Decode16, 0x03BC, // Range Minimum 0x03BC, // Range Maximum 0x01, // Alignment 0x04, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {} } EndDependentFn () }) Name (EPPR, ResourceTemplate () { StartDependentFn (0x00, 0x00) { IO (Decode16, 0x0378, // Range Minimum 0x0378, // Range Maximum 0x01, // Alignment 0x08, // Length ) IO (Decode16, 0x0778, // Range Minimum 0x0778, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {7} DMA (Compatibility, NotBusMaster, Transfer8, ) {3} } StartDependentFnNoPri () { IO (Decode16, 0x0378, // Range Minimum 0x0378, // Range Maximum 0x01, // Alignment 0x08, // Length ) IO (Decode16, 0x0778, // Range Minimum 0x0778, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } StartDependentFnNoPri () { IO (Decode16, 0x0278, // Range Minimum 0x0278, // Range Maximum 0x01, // Alignment 0x08, // Length ) IO (Decode16, 0x0678, // Range Minimum 0x0678, // Range Maximum 0x01, // Alignment 0x08, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } StartDependentFnNoPri () { IO (Decode16, 0x03BC, // Range Minimum 0x03BC, // Range Maximum 0x01, // Alignment 0x04, // Length ) IO (Decode16, 0x07BC, // Range Minimum 0x07BC, // Range Maximum 0x01, // Alignment 0x04, // Length ) IRQNoFlags () {3,4,5,6,7,10,11,12} DMA (Compatibility, NotBusMaster, Transfer8, ) {0,1,2,3} } EndDependentFn () }) } Device (RMSC) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, 0x10) Name (CRS, ResourceTemplate () { DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D0000, // Range Minimum 0x000D3FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000D4000, // Range Minimum 0x000D7FFF, // Range Maximum 0x00000000, // Translation Offset 0x00004000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000DE000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00002000, // Length ,, , AddressRangeMemory, TypeStatic) IO (Decode16, 0x0010, // Range Minimum 0x0010, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0022, // Range Minimum 0x0022, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x0044, // Range Minimum 0x0044, // Range Maximum 0x00, // Alignment 0x1C, // Length ) IO (Decode16, 0x0062, // Range Minimum 0x0062, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0065, // Range Minimum 0x0065, // Range Maximum 0x00, // Alignment 0x0B, // Length ) IO (Decode16, 0x0072, // Range Minimum 0x0072, // Range Maximum 0x00, // Alignment 0x0E, // Length ) IO (Decode16, 0x0080, // Range Minimum 0x0080, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0084, // Range Minimum 0x0084, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0088, // Range Minimum 0x0088, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x008C, // Range Minimum 0x008C, // Range Maximum 0x00, // Alignment 0x03, // Length ) IO (Decode16, 0x0090, // Range Minimum 0x0090, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x00A2, // Range Minimum 0x00A2, // Range Maximum 0x00, // Alignment 0x1E, // Length ) IO (Decode16, 0x00E0, // Range Minimum 0x00E0, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0CA0, // Range Minimum 0x0CA0, // Range Maximum 0x00, // Alignment 0x20, // Length ) IO (Decode16, 0x04D0, // Range Minimum 0x04D0, // Range Maximum 0x00, // Alignment 0x02, // Length ) IO (Decode16, 0x0800, // Range Minimum 0x0800, // Range Maximum 0x00, // Alignment 0x10, // Length ) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y00) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y01) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y02) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y03) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y04) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y05) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y06) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y07) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y08) Memory32Fixed (ReadOnly, 0xFEE01000, // Address Base 0x000FF000, // Address Length ) }) Method (_CRS, 0, NotSerialized) { CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y00._MIN, GP00) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y00._MAX, GP01) CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y00._LEN, GP0L) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y01._MIN, GP10) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y01._MAX, GP11) CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y01._LEN, GP1L) Store (PMBS, GP00) Store (PMBS, GP01) If (LGreaterEqual (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, \_SB.PCI0.SBRG.RMSC._Y02._MIN, SC00) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y02._MAX, SC01) CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y02._LEN, SC0L) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y03._MIN, SC10) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y03._MAX, SC11) CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y03._LEN, SC1L) Store (SCBS, SC00) Store (SCBS, SC01) If (LGreaterEqual (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, \_SB.PCI0.SBRG.RMSC._Y04._MIN, AC00) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y04._MAX, AC01) CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y04._LEN, AC0L) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y05._MIN, AC10) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y05._MAX, AC11) CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y05._LEN, AC1L) Store (ACBS, AC00) Store (ACBS, AC01) If (LGreaterEqual (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, \_SB.PCI0.SBRG.RMSC._Y06._MIN, IC00) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y06._MAX, IC01) CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y06._LEN, IC0L) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y07._MIN, IC10) CreateWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y07._MAX, IC11) CreateByteField (CRS, \_SB.PCI0.SBRG.RMSC._Y07._LEN, IC1L) Store (IGPB, IC00) Store (IGPB, IC01) If (LGreaterEqual (IGLN, 0x0100)) { ShiftRight (IGLN, One, IC0L) Add (IC00, IC0L, IC10) Add (IC01, IC0L, IC11) Subtract (IGLN, IC0L, IC1L) } Else { Store (IGLN, IC0L) } } CreateDWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y08._BAS, MB01) CreateDWordField (CRS, \_SB.PCI0.SBRG.RMSC._Y08._LEN, ML01) Store (CPB1, MB01) Store (CPB2, ML01) Return (CRS) } } 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, // Address Base 0x10000000, // Address Length _Y09) }) Method (_CRS, 0, NotSerialized) { CreateDWordField (CRS, \_SB.PCI0.PCIE._Y09._BAS, BAS1) CreateDWordField (CRS, \_SB.PCI0.PCIE._Y09._LEN, LEN1) Store (PCIB, BAS1) Store (PCIL, LEN1) Return (CRS) } } Device (OMSC) { Name (_HID, EisaId ("PNP0C02")) Name (_UID, Zero) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y0A) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y0B) }) Method (_CRS, 0, NotSerialized) { If (APIC) { CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y0A._LEN, ML01) CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y0A._BAS, MB01) CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y0B._LEN, ML02) CreateDWordField (CRS, \_SB.PCI0.SBRG.OMSC._Y0B._BAS, MB02) Store (0xFEC00000, MB01) Store (0x1000, ML01) Store (0xFEE00000, MB02) Store (0x1000, ML02) } Return (CRS) } } Device (^^RMEM) { Name (_HID, EisaId ("PNP0C01")) Name (_UID, One) Name (CRS, ResourceTemplate () { Memory32Fixed (ReadWrite, 0x00000000, // Address Base 0x000A0000, // Address Length ) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y0C) Memory32Fixed (ReadOnly, 0x000E0000, // Address Base 0x00020000, // Address Length _Y0D) Memory32Fixed (ReadWrite, 0x00100000, // Address Base 0x00000000, // Address Length _Y0E) Memory32Fixed (ReadOnly, 0x00000000, // Address Base 0x00000000, // Address Length _Y0F) }) Method (_CRS, 0, NotSerialized) { CreateDWordField (CRS, \_SB.RMEM._Y0C._BAS, BAS1) CreateDWordField (CRS, \_SB.RMEM._Y0C._LEN, LEN1) CreateDWordField (CRS, \_SB.RMEM._Y0D._BAS, BAS2) CreateDWordField (CRS, \_SB.RMEM._Y0D._LEN, LEN2) CreateDWordField (CRS, \_SB.RMEM._Y0E._LEN, LEN3) CreateDWordField (CRS, \_SB.RMEM._Y0F._BAS, BAS4) CreateDWordField (CRS, \_SB.RMEM._Y0F._LEN, LEN4) If (OSFL ()) {} Else { If (MG1B) { If (LGreater (MG1B, 0x000C0000)) { Store (0x000C0000, BAS1) Subtract (MG1B, BAS1, LEN1) } } Else { Store (0x000C0000, BAS1) Store (0x00020000, LEN1) } If (Add (MG1B, MG1L, Local0)) { Store (Local0, BAS2) Subtract (0x00100000, BAS2, LEN2) } } Subtract (MG2B, 0x00100000, LEN3) Add (MG2B, MG2L, BAS4) Subtract (Zero, BAS4, LEN4) Return (CRS) } } Device (PS2K) { Name (_HID, EisaId ("PNP0303")) Name (_CID, 0x0B03D041) Method (_STA, 0, NotSerialized) { ShiftLeft (One, 0x0A, Local0) If (And (IOST, Local0)) { Return (0x0F) } Return (Zero) } Name (_CRS, ResourceTemplate () { IO (Decode16, 0x0060, // Range Minimum 0x0060, // Range Maximum 0x00, // Alignment 0x01, // Length ) IO (Decode16, 0x0064, // Range Minimum 0x0064, // Range Maximum 0x00, // Alignment 0x01, // Length ) IRQNoFlags () {1} }) } Method (PS2K._PRW, 0, NotSerialized) { Return (GPRW (0x10, 0x04)) } Device (PS2M) { Name (_HID, EisaId ("PNP0F03")) Name (_CID, 0x130FD041) Method (_STA, 0, NotSerialized) { ShiftLeft (One, 0x0C, Local0) If (And (IOST, Local0)) { Return (0x0F) } 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, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y10) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y11) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x00, // Alignment 0x00, // Length _Y12) }) Method (_CRS, 0, NotSerialized) { If (LAnd (LNotEqual (SPIO, 0x03F0), LGreater (SPIO, 0xF0))) { CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y10._MIN, GP10) CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y10._MAX, GP11) CreateByteField (CRS, \_SB.PCI0.SBRG.SIOR._Y10._LEN, GPL1) Store (SPIO, GP10) Store (SPIO, GP11) Store (0x02, GPL1) } If (IOSB) { CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y11._MIN, GP20) CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y11._MAX, GP21) CreateByteField (CRS, \_SB.PCI0.SBRG.SIOR._Y11._LEN, GPL2) Store (IOSB, GP20) Store (IOSB, GP21) Store (IOSL, GPL2) } If (IOHB) { CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y12._MIN, GP30) CreateWordField (CRS, \_SB.PCI0.SBRG.SIOR._Y12._MAX, GP31) CreateByteField (CRS, \_SB.PCI0.SBRG.SIOR._Y12._LEN, GPL3) Store (IOHB, GP30) Store (IOHB, GP31) Store (IOHL, GPL3) } Return (CRS) } } Name (DCAT, Package (0x16) { 0x02, 0x03, One, Zero, 0xFF, 0x07, 0xFF, 0xFF, 0x07, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x09, 0xFF, 0xFF, 0xFF, 0xFF }) Method (ENFG, 1, NotSerialized) { Store (0x87, INDX) Store (0x87, INDX) Store (Arg0, LDN) } Method (EXFG, 0, NotSerialized) { Store (0xAA, INDX) } Method (LPTM, 1, NotSerialized) { ENFG (CGLD (Arg0)) And (OPT0, 0x02, Local0) EXFG () Return (Local0) } Method (UHID, 1, NotSerialized) { If (LEqual (Arg0, One)) { ENFG (CGLD (Arg0)) And (OPT1, 0x38, Local0) EXFG () If (Local0) { Return (0x1005D041) } } Return (0x0105D041) } Method (SIOK, 1, NotSerialized) { ENFG (0x0A) And (0xFF, OPT3, OPT3) And (Arg0, One, Local0) Or (OPT2, Local0, OPT2) Store (And (Arg0, One), ACTR) EXFG () } Name (KBFG, One) Name (MSFG, One) Name (U1FG, One) Name (U2FG, One) OperationRegion (KBRW, SystemIO, 0x60, 0x05) Field (KBRW, ByteAcc, NoLock, Preserve) { KP60, 8, Offset (0x04), KP64, 8 } OperationRegion (KB64, SystemIO, 0x64, One) Field (KB64, ByteAcc, NoLock, Preserve) { , 1, KRDY, 1, Offset (0x01) } Method (PS2K._PSW, 1, NotSerialized) { If (LNot (LOr (LEqual (OSFL (), One), LEqual (OSFL (), 0x02)))) { If (Arg0) { Store (One, KBFG) } Else { Store (Zero, KBFG) } } } Method (PS2M._PSW, 1, NotSerialized) { 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) And (CRE0, 0x1F, CRE0) If (LEqual (Arg0, One)) { SIOK (Ones) ENFG (0x0A) If (KBFG) { Or (OPT6, 0x10, OPT6) } If (MSFG) { Or (OPT6, 0x20, OPT6) } EXFG () ENFG (0x07) And (OPT0, 0xFD, OPT0) Or (OPT1, 0x02, OPT1) Or (OPT3, 0x02, OPT3) EXFG () ENFG (0x08) And (OPT5, 0x3F, OPT5) Or (OPT5, 0x80, OPT5) EXFG () } If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { If (WKTP) { SIOK (Ones) ENFG (0x0A) If (KBFG) { Or (OPT6, 0x10, OPT6) } If (MSFG) { Or (OPT6, 0x20, OPT6) } EXFG () } Else { ENFG (0x0A) If (KBFG) { Or (CRE0, 0x41, CRE0) } If (MSFG) { Or (CRE0, 0x22, CRE0) Or (CRE6, 0x80, CRE6) } EXFG () } } } Method (SIOW, 1, NotSerialized) { Store ("SIOW", Debug) SIOK (Zero) If (LEqual (Arg0, One)) { ENFG (0x0A) And (OPT6, 0xCF, OPT6) And (OPT2, 0xFE, OPT2) EXFG () ENFG (0x08) And (OPT5, 0x3F, OPT5) EXFG () } If (LOr (LEqual (Arg0, 0x03), LEqual (Arg0, 0x04))) { ENFG (0x0A) And (CRE0, 0x1D, CRE0) And (CRE6, 0x7F, CRE6) EXFG () } } Method (SIOH, 0, NotSerialized) { Store ("SIOH", Debug) ENFG (0x0A) If (And (OPT3, 0x10)) { Notify (PS2K, 0x02) } If (And (OPT3, 0x20)) { Notify (PS2M, 0x02) } SIOK (Zero) } 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 (0x22), FDCP, 1, , 2, LPTP, 1, URAP, 1, URBP, 1, Offset (0x30), ACTR, 8, Offset (0x60), IOAH, 8, IOAL, 8, IOH2, 8, IOL2, 8, Offset (0x70), INTR, 8, Offset (0x74), DMCH, 8, Offset (0xE0), CRE0, 8, CRE1, 8, CRE2, 8, CRE3, 8, CRE4, 8, CRE5, 8, CRE6, 8, Offset (0xF0), OPT0, 8, OPT1, 8, OPT2, 8, OPT3, 8, OPT4, 8, OPT5, 8, OPT6, 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) } If (LEqual (Arg0, 0x05)) { And (Local0, 0x04, Local0) ShiftRight (Local0, 0x02, Local0) } If (LEqual (Arg0, 0x08)) { And (Local0, 0x02, Local0) ShiftRight (Local0, One, Local0) } And (Local0, One, Local0) Or (IOST, ShiftLeft (Local0, Arg0), IOST) If (Local0) { If (LEqual (Arg0, One)) { Return (0x0B) } Else { Return (0x0F) } } Else { If (And (ShiftLeft (One, Arg0), IOST)) { If (LEqual (Arg0, One)) { Return (0x09) } Else { 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), LNotEqual (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, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x00, // Length _Y15) IRQNoFlags (_Y13) {} DMA (Compatibility, NotBusMaster, Transfer8, _Y14) {} }) CreateWordField (CRS1, \_SB.PCI0.SBRG._Y13._INT, IRQM) CreateByteField (CRS1, \_SB.PCI0.SBRG._Y14._DMA, DMAM) CreateWordField (CRS1, \_SB.PCI0.SBRG._Y15._MIN, IO11) CreateWordField (CRS1, \_SB.PCI0.SBRG._Y15._MAX, IO12) CreateByteField (CRS1, \_SB.PCI0.SBRG._Y15._LEN, LEN1) Name (CRS2, ResourceTemplate () { IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x00, // Length _Y18) IO (Decode16, 0x0000, // Range Minimum 0x0000, // Range Maximum 0x01, // Alignment 0x00, // Length _Y19) IRQNoFlags (_Y16) {6} DMA (Compatibility, NotBusMaster, Transfer8, _Y17) {2} }) CreateWordField (CRS2, \_SB.PCI0.SBRG._Y16._INT, IRQE) CreateByteField (CRS2, \_SB.PCI0.SBRG._Y17._DMA, DMAE) CreateWordField (CRS2, \_SB.PCI0.SBRG._Y18._MIN, IO21) CreateWordField (CRS2, \_SB.PCI0.SBRG._Y18._MAX, IO22) CreateByteField (CRS2, \_SB.PCI0.SBRG._Y18._LEN, LEN2) CreateWordField (CRS2, \_SB.PCI0.SBRG._Y19._MIN, IO31) CreateWordField (CRS2, \_SB.PCI0.SBRG._Y19._MAX, IO32) CreateByteField (CRS2, \_SB.PCI0.SBRG._Y19._LEN, 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, One)) } } 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, One)) } } Device (NMAC) { Name (_ADR, 0x00080000) Name (_PRW, Package (0x02) { 0x0B, 0x05 }) Scope (\_GPE) { Method (_L0B, 0, NotSerialized) { Notify (\_SB.PCI0.NMAC, 0x02) Notify (\_SB.PWRB, 0x02) } } } Device (NMAD) { Name (_ADR, 0x00090000) Name (_PRW, Package (0x02) { 0x0A, 0x05 }) Scope (\_GPE) { Method (_L0A, 0, NotSerialized) { Notify (\_SB.PCI0.NMAD, 0x02) Notify (\_SB.PWRB, 0x02) } } } 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, 0x5A, 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 (_GTM, 0, NotSerialized) { Store ("GTM_CHN0", Debug) Return (GTM (PMPT, PMUE, PMUT, PSPT, PSUE, PSUT)) } 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 (RATA (ATA0)) } } Device (DRV1) { Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Store ("_GTF_CHN0_DRV1", Debug) Return (RATA (ATA1)) } } } Device (CHN1) { Name (_ADR, One) Method (_GTM, 0, NotSerialized) { Store ("GTM_CHN1", Debug) Return (GTM (SMPT, SMUE, SMUT, SSPT, SSUE, SSUT)) } 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 (RATA (ATA2)) } } Device (DRV1) { Name (_ADR, One) Method (_GTF, 0, NotSerialized) { Store ("_GTF_CHN1_DRV1", Debug) Return (RATA (ATA3)) } } } 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) { /* 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) } 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 (Local0) } } } Device (SEC0) { Name (_ADR, One) 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) } 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 (Local0) } } } Method (DRMP, 0, NotSerialized) { Store (0x10, Local0) If (LEqual (_ADR, 0x000E0001)) { Store (0x0C, Local0) } If (LEqual (_ADR, 0x00050001)) { Store (0x0C, Local0) } If (LEqual (_ADR, 0x000E0000)) { Store (0x08, Local0) } If (LEqual (_ADR, 0x00050000)) { 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) { /* 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) } 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 (Local0) } } } Device (SEC0) { Name (_ADR, One) 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) } 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 (Local0) } } } Method (DRMP, 0, NotSerialized) { Store (0x10, Local0) If (LEqual (_ADR, 0x000E0001)) { Store (0x0C, Local0) } If (LEqual (_ADR, 0x00050001)) { Store (0x0C, Local0) } If (LEqual (_ADR, 0x000E0000)) { Store (0x08, Local0) } If (LEqual (_ADR, 0x00050000)) { 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) { /* 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) } 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 (Local0) } } } Device (SEC0) { Name (_ADR, One) 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) } 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 (Local0) } } } Method (DRMP, 0, NotSerialized) { Store (0x10, Local0) If (LEqual (_ADR, 0x000E0001)) { Store (0x0C, Local0) } If (LEqual (_ADR, 0x00050001)) { Store (0x0C, Local0) } If (LEqual (_ADR, 0x000E0000)) { Store (0x08, Local0) } If (LEqual (_ADR, 0x00050000)) { 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 (HDAC) { Name (_ADR, 0x00060001) Method (_PRW, 0, NotSerialized) { Return (GPRW (0x15, 0x04)) } } Device (BR10) { Name (_ADR, 0x000F0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x05)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR10) } Return (PR10) } } Device (BR11) { Name (_ADR, 0x000E0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x05)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR11) } Return (PR11) } } Device (BR12) { Name (_ADR, 0x000D0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x05)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR12) } Return (PR12) } Device (BR1E) { Name (_ADR, Zero) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x05)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR1E) } Return (PR1E) } Device (BCM1) { Name (_ADR, 0x00040000) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x05)) } } } } Device (BR13) { Name (_ADR, 0x000C0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x05)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR13) } Return (PR13) } } Device (BR14) { Name (_ADR, 0x000B0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x05)) } Method (_PRT, 0, NotSerialized) { If (PICM) { Return (AR14) } Return (PR14) } } Device (BR15) { Name (_ADR, 0x000A0000) Method (_PRW, 0, NotSerialized) { Return (GPRW (Zero, 0x05)) } 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.PCI0.BR10, 0x02) Notify (\_SB.PCI0.BR11, 0x02) Notify (\_SB.PCI0.BR12, 0x02) Notify (\_SB.PCI0.BR12.BR1E, 0x02) Notify (\_SB.PCI0.BR12.BR1E.BCM1, 0x02) Notify (\_SB.PCI0.BR13, 0x02) Notify (\_SB.PCI0.BR14, 0x02) Notify (\_SB.PCI0.BR15, 0x02) Notify (\_SB.PWRB, 0x02) } Method (_L15, 0, NotSerialized) { Notify (\_SB.PCI0.HDAC, 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, ,, _Y1A) { 0x00000011, } }) CreateByteField (BUFB, \_SB.LCRS._Y1A._INT, 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, ,, _Y1B) { 0x00000014, } }) CreateByteField (BUFB, \_SB.LCRO._Y1B._INT, 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, One) 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, 0x02) 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, 0x03) 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, 0x04) 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, 0x05) 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, 0x06) 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, 0x07) 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, 0x08) 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, 0x09) 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, 0x0C) 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, 0x0D) 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, 0x0E) 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, 0x0F) 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, 0x10) 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) { Return (LCRO (^^PCI0.SBRG.PR0E)) } Method (_SRS, 1, NotSerialized) { Store (LSRO (Arg0), ^^PCI0.SBRG.PR0E) } } Device (LSA2) { Name (_HID, EisaId ("PNP0C0F")) Name (_UID, 0x10) Method (_STA, 0, NotSerialized) { Return (LSTA (^^PCI0.SBRG.SIR2)) } Method (_PRS, 0, NotSerialized) { Return (LPRS (RSA1, 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) { Scope (PCI0) { Name (CRS, ResourceTemplate () { WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, 0x0000, // Granularity 0x0000, // Range Minimum 0x00FF, // Range Maximum 0x0000, // Translation Offset 0x0100, // Length ,, ) IO (Decode16, 0x0CF8, // Range Minimum 0x0CF8, // Range Maximum 0x01, // Alignment 0x08, // Length ) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0000, // Range Minimum 0x0CF7, // Range Maximum 0x0000, // Translation Offset 0x0CF8, // Length ,, , TypeStatic) WordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, 0x0000, // Granularity 0x0D00, // Range Minimum 0xFFFF, // Range Maximum 0x0000, // Translation Offset 0xF300, // Length ,, , TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000A0000, // Range Minimum 0x000BFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, , AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x000C0000, // Range Minimum 0x000DFFFF, // Range Maximum 0x00000000, // Translation Offset 0x00020000, // Length ,, _Y1C, AddressRangeMemory, TypeStatic) DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite, 0x00000000, // Granularity 0x00000000, // Range Minimum 0x00000000, // Range Maximum 0x00000000, // Translation Offset 0x00000000, // Length ,, _Y1D, AddressRangeMemory, TypeStatic) }) CreateDWordField (CRS, \_SB.PCI0._Y1C._MIN, MIN5) CreateDWordField (CRS, \_SB.PCI0._Y1C._MAX, MAX5) CreateDWordField (CRS, \_SB.PCI0._Y1C._LEN, LEN5) CreateDWordField (CRS, \_SB.PCI0._Y1D._MIN, MIN6) CreateDWordField (CRS, \_SB.PCI0._Y1D._MAX, MAX6) CreateDWordField (CRS, \_SB.PCI0._Y1D._LEN, 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) } Name (_S0, Package (0x04) { Zero, Zero, Zero, Zero }) If (SS1) { Name (_S1, Package (0x04) { One, 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) } }