]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Add specific config options for PCI-E bridges
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 27 Feb 2015 06:04:35 +0000 (17:04 +1100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Feb 2015 14:17:35 +0000 (15:17 +0100)
The i82801b11, ioh3420 and xio3130 PCI Express devices are currently
included in the build unconditionally.

While they could theoretically appear on any target platform with PCI-E,
they're pretty unlikely to appear on platforms that aren't Intel derived.

Therefore, to avoid presenting unlikely-to-be-relevant devices to the user,
add config options to enable these components, and enable them by default
only on x86 and arm platforms.

(Note that this patch does include these for aarch64, via its inclusion of
arm-softmmu.mak).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-Id: <1425017077-18487-2-git-send-email-david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
default-configs/arm-softmmu.mak
default-configs/i386-softmmu.mak
default-configs/x86_64-softmmu.mak
hw/pci-bridge/Makefile.objs

index b00c2e150e950ca7b49680d6cab69489eda9d168..6ee9b43cfda2ca587caf42f9e97fca690f9e7cba 100644 (file)
@@ -91,3 +91,7 @@ CONFIG_INTEGRATOR_DEBUG=y
 CONFIG_ALLWINNER_A10_PIT=y
 CONFIG_ALLWINNER_A10_PIC=y
 CONFIG_ALLWINNER_A10=y
+
+CONFIG_XIO3130=y
+CONFIG_IOH3420=y
+CONFIG_I82801B11=y
index bd99af9942ae6f1270e4c565e0ee8355fc8cb7aa..0b8ce4bbf818798e29455d95e26b16b4e0045d04 100644 (file)
@@ -43,3 +43,6 @@ CONFIG_IOAPIC=y
 CONFIG_ICC_BUS=y
 CONFIG_PVPANIC=y
 CONFIG_MEM_HOTPLUG=y
+CONFIG_XIO3130=y
+CONFIG_IOH3420=y
+CONFIG_I82801B11=y
index e7c273417b2865cd958344126733ee22e1431858..6add04a2f6528654726d8a396602cee145d6f671 100644 (file)
@@ -43,3 +43,6 @@ CONFIG_IOAPIC=y
 CONFIG_ICC_BUS=y
 CONFIG_PVPANIC=y
 CONFIG_MEM_HOTPLUG=y
+CONFIG_XIO3130=y
+CONFIG_IOH3420=y
+CONFIG_I82801B11=y
index 968b3694abfcef2cde8ae7e34d7f9c6bed928a11..96c596eb311b5f03c9378d73908821b4ab24d358 100644 (file)
@@ -1,5 +1,6 @@
 common-obj-y += pci_bridge_dev.o
-common-obj-y += ioh3420.o xio3130_upstream.o xio3130_downstream.o
-common-obj-y += i82801b11.o
+common-obj-$(CONFIG_XIO3130) += xio3130_upstream.o xio3130_downstream.o
+common-obj-$(CONFIG_IOH3420) += ioh3420.o
+common-obj-$(CONFIG_I82801B11) += i82801b11.o
 # NewWorld PowerMac
 common-obj-$(CONFIG_DEC_PCI) += dec.o