diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-02-03 11:45:01 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-02-05 16:55:50 +0200 |
commit | e358edc8e90d580443b824e4ef799e137377ad86 (patch) | |
tree | 6b82a444aef95b4436171791d36cdc4df4b22282 /include/hw | |
parent | a1b4d9eff9e8dec8b827bd744c7d670d3cdf2fb8 (diff) |
hw:piix4:acpi: reuse pcihp code for legacy PCI hotplug
reduces acpi PCI hotplug code duplication by ~200LOC
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/acpi/pcihp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/acpi/pcihp.h b/include/hw/acpi/pcihp.h index 1fd90e1609..0a90e4a968 100644 --- a/include/hw/acpi/pcihp.h +++ b/include/hw/acpi/pcihp.h @@ -39,6 +39,7 @@ typedef struct AcpiPciHpPciStatus { #define ACPI_PCIHP_PROP_BSEL "acpi-pcihp-bsel" #define ACPI_PCIHP_MAX_HOTPLUG_BUS 256 +#define ACPI_PCIHP_BSEL_DEFAULT 0x0 typedef struct AcpiPciHpState { AcpiPciHpPciStatus acpi_pcihp_pci_status[ACPI_PCIHP_MAX_HOTPLUG_BUS]; |