Received: from eggs.gnu.org ([2001:4830:134:3::10]:51833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCvjP-0004nj-4F for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:37:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCvjC-0005sw-Ct for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:37:23 -0500 Received: from cantor2.suse.de ([195.135.220.15]:47152 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCvjB-0005pM-TL for qemu-devel@nongnu.org; Mon, 10 Feb 2014 13:37:10 -0500 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A481CAC82 for ; Mon, 10 Feb 2014 18:37:09 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 10 Feb 2014 19:36:50 +0100 Message-Id: <1392057426-31990-34-git-send-email-afaerber@suse.de> In-Reply-To: <1392057426-31990-1-git-send-email-afaerber@suse.de> References: <1392057426-31990-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 33/48] ipack: Move IndustryPack out of hw/char/ List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= Move the header defining an IPackBus and IPackDevice base class into a new include/ directory and move their implementation and a PCI-IndustryPack bridge out of hw/char/ directory into a new hw/ipack/. Acked-by: Alberto Garcia Signed-off-by: Andreas F=C3=A4rber --- hw/Makefile.objs | 1 + hw/char/Makefile.objs | 2 +- hw/char/ipoctal232.c | 2 +- hw/ipack/Makefile.objs | 2 ++ hw/{char =3D> ipack}/ipack.c | 2 +- hw/{char =3D> ipack}/tpci200.c | 2 +- {hw/char =3D> include/hw/ipack}/ipack.h | 0 7 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 hw/ipack/Makefile.objs rename hw/{char =3D> ipack}/ipack.c (99%) rename hw/{char =3D> ipack}/tpci200.c (99%) rename {hw/char =3D> include/hw/ipack}/ipack.h (100%) diff --git a/hw/Makefile.objs b/hw/Makefile.objs index d91b9cc..05a00dc 100644 --- a/hw/Makefile.objs +++ b/hw/Makefile.objs @@ -12,6 +12,7 @@ devices-dirs-$(CONFIG_SOFTMMU) +=3D i2c/ devices-dirs-$(CONFIG_SOFTMMU) +=3D ide/ devices-dirs-$(CONFIG_SOFTMMU) +=3D input/ devices-dirs-$(CONFIG_SOFTMMU) +=3D intc/ +devices-dirs-$(CONFIG_IPACK) +=3D ipack/ devices-dirs-$(CONFIG_SOFTMMU) +=3D isa/ devices-dirs-$(CONFIG_SOFTMMU) +=3D misc/ devices-dirs-$(CONFIG_SOFTMMU) +=3D net/ diff --git a/hw/char/Makefile.objs b/hw/char/Makefile.objs index be2a7d9..317385d 100644 --- a/hw/char/Makefile.objs +++ b/hw/char/Makefile.objs @@ -1,4 +1,4 @@ -common-obj-$(CONFIG_IPACK) +=3D tpci200.o ipoctal232.o ipack.o +common-obj-$(CONFIG_IPACK) +=3D ipoctal232.o common-obj-$(CONFIG_ESCC) +=3D escc.o common-obj-$(CONFIG_PARALLEL) +=3D parallel.o common-obj-$(CONFIG_PL011) +=3D pl011.o diff --git a/hw/char/ipoctal232.c b/hw/char/ipoctal232.c index 99bab4d..f9c388e 100644 --- a/hw/char/ipoctal232.c +++ b/hw/char/ipoctal232.c @@ -8,7 +8,7 @@ * later version. */ =20 -#include "ipack.h" +#include "hw/ipack/ipack.h" #include "qemu/bitops.h" #include "sysemu/char.h" =20 diff --git a/hw/ipack/Makefile.objs b/hw/ipack/Makefile.objs new file mode 100644 index 0000000..8b9bdcb --- /dev/null +++ b/hw/ipack/Makefile.objs @@ -0,0 +1,2 @@ +common-obj-$(CONFIG_IPACK) +=3D ipack.o +common-obj-$(CONFIG_IPACK) +=3D tpci200.o diff --git a/hw/char/ipack.c b/hw/ipack/ipack.c similarity index 99% rename from hw/char/ipack.c rename to hw/ipack/ipack.c index 15cef7b..ed63d2a 100644 --- a/hw/char/ipack.c +++ b/hw/ipack/ipack.c @@ -8,7 +8,7 @@ * later version. */ =20 -#include "ipack.h" +#include "hw/ipack/ipack.h" =20 IPackDevice *ipack_device_find(IPackBus *bus, int32_t slot) { diff --git a/hw/char/tpci200.c b/hw/ipack/tpci200.c similarity index 99% rename from hw/char/tpci200.c rename to hw/ipack/tpci200.c index a49d2ed..e1b69b4 100644 --- a/hw/char/tpci200.c +++ b/hw/ipack/tpci200.c @@ -8,7 +8,7 @@ * later version. */ =20 -#include "ipack.h" +#include "hw/ipack/ipack.h" #include "hw/pci/pci.h" #include "qemu/bitops.h" #include diff --git a/hw/char/ipack.h b/include/hw/ipack/ipack.h similarity index 100% rename from hw/char/ipack.h rename to include/hw/ipack/ipack.h --=20 1.8.4.5