From 79f624a61024d5ae990cff6d87e78692d38081b0 Mon Sep 17 00:00:00 2001 From: Benjamin Bender Date: Sat, 7 Nov 2020 13:17:44 +0100 Subject: [PATCH] Fix S0-indicator SLTP is defined as XLTP in SSDT-Sleep, because SLTP() is already defined in the Thinkpad-DSDT and it's simpler to rename it than to patch the original SSDT. So this PR syncs between both SSDTs. --- patches/SSDT-TB3.dsl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/SSDT-TB3.dsl b/patches/SSDT-TB3.dsl index 9f2ab95..7766d9f 100644 --- a/patches/SSDT-TB3.dsl +++ b/patches/SSDT-TB3.dsl @@ -66,7 +66,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_TB3", 0x00001000) External (TBSE, FieldUnitObj) // TB root port number External (TBTS, FieldUnitObj) // TB enabled? - External (SLTP, IntObj) + External (XLTP, IntObj) External (_GPE.XTFY, MethodObj) // 1 Arguments @@ -2721,7 +2721,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_TB3", 0x00001000) If (Arg0 == Zero) { XRTE = Zero - If (SLTP == Zero) + If (XLTP == Zero) { // Debug = "TB:UPSB:NHI0:TRPE L23 Detect" \_SB.PCI0.RP09.L23R = One @@ -2750,7 +2750,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_TB3", 0x00001000) ElseIf (Arg0 == One) { XRTE = One - If (SLTP == Zero) + If (XLTP == Zero) { \_SB.PCI0.RP09.PSTX = 0x03 If (\_SB.PCI0.RP09.LACR == One)