summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/asus/p2b/dsdt.asl28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mainboard/asus/p2b/dsdt.asl b/src/mainboard/asus/p2b/dsdt.asl
index 384f8de2b4..006db8a02c 100644
--- a/src/mainboard/asus/p2b/dsdt.asl
+++ b/src/mainboard/asus/p2b/dsdt.asl
@@ -67,23 +67,23 @@ DefinitionBlock (
Method (\_PTS, 1, NotSerialized)
{
/* Disable fan, blink power LED, if not turning off */
- If (LNotEqual (Arg0, 0x05))
+ If (Arg0 != 0x05)
{
- Store (Zero, FANM)
- Store (Zero, PLED)
+ FANM = 0
+ PLED = 0
}
/* Arms SMI for device 12 */
- Store (One, TO12)
+ TO12 = 1
/* Put out a POST code */
- Or (Arg0, 0xF0, P80)
+ P80 = Arg0 | 0xF0
}
Method (\_WAK, 1, NotSerialized)
{
/* Re-enable fan, stop power led blinking */
- Store (One, FANM)
- Store (One, PLED)
+ FANM = 1
+ PLED = 1
/* wake OK */
Return(Package(0x02){0x00, 0x00})
}
@@ -212,10 +212,10 @@ DefinitionBlock (
CreateWordField (BUF1, _Y07._MIN, SBLO)
CreateWordField (BUF1, _Y07._MAX, SBRL)
- And (\_SB.PCI0.PX43.PM00, 0xFFFE, PMLO)
- And (\_SB.PCI0.PX43.SB00, 0xFFFE, SBLO)
- Store (PMLO, PMRL)
- Store (SBLO, SBRL)
+ PMLO = \_SB.PCI0.PX43.PM00 & 0xFFFE
+ SBLO = \_SB.PCI0.PX43.SB00 & 0xFFFE
+ PMRL = PMLO
+ SBRL = SBLO
Return (BUF1)
}
}
@@ -246,13 +246,13 @@ DefinitionBlock (
{
Method (_MSG, 1, NotSerialized)
{
- If (LEqual (Arg0, Zero))
+ If (Arg0 == 0)
{
- Store (One, MSG0)
+ MSG0 = 1
}
Else
{
- Store (Zero, MSG0)
+ MSG0 = 0
}
}
}