Date: Tue, 10 Jan 2012 19:12:46 +0000 From: Fischer Markus <MFischer@reitzner.de> To: "freebsd-acpi@FreeBSD.org" <freebsd-acpi@FreeBSD.org> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: WG: Problem with ACPI / reboot: Black Screen? Part No 2 Message-ID: <35CFCFC220BF044DA8BFCE7FC11853D701A1EE@EX02.reitzner.local>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Hello,
I habe a BIG Problem with the ACPI Interface.
The problem is the "reboot" command. The Shutdown command works.
"reboot" -->
The computer makes a shutdown, the Screen is black, but the computer not power on, he don't start.
The screen is black, the computer runns. I can the computer only starts with power plug.
I have testet the FreeBSD Version 8.1 (pfsense) and 8.2 and 9.0-RC3 --> Only the same!!!
I have testet with pfsense 1.2.3 (FreeBSD 7.1) and then works the reboot command.
I habe testet wirth Knoppix 6.7.1 (Kernel 3.0.x) and the reboot command works.
I've tested a lot of settings (sysctl), and even compile a new kernel. I've tested this with acpiconf. All without success.
The screen remains black when reboot command, the computer is running (is on), and only unplugging the power plug ringed the PC running again.
The System:
pfsense 2.0.1 (with FreeBSD 8.1 Kernel), without X-Servers
Hardware: Fujitsu Main-Board D2963-S1 with AMD Sempron 200U
Diagnostics in the appendix!!
I hope you can help me!
Thank you very much!
Bye
Markus Fischer
Germany
[-- Attachment #2 --]
/*
RSD PTR: OEM=PTLTD, ACPI_Rev=1.0x (0)
RSDT=0x77ede000, cksum=245
*/
/*
RSDT: Length=56, Revision=1, Checksum=92,
OEMID=extra, OEM Table ID=exone, OEM Revision=0x60000,
Creator ID= LTP, Creator Revision=0x0
Entries={ 0x77ee0d5c, 0x77ee0dd0, 0x77ee0e16, 0x77ee0f8c, 0x77ee0fc8 }
*/
/*
FACP: Length=116, Revision=1, Checksum=212,
OEMID=FTS, OEM Table ID=D2963/S1, OEM Revision=0x60000,
Creator ID=, Creator Revision=0xf4240
FACS=0x77ee1fc0, DSDT=0x77ede038
INT_MODEL=PIC
Preferred_PM_Profile=Unspecified (0)
SCI_INT=9
SMI_CMD=0xb0, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0x0
PSTATE_CNT=0x0
PM1a_EVT_BLK=0x8000-0x8003
PM1b_EVT_BLK=0x8104-0x8107
PM1a_CNT_BLK=0x8004-0x8005
PM2_CNT_BLK=0x8200-0x8200
PM_TMR_BLK=0x8008-0x800b
GPE0_BLK=0x8020-0x8027
P_LVL2_LAT=18 us, P_LVL3_LAT=83 us
FLUSH_SIZE=0, FLUSH_STRIDE=0
DUTY_OFFSET=1, DUTY_WIDTH=0
DAY_ALRM=13, MON_ALRM=0, CENTURY=50
IAPC_BOOT_ARCH=
Flags={WBINVD,C1_SUPPORTED,SLEEP_BUTTON,S4_RTC_WAKE,32BIT_TIMER,PLATFORM_CLOCK,S4_RTC_VALID,REMOTE_POWER_ON}
*/
/*
FACS: Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000
Global_Lock=
Flags=
Version=0
*/
/*
DSDT: Length=11556, Revision=1, Checksum=222,
OEMID=FTS, OEM Table ID=D2963/S1, OEM Revision=0x60000,
Creator ID=MSFT, Creator Revision=0x3000001
*/
/*
APIC: Length=70, Revision=1, Checksum=148,
OEMID=PTLTD, OEM Table ID= APIC, OEM Revision=0x60000,
Creator ID= LTP, Creator Revision=0x0
Local APIC ADDR=0xfee00000
Flags={PC-AT}
Type=Local APIC
ACPI CPU=0
Flags={ENABLED}
APIC ID=0
Type=IO APIC
APIC ID=1
INT BASE=0
ADDR=0x00000000fec00000
Type=Local APIC NMI
ACPI CPU=0
LINT Pin=1
Flags={Polarity=active-hi, Trigger=edge}
*/
/*
SLIC: Length=374, Revision=1, Checksum=115,
OEMID=extra, OEM Table ID=exone, OEM Revision=0x60000,
Creator ID= LTP, Creator Revision=0x0
*/
/*
MCFG: Length=60, Revision=1, Checksum=88,
OEMID=PTLTD, OEM Table ID= MCFG, OEM Revision=0x60000,
Creator ID= LTP, Creator Revision=0x0
Base Address=0x00000000e0000000
Segment Group=0x0000
Start Bus=0
End Bus=19
*/
/*
HPET: Length=56, Revision=1, Checksum=158,
OEMID=PTLTD, OEM Table ID=HPETTBL, OEM Revision=0x60000,
Creator ID= LTP, Creator Revision=0x1
HPET Number=2
ADDR=0xfed00000:0[8] (Memory) HW Rev=0x1
Comparators=3
Counter Size=0
Legacy IRQ routing capable={TRUE}
PCI Vendor ID=0x4353
Minimal Tick=20
*/
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20100331
*
* Disassembly of /tmp/acpidump.gJg0wN, Mon Jan 9 21:11:58 2012
*
*
* Original Table Header:
* Signature "DSDT"
* Length 0x00002D24 (11556)
* Revision 0x01 **** ACPI 1.0, no 64-bit math support
* Checksum 0xDE
* OEM ID "FTS "
* OEM Table ID "D2963/S1"
* OEM Revision 0x00060000 (393216)
* Compiler ID "MSFT"
* Compiler Version 0x03000001 (50331649)
*/
DefinitionBlock ("/tmp/acpidump.aml", "DSDT", 1, "FTS ", "D2963/S1", 0x00060000)
{
Name (L1EN, 0x01)
Name (C1EN, 0x01)
Name (C2EN, 0x01)
Name (FDEN, 0x01)
Name (C1AD, 0x00)
Name (C2AD, 0x00)
Name (FDAD, 0x00)
Name (SLPS, 0x00)
Name (OSFL, 0x00)
Name (PICM, 0x00)
Method (OSCK, 0, NotSerialized)
{
Store (One, OSFL)
Store (0x00, \_SB.PCI0.LPC.AAOF)
If (STRC (\_OS, "Microsoft Windows"))
{
Store (Zero, OSFL)
Store (0x01, \_SB.PCI0.LPC.AAOF)
}
If (STRC (\_OS, "Microsoft WindowsME: Millennium Edition"))
{
Store (Zero, OSFL)
Store (0x02, \_SB.PCI0.LPC.AAOF)
}
If (STRC (\_OS, "Microsoft Windows NT"))
{
Store (One, OSFL)
Store (0x04, \_SB.PCI0.LPC.AAOF)
}
If (CondRefOf (\_OSI, Local0))
{
If (\_OSI ("Windows 2001"))
{
Store (0x08, \_SB.PCI0.LPC.AAOF)
}
If (\_OSI ("Windows 2006"))
{
Store (0x40, \_SB.PCI0.LPC.AAOF)
}
}
}
Method (STRC, 2, NotSerialized)
{
If (LNotEqual (SizeOf (Arg0), SizeOf (Arg1)))
{
Return (Zero)
}
Add (SizeOf (Arg0), One, Local0)
Name (STR1, Buffer (Local0) {})
Store (Arg0, STR1)
Name (STR2, Buffer (Local0) {})
Store (Arg1, STR2)
While (Local0)
{
Decrement (Local0)
If (LNotEqual (DerefOf (Index (STR1, Local0)), DerefOf (Index (
STR2, Local0))))
{
Return (Zero)
}
}
Return (One)
}
Method (_PIC, 1, NotSerialized)
{
Store (Arg0, PICM)
If (Arg0)
{
\_SB.PCI0.LPC.DSPI ()
}
}
Name (FWSO, "FWSO")
Name (_PSC, 0x00)
Method (_PS0, 0, NotSerialized)
{
Store (_PSC, Local0)
Store (0x00, _PSC)
If (LEqual (Local0, 0x03))
{
Store (0x01, \_SB.INF)
While (\_SB.INF)
{
Store (0x20, \_SB.BCMD)
Store (Zero, \_SB.SMIC)
If (LAnd (LEqual (\_SB.INF, 0x01), OSFL))
{
Sleep (0x01F4)
}
}
}
}
Method (_PS3, 0, NotSerialized)
{
Store (0x03, _PSC)
}
Name (_S0, Package (0x04)
{
0x00,
0x00,
0x00,
0x00
})
Name (_S3, Package (0x04)
{
0x03,
0x03,
0x00,
0x00
})
Name (_S4, Package (0x04)
{
0x04,
0x04,
0x00,
0x00
})
Name (_S5, Package (0x04)
{
0x05,
0x05,
0x00,
0x00
})
Method (\_PTS, 1, NotSerialized)
{
\_SB.PCI0.LPC.SIO.SLEP (Arg0)
Store (Arg0, SLPS)
}
Method (\_WAK, 1, NotSerialized)
{
\_SB.PCI0.LPC.SIO.WAKE (Arg0)
Store (Zero, SLPS)
If (LAnd (LGreaterEqual (Arg0, 0x03), LEqual (OSFL, 0x00)))
{
Notify (\_SB.PCI0, 0x00)
}
If (LEqual (Arg0, 0x04))
{
Notify (\_SB.PWRB, 0x02)
Notify (\_SB.PCI0.USB1, 0x00)
Notify (\_SB.PCI0.USB2, 0x00)
Notify (\_SB.PCI0.USB3, 0x00)
Notify (\_SB.PCI0.USB4, 0x00)
Notify (\_SB.PCI0.USB5, 0x00)
Notify (\_SB.PCI0.USB6, 0x00)
}
Return (Zero)
}
Scope (\_PR)
{
Processor (C000, 0x00, 0x00000000, 0x00) {}
Processor (C001, 0x01, 0x00000000, 0x00) {}
Processor (C002, 0x02, 0x00000000, 0x00) {}
Processor (C003, 0x03, 0x00000000, 0x00) {}
}
Scope (\_GPE)
{
Method (_L03, 0, NotSerialized)
{
Notify (\_SB.PWRB, 0x02)
Notify (\_SB.PCI0.LPC.SIO.KEYB, 0x02)
Notify (\_SB.PCI0.LPC.SIO.PS2M, 0x02)
Notify (\_SB.PCI0.LPC.SIO.COM1, 0x02)
Notify (\_SB.PCI0.LPC.SIO.COM2, 0x02)
}
Method (_L04, 0, NotSerialized)
{
Notify (\_SB.PCI0.P2P, 0x02)
}
Method (_L0B, 0, NotSerialized)
{
Notify (\_SB.PWRB, 0x02)
Notify (\_SB.PCI0.USB1, 0x02)
Notify (\_SB.PCI0.USB2, 0x02)
Notify (\_SB.PCI0.USB3, 0x02)
Notify (\_SB.PCI0.USB4, 0x02)
Notify (\_SB.PCI0.USB5, 0x02)
Notify (\_SB.PCI0.USB6, 0x02)
}
Method (_L12, 0, NotSerialized)
{
Notify (\_SB.PCI0.PEXA, 0x02)
Notify (\_SB.PCI0.PEXB, 0x02)
}
Method (_L1B, 0, NotSerialized)
{
Notify (\_SB.PCI0.HDA, 0x02)
}
}
Scope (\_SI)
{
Method (_SST, 1, NotSerialized)
{
If (LEqual (Arg0, 0x00))
{
Store (0x00, \_SB.PCI0.LPC.SIO.LED1)
}
If (LEqual (Arg0, 0x01))
{
Store (0x03, \_SB.PCI0.LPC.SIO.LED1)
}
If (LEqual (Arg0, 0x02))
{
Store (0x03, \_SB.PCI0.LPC.SIO.LED1)
}
If (LEqual (Arg0, 0x03))
{
Store (0x01, \_SB.PCI0.LPC.SIO.LED1)
}
If (LEqual (Arg0, 0x04))
{
Store (0x00, \_SB.PCI0.LPC.SIO.LED1)
}
}
Method (_MSG, 1, NotSerialized)
{
Noop
}
}
Scope (\_SB)
{
OperationRegion (SMI0, SystemIO, 0x00000F40, 0x00000002)
Field (SMI0, AnyAcc, NoLock, Preserve)
{
SMIC, 8
}
OperationRegion (SMI1, SystemMemory, 0x77EE1DE4, 0x00000120)
Field (SMI1, AnyAcc, NoLock, Preserve)
{
BCMD, 8,
DID, 32,
INFO, 1024
}
Field (SMI1, AnyAcc, NoLock, Preserve)
{
AccessAs (ByteAcc, 0x00),
Offset (0x05),
INF, 8
}
OperationRegion (K8ST, SystemMemory, 0x77EE1F74, 0x00000048)
Field (K8ST, AnyAcc, NoLock, Preserve)
{
Offset (0x40),
TOML, 32,
TOMH, 32
}
Device (PWRB)
{
Name (_HID, EisaId ("PNP0C0C"))
}
Device (PCI0)
{
Name (_HID, EisaId ("PNP0A03"))
Name (_BBN, 0x00)
Name (_ADR, 0x00)
Name (_STA, 0x0F)
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Method (_INI, 0, NotSerialized)
{
\OSCK ()
}
Name (CRES, ResourceTemplate ()
{
WordBusNumber (ResourceConsumer, MinFixed, MaxFixed, PosDecode,
0x0000, // Granularity
0x0000, // Range Minimum
0x00FF, // Range Maximum
0x0000, // Translation Offset
0x0100, // 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)
IO (Decode16,
0x0CF8, // Range Minimum
0x0CF8, // Range Maximum
0x01, // Alignment
0x08, // Length
)
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
,, , AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0x00000000, // Range Minimum
0xFEBFFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00000000, // Length
,, _Y00, AddressRangeMemory, TypeStatic)
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
0x00000000, // Granularity
0xFED00000, // Range Minimum
0xFEDFFFFF, // Range Maximum
0x00000000, // Translation Offset
0x00100000, // Length
,, , AddressRangeMemory, TypeStatic)
})
Method (_CRS, 0, NotSerialized)
{
CreateDWordField (CRES, \_SB.PCI0._Y00._MIN, MIN1)
CreateDWordField (CRES, \_SB.PCI0._Y00._LEN, LEN1)
Store (\_SB.TOML, MIN1)
Subtract (0xFEC00000, MIN1, LEN1)
Return (CRES)
}
Method (_PRT, 0, NotSerialized)
{
If (LEqual (PICM, 0x00))
{
Return (Package (0x09)
{
Package (0x04)
{
0x0012FFFF,
0x00,
\_SB.PCI0.LPC.LNKG,
0x00
},
Package (0x04)
{
0x0013FFFF,
0x00,
\_SB.PCI0.LPC.LNKA,
0x00
},
Package (0x04)
{
0x0013FFFF,
0x01,
\_SB.PCI0.LPC.LNKB,
0x00
},
Package (0x04)
{
0x0013FFFF,
0x02,
\_SB.PCI0.LPC.LNKC,
0x00
},
Package (0x04)
{
0x0013FFFF,
0x03,
\_SB.PCI0.LPC.LNKD,
0x00
},
Package (0x04)
{
0x0014FFFF,
0x00,
\_SB.PCI0.LPC.LNKA,
0x00
},
Package (0x04)
{
0x0014FFFF,
0x01,
\_SB.PCI0.LPC.LNKB,
0x00
},
Package (0x04)
{
0x0014FFFF,
0x02,
\_SB.PCI0.LPC.LNKC,
0x00
},
Package (0x04)
{
0x0014FFFF,
0x03,
\_SB.PCI0.LPC.LNKD,
0x00
}
})
}
Else
{
Return (Package (0x09)
{
Package (0x04)
{
0x0012FFFF,
0x00,
0x00,
0x16
},
Package (0x04)
{
0x0013FFFF,
0x00,
0x00,
0x10
},
Package (0x04)
{
0x0013FFFF,
0x01,
0x00,
0x11
},
Package (0x04)
{
0x0013FFFF,
0x02,
0x00,
0x12
},
Package (0x04)
{
0x0013FFFF,
0x03,
0x00,
0x13
},
Package (0x04)
{
0x0014FFFF,
0x00,
0x00,
0x10
},
Package (0x04)
{
0x0014FFFF,
0x01,
0x00,
0x11
},
Package (0x04)
{
0x0014FFFF,
0x02,
0x00,
0x12
},
Package (0x04)
{
0x0014FFFF,
0x03,
0x00,
0x13
}
})
}
}
Device (GRFB)
{
Name (_ADR, 0x00010000)
Name (_STA, 0x0F)
Method (_PRT, 0, NotSerialized)
{
If (LEqual (PICM, 0x00))
{
Return (Package (0x02)
{
Package (0x04)
{
0x0005FFFF,
0x00,
\_SB.PCI0.LPC.LNKC,
0x00
},
Package (0x04)
{
0x0005FFFF,
0x01,
\_SB.PCI0.LPC.LNKD,
0x00
}
})
}
Else
{
Return (Package (0x02)
{
Package (0x04)
{
0x0005FFFF,
0x00,
0x00,
0x12
},
Package (0x04)
{
0x0005FFFF,
0x01,
0x00,
0x13
}
})
}
}
}
Device (PEXA)
{
Name (_ADR, 0x00040000)
Name (_STA, 0x0F)
Name (_PRW, Package (0x02)
{
0x12,
0x04
})
Method (_PRT, 0, NotSerialized)
{
If (LEqual (PICM, 0x00))
{
Return (Package (0x04)
{
Package (0x04)
{
0xFFFF,
0x00,
\_SB.PCI0.LPC.LNKA,
0x00
},
Package (0x04)
{
0xFFFF,
0x01,
\_SB.PCI0.LPC.LNKB,
0x00
},
Package (0x04)
{
0xFFFF,
0x02,
\_SB.PCI0.LPC.LNKC,
0x00
},
Package (0x04)
{
0xFFFF,
0x03,
\_SB.PCI0.LPC.LNKD,
0x00
}
})
}
Else
{
Return (Package (0x04)
{
Package (0x04)
{
0xFFFF,
0x00,
0x00,
0x10
},
Package (0x04)
{
0xFFFF,
0x01,
0x00,
0x11
},
Package (0x04)
{
0xFFFF,
0x02,
0x00,
0x12
},
Package (0x04)
{
0xFFFF,
0x03,
0x00,
0x13
}
})
}
}
}
Device (PEXB)
{
Name (_ADR, 0x00050000)
Name (_STA, 0x0F)
Name (_PRW, Package (0x02)
{
0x12,
0x04
})
Method (_PRT, 0, NotSerialized)
{
If (LEqual (PICM, 0x00))
{
Return (Package (0x04)
{
Package (0x04)
{
0xFFFF,
0x00,
\_SB.PCI0.LPC.LNKB,
0x00
},
Package (0x04)
{
0xFFFF,
0x01,
\_SB.PCI0.LPC.LNKC,
0x00
},
Package (0x04)
{
0xFFFF,
0x02,
\_SB.PCI0.LPC.LNKD,
0x00
},
Package (0x04)
{
0xFFFF,
0x03,
\_SB.PCI0.LPC.LNKA,
0x00
}
})
}
Else
{
Return (Package (0x04)
{
Package (0x04)
{
0xFFFF,
0x00,
0x00,
0x11
},
Package (0x04)
{
0xFFFF,
0x01,
0x00,
0x12
},
Package (0x04)
{
0xFFFF,
0x02,
0x00,
0x13
},
Package (0x04)
{
0xFFFF,
0x03,
0x00,
0x10
}
})
}
}
}
Device (LAN2)
{
Name (_ADR, 0x00060000)
Name (_STA, 0x0F)
Name (_PRW, Package (0x02)
{
0x12,
0x04
})
Method (_PRT, 0, NotSerialized)
{
If (LEqual (PICM, 0x00))
{
Return (Package (0x01)
{
Package (0x04)
{
0xFFFF,
0x00,
\_SB.PCI0.LPC.LNKC,
0x00
}
})
}
Else
{
Return (Package (0x01)
{
Package (0x04)
{
0xFFFF,
0x00,
0x00,
0x12
}
})
}
}
}
Device (LAN1)
{
Name (_ADR, 0x00070000)
Name (_STA, 0x0F)
Name (_PRW, Package (0x02)
{
0x12,
0x04
})
Method (_PRT, 0, NotSerialized)
{
If (LEqual (PICM, 0x00))
{
Return (Package (0x01)
{
Package (0x04)
{
0xFFFF,
0x00,
\_SB.PCI0.LPC.LNKD,
0x00
}
})
}
Else
{
Return (Package (0x01)
{
Package (0x04)
{
0xFFFF,
0x00,
0x00,
0x13
}
})
}
}
}
Device (P2P)
{
Name (_ADR, 0x00140004)
Name (_STA, 0x0F)
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Name (_PRW, Package (0x02)
{
0x04,
0x04
})
Method (_PRT, 0, NotSerialized)
{
If (LEqual (PICM, 0x00))
{
Return (Package (0x09)
{
Package (0x04)
{
0x0004FFFF,
0x00,
\_SB.PCI0.LPC.LNKH,
0x00
},
Package (0x04)
{
0x0005FFFF,
0x00,
\_SB.PCI0.LPC.LNKF,
0x00
},
Package (0x04)
{
0x0005FFFF,
0x01,
\_SB.PCI0.LPC.LNKE,
0x00
},
Package (0x04)
{
0x0005FFFF,
0x02,
\_SB.PCI0.LPC.LNKH,
0x00
},
Package (0x04)
{
0x0005FFFF,
0x03,
\_SB.PCI0.LPC.LNKG,
0x00
},
Package (0x04)
{
0x0007FFFF,
0x00,
\_SB.PCI0.LPC.LNKE,
0x00
},
Package (0x04)
{
0x0007FFFF,
0x01,
\_SB.PCI0.LPC.LNKF,
0x00
},
Package (0x04)
{
0x0007FFFF,
0x02,
\_SB.PCI0.LPC.LNKG,
0x00
},
Package (0x04)
{
0x0007FFFF,
0x03,
\_SB.PCI0.LPC.LNKH,
0x00
}
})
}
Else
{
Return (Package (0x09)
{
Package (0x04)
{
0x0004FFFF,
0x00,
0x00,
0x17
},
Package (0x04)
{
0x0005FFFF,
0x00,
0x00,
0x15
},
Package (0x04)
{
0x0005FFFF,
0x01,
0x00,
0x14
},
Package (0x04)
{
0x0005FFFF,
0x02,
0x00,
0x17
},
Package (0x04)
{
0x0005FFFF,
0x03,
0x00,
0x16
},
Package (0x04)
{
0x0007FFFF,
0x00,
0x00,
0x14
},
Package (0x04)
{
0x0007FFFF,
0x01,
0x00,
0x15
},
Package (0x04)
{
0x0007FFFF,
0x02,
0x00,
0x16
},
Package (0x04)
{
0x0007FFFF,
0x03,
0x00,
0x17
}
})
}
}
}
Device (USB1)
{
Name (_ADR, 0x00130000)
Name (_STA, 0x0F)
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Name (_PRW, Package (0x02)
{
0x0B,
0x03
})
Device (RHUB)
{
Name (_ADR, 0x00)
Device (PRT1)
{
Name (_ADR, 0x01)
Name (_UPC, Package (0x04)
{
0xFF,
0xFF,
0x00,
0x00
})
Name (_PLD, Buffer (0x10)
{
0x81, 0x00, 0x30, 0x1C, 0x00, 0x00, 0x00
})
}
Device (PRT2)
{
Name (_ADR, 0x02)
Name (_UPC, Package (0x04)
{
0xFF,
0xFF,
0x00,
0x00
})
Name (_PLD, Buffer (0x10)
{
0x81, 0x00, 0x30, 0x1C, 0x00, 0x00, 0x00
})
}
}
}
Device (USB2)
{
Name (_ADR, 0x00130001)
Name (_STA, 0x0F)
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Name (_PRW, Package (0x02)
{
0x0B,
0x03
})
Device (RHUB)
{
Name (_ADR, 0x00)
Device (PRT1)
{
Name (_ADR, 0x01)
Name (_UPC, Package (0x04)
{
0xFF,
0xFF,
0x00,
0x00
})
Name (_PLD, Buffer (0x10)
{
0x81, 0x00, 0x30, 0x1C, 0x00, 0x00, 0x00
})
}
Device (PRT2)
{
Name (_ADR, 0x02)
Name (_UPC, Package (0x04)
{
0xFF,
0x00,
0x00,
0x00
})
}
}
}
Device (USB3)
{
Name (_ADR, 0x00130002)
Name (_STA, 0x0F)
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Name (_PRW, Package (0x02)
{
0x0B,
0x03
})
Device (RHUB)
{
Name (_ADR, 0x00)
Device (PRT1)
{
Name (_ADR, 0x01)
Name (_UPC, Package (0x04)
{
0x00,
0xFF,
0x00,
0x00
})
}
Device (PRT2)
{
Name (_ADR, 0x02)
Name (_UPC, Package (0x04)
{
0xFF,
0x00,
0x00,
0x00
})
}
}
}
Device (USB4)
{
Name (_ADR, 0x00130003)
Name (_STA, 0x0F)
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Name (_PRW, Package (0x02)
{
0x0B,
0x03
})
Device (RHUB)
{
Name (_ADR, 0x00)
Device (PRT1)
{
Name (_ADR, 0x01)
Name (_UPC, Package (0x04)
{
0xFF,
0x00,
0x00,
0x00
})
}
Device (PRT2)
{
Name (_ADR, 0x02)
Name (_UPC, Package (0x04)
{
0xFF,
0x00,
0x00,
0x00
})
}
}
}
Device (USB5)
{
Name (_ADR, 0x00130004)
Name (_STA, 0x0F)
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Name (_PRW, Package (0x02)
{
0x0B,
0x03
})
Device (RHUB)
{
Name (_ADR, 0x00)
Device (PRT1)
{
Name (_ADR, 0x01)
Name (_UPC, Package (0x04)
{
0x00,
0xFF,
0x00,
0x00
})
}
Device (PRT2)
{
Name (_ADR, 0x02)
Name (_UPC, Package (0x04)
{
0x00,
0xFF,
0x00,
0x00
})
}
}
}
Device (USB6)
{
Name (_ADR, 0x00130005)
Name (_STA, 0x0F)
Name (_S3D, 0x02)
Name (_S4D, 0x03)
Name (_PRW, Package (0x02)
{
0x0B,
0x03
})
Device (RHUB)
{
Name (_ADR, 0x00)
Device (PRT1)
{
Name (_ADR, 0x01)
Name (_UPC, Package (0x04)
{
0xFF,
0xFF,
0x00,
0x00
})
Name (_PLD, Buffer (0x10)
{
0x81, 0x00, 0x30, 0x1C, 0x00, 0x00, 0x00
})
}
Device (PRT2)
{
Name (_ADR, 0x02)
Name (_UPC, Package (0x04)
{
0xFF,
0xFF,
0x00,
0x00
})
Name (_PLD, Buffer (0x10)
{
0x81, 0x00, 0x30, 0x1C, 0x00, 0x00, 0x00
})
}
Device (PRT3)
{
Name (_ADR, 0x03)
Name (_UPC, Package (0x04)
{
0xFF,
0xFF,
0x00,
0x00
})
Name (_PLD, Buffer (0x10)
{
0x81, 0x00, 0x30, 0x1C, 0x00, 0x00, 0x00
})
}
Device (PRT4)
{
Name (_ADR, 0x04)
Name (_UPC, Package (0x04)
{
0xFF,
0x00,
0x00,
0x00
})
}
Device (PRT5)
{
Name (_ADR, 0x05)
Name (_UPC, Package (0x04)
{
0x00,
0xFF,
0x00,
0x00
})
}
Device (PRT6)
{
Name (_ADR, 0x06)
Name (_UPC, Package (0x04)
{
0xFF,
0x00,
0x00,
0x00
})
}
Device (PRT7)
{
Name (_ADR, 0x07)
Name (_UPC, Package (0x04)
{
0xFF,
0x00,
0x00,
0x00
})
}
Device (PRT8)
{
Name (_ADR, 0x08)
Name (_UPC, Package (0x04)
{
0xFF,
0x00,
0x00,
0x00
})
}
Device (PRT9)
{
Name (_ADR, 0x09)
Name (_UPC, Package (0x04)
{
0x00,
0xFF,
0x00,
0x00
})
}
Device (PRTA)
{
Name (_ADR, 0x0A)
Name (_UPC, Package (0x04)
{
0x00,
0xFF,
0x00,
0x00
})
}
}
}
Device (SMBS)
{
Name (_ADR, 0x00140000)
Name (_STA, 0x0F)
}
Device (HDA)
{
Name (_ADR, 0x00140002)
Name (_STA, 0x0F)
}
Device (PATA)
{
Name (_ADR, 0x00140001)
Name (_STA, 0x0F)
Name (UDMT, Package (0x08)
{
0x78,
0x5A,
0x3C,
0x2D,
0x1E,
0x14,
0x0F,
0x00
})
Name (PIOT, Package (0x06)
{
0x0258,
0x0186,
0x010E,
0xB4,
0x78,
0x00
})
Name (PITR, Package (0x06)
{
0x99,
0x47,
0x34,
0x22,
0x20,
0x99
})
Name (MDMT, Package (0x04)
{
0x01E0,
0x96,
0x78,
0x00
})
Name (MDTR, Package (0x04)
{
0x77,
0x21,
0x20,
0xFF
})
OperationRegion (IDE, PCI_Config, 0x40, 0x20)
Field (IDE, WordAcc, NoLock, Preserve)
{
PPIT, 16,
SPIT, 16,
PMDT, 16,
SMDT, 16,
PPIC, 8,
SPIC, 8,
PPIM, 8,
SPIM, 8,
Offset (0x14),
PUDC, 2,
SUDC, 2,
Offset (0x16),
PUDM, 8,
SUDM, 8
}
Method (GETT, 1, NotSerialized)
{
Store (And (Arg0, 0x0F), Local0)
Store (ShiftRight (Arg0, 0x04), Local1)
Return (Multiply (0x1E, Add (Add (Local0, 0x01), Add (Local1,
0x01))))
}
Method (GTM, 1, NotSerialized)
{
CreateByteField (Arg0, 0x00, PIT1)
CreateByteField (Arg0, 0x01, PIT0)
CreateByteField (Arg0, 0x02, MDT1)
CreateByteField (Arg0, 0x03, MDT0)
CreateByteField (Arg0, 0x04, PICX)
CreateByteField (Arg0, 0x05, UDCX)
CreateByteField (Arg0, 0x06, UDMX)
Name (BUF, Buffer (0x14)
{
/* 0000 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
/* 0008 */ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
/* 0010 */ 0x00, 0x00, 0x00, 0x00
})
CreateDWordField (BUF, 0x00, PIO0)
CreateDWordField (BUF, 0x04, DMA0)
CreateDWordField (BUF, 0x08, PIO1)
CreateDWordField (BUF, 0x0C, DMA1)
CreateDWordField (BUF, 0x10, FLAG)
If (And (PICX, 0x01))
{
Return (BUF)
}
Store (GETT (PIT0), PIO0)
Store (GETT (PIT1), PIO1)
If (And (UDCX, 0x01))
{
Or (FLAG, 0x01, FLAG)
Store (DerefOf (Index (^UDMT, And (UDMX, 0x0F))), DMA0)
}
Else
{
Store (GETT (MDT0), DMA0)
}
If (And (UDCX, 0x02))
{
Or (FLAG, 0x04, FLAG)
Store (DerefOf (Index (^UDMT, ShiftRight (UDMX, 0x04))), DMA1)
}
Else
{
Store (GETT (MDT1), DMA1)
}
Or (FLAG, 0x1A, FLAG)
Return (BUF)
}
Method (STM, 3, NotSerialized)
{
CreateDWordField (Arg0, 0x00, PIO0)
CreateDWordField (Arg0, 0x04, DMA0)
CreateDWordField (Arg0, 0x08, PIO1)
CreateDWordField (Arg0, 0x0C, DMA1)
CreateDWordField (Arg0, 0x10, FLAG)
Name (BUF, Buffer (0x07)
{
0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
})
CreateByteField (BUF, 0x00, PIT1)
CreateByteField (BUF, 0x01, PIT0)
CreateByteField (BUF, 0x02, MDT1)
CreateByteField (BUF, 0x03, MDT0)
CreateByteField (BUF, 0x04, PIMX)
CreateByteField (BUF, 0x05, UDCX)
CreateByteField (BUF, 0x06, UDMX)
Store (Match (^PIOT, MLE, PIO0, MTR, 0x00, 0x00), Local0)
Divide (Local0, 0x05, Local0)
Store (Match (^PIOT, MLE, PIO1, MTR, 0x00, 0x00), Local1)
Divide (Local1, 0x05, Local1)
Store (Or (ShiftLeft (Local1, 0x04), Local0), PIMX)
Store (DerefOf (Index (^PITR, Local0)), PIT0)
Store (DerefOf (Index (^PITR, Local1)), PIT1)
If (And (FLAG, 0x01))
{
Store (Match (^UDMT, MLE, DMA0, MTR, 0x00, 0x00), Local0)
Divide (Local0, 0x07, Local0)
Or (UDMX, Local0, UDMX)
Or (UDCX, 0x01, UDCX)
}
Else
{
If (LNotEqual (DMA0, 0xFFFFFFFF))
{
Store (Match (^MDMT, MLE, DMA0, MTR, 0x00, 0x00), Local0)
Store (DerefOf (Index (^MDTR, Local0)), MDT0)
}
}
If (And (FLAG, 0x04))
{
Store (Match (^UDMT, MLE, DMA1, MTR, 0x00, 0x00), Local0)
Divide (Local0, 0x07, Local0)
Or (UDMX, ShiftLeft (Local0, 0x04), UDMX)
Or (UDCX, 0x02, UDCX)
}
Else
{
If (LNotEqual (DMA1, 0xFFFFFFFF))
{
Store (Match (^MDMT, MLE, DMA1, MTR, 0x00, 0x00), Local0)
Store (DerefOf (Index (^MDTR, Local0)), MDT1)
}
}
Return (BUF)
}
Method (GTF, 2, NotSerialized)
{
CreateByteField (Arg1, 0x00, MDT1)
CreateByteField (Arg1, 0x01, MDT0)
CreateByteField (Arg1, 0x02, PIMX)
CreateByteField (Arg1, 0x03, UDCX)
CreateByteField (Arg1, 0x04, UDMX)
If (LEqual (Arg0, 0xA0))
{
Store (And (PIMX, 0x0F), Local0)
Store (MDT0, Local1)
And (UDCX, 0x01, Local2)
Store (And (UDMX, 0x0F), Local3)
}
Else
{
Store (ShiftRight (PIMX, 0x04), Local0)
Store (MDT1, Local1)
And (UDCX, 0x02, Local2)
Store (ShiftRight (UDMX, 0x04), Local3)
}
Name (BUF, Buffer (0x0E)
{
/* 0000 */ 0x03, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF, 0x03,
/* 0008 */ 0x00, 0x00, 0x00, 0x00, 0xFF, 0xEF
})
CreateByteField (BUF, 0x01, PMOD)
CreateByteField (BUF, 0x08, DMOD)
CreateByteField (BUF, 0x05, CMDA)
CreateByteField (BUF, 0x0C, CMDB)
Store (Arg0, CMDA)
Store (Arg0, CMDB)
Or (Local0, 0x08, PMOD)
If (Local2)
{
Or (Local3, 0x40, DMOD)
}
Else
{
Store (Match (^MDMT, MLE, GETT (Local1), MTR, 0x00, 0x00), Local4)
If (LLess (Local4, 0x03))
{
Or (0x20, Local4, DMOD)
}
}
Return (BUF)
}
Device (PRID)
{
Name (_ADR, 0x00)
Method (_GTM, 0, NotSerialized)
{
Name (BUF, Buffer (0x07)
{
0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00
})
CreateWordField (BUF, 0x00, VPIT)
CreateWordField (BUF, 0x02, VMDT)
CreateByteField (BUF, 0x04, VPIC)
CreateByteField (BUF, 0x05, VUDC)
CreateByteField (BUF, 0x06, VUDM)
Store (^^PPIT, VPIT)
Store (^^PMDT, VMDT)
Store (^^PPIC, VPIC)
Store (^^PUDC, VUDC)
Store (^^PUDM, VUDM)
Return (GTM (BUF))
}
Method (_STM, 3, NotSerialized)
{
Name (BUF, Buffer (0x07)
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
})
CreateWordField (BUF, 0x00, VPIT)
CreateWordField (BUF, 0x02, VMDT)
CreateByteField (BUF, 0x04, VPIM)
CreateByteField (BUF, 0x05, VUDC)
CreateByteField (BUF, 0x06, VUDM)
Store (STM (Arg0, Arg1, Arg2), BUF)
Store (VPIT, ^^PPIT)
Store (VMDT, ^^PMDT)
Store (VPIM, ^^PPIM)
Store (VUDC, ^^PUDC)
Store (VUDM, ^^PUDM)
}
Device (P_D0)
{
Name (_ADR, 0x00)
Method (_GTF, 0, NotSerialized)
{
Name (BUF, Buffer (0x05)
{
0x00, 0x00, 0x00, 0x00, 0x00
})
CreateWordField (BUF, 0x00, VMDT)
CreateByteField (BUF, 0x02, VPIM)
CreateByteField (BUF, 0x03, VUDC)
CreateByteField (BUF, 0x04, VUDM)
Store (^^^PMDT, VMDT)
Store (^^^PPIM, VPIM)
Store (^^^PUDC, VUDC)
Store (^^^PUDM, VUDM)
Return (GTF (0xA0, BUF))
}
}
Device (P_D1)
{
Name (_ADR, 0x01)
Method (_GTF, 0, NotSerialized)
{
Name (BUF, Buffer (0x05)
{
0x00, 0x00, 0x00, 0x00, 0x00
})
CreateWordField (BUF, 0x00, VMDT)
CreateByteField (BUF, 0x02, VPIM)
CreateByteField (BUF, 0x03, VUDC)
CreateByteField (BUF, 0x04, VUDM)
Store (^^^PMDT, VMDT)
Store (^^^PPIM, VPIM)
Store (^^^PUDC, VUDC)
Store (^^^PUDM, VUDM)
Return (GTF (0xB0, BUF))
}
}
Method (_STA, 0, NotSerialized)
{
And (PPIC, 0x01, Local0)
If (LAnd (Local0, 0x01))
{
Return (0x09)
}
Else
{
Return (0x0F)
}
}
}
Device (SECD)
{
Name (_ADR, 0x01)
Name (_STA, 0x09)
}
}
Device (SAT0)
{
Name (_ADR, 0x00120000)
Name (_STA, 0x0F)
Device (PRIM)
{
Name (_ADR, 0x00)
Name (SPTM, Buffer (0x14)
{
/* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
/* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
/* 0010 */ 0x1F, 0x00, 0x00, 0x00
})
Method (_GTM, 0, NotSerialized)
{
Return (SPTM)
}
Method (_STM, 3, NotSerialized)
{
Store (Arg0, SPTM)
}
Device (MAST)
{
Name (_ADR, 0x00)
Method (_GTF, 0, NotSerialized)
{
Store (Buffer (0x07)
{
0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF
}, Local0)
Return (Local0)
}
}
Device (SLAV)
{
Name (_ADR, 0x01)
Method (_GTF, 0, NotSerialized)
{
Store (Buffer (0x07)
{
0x03, 0x46, 0x00, 0x00, 0x00, 0xB0, 0xEF
}, Local0)
Return (Local0)
}
}
}
Device (SECN)
{
Name (_ADR, 0x01)
Name (SSTM, Buffer (0x14)
{
/* 0000 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
/* 0008 */ 0x78, 0x00, 0x00, 0x00, 0x0F, 0x00, 0x00, 0x00,
/* 0010 */ 0x1F, 0x00, 0x00, 0x00
})
Method (_GTM, 0, NotSerialized)
{
Return (SSTM)
}
Method (_STM, 3, NotSerialized)
{
Store (Arg0, SSTM)
}
Device (MAST)
{
Name (_ADR, 0x00)
Method (_GTF, 0, NotSerialized)
{
Store (Buffer (0x07)
{
0x03, 0x46, 0x00, 0x00, 0x00, 0xA0, 0xEF
}, Local0)
Return (Local0)
}
}
Device (SLAV)
{
Name (_ADR, 0x01)
Method (_GTF, 0, NotSerialized)
{
Store (Buffer (0x07)
{
0x03, 0x46, 0x00, 0x00, 0x00, 0xB0, 0xEF
}, Local0)
Return (Local0)
}
}
}
}
Device (LPC)
{
Name (_ADR, 0x00140003)
Name (_STA, 0x0F)
OperationRegion (PIRQ, SystemIO, 0x0C00, 0x02)
Field (PIRQ, ByteAcc, NoLock, Preserve)
{
INDX, 8,
DATA, 8
}
IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
{
PIRA, 8,
PIRB, 8,
PIRC, 8,
PIRD, 8,
Offset (0x09),
PIRE, 8,
PIRF, 8,
PIRG, 8,
PIRH, 8
}
Method (DSPI, 0, NotSerialized)
{
Store (Zero, PIRA)
Store (Zero, PIRB)
Store (Zero, PIRC)
Store (Zero, PIRD)
Store (Zero, PIRE)
Store (Zero, PIRF)
Store (Zero, PIRG)
Store (Zero, PIRH)
}
OperationRegion (LPCD, PCI_Config, 0x44, 0x04)
Field (LPCD, ByteAcc, NoLock, Preserve)
{
, 6,
SERX, 8,
, 12,
FDCX, 2
}
OperationRegion (MCCG, SystemIO, 0x0CD6, 0x02)
Field (MCCG, ByteAcc, NoLock, Preserve)
{
MIDX, 8,
MDTA, 8
}
IndexField (MIDX, MDTA, ByteAcc, NoLock, Preserve)
{
Offset (0x55),
, 7,
HPTE, 1
}
OperationRegion (CMSI, SystemIO, 0x72, 0x02)
Field (CMSI, ByteAcc, NoLock, Preserve)
{
CIDX, 8,
CDTA, 8
}
IndexField (CIDX, CDTA, ByteAcc, NoLock, Preserve)
{
Offset (0xFE),
AAOF, 8
}
Device (LNKA)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x01)
Method (_STA, 0, NotSerialized)
{
If (PIRA)
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Name (_PRS, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,7,9,10,11,12,14,15}
})
Method (_DIS, 0, NotSerialized)
{
Store (Zero, PIRA)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, _Y01)
{}
})
CreateWordField (BUFF, \_SB.PCI0.LPC.LNKA._CRS._Y01._INT, INTA)
ShiftLeft (One, PIRA, INTA)
Return (BUFF)
}
Method (_SRS, 1, NotSerialized)
{
CreateWordField (Arg0, 0x01, INTA)
FindSetRightBit (INTA, Local0)
If (LNotEqual (Local0, Zero))
{
Decrement (Local0)
}
Store (Local0, PIRA)
}
}
Device (LNKB)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x02)
Method (_STA, 0, NotSerialized)
{
If (PIRB)
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Name (_PRS, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,7,9,10,11,12,14,15}
})
Method (_DIS, 0, NotSerialized)
{
Store (Zero, PIRB)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, _Y02)
{}
})
CreateWordField (BUFF, \_SB.PCI0.LPC.LNKB._CRS._Y02._INT, INTB)
ShiftLeft (One, PIRB, INTB)
Return (BUFF)
}
Method (_SRS, 1, NotSerialized)
{
CreateWordField (Arg0, 0x01, INTB)
FindSetRightBit (INTB, Local0)
If (LNotEqual (Local0, Zero))
{
Decrement (Local0)
}
Store (Local0, PIRB)
}
}
Device (LNKC)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x03)
Method (_STA, 0, NotSerialized)
{
If (PIRC)
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Name (_PRS, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,7,9,10,11,12,14,15}
})
Method (_DIS, 0, NotSerialized)
{
Store (Zero, PIRC)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, _Y03)
{}
})
CreateWordField (BUFF, \_SB.PCI0.LPC.LNKC._CRS._Y03._INT, INTC)
ShiftLeft (One, PIRC, INTC)
Return (BUFF)
}
Method (_SRS, 1, NotSerialized)
{
CreateWordField (Arg0, 0x01, INTC)
FindSetRightBit (INTC, Local0)
If (LNotEqual (Local0, Zero))
{
Decrement (Local0)
}
Store (Local0, PIRC)
}
}
Device (LNKD)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x04)
Method (_STA, 0, NotSerialized)
{
If (PIRD)
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Name (_PRS, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,7,9,10,11,12,14,15}
})
Method (_DIS, 0, NotSerialized)
{
Store (Zero, PIRD)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, _Y04)
{}
})
CreateWordField (BUFF, \_SB.PCI0.LPC.LNKD._CRS._Y04._INT, INTD)
ShiftLeft (One, PIRD, INTD)
Return (BUFF)
}
Method (_SRS, 1, NotSerialized)
{
CreateWordField (Arg0, 0x01, INTD)
FindSetRightBit (INTD, Local0)
If (LNotEqual (Local0, Zero))
{
Decrement (Local0)
}
Store (Local0, PIRD)
}
}
Device (LNKE)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x05)
Method (_STA, 0, NotSerialized)
{
If (PIRE)
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Name (_PRS, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,7,9,10,11,12,14,15}
})
Method (_DIS, 0, NotSerialized)
{
Store (Zero, PIRE)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, _Y05)
{}
})
CreateWordField (BUFF, \_SB.PCI0.LPC.LNKE._CRS._Y05._INT, INTE)
ShiftLeft (One, PIRE, INTE)
Return (BUFF)
}
Method (_SRS, 1, NotSerialized)
{
CreateWordField (Arg0, 0x01, INTE)
FindSetRightBit (INTE, Local0)
If (LNotEqual (Local0, Zero))
{
Decrement (Local0)
}
Store (Local0, PIRE)
}
}
Device (LNKF)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x06)
Method (_STA, 0, NotSerialized)
{
If (PIRF)
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Name (_PRS, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,7,9,10,11,12,14,15}
})
Method (_DIS, 0, NotSerialized)
{
Store (Zero, PIRF)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, _Y06)
{}
})
CreateWordField (BUFF, \_SB.PCI0.LPC.LNKF._CRS._Y06._INT, INTF)
ShiftLeft (One, PIRF, INTF)
Return (BUFF)
}
Method (_SRS, 1, NotSerialized)
{
CreateWordField (Arg0, 0x01, INTF)
FindSetRightBit (INTF, Local0)
If (LNotEqual (Local0, Zero))
{
Decrement (Local0)
}
Store (Local0, PIRF)
}
}
Device (LNKG)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x07)
Method (_STA, 0, NotSerialized)
{
If (PIRG)
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Name (_PRS, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,7,9,10,11,12,14,15}
})
Method (_DIS, 0, NotSerialized)
{
Store (Zero, PIRG)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, _Y07)
{}
})
CreateWordField (BUFF, \_SB.PCI0.LPC.LNKG._CRS._Y07._INT, INTG)
ShiftLeft (One, PIRG, INTG)
Return (BUFF)
}
Method (_SRS, 1, NotSerialized)
{
CreateWordField (Arg0, 0x01, INTG)
FindSetRightBit (INTG, Local0)
If (LNotEqual (Local0, Zero))
{
Decrement (Local0)
}
Store (Local0, PIRG)
}
}
Device (LNKH)
{
Name (_HID, EisaId ("PNP0C0F"))
Name (_UID, 0x08)
Method (_STA, 0, NotSerialized)
{
If (PIRH)
{
Return (0x0B)
}
Else
{
Return (0x09)
}
}
Name (_PRS, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, )
{3,4,7,9,10,11,12,14,15}
})
Method (_DIS, 0, NotSerialized)
{
Store (Zero, PIRH)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IRQ (Level, ActiveLow, Shared, _Y08)
{}
})
CreateWordField (BUFF, \_SB.PCI0.LPC.LNKH._CRS._Y08._INT, INTH)
ShiftLeft (One, PIRH, INTH)
Return (BUFF)
}
Method (_SRS, 1, NotSerialized)
{
CreateWordField (Arg0, 0x01, INTH)
FindSetRightBit (INTH, Local0)
If (LNotEqual (Local0, Zero))
{
Decrement (Local0)
}
Store (Local0, PIRH)
}
}
Device (MBRD)
{
Name (_HID, EisaId ("PNP0C02"))
Name (_UID, 0x01)
Name (_STA, 0x0F)
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x0010, // Range Minimum
0x0010, // Range Maximum
0x01, // Alignment
0x10, // Length
)
IO (Decode16,
0x0022, // Range Minimum
0x0022, // Range Maximum
0x01, // Alignment
0x0C, // Length
)
IO (Decode16,
0x0030, // Range Minimum
0x0030, // Range Maximum
0x01, // Alignment
0x10, // Length
)
IO (Decode16,
0x0050, // Range Minimum
0x0050, // Range Maximum
0x01, // Alignment
0x04, // Length
)
IO (Decode16,
0x0062, // Range Minimum
0x0062, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0065, // Range Minimum
0x0065, // Range Maximum
0x01, // Alignment
0x0B, // Length
)
IO (Decode16,
0x0074, // Range Minimum
0x0074, // Range Maximum
0x01, // Alignment
0x0C, // Length
)
IO (Decode16,
0x0090, // Range Minimum
0x0090, // Range Maximum
0x01, // Alignment
0x10, // Length
)
IO (Decode16,
0x00A2, // Range Minimum
0x00A2, // Range Maximum
0x01, // Alignment
0x10, // Length
)
IO (Decode16,
0x00B2, // Range Minimum
0x00B2, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x00B4, // Range Minimum
0x00B4, // Range Maximum
0x01, // Alignment
0x0C, // Length
)
IO (Decode16,
0x00EC, // Range Minimum
0x00EC, // Range Maximum
0x01, // Alignment
0x04, // Length
)
IO (Decode16,
0x0072, // Range Minimum
0x0072, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x004E, // Range Minimum
0x004E, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0600, // Range Minimum
0x0600, // Range Maximum
0x01, // Alignment
0x80, // Length
)
IO (Decode16,
0x040B, // Range Minimum
0x040B, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x04D0, // Range Minimum
0x04D0, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x04D6, // Range Minimum
0x04D6, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x087F, // Range Minimum
0x087F, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0C00, // Range Minimum
0x0C00, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0C14, // Range Minimum
0x0C14, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0C50, // Range Minimum
0x0C50, // Range Maximum
0x01, // Alignment
0x03, // Length
)
IO (Decode16,
0x0C6C, // Range Minimum
0x0C6C, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0C6F, // Range Minimum
0x0C6F, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0CD0, // Range Minimum
0x0CD0, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0CD2, // Range Minimum
0x0CD2, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0CD4, // Range Minimum
0x0CD4, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0CD6, // Range Minimum
0x0CD6, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x0CD8, // Range Minimum
0x0CD8, // Range Maximum
0x01, // Alignment
0x08, // Length
)
IO (Decode16,
0x8000, // Range Minimum
0x8000, // Range Maximum
0x01, // Alignment
0x80, // Length
)
IO (Decode16,
0x8100, // Range Minimum
0x8100, // Range Maximum
0x01, // Alignment
0xFF, // Length
)
IO (Decode16,
0xFE00, // Range Minimum
0xFE00, // Range Maximum
0x01, // Alignment
0x01, // Length
)
Memory32Fixed (ReadWrite,
0xE0000000, // Address Base
0x10000000, // Address Length
)
Memory32Fixed (ReadOnly,
0xFEC00000, // Address Base
0x00100000, // Address Length
)
Memory32Fixed (ReadOnly,
0xFEE00000, // Address Base
0x00100000, // Address Length
)
})
}
Device (DMAC)
{
Name (_HID, EisaId ("PNP0200"))
Name (_STA, 0x0F)
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x0000, // Range Minimum
0x0000, // Range Maximum
0x01, // Alignment
0x10, // Length
)
IO (Decode16,
0x0080, // Range Minimum
0x0080, // Range Maximum
0x01, // Alignment
0x10, // Length
)
IO (Decode16,
0x00C0, // Range Minimum
0x00C0, // Range Maximum
0x01, // Alignment
0x20, // Length
)
DMA (Compatibility, NotBusMaster, Transfer16, )
{4}
})
}
Device (PIC)
{
Name (_HID, EisaId ("PNP0000"))
Name (_STA, 0x0F)
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x0020, // Range Minimum
0x0020, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IO (Decode16,
0x00A0, // Range Minimum
0x00A0, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IRQ (Edge, ActiveHigh, Exclusive, )
{2}
})
}
Device (RTC)
{
Name (_HID, EisaId ("PNP0B00"))
Name (_STA, 0x0F)
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x0070, // Range Minimum
0x0070, // Range Maximum
0x01, // Alignment
0x02, // Length
)
IRQ (Edge, ActiveHigh, Exclusive, )
{8}
})
}
Device (TIME)
{
Name (_HID, EisaId ("PNP0100"))
Name (_STA, 0x0F)
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x0040, // Range Minimum
0x0040, // Range Maximum
0x01, // Alignment
0x04, // Length
)
IRQ (Edge, ActiveHigh, Exclusive, )
{0}
})
}
Device (MATH)
{
Name (_HID, EisaId ("PNP0C04"))
Name (_STA, 0x0F)
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x00F0, // Range Minimum
0x00F0, // Range Maximum
0x01, // Alignment
0x0F, // Length
)
IRQ (Edge, ActiveHigh, Exclusive, )
{13}
})
}
Device (SPKR)
{
Name (_HID, EisaId ("PNP0800"))
Name (_STA, 0x0F)
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x0061, // Range Minimum
0x0061, // Range Maximum
0x01, // Alignment
0x01, // Length
)
})
}
Device (HPET)
{
Name (_HID, EisaId ("PNP0103"))
Method (_STA, 0, NotSerialized)
{
If (\_SB.PCI0.LPC.HPTE)
{
Store (0x0F, Local0)
}
Else
{
Store (0x09, Local0)
}
Return (Local0)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
Memory32Fixed (ReadOnly,
0xFED00000, // Address Base
0x00001000, // Address Length
)
})
Return (BUFF)
}
}
Device (SIO)
{
Name (_HID, EisaId ("PNP0A05"))
Name (_STA, 0x0F)
OperationRegion (SMSC, SystemIO, 0x4E, 0x02)
Field (SMSC, ByteAcc, NoLock, Preserve)
{
INDX, 8,
DATA, 8
}
IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
{
Offset (0x07),
FUNC, 8,
Offset (0x30),
DEN, 8,
Offset (0x60),
DADH, 8,
DADL, 8,
Offset (0x70),
DIR, 4,
Offset (0x72),
DIR2, 8,
Offset (0x74),
DDMA, 8,
Offset (0xF0),
OPT1, 8,
OPT2, 8
}
OperationRegion (SSWC, SystemIO, 0x0600, 0x80)
Field (SSWC, AnyAcc, NoLock, Preserve)
{
PMES, 1,
Offset (0x02),
PMEE, 1,
Offset (0x04),
, 1,
RI2S, 1,
RI1S, 1,
KBDS, 1,
MOUS, 1,
Offset (0x08),
, 1,
RI2E, 1,
RI1E, 1,
KBDE, 1,
MOUE, 1,
Offset (0x5D),
LED1, 8,
LED2, 8
}
Method (_INI, 0, NotSerialized)
{
SMC (Zero, RefOf (PMEE), RefOf (PMES))
SMC (Zero, RefOf (KBDE), RefOf (KBDS))
SMC (Zero, RefOf (MOUE), RefOf (MOUS))
SMC (Zero, RefOf (RI1E), RefOf (RI1S))
SMC (Zero, RefOf (RI2E), RefOf (RI2S))
Store (0x55, INDX)
Store (0x00, FUNC)
Store (DEN, FDEN)
Store (0x03, FUNC)
Store (DEN, L1EN)
Store (0x04, FUNC)
Store (DEN, C1EN)
Store (0x05, FUNC)
Store (DEN, C2EN)
Store (0xAA, INDX)
}
Method (WAKE, 1, NotSerialized)
{
SMC (Zero, RefOf (KBDE), RefOf (KBDS))
SMC (Zero, RefOf (MOUE), RefOf (MOUS))
SMC (Zero, RefOf (RI1E), RefOf (RI1S))
SMC (Zero, RefOf (RI2E), RefOf (RI2S))
SMC (Zero, RefOf (PMEE), RefOf (PMES))
}
Method (SLEP, 1, NotSerialized)
{
If (LEqual (Arg0, 0x01))
{
SMC (One, RefOf (RI1E), RefOf (RI1S))
SMC (One, RefOf (RI2E), RefOf (RI2S))
SMC (One, RefOf (KBDE), RefOf (KBDS))
SMC (One, RefOf (MOUE), RefOf (MOUS))
SMC (One, RefOf (PMEE), RefOf (PMES))
}
}
Method (SMC, 3, NotSerialized)
{
If (Arg0)
{
Store (One, Arg2)
Store (One, Arg1)
}
Else
{
Store (Zero, Arg1)
Store (One, Arg2)
}
}
Device (KEYB)
{
Name (_HID, EisaId ("PNP0303"))
Name (_STA, 0x0F)
Name (_CRS, ResourceTemplate ()
{
IO (Decode16,
0x0060, // Range Minimum
0x0060, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IO (Decode16,
0x0064, // Range Minimum
0x0064, // Range Maximum
0x01, // Alignment
0x01, // Length
)
IRQ (Edge, ActiveHigh, Exclusive, )
{1}
})
}
Device (PS2M)
{
Name (_HID, EisaId ("PNP0F13"))
Method (_STA, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x07, FUNC)
If (DIR2)
{
Store (0x0F, Local0)
}
Else
{
Store (0x08, Local0)
}
Store (0xAA, INDX)
Return (Local0)
}
Name (_CRS, ResourceTemplate ()
{
IRQ (Edge, ActiveHigh, Exclusive, )
{12}
})
}
Device (FDC)
{
Name (_HID, EisaId ("PNP0700"))
Method (_STA, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x00, FUNC)
If (LEqual (FDEN, 0x01))
{
If (DEN)
{
Store (0x0F, Local0)
}
Else
{
Store (0x0D, Local0)
}
}
Else
{
Store (0x08, Local0)
}
Store (0xAA, INDX)
Return (Local0)
}
Method (_DIS, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x00, FUNC)
Store (Zero, DEN)
And (FDCX, Not (FDAD), FDCX)
Store (Zero, FDAD)
Store (0xAA, INDX)
}
Method (_CRS, 0, NotSerialized)
{
Name (BUFF, ResourceTemplate ()
{
IO (Decode16,
0x03F0, // Range Minimum
0x03F0, // Range Maximum
0x01, // Alignment
0x06, // Length
)
IO (Decode16,
0x03F7, // Range Minimum
0x03F7, // Range Maximum
0x01, // Alignment
0x01, // Length
)
DMA (Compatibility, NotBusMaster, Transfer16, )
{2}
IRQNoFlags ()
{6}
})
Return (BUFF)
}
Name (_PRS, ResourceTemplate ()
{
IO (Decode16,
0x03F0, // Range Minimum
0x03F0, // Range Maximum
0x01, // Alignment
0x06, // Length
)
IO (Decode16,
0x03F7, // Range Minimum
0x03F7, // Range Maximum
0x01, // Alignment
0x01, // Length
)
DMA (Compatibility, NotBusMaster, Transfer16, )
{2}
IRQNoFlags ()
{6}
})
Method (_SRS, 1, NotSerialized)
{
Store (0x55, INDX)
Store (0x00, FUNC)
Store (One, DEN)
Or (0x01, FDAD)
Or (FDCX, FDAD, FDCX)
Store (0xAA, INDX)
}
}
Device (COM1)
{
Name (_HID, EisaId ("PNP0501"))
Name (_UID, 0x01)
Method (_STA, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x04, FUNC)
If (LEqual (C1EN, 0x01))
{
If (DEN)
{
Store (0x0F, Local0)
}
Else
{
Store (0x0D, Local0)
}
}
Else
{
Store (0x08, Local0)
}
Store (0xAA, INDX)
Return (Local0)
}
Method (_DIS, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x04, FUNC)
Store (Zero, DEN)
And (SERX, Not (C1AD), SERX)
Store (Zero, C1AD)
Store (0xAA, INDX)
}
Method (_CRS, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x04, FUNC)
Name (BUFF, ResourceTemplate ()
{
IO (Decode16,
0x0000, // Range Minimum
0x0000, // Range Maximum
0x08, // Alignment
0x08, // Length
_Y09)
IRQNoFlags (_Y0A)
{0}
})
CreateByteField (BUFF, \_SB.PCI0.LPC.SIO.COM1._CRS._Y09._MIN, AD1L)
CreateByteField (BUFF, 0x03, AD1H)
CreateByteField (BUFF, \_SB.PCI0.LPC.SIO.COM1._CRS._Y09._MAX, AD2L)
CreateByteField (BUFF, 0x05, AD2H)
Store (DADL, AD1L)
Store (DADH, AD1H)
Store (DADL, AD2L)
Store (DADH, AD2H)
CreateWordField (BUFF, \_SB.PCI0.LPC.SIO.COM1._CRS._Y0A._INT, IRQS)
Store (One, Local0)
ShiftLeft (Local0, DIR, IRQS)
Store (0xAA, INDX)
Return (BUFF)
}
Name (_PRS, ResourceTemplate ()
{
StartDependentFn (0x00, 0x00)
{
IO (Decode16,
0x03F8, // Range Minimum
0x03F8, // Range Maximum
0x08, // Alignment
0x08, // Length
)
IRQNoFlags ()
{4}
}
StartDependentFn (0x01, 0x01)
{
IO (Decode16,
0x03E8, // Range Minimum
0x03E8, // Range Maximum
0x08, // Alignment
0x08, // Length
)
IRQNoFlags ()
{4}
}
StartDependentFn (0x02, 0x02)
{
IO (Decode16,
0x02F8, // Range Minimum
0x02F8, // Range Maximum
0x08, // Alignment
0x08, // Length
)
IRQNoFlags ()
{3}
}
StartDependentFn (0x02, 0x02)
{
IO (Decode16,
0x02E8, // Range Minimum
0x02E8, // Range Maximum
0x08, // Alignment
0x08, // Length
)
IRQNoFlags ()
{3}
}
EndDependentFn ()
})
Name (CM1L, Package (0x04)
{
0x03F8,
0x02F8,
0x02E8,
0x03E8
})
Name (CM1C, Package (0x04)
{
0x01,
0x02,
0x20,
0x80
})
Method (_SRS, 1, NotSerialized)
{
Store (0x55, INDX)
Store (0x04, FUNC)
CreateByteField (Arg0, 0x02, IOSL)
CreateByteField (Arg0, 0x03, IOSH)
CreateWordField (Arg0, 0x02, IOSA)
CreateWordField (Arg0, 0x09, IRQS)
Store (IOSL, DADL)
Store (IOSH, DADH)
Store (DerefOf (Index (CM1C, Match (CM1L, MEQ, IOSA, MTR, 0x00,
0x00))), C1AD)
Or (SERX, C1AD, SERX)
FindSetRightBit (IRQS, Local0)
If (Local0)
{
Decrement (Local0)
}
Store (Local0, DIR)
Store (One, DEN)
Store (0xAA, INDX)
}
}
Device (COM2)
{
Method (_HID, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x05, FUNC)
If (LEqual (And (OPT2, 0x38), 0x00))
{
Store (0x0105D041, Local0)
}
Else
{
Store (0x1005D041, Local0)
}
Store (0xAA, INDX)
Return (Local0)
}
Name (_UID, 0x02)
Method (_STA, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x05, FUNC)
If (LEqual (C2EN, 0x01))
{
If (DEN)
{
Store (0x0F, Local0)
}
Else
{
Store (0x0D, Local0)
}
}
Else
{
Store (0x08, Local0)
}
Store (0xAA, INDX)
Return (Local0)
}
Method (_DIS, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x05, FUNC)
Store (Zero, DEN)
Or (OPT1, 0x20, OPT1)
And (SERX, Not (C2AD), SERX)
Store (Zero, C2AD)
Store (0xAA, INDX)
}
Method (_CRS, 0, NotSerialized)
{
Store (0x55, INDX)
Store (0x05, FUNC)
Name (BUFF, ResourceTemplate ()
{
IO (Decode16,
0x0000, // Range Minimum
0x0000, // Range Maximum
0x08, // Alignment
0x08, // Length
_Y0B)
IRQNoFlags (_Y0C)
{0}
})
CreateByteField (BUFF, \_SB.PCI0.LPC.SIO.COM2._CRS._Y0B._MIN, AD1L)
CreateByteField (BUFF, 0x03, AD1H)
CreateByteField (BUFF, \_SB.PCI0.LPC.SIO.COM2._CRS._Y0B._MAX, AD2L)
CreateByteField (BUFF, 0x05, AD2H)
Store (DADL, AD1L)
Store (DADH, AD1H)
Store (DADL, AD2L)
Store (DADH, AD2H)
CreateWordField (BUFF, \_SB.PCI0.LPC.SIO.COM2._CRS._Y0C._INT, IRQS)
Store (One, Local0)
ShiftLeft (Local0, DIR, IRQS)
Store (0xAA, INDX)
Return (BUFF)
}
Name (_PRS, ResourceTemplate ()
{
StartDependentFn (0x00, 0x00)
{
IO (Decode16,
0x02F8, // Range Minimum
0x02F8, // Range Maximum
0x08, // Alignment
0x08, // Length
)
IRQNoFlags ()
{3}
}
StartDependentFn (0x01, 0x01)
{
IO (Decode16,
0x02E8, // Range Minimum
0x02E8, // Range Maximum
0x08, // Alignment
0x08, // Length
)
IRQNoFlags ()
{3}
}
StartDependentFn (0x02, 0x02)
{
IO (Decode16,
0x03F8, // Range Minimum
0x03F8, // Range Maximum
0x08, // Alignment
0x08, // Length
)
IRQNoFlags ()
{4}
}
StartDependentFn (0x02, 0x02)
{
IO (Decode16,
0x03E8, // Range Minimum
0x03E8, // Range Maximum
0x08, // Alignment
0x08, // Length
)
IRQNoFlags ()
{4}
}
EndDependentFn ()
})
Name (CM2L, Package (0x04)
{
0x03F8,
0x02F8,
0x02E8,
0x03E8
})
Name (CM2C, Package (0x04)
{
0x01,
0x02,
0x20,
0x80
})
Method (_SRS, 1, NotSerialized)
{
Store (0x55, INDX)
Store (0x05, FUNC)
CreateByteField (Arg0, 0x02, IOSL)
CreateByteField (Arg0, 0x03, IOSH)
CreateWordField (Arg0, 0x02, IOSA)
CreateWordField (Arg0, 0x09, IRQS)
Store (IOSL, DADL)
Store (IOSH, DADH)
Store (DerefOf (Index (CM2C, Match (CM2L, MEQ, IOSA, MTR, 0x00,
0x00))), C2AD)
Or (SERX, C2AD, SERX)
FindSetRightBit (IRQS, Local0)
If (Local0)
{
Decrement (Local0)
}
Store (Local0, DIR)
Store (One, DEN)
And (OPT1, LNot (0x20), OPT1)
Store (0xAA, INDX)
}
}
}
}
}
}
}
[-- Attachment #3 --]
[2.0.1-RELEASE][root@racg.local]/root(5): vmstat -i
interrupt total rate
irq1: atkbd0 17 0
irq16: ohci0 1 0
irq17: ohci1 ohci3 29 0
irq18: ohci2 ohci4 1 0
irq19: ehci0 2 0
irq22: atapci0 18197 12
cpu0: timer 2802584 1998
Total 2820831 2012
vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad6 md0 in sy cs us sy id
2 0 0 567M 1407M 652 0 1 0 532 0 0 0 13 4703 1104324 11 88 1
[2.0.1-RELEASE][root@racg.local]/root(11): vmstat -afhimPsz
3992 forks, 757011 pages, average 189.63
1741 vforks, 283191 pages, average 162.66
0 rforks, 0 pages, average 0.00
Type InUse MemUse HighUse Requests Size(s)
isadev 22 2K - 22 64
acpica 1304 65K - 86636 16,32,64,128,256,512,1024
cdev 11 2K - 11 128
acpitask 1 1K - 1 1024
sigio 1 1K - 10 32
filedesc 91 23K - 5894 16,32,256,512,2048
kenv 130 9K - 142 16,32,64,128,4096
kqueue 14 8K - 109 128,256,1024
proc-args 53 4K - 6897 16,32,64,128,256
ithread 72 6K - 72 16,64,128
entropy 1024 64K - 1024 64
KTRACE 100 13K - 100 128
CAM XPT 12 2K - 26 16,32,64,1024
linker 169 131K - 235 16,32,64,256,1024,2048,4096
lockf 14 1K - 76559 32,64
ip6ndp 9 1K - 11 64,128
temp 51 902K - 19350 16,32,64,128,256,512,1024,2048,4096
devbuf 2523 2657K - 2552 16,32,64,128,256,512,1024,2048,4096
cache 1 1K - 1 16
acpisem 14 2K - 14 64,128
module 514 33K - 516 64,128
mtx_pool 2 8K - 2 4096
UART 6 3K - 6 16,256,1024
subproc 210 387K - 5881 256,4096
proc 2 8K - 2 4096
session 32 2K - 133 64
pgrp 35 3K - 148 64
cred 76 8K - 151618 64,128
uidinfo 9 2K - 56 64,1024
plimit 9 3K - 1022 256
sysctltmp 0 0K - 1252 16,32,64,128
sysctloid 3059 93K - 3148 16,32,64,128
sysctl 0 0K - 8522 16,32,64
umtx 168 11K - 168 64
p1003.1b 1 1K - 1 16
SWAP 2 549K - 2 64
bus-sc 68 94K - 3634 16,32,64,128,256,512,1024,2048,4096
bus 1297 60K - 6588 16,32,64,128,256,512,1024
devstat 4 9K - 4 16,4096
eventhandler 93 5K - 93 32,64,128
kobj 335 670K - 402 2048
Per-cpu 1 1K - 1 16
rman 186 12K - 655 16,32,64
sbuf 0 0K - 588 16,32,64,128,256,512,1024,2048,4096
CAM dev queue 1 1K - 1 128
CAM queue 3 1K - 7 16
stack 0 0K - 1 128
taskqueue 11 1K - 11 16,64
Unitno 11 1K - 23 16,64
iov 0 0K - 537 16,64,128,256
select 39 3K - 39 64
ioctlops 0 0K - 20940 16,32,64,128,256,512,1024,2048,4096
msg 4 73K - 4 1024
sem 4 6K - 4 256,512,1024,4096
shm 1 12K - 1
tty 22 11K - 24 512,2048
pts 1 1K - 1 128
mbuf_tag 0 0K - 10884 32,64
ksem 1 4K - 1 4096
shmfd 1 4K - 1 4096
pcb 32 79K - 192 16,32,64,512,1024,2048,4096
soname 8 1K - 1841 16,32,128
biobuf 0 0K - 36 2048
vfscache 1 512K - 1
cl_savebuf 0 0K - 318 32,64
vfs_hash 1 256K - 1
vnodes 2 1K - 2 128
USBdev 33 9K - 33 32,128,256,1024
vnodemarker 0 0K - 439 512
mount 55 3K - 120 16,32,64,128,256
BPF 23 202K - 47 16,64,128,256,2048,4096
ether_multi 56 3K - 72 16,32,64
ifaddr 77 17K - 78 16,32,64,256,512,2048
ifnet 7 7K - 7 64,1024
clone 14 56K - 14 4096
arpcom 2 1K - 2 16
lltable 20 5K - 20 128,256
USB 52 23K - 53 16,32,64,128,1024,2048,4096
ata_generic 1 1K - 1 1024
ad_driver 1 1K - 1 32
routetbl 98 4115K - 4651 16,32,64,128,256
kbdmux 7 10K - 7 16,256,1024,2048,4096
md_sectors 6 24K - 6 4096
netgraph_msg 0 0K - 2 128
netgraph_node 2 1K - 37 128
netgraph 0 0K - 2 32
netgraph_sock 2 1K - 35 64
netgraph_path 0 0K - 2 16
igmp 6 1K - 6 128
ipid 2 24K - 2
md_disk 8 5K - 8 16,2048
DEVFS1 102 26K - 105 256
in_multi 3 1K - 4 128
encap_export_host 4 4K - 4 1024
mroutetbl 1 1K - 1 256
sctp_iter 0 0K - 5 256
sctp_ifn 3 1K - 3 128
sctp_ifa 7 1K - 8 128
sctp_vrf 1 1K - 1 64
sctp_a_it 0 0K - 5 16
hostcache 1 16K - 1
syncache 1 72K - 1
DEVFS3 118 15K - 122 128
in6_multi 28 4K - 28 16,256
DEVFS 17 1K - 18 16,64
DEVFSP 4 1K - 8 32
mld 6 1K - 6 128
inpcbpolicy 24 1K - 2132 16
ipsec-reg 0 0K - 3 16
ipsecpolicy 48 6K - 4296 128
NFS FHA 1 1K - 1 1024
crypto 1 1K - 1 512
xform 0 0K - 324 16,32
rpc 2 5K - 2 128,4096
audit_evclass 172 3K - 211 16
savedino 0 0K - 1 256
dirrem 0 0K - 1 32
diradd 0 0K - 5 64
freefile 0 0K - 1 32
freeblks 0 0K - 1 256
allocdirect 0 0K - 2 128
bmsafemap 0 0K - 2 64
newblk 1 1K - 3 64,256
inodedep 1 256K - 6 128
pagedep 1 64K - 2 64
ufs_dirhash 357 79K - 357 16,32,64,128,256,512,4096
ufs_mount 9 35K - 9 256,2048,4096
UMAHash 2 3K - 5 256,512,1024,2048
vm_pgdata 2 65K - 2 64
atkbddev 2 1K - 2 32
nullfs_hash 1 1K - 1 64
pfs_nodes 21 3K - 21 128
spkr 0 0K - 5 512
apmdev 1 1K - 1 64
ar_driver 0 0K - 6 512,2048
GEOM 57 14K - 452 16,32,64,128,512,1024
io_apic 1 1K - 1 1024
memdesc 1 4K - 1 4096
msi 2 1K - 2 64
nexusdev 6 1K - 6 16
CAM SIM 1 1K - 1 128
acpidev 83 3K - 83 32
CAM periph 2 1K - 12 16,32,64,128
pci_link 16 2K - 16 64,128
fdesc_mount 1 1K - 1 16
ITEM SIZE LIMIT USED FREE REQUESTS FAILURES
UMA Kegs: 128, 0, 110, 10, 110, 0
UMA Zones: 888, 0, 110, 2, 110, 0
UMA Slabs: 284, 0, 970, 10, 1806, 0
UMA RCntSlabs: 544, 0, 325, 4, 325, 0
UMA Hash: 128, 0, 3, 27, 5, 0
16 Bucket: 76, 0, 38, 12, 59, 0
32 Bucket: 140, 0, 36, 20, 59, 0
64 Bucket: 268, 0, 54, 2, 101, 13
128 Bucket: 524, 0, 446, 2, 1643, 112
VM OBJECT: 136, 0, 9635, 138, 139908, 0
MAP: 140, 0, 7, 21, 7, 0
KMAP ENTRY: 72, 57505, 29, 130, 13326, 0
MAP ENTRY: 72, 0, 1816, 357, 259540, 0
DP fakepg: 72, 0, 0, 0, 0, 0
SG fakepg: 72, 0, 0, 0, 0, 0
mt_zone: 2056, 0, 318, 123, 318, 0
16: 16, 0, 2923, 122, 58616, 0
32: 32, 0, 2553, 46, 63774, 0
64: 64, 0, 4619, 160, 174741, 0
128: 128, 0, 1251, 69, 86629, 0
256: 256, 0, 733, 47, 24058, 0
512: 512, 0, 184, 16, 8834, 0
1024: 1024, 0, 47, 145, 3379, 0
2048: 2048, 0, 369, 15, 3151, 0
4096: 4096, 0, 169, 24, 8474, 0
Files: 56, 0, 224, 111, 498386, 0
TURNSTILE: 72, 0, 169, 41, 169, 0
umtx pi: 52, 0, 0, 0, 0, 0
MAC labels: 20, 0, 0, 0, 0, 0
PROC: 680, 0, 88, 32, 5760, 0
THREAD: 636, 0, 157, 11, 159, 0
SLEEPQUEUE: 44, 0, 169, 67, 169, 0
VMSPACE: 232, 0, 63, 22, 5736, 0
cpuset: 40, 0, 2, 182, 2, 0
audit_record: 816, 0, 0, 0, 0, 0
mbuf_packet: 256, 0, 512, 128, 5516, 0
mbuf: 256, 0, 2, 138, 26751, 0
mbuf_cluster: 2048, 65536, 641, 5, 1054, 0
mbuf_jumbo_page: 4096, 12800, 0, 2, 12, 0
mbuf_jumbo_9k: 9216, 6400, 0, 0, 0, 0
mbuf_jumbo_16k: 16384, 3200, 0, 0, 0, 0
mbuf_ext_refcnt: 4, 0, 0, 0, 0, 0
NetGraph items: 36, 4130, 0, 118, 37, 0
NetGraph data items: 36, 531, 0, 0, 0, 0
g_bio: 140, 0, 0, 2408, 77482, 0
ttyinq: 152, 0, 30, 48, 60, 0
ttyoutq: 256, 0, 16, 14, 32, 0
ata_request: 204, 0, 0, 608, 18301, 0
ata_composite: 180, 0, 0, 0, 0, 0
cryptop: 60, 0, 0, 0, 0, 0
cryptodesc: 56, 0, 0, 0, 0, 0
VNODE: 268, 0, 33452, 8, 285884, 0
VNODEPOLL: 60, 0, 0, 0, 0, 0
S VFS Cache: 72, 0, 33987, 5127, 253588, 0
L VFS Cache: 292, 0, 44, 23187, 47224, 0
NAMEI: 1024, 0, 0, 12, 10880532, 0
NFSMOUNT: 524, 0, 0, 0, 0, 0
NFSNODE: 468, 0, 0, 0, 0, 0
DIRHASH: 1024, 0, 1478, 10, 1478, 0
pipe: 392, 0, 24, 26, 3907, 0
ksiginfo: 80, 0, 97, 959, 237, 0
itimer: 220, 0, 0, 0, 0, 0
KNOTE: 72, 0, 20, 86, 3855, 0
bridge_rtnode: 36, 0, 0, 0, 0, 0
socket: 412, 25605, 62, 37, 2757, 0
ipq: 32, 2147, 0, 0, 0, 0
udp_inpcb: 220, 25614, 12, 24, 2053, 0
udpcb: 8, 25781, 12, 191, 2053, 0
tcp_inpcb: 220, 25614, 11, 25, 75, 0
tcpcb: 632, 25602, 11, 7, 75, 0
tcptw: 52, 5184, 0, 144, 2, 0
syncache: 112, 15365, 0, 70, 3, 0
hostcache: 76, 15400, 1, 99, 1, 0
tcpreass: 20, 4225, 0, 0, 0, 0
sackhole: 20, 0, 0, 0, 0, 0
sctp_ep: 860, 25600, 0, 0, 0, 0
sctp_asoc: 1484, 40000, 0, 0, 0, 0
sctp_laddr: 24, 80040, 0, 145, 8, 0
sctp_raddr: 432, 80001, 0, 0, 0, 0
sctp_chunk: 92, 400008, 0, 0, 0, 0
sctp_readq: 76, 400000, 0, 0, 0, 0
sctp_stream_msg_out: 64, 400020, 0, 0, 0, 0
sctp_asconf: 24, 400055, 0, 0, 0, 0
sctp_asconf_ack: 24, 400055, 0, 0, 0, 0
ripcb: 220, 25614, 1, 35, 4, 0
unpcb: 172, 25622, 35, 34, 578, 0
rtentry: 108, 0, 19, 53, 22, 0
pfsrctrpl: 124, 186000, 0, 0, 0, 0
pfrulepl: 828, 0, 143, 161, 1846, 0
pfstatepl: 284, 186004, 7, 35, 155, 0
pfaltqpl: 224, 0, 0, 0, 0, 0
pfpooladdrpl: 68, 0, 7, 105, 91, 0
pfrktable: 1240, 1002, 13, 17, 206, 0
pfrkentry: 156, 200000, 12, 38, 158, 0
pfrkentry2: 156, 0, 0, 0, 0, 0
pffrent: 16, 5075, 0, 0, 0, 0
pffrag: 48, 0, 0, 0, 0, 0
pffrcache: 48, 10062, 0, 0, 0, 0
pffrcent: 12, 50141, 0, 0, 0, 0
pfstatescrub: 28, 0, 0, 0, 0, 0
pfiaddrpl: 100, 0, 4, 74, 39, 0
pfospfen: 108, 0, 696, 24, 9048, 0
pfosfp: 28, 0, 407, 228, 5291, 0
selfd: 28, 0, 75, 179, 40590, 0
ip4flow: 40, 25668, 0, 0, 0, 0
ip6flow: 64, 25636, 0, 0, 0, 0
SWAPMETA: 276, 121576, 0, 0, 0, 0
Mountpoints: 644, 0, 5, 7, 7, 0
FFS inode: 116, 0, 33424, 38, 285843, 0
FFS1 dinode: 128, 0, 0, 0, 0, 0
FFS2 dinode: 256, 0, 33424, 26, 285843, 0
md0: 512, 0, 308, 4, 308, 0
1649394807 cpu context switches
18351 device interrupts
43151320 software interrupts
1099860 traps
6702374 system calls
26 kernel threads created
3993 fork() calls
1741 vfork() calls
0 rfork() calls
0 swap pager pageins
0 swap pager pages paged in
0 swap pager pageouts
0 swap pager pages paged out
1110 vnode pager pageins
8940 vnode pager pages paged in
272 vnode pager pageouts
362 vnode pager pages paged out
0 page daemon wakeups
0 pages examined by the page daemon
217 pages reactivated
184659 copy-on-write faults
2 copy-on-write optimized faults
574052 zero fill pages zeroed
18037 zero fill pages prezeroed
53 intransit blocking page faults
940345 total VM faults taken
0 pages affected by kernel thread creation
757216 pages affected by fork()
283191 pages affected by vfork()
0 pages affected by rfork()
1565 pages cached
766481 pages freed
0 pages freed by daemon
480041 pages freed by exiting processes
17830 pages active
62897 pages inactive
1277 pages in VM cache
38125 pages wired down
357976 pages free
4096 bytes per page
50733309 total name lookups
cache hits (99% pos + 0% neg) system 0% per-directory
deletions 0%, falsehits 0%, toolong 0%
interrupt total rate
??? 0 0
irq1: atkbd0 17 0
stray irq1 0 0
irq2: 0 0
stray irq2 0 0
irq3: uart1 0 0
stray irq3 0 0
irq4: uart0 0 0
stray irq4 0 0
irq5: 0 0
stray irq5 0 0
irq6: 0 0
stray irq6 0 0
irq7: 0 0
stray irq7 0 0
irq8: 0 0
stray irq8 0 0
irq9: acpi0 0 0
stray irq9 0 0
irq10: 0 0
stray irq10 0 0
irq11: 0 0
stray irq11 0 0
irq12: 0 0
stray irq12 0 0
irq13: 0 0
stray irq13 0 0
irq14: ata0 0 0
stray irq14 0 0
irq15: 0 0
stray irq15 0 0
irq16: ohci0 1 0
stray irq16 0 0
irq17: ohci1 ohci3 29 0
stray irq17 0 0
irq18: ohci2 ohci4 1 0
stray irq18 0 0
irq19: ehci0 2 0
stray irq19 0 0
irq20: 0 0
stray irq20 0 0
irq21: 0 0
stray irq21 0 0
irq22: atapci0 18301 12
stray irq22 0 0
irq23: 0 0
stray irq23 0 0
cpu0: timer 2951705 1999
irq256: re0 0 0
stray irq256 0 0
irq257: re1 0 0
stray irq257 0 0
Total 2970056 2012
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35CFCFC220BF044DA8BFCE7FC11853D701A1EE>
