From: Paolo Bonzini Date: Mon, 17 Dec 2012 17:17:08 +0000 (+0100) Subject: Merge commit '1dd3a74d2ee2d873cde0b390b536e45420b3fe05' into HEAD X-Git-Tag: v1.4.0-rc0~251^2~5^2~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f991980a5e96f93a9f676959df2dcba665665ef;p=thirdparty%2Fqemu.git Merge commit '1dd3a74d2ee2d873cde0b390b536e45420b3fe05' into HEAD Signed-off-by: Paolo Bonzini --- 6f991980a5e96f93a9f676959df2dcba665665ef diff --cc Makefile.objs index 3c7abca4330,3c7abca4330..20fb2c54f00 --- a/Makefile.objs +++ b/Makefile.objs @@@ -92,6 -92,6 +92,8 @@@ common-obj-$(CONFIG_SPICE) += spice-qem common-obj-y += audio/ common-obj-y += hw/ ++extra-obj-y += hw/ ++ common-obj-y += ui/ common-obj-y += bt-host.o bt-vhci.o diff --cc hw/Makefile.objs index d581d8d6d6b,9d33b189e63..bcf278d4ec2 --- a/hw/Makefile.objs +++ b/hw/Makefile.objs @@@ -41,6 -37,6 +37,8 @@@ common-obj-$(CONFIG_I8259) += i8259_com common-obj-y += fifo.o common-obj-y += pam.o ++extra-obj-y += pci/ ++ # PPC devices common-obj-$(CONFIG_PREP_PCI) += prep_pci.o common-obj-$(CONFIG_I82378) += i82378.o diff --cc hw/openpic.c index 3cbcea8eb37,4791dc6eaf8..9c956b9dcc9 --- a/hw/openpic.c +++ b/hw/openpic.c @@@ -35,10 -35,8 +35,10 @@@ */ #include "hw.h" #include "ppc_mac.h" - #include "pci.h" + #include "pci/pci.h" #include "openpic.h" +#include "sysbus.h" - #include "msi.h" ++#include "pci/msi.h" //#define DEBUG_OPENPIC diff --cc hw/pci/Makefile.objs index 00000000000,aa7a0e84b5d..fe965fe2f6c mode 000000,100644..100644 --- a/hw/pci/Makefile.objs +++ b/hw/pci/Makefile.objs @@@ -1,0 -1,7 +1,9 @@@ + common-obj-$(CONFIG_PCI) += pci.o pci_bridge.o + common-obj-$(CONFIG_PCI) += msix.o msi.o + common-obj-$(CONFIG_PCI) += shpc.o + common-obj-$(CONFIG_PCI) += slotid_cap.o + common-obj-$(CONFIG_PCI) += pci_host.o pcie_host.o + common-obj-$(CONFIG_PCI) += pcie.o pcie_aer.o pcie_port.o + common-obj-$(CONFIG_NO_PCI) += pci-stub.o ++ ++extra-obj-y += pci-stub.o diff --cc hw/ppc/Makefile.objs index 44921273c36,cb7cf8fba53..afdcc0e5316 --- a/hw/ppc/Makefile.objs +++ b/hw/ppc/Makefile.objs @@@ -10,8 -10,8 +10,8 @@@ obj-y += ppc_newworld. # IBM pSeries (sPAPR) obj-$(CONFIG_PSERIES) += spapr.o spapr_hcall.o spapr_rtas.o spapr_vio.o obj-$(CONFIG_PSERIES) += xics.o spapr_vty.o spapr_llan.o spapr_vscsi.o - obj-$(CONFIG_PSERIES) += spapr_pci.o pci-hotplug.o spapr_iommu.o + obj-$(CONFIG_PSERIES) += spapr_pci.o pci/pci-hotplug.o spapr_iommu.o -obj-$(CONFIG_PSERIES) += spapr_events.o +obj-$(CONFIG_PSERIES) += spapr_events.o spapr_nvram.o # PowerPC 4xx boards obj-y += ppc4xx_devs.o ppc4xx_pci.o ppc405_uc.o ppc405_boards.o obj-y += ppc440_bamboo.o diff --cc hw/ppce500_pci.c index 09e35079944,39022aada0e..9bffbb9f870 --- a/hw/ppce500_pci.c +++ b/hw/ppce500_pci.c @@@ -15,11 -15,9 +15,11 @@@ */ #include "hw.h" +#include "hw/ppc/e500-ccsr.h" - #include "pci.h" - #include "pci_host.h" + #include "pci/pci.h" + #include "pci/pci_host.h" #include "bswap.h" +#include "ppce500_pci.h" #ifdef DEBUG_PCI #define pci_debug(fmt, ...) fprintf(stderr, fmt, ## __VA_ARGS__)