aboutsummaryrefslogtreecommitdiff
path: root/src/acpi-dsdt.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/acpi-dsdt.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/acpi-dsdt.dsl')
-rw-r--r--src/acpi-dsdt.dsl15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index f97d463..aff3f48 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/acpi-dsdt.dsl
@@ -132,12 +132,6 @@ DefinitionBlock (
B0EJ, 32,
}
- OperationRegion(RMVC, SystemIO, 0xae0c, 0x04)
- Field(RMVC, DWordAcc, NoLock, WriteAsZeros)
- {
- PCRM, 32,
- }
-
Name (_CRS, ResourceTemplate ()
{
WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
@@ -239,7 +233,6 @@ DefinitionBlock (
Return (0x00)
}
}
- Method(_RMV) { Return (0x00) }
}
}
@@ -251,7 +244,6 @@ DefinitionBlock (
Scope(\_SB.PCI0) {
Device (ISA) {
Name (_ADR, 0x00010000)
- Method(_RMV) { Return (0x00) }
/* PIIX PCI to ISA irq remapping */
OperationRegion (P40C, PCI_Config, 0x60, 0x04)
@@ -466,13 +458,6 @@ DefinitionBlock (
Scope(\_SB.PCI0) {
/* Methods called by bulk generated PCI devices below */
- Method (PRMV, 1, NotSerialized) {
- // _RMV method - check if device can be removed
- If (And(\_SB.PCI0.PCRM, ShiftLeft(1, Arg0))) {
- Return (0x1)
- }
- Return (0x0)
- }
/* Methods called by hotplug devices */
Method (PCEJ, 1, NotSerialized) {