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-06-16 16:58:06 +00:00
parent b4a4105054
commit 865287b6c0
51 changed files with 4769 additions and 316 deletions

View File

@@ -0,0 +1,57 @@
/*
* Goal of this SSDT is to shut off the RHUb to force macOS into
* manually building ports when the ACPI is screwed up
*/
DefinitionBlock ("", "SSDT", 2, "DRTNIA", "RhubOff", 0x00001000)
{
// Handle 99% of XHCI naming variations
External (_SB_.PCI0.XHC_.RHUB, DeviceObj)
External (_SB_.PCI0.XHCI.RHUB, DeviceObj)
External (_SB_.PCI0.XHC1.RHUB, DeviceObj)
If (CondRefOf (\_SB.PCI0.XHC_.RHUB))
{
Scope (_SB.PCI0.XHC_.RHUB)
{
If (_OSI ("Darwin"))
{
Return (Zero)
}
Else
{
}
}
}
If (CondRefOf (\_SB.PCI0.XHCI.RHUB))
{
Scope (_SB.PCI0.XHCI.RHUB)
{
If (_OSI ("Darwin"))
{
Return (Zero)
}
Else
{
}
}
}
If (CondRefOf (\_SB.PCI0.XHC1.RHUB))
{
Scope (_SB.PCI0.XHC1.RHUB)
{
If (_OSI ("Darwin"))
{
Return (Zero)
}
Else
{
}
}
}
}