acpi: parallel: don't use _STA method
commit3e824d38256364f983be8717214fef709bc90e31
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 15 May 2020 15:04:11 +0000 (15 17:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Jun 2020 16:46:45 +0000 (9 12:46 -0400)
tree33e79013426da6d0f5dcd5e36ea96f75999874e2
parentdcdbfaafe90a5e6e172368b2aa5500a9ca192e49
acpi: parallel: don't use _STA method

The _STA method dates back to the days where we had a static DSDT.  The
device is listed in the DSDT table unconditionally and the _STA method
checks a bit in the isa bridge pci config space to figure whenever a
given is isa device is present or not, then evaluates to 0x0f (present)
or 0x00 (absent).

These days the DSDT is generated by qemu anyway, so if a device is not
present we can simply drop it from the DSDT instead.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200515150421.25479-7-kraxel@redhat.com>
hw/i386/acpi-build.c