aboutsummaryrefslogtreecommitdiff
path: root/src/superio/acpi/pnp_kbc.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/acpi/pnp_kbc.asl')
-rw-r--r--src/superio/acpi/pnp_kbc.asl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/superio/acpi/pnp_kbc.asl b/src/superio/acpi/pnp_kbc.asl
index ba03e19f6a..4fd805f8fa 100644
--- a/src/superio/acpi/pnp_kbc.asl
+++ b/src/superio/acpi/pnp_kbc.asl
@@ -46,7 +46,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) {
Method (_DIS)
{
ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)
- Store (Zero, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = Zero
EXIT_CONFIG_MODE ()
#if defined(SUPERIO_KBC_PS2LDN)
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN), 1)
@@ -95,7 +95,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) {
PNP_WRITE_IO(PNP_IO0, Arg0, IO0)
PNP_WRITE_IO(PNP_IO1, Arg0, IO1)
PNP_WRITE_IRQ(PNP_IRQ0, Arg0, IR0)
- Store (One, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = One
EXIT_CONFIG_MODE ()
#if defined(SUPERIO_KBC_PS2LDN)
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN), 1)
@@ -155,7 +155,7 @@ Device (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN)) {
Method (_STA)
{
- Store (^^SUPERIO_ID(KBD, SUPERIO_KBC_LDN)._STA (), Local0)
+ Local0 = ^^SUPERIO_ID(KBD, SUPERIO_KBC_LDN)._STA ()
If (Local0 == DEVICE_PRESENT_ACTIVE) {
PNP_GENERIC_STA(SUPERIO_KBC_PS2LDN)
} Else {
@@ -166,7 +166,7 @@ Device (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN)) {
Method (_DIS)
{
ENTER_CONFIG_MODE (SUPERIO_KBC_PS2LDN)
- Store (Zero, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = Zero
EXIT_CONFIG_MODE ()
}
@@ -200,7 +200,7 @@ Device (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN)) {
})
ENTER_CONFIG_MODE (SUPERIO_KBC_PS2LDN)
PNP_WRITE_IRQ(PNP_IRQ0, Arg0, IR1)
- Store (One, PNP_DEVICE_ACTIVE)
+ PNP_DEVICE_ACTIVE = One
EXIT_CONFIG_MODE ()
}
}