1
0
Fork 0
mirror of https://github.com/tylernguyen/x1c6-hackintosh.git synced 2025-02-05 09:33:13 -06:00

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.
This commit is contained in:
Benjamin Bender 2020-11-07 13:17:44 +01:00 committed by GitHub
parent 3cc241dc5a
commit 79f624a610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_TB3", 0x00001000)
External (TBSE, FieldUnitObj) // TB root port number External (TBSE, FieldUnitObj) // TB root port number
External (TBTS, FieldUnitObj) // TB enabled? External (TBTS, FieldUnitObj) // TB enabled?
External (SLTP, IntObj) External (XLTP, IntObj)
External (_GPE.XTFY, MethodObj) // 1 Arguments External (_GPE.XTFY, MethodObj) // 1 Arguments
@ -2721,7 +2721,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_TB3", 0x00001000)
If (Arg0 == Zero) If (Arg0 == Zero)
{ {
XRTE = Zero XRTE = Zero
If (SLTP == Zero) If (XLTP == Zero)
{ {
// Debug = "TB:UPSB:NHI0:TRPE L23 Detect" // Debug = "TB:UPSB:NHI0:TRPE L23 Detect"
\_SB.PCI0.RP09.L23R = One \_SB.PCI0.RP09.L23R = One
@ -2750,7 +2750,7 @@ DefinitionBlock ("", "SSDT", 2, "tyler", "_TB3", 0x00001000)
ElseIf (Arg0 == One) ElseIf (Arg0 == One)
{ {
XRTE = One XRTE = One
If (SLTP == Zero) If (XLTP == Zero)
{ {
\_SB.PCI0.RP09.PSTX = 0x03 \_SB.PCI0.RP09.PSTX = 0x03
If (\_SB.PCI0.RP09.LACR == One) If (\_SB.PCI0.RP09.LACR == One)