supermicro/h8qgi/dsdt: Move _PIC method to root scope

_PIC method should be declared under root scope (\_PIC),
otherwise Linux kernel doesn't use it.

Change-Id: I29b6ca60191507ac8edf99fdf173617bd6446934
Signed-off-by: Konstantin Aladyshev <aladyshev@nicevt.ru>
Reviewed-on: http://review.coreboot.org/5478
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Konstantin Aladyshev 2014-07-12 09:17:24 +04:00 committed by Alexandru Gagniuc
parent 12fd779176
commit 05ba1bb6d4
1 changed files with 9 additions and 8 deletions

View File

@ -448,6 +448,15 @@ DefinitionBlock (
#include "acpi/routing.asl"
Method(_PIC, 0x01, NotSerialized)
{
If (Arg0)
{
\_SB.CIRQ()
}
Store(Arg0, PMOD)
}
Scope(\_SB) {
Method(CkOT, 0){
if(LNotEqual(OSTP, Ones)) {Return(OSTP)} /* OS version was already detected */
@ -468,14 +477,6 @@ DefinitionBlock (
Return(OSTP)
}
Method(_PIC, 0x01, NotSerialized)
{
If (Arg0)
{
\_SB.CIRQ()
}
Store(Arg0, PMOD)
}
Method(CIRQ, 0x00, NotSerialized){
Store(0, PINA)
Store(0, PINB)