DefinitionBlock ("", "SSDT", 2, "hack", "GFX0_HDA", 0x00000000)
{
External (_SB_.PCI0.PEG0, DeviceObj) // (from opcode)
External (_SB_.PCI0.PEG0.GFX0, DeviceObj) // (from opcode)
External (GFX0, DeviceObj) // Warning: Unknown object
Scope (_SB.PCI0.PEG0)
{
Scope (GFX0)
{
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
If (LNot (Arg2))
{
Return (Buffer (One)
{
0x03
})
}
Return (Package (0x0E)
{
"device-id",
Buffer (0x04)
{
0xE0, 0x68, 0x00, 0x00
},
"ATY,DeviceID",
Buffer (0x04)
{
0xE0, 0x68, 0x00, 0x00
},
"vendor-id",
Buffer (0x04)
{
0x02, 0x10, 0x00, 0x00
},
"ATY,VendorID",
Buffer (0x04)
{
0x02, 0x10, 0x00, 0x00
},
"AAPL,slot-name",
Buffer (0x07)
{
"Slot-1"
},
"@0,AAPL,boot-display",
Buffer (0x04)
{
0x00, 0x08, 0x00, 0x00
},
"hda-gfx",
Buffer (0x0A)
{
"onboard-2"
}
})
}
}
Device (HDAU)
{
Name (_ADR, One) // _ADR: Address
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
If (LNot (Arg2))
{
Return (Buffer (One)
{
0x03
})
}
Return (Package (0x02)
{
"hda-gfx",
Buffer (0x0A)
{
"onboard-2"
}
})
}
}
}
}