aboutsummaryrefslogtreecommitdiff
path: root/src/ssdt-pcihp.dsl
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-20 19:57:12 +0200
committerKevin O'Connor <kevin@koconnor.net>2011-11-22 21:53:45 -0500
commit403f613fa84e0db0652d7fb7fac112e71bfd283d (patch)
treeca8b0b8b7894f1e2dfcb4112596b12a2b7432276 /src/ssdt-pcihp.dsl
parent5a73f3b57043ceb5b08d72f6fe0fcdd5af7f282f (diff)
downloadseabios-hppa-403f613fa84e0db0652d7fb7fac112e71bfd283d.zip
seabios-hppa-403f613fa84e0db0652d7fb7fac112e71bfd283d.tar.gz
seabios-hppa-403f613fa84e0db0652d7fb7fac112e71bfd283d.tar.bz2
acpi: remove _RMV
The macro gen_pci_device is used to add _RMV method to a slot device so it is no longer needed: presence of _EJ0 now indicates that the slot is ejectable. It is also placing two devices with the same _ADR on the same bus, which isn't defined by the ACPI spec. So let's remove it. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'src/ssdt-pcihp.dsl')
-rw-r--r--src/ssdt-pcihp.dsl40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/ssdt-pcihp.dsl b/src/ssdt-pcihp.dsl
index cc96ffc..4b435b8 100644
--- a/src/ssdt-pcihp.dsl
+++ b/src/ssdt-pcihp.dsl
@@ -9,49 +9,9 @@ DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01, "BXPC", "BXSSDTPCIHP", 0x1)
/* Objects supplied by DSDT */
External (\_SB.PCI0, DeviceObj)
- External (\_SB.PCI0.PRMV, MethodObj)
External (\_SB.PCI0.PCEJ, MethodObj)
Scope(\_SB.PCI0) {
-
-#define gen_pci_device(slot) \
- Device(SL##slot) { \
- Name (_ADR, 0x##slot##0000) \
- Method (_RMV) { Return (PRMV(0x##slot)) } \
- Name (_SUN, 0x##slot) \
- }
-
- /* VGA (slot 1) and ISA bus (slot 2) defined in DSDT */
- gen_pci_device(03)
- gen_pci_device(04)
- gen_pci_device(05)
- gen_pci_device(06)
- gen_pci_device(07)
- gen_pci_device(08)
- gen_pci_device(09)
- gen_pci_device(0a)
- gen_pci_device(0b)
- gen_pci_device(0c)
- gen_pci_device(0d)
- gen_pci_device(0e)
- gen_pci_device(0f)
- gen_pci_device(10)
- gen_pci_device(11)
- gen_pci_device(12)
- gen_pci_device(13)
- gen_pci_device(14)
- gen_pci_device(15)
- gen_pci_device(16)
- gen_pci_device(17)
- gen_pci_device(18)
- gen_pci_device(19)
- gen_pci_device(1a)
- gen_pci_device(1b)
- gen_pci_device(1c)
- gen_pci_device(1d)
- gen_pci_device(1e)
- gen_pci_device(1f)
-
/* Bulk generated PCI hotplug devices */
// Method _EJ0 can be patched by BIOS to EJ0_
// at runtime, if the slot is detected to not support hotplug.