mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
29 lines
719 B
Plaintext
29 lines
719 B
Plaintext
/*
|
|
* Only necessary when no IMEI device (with any name) is present in the DSDT and a custom device-id
|
|
* is needed to be set via DeviceProperties (some Sandy Bridge or Ivy Bridge configurations).
|
|
*/
|
|
DefinitionBlock ("", "SSDT", 2, "ACDT", "IMEI", 0x00000000)
|
|
{
|
|
External (_SB_.PCI0, DeviceObj)
|
|
|
|
Scope (_SB.PCI0)
|
|
{
|
|
Device (IMEI)
|
|
{
|
|
Name (_ADR, 0x00160000) // _ADR: Address
|
|
Method (_STA, 0, NotSerialized) // _STA: Status
|
|
{
|
|
If (_OSI ("Darwin"))
|
|
{
|
|
Return (0x0F)
|
|
}
|
|
Else
|
|
{
|
|
Return (Zero)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|