diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-15 17:04:09 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-06-09 12:46:45 -0400 |
commit | 4b8e369b91deff3ae7d8ae1067d336a66464f472 (patch) | |
tree | 9573c7a91f219871eebbd698af52e60571486571 /hw/char/serial-isa.c | |
parent | f592b94f3cbd5325bcf5142509b60cb6ab252770 (diff) | |
download | qemu-4b8e369b91deff3ae7d8ae1067d336a66464f472.zip |
acpi: serial: 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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200515150421.25479-5-kraxel@redhat.com>
Diffstat (limited to 'hw/char/serial-isa.c')
0 files changed, 0 insertions, 0 deletions