mb/emu/qemu-sbsa: Add missing PCIe ACPI methods
Linux complains about these missing. Tested with fedora 43 and CrabEFI payload. Change-Id: I4c65760e64d8dc9b953f6a5b7f1bdcde0ce946a0 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/91649 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
5458b34de6
commit
6ce607eee4
1 changed files with 14 additions and 7 deletions
|
|
@ -1,12 +1,19 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#define LINK_DEVICE(Uid, LinkName, Irq) \
|
||||
Device (LinkName) { \
|
||||
Name (_HID, EISAID("PNP0C0F")) \
|
||||
Name (_UID, Uid) \
|
||||
Name (_CRS, ResourceTemplate() { \
|
||||
Interrupt (ResourceProducer, Level, ActiveHigh, Exclusive) { Irq } \
|
||||
}) \
|
||||
#define LINK_DEVICE(Uid, LinkName, Irq) \
|
||||
Device (LinkName) { \
|
||||
Name (_HID, EISAID("PNP0C0F")) \
|
||||
Name (_UID, Uid) \
|
||||
Name (_PRS, ResourceTemplate() { \
|
||||
Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { Irq } \
|
||||
}) \
|
||||
Name (_CRS, ResourceTemplate() { \
|
||||
Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) { Irq } \
|
||||
}) \
|
||||
Method (_SRS, 1, NotSerialized) { \
|
||||
} \
|
||||
Method (_DIS, 0, NotSerialized) { \
|
||||
} \
|
||||
}
|
||||
|
||||
#define USB_PORT(PortName, Adr) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue