superio/smsc/sch5147/acpi: Convert superio.asl to ASL 2.0 syntax
Change-Id: I509b76dbdbdee8a6287fc7d877c9f6e3c6a9068b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45992 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
b77668cbdb
commit
90fe567fa9
|
@ -124,7 +124,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) {
|
||||||
Method (_DIS)
|
Method (_DIS)
|
||||||
{
|
{
|
||||||
ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)
|
ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)
|
||||||
Store (Zero, PNP_DEVICE_ACTIVE)
|
PNP_DEVICE_ACTIVE = 0
|
||||||
EXIT_CONFIG_MODE ()
|
EXIT_CONFIG_MODE ()
|
||||||
#if defined(SUPERIO_KBC_PS2LDN)
|
#if defined(SUPERIO_KBC_PS2LDN)
|
||||||
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN), 1)
|
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_PS2LDN), 1)
|
||||||
|
@ -169,7 +169,7 @@ Device (SUPERIO_ID(KBD, SUPERIO_KBC_LDN)) {
|
||||||
})
|
})
|
||||||
ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)
|
ENTER_CONFIG_MODE (SUPERIO_KBC_LDN)
|
||||||
PNP_WRITE_IRQ(PNP_IRQ0, Arg0, IR0)
|
PNP_WRITE_IRQ(PNP_IRQ0, Arg0, IR0)
|
||||||
Store (One, PNP_DEVICE_ACTIVE)
|
PNP_DEVICE_ACTIVE = 1
|
||||||
EXIT_CONFIG_MODE ()
|
EXIT_CONFIG_MODE ()
|
||||||
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_LDN), 1)
|
Notify (SUPERIO_ID(PS2, SUPERIO_KBC_LDN), 1)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue