On Thu, 3 Jul 2025 14:35:22 +0200
Eric Auger <[email protected]> wrote:
> Changes relate to the introduction of pieces related to
> acpi-index static support along with root ports with no hotplug.
>
> +
> + Scope (\_SB.PCI0)
> + {
> + Method (EDSM, 5, Serialized)
> + {
> + If ((Arg2 == Zero))
> + {
> + Local0 = Buffer (One)
> + {
> + 0x00 //
> .
> + }
> + If ((Arg0 != ToUUID ("e5c937d0-3553-4d7a-9117-ea4d19c3434d")
> /* Device Labeling Interface */))
> + {
> + Return (Local0)
> + }
> +
> + If ((Arg1 < 0x02))
> + {
> + Return (Local0)
> + }
> +
> + Local0 [Zero] = 0x81
> + Return (Local0)
> + }
> +
> + If ((Arg2 == 0x07))
> + {
> + Local0 = Package (0x02)
> + {
> + Zero,
> + ""
> + }
> + Local1 = DerefOf (Arg4 [Zero])
> + Local0 [Zero] = Local1
> + Return (Local0)
> + }
> + }
> +
> + Device (S00)
> + {
> + Name (_ADR, Zero) // _ADR: Address
> + }
> +
> + Device (S08)
> + {
> + Name (_ADR, 0x00010000) // _ADR: Address
> + }
> +
> + Device (S10)
> + {
> + Name (_ADR, 0x00020000) // _ADR: Address
> + }
> + }
> }
>
> Signed-off-by: Eric Auger <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>