diff options
author | Roman Kagan <rkagan@virtuozzo.com> | 2016-02-17 21:25:30 +0300 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:49:36 -0600 |
commit | 4a589529beaf27e450f7d04af66b9d1934abf31d (patch) | |
tree | 4d0b4065743861aef4c76da3b980cec6c03c0ba1 /hw/intc/apic.c | |
parent | 82655f52c01efc8ae0e29da9314bbae4d0678537 (diff) | |
download | hqemu-4a589529beaf27e450f7d04af66b9d1934abf31d.zip hqemu-4a589529beaf27e450f7d04af66b9d1934abf31d.tar.gz |
i386/acpi: make floppy controller object dynamic
Instead of statically declaring the floppy controller in DSDT, with its
_STA method depending on some obscure bit in the parent ISA bridge, add
the object dynamically to DSDT via AML API only when the controller is
present.
The _STA method is no longer necessary and is therefore dropped. So are
the declarations of the fields indicating whether the contoller is
enabled.
Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: John Snow <jsnow@redhat.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Kevin O'Connor <kevin@koconnor.net>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/intc/apic.c')
0 files changed, 0 insertions, 0 deletions