qemu-e2k/hw/pci
David Gibson 79ca616f29 pci: Cleanup configuration for pci-hotplug.c
pci-hotplug.c and the CONFIG_PCI_HOTPLUG variable which controls its
compilation are misnamed.  They're not about PCI hotplug in general, but
rather about the pci_add/pci_del interface which are now deprecated in
favour of the more general device_add/device_del interface.  This patch
therefore renames them to pci-hotplug-old.c and CONFIG_PCI_HOTPLUG_OLD.

CONFIG_PCI_HOTPLUG=y was listed twice in {i386,x86_64}-softmmu.make for no
particular reason, so we clean that up too.  In addition it was included in
ppc64-softmmu.mak for which the old hotplug interface was never used and is
unsuitable, so we remove that too.

Most of pci-hotplug.c was additionaly protected by #ifdef TARGET_I386.  The
small piece which wasn't is only called from the pci_add and pci_del hooks
in hmp-commands.hx, which themselves were protected by #ifdef TARGET_I386.
This patch therefore also removes the #ifdef from pci-hotplug-old.c,
and changes the ifdefs in hmp-commands.hx to use CONFIG_PCI_HOTPLUG_OLD.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-07-04 10:45:31 +03:00
..
Makefile.objs pci: Cleanup configuration for pci-hotplug.c 2013-07-04 10:45:31 +03:00
msi.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
msix.c pci: add VMSTATE_MSIX 2013-06-03 11:37:44 +02:00
pci_bridge.c pci: Allow PCI bus creation interfaces to specify the type of bus 2013-03-26 21:02:18 +02:00
pci_host.c Fix typos and misspellings 2013-03-22 13:25:07 +01:00
pci-hotplug-old.c pci: Cleanup configuration for pci-hotplug.c 2013-07-04 10:45:31 +03:00
pci-stub.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pci.c memory: give name to every AddressSpace 2013-06-20 16:39:52 +02:00
pcie_aer.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00
pcie_host.c
pcie_port.c pci_bridge: factor out common code 2013-03-26 21:02:17 +02:00
pcie.c pcie: Add endpoint capability initialization wrapper 2013-03-26 21:02:19 +02:00
shpc.c hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00
slotid_cap.c hw: move qdev-monitor.o to toplevel directory 2013-03-01 13:54:10 +01:00