Add missing STA method

This commit is contained in:
Mykola Grymalyuk
2020-07-09 13:36:24 -06:00
parent 87c29dbc71
commit 5d4ad61092
2 changed files with 33 additions and 21 deletions

Binary file not shown.

View File

@@ -14,44 +14,56 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
If (CondRefOf (\_SB.PCI0.XHC_.RHUB))
{
Scope (_SB.PCI0.XHC_.RHUB)
{
Method (_STA, 0, NotSerialized)
{
If (_OSI ("Darwin"))
{
Return (Zero)
Return (Zero) // This disables the device only in macOS
}
Else
{
}
}
}
}
If (CondRefOf (\_SB.PCI0.XHCI.RHUB))
{
Scope (_SB.PCI0.XHCI.RHUB)
{
Method (_STA, 0, NotSerialized)
{
If (_OSI ("Darwin"))
{
Return (Zero)
Return (Zero) // This disables the device only in macOS
}
Else
{
}
}
}
}
If (CondRefOf (\_SB.PCI0.XHC1.RHUB))
{
Scope (_SB.PCI0.XHC1.RHUB)
{
Method (_STA, 0, NotSerialized)
{
If (_OSI ("Darwin"))
{
Return (Zero)
Return (Zero) // This disables the device only in macOS
}
Else
{
}
}
}
}
}