Deploy dortania/Getting-Started-With-ACPI to github.com/dortania/Getting-Started-With-ACPI.git:gh-pages

This commit is contained in:
Travis Build Bot (from Travis CI)
2020-07-12 22:21:58 +00:00
parent 781b83a83a
commit 84513ddaa5
45 changed files with 147 additions and 129 deletions

View File

@@ -15,13 +15,17 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
{
Scope (_SB.PCI0.XHC_.RHUB)
{
If (_OSI ("Darwin"))
{
Return (Zero)
}
Else
{
}
Method (_STA, 0, NotSerialized)
{
If (_OSI ("Darwin"))
{
Return (Zero) // This disables the device only in macOS
}
Else
{
}
}
}
}
@@ -29,13 +33,17 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
{
Scope (_SB.PCI0.XHCI.RHUB)
{
If (_OSI ("Darwin"))
{
Return (Zero)
}
Else
{
}
Method (_STA, 0, NotSerialized)
{
If (_OSI ("Darwin"))
{
Return (Zero) // This disables the device only in macOS
}
Else
{
}
}
}
}
@@ -43,13 +51,17 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
{
Scope (_SB.PCI0.XHC1.RHUB)
{
If (_OSI ("Darwin"))
{
Return (Zero)
}
Else
{
}
Method (_STA, 0, NotSerialized)
{
If (_OSI ("Darwin"))
{
Return (Zero) // This disables the device only in macOS
}
Else
{
}
}
}
}

View File

@@ -9,13 +9,16 @@ DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
Scope (_SB.PCI0.XHC1.RHUB) // Full pathing to RHUB, change to yours
{
If (_OSI ("Darwin"))
{
Return (Zero) // This disables the device only in macOS
}
Else
{
}
Method (_STA, 0, NotSerialized)
{
If (_OSI ("Darwin"))
{
Return (Zero) // This disables the device only in macOS
}
Else
{
}
}
}
}