summaryrefslogtreecommitdiff
path: root/src/superio/acpi/pnp_config.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/superio/acpi/pnp_config.asl')
-rw-r--r--src/superio/acpi/pnp_config.asl16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/superio/acpi/pnp_config.asl b/src/superio/acpi/pnp_config.asl
index 483bb82e11..d7cca074d7 100644
--- a/src/superio/acpi/pnp_config.asl
+++ b/src/superio/acpi/pnp_config.asl
@@ -35,19 +35,19 @@ Method (ENTER_CONFIG_MODE, 1)
{
Acquire (CONF_MODE_MUTEX, 0xFFFF)
#ifdef PNP_ENTER_MAGIC_1ST
- Store (PNP_ENTER_MAGIC_1ST, PNP_ADDR_REG)
+ PNP_ADDR_REG = PNP_ENTER_MAGIC_1ST
#ifdef PNP_ENTER_MAGIC_2ND
- Store (PNP_ENTER_MAGIC_2ND, PNP_ADDR_REG)
+ PNP_ADDR_REG = PNP_ENTER_MAGIC_2ND
#ifdef PNP_ENTER_MAGIC_3RD
- Store (PNP_ENTER_MAGIC_3RD, PNP_ADDR_REG)
+ PNP_ADDR_REG = PNP_ENTER_MAGIC_3RD
#ifdef PNP_ENTER_MAGIC_4TH
- Store (PNP_ENTER_MAGIC_4TH, PNP_ADDR_REG)
+ PNP_ADDR_REG = PNP_ENTER_MAGIC_4TH
#endif
#endif
#endif
#endif
If (Arg0 < PNP_NO_LDN_CHANGE) {
- Store(Arg0, PNP_LOGICAL_DEVICE)
+ PNP_LOGICAL_DEVICE = Arg0
}
}
@@ -58,10 +58,10 @@ Method (ENTER_CONFIG_MODE, 1)
Method (EXIT_CONFIG_MODE)
{
#ifdef PNP_EXIT_MAGIC_1ST
- Store (PNP_EXIT_MAGIC_1ST, PNP_ADDR_REG)
+ PNP_ADDR_REG = PNP_EXIT_MAGIC_1ST
#endif
#if defined(PNP_EXIT_SPECIAL_REG) && defined(PNP_EXIT_SPECIAL_VAL)
- Store (PNP_EXIT_SPECIAL_VAL, PNP_EXIT_SPECIAL_REG)
+ PNP_EXIT_SPECIAL_REG = PNP_EXIT_SPECIAL_VAL
#endif
Release (CONF_MODE_MUTEX)
}
@@ -72,5 +72,5 @@ Method (EXIT_CONFIG_MODE)
*/
Method (SWITCH_LDN, 1)
{
- Store(Arg0, PNP_LOGICAL_DEVICE)
+ PNP_LOGICAL_DEVICE = Arg0
}