- Joined
- May 30, 2016
- Messages
- 980
- Motherboard
- Gigabyte Z490 Vision G
- CPU
- i9-10900K
- Graphics
- RX 5700 XT
- Mac
- Classic Mac
- Mobile Phone
I'm a total n00b trying to apply principles from someone else's build into mine (pcie renaming to get my Z170 build more inline with a true imac 17,1)
So what am I missing here (syntax-wise)
?
So what am I missing here (syntax-wise)
Code:
DefinitionBlock ("", "SSDT", 1, "Z170", "PCI-Inject", 0x00000000)
{
External (_SB_.PCI0.RP03.PXSX.ARPT, DeviceObj)
Scope (_SB.PCI0.RP03.PXSX.ARPT)
{
OperationRegion (PCIS, PCI_Config, Zero, 0x0100)
Field (PCIS, AnyAcc, NoLock, Preserve)
{
PVID, 16,
PDID, 16
}
Method (_PRW, 0, NotSerialized) // _PRW: Power Resources for Wake
{
Return (GPRW (0x69, 0x04))
}
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Store (Package (0x0E)
{
"built-in",
Buffer (One)
{
0x00
},
"device-id",
Buffer (0x04)
{
0xBA, 0x43, 0x00, 0x00
},
"AAPL,slot-name",
Buffer (0x07)
{
"Slot-5"
},
"device_type",
Buffer (0x13)
{
"AirPort Controller"
},
"model",
Buffer (0x4A)
{
"BCM943602CS 802.11 a/b/g/n/ac + Bluetooth 4.0 Controller"
},
"compatible",
Buffer (0x0D)
{
"pci14e4,43ba"
},
"name",
Buffer (0x10)
{
"AirPort Extreme"
}
}, Local0)
DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
Return (Local0)
}
}