mirror of
https://github.com/tylernguyen/x1c6-hackintosh.git
synced 2025-02-05 09:33:13 -06:00
47 lines
1.1 KiB
Text
47 lines
1.1 KiB
Text
//
|
|
DefinitionBlock ("", "SSDT", 2, "OCLT", "SBUS", 0)
|
|
{
|
|
External (_SB_.PCI0.SBUS, DeviceObj)
|
|
|
|
Scope (_SB.PCI0.SBUS)
|
|
{
|
|
Device (BUS0)
|
|
{
|
|
Name (_CID, "smbus")
|
|
Name (_ADR, Zero)
|
|
Device (DVL0)
|
|
{
|
|
Name (_ADR, 0x57)
|
|
Name (_CID, "diagsvault")
|
|
Method (_DSM, 4, NotSerialized)
|
|
{
|
|
If (!Arg2)
|
|
{
|
|
Return (Buffer (One)
|
|
{
|
|
0x03
|
|
})
|
|
}
|
|
|
|
Return (Package (0x02)
|
|
{
|
|
"address",
|
|
0x57
|
|
})
|
|
}
|
|
}
|
|
Method (_STA, 0, NotSerialized)
|
|
{
|
|
If (_OSI ("Darwin"))
|
|
{
|
|
Return (0x0F)
|
|
}
|
|
Else
|
|
{
|
|
Return (Zero)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|