From: Thomas Huth <thuth@redhat.com>
To: Laurent Vivier <laurent@vivier.eu>, qemu-trivial@nongnu.org
Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org,
Alexander Graf <agraf@suse.de>,
qemu-ppc@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
John Snow <jsnow@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category
Date: Mon, 28 Sep 2015 13:04:35 +0200 [thread overview]
Message-ID: <56091EC3.9010007@redhat.com> (raw)
In-Reply-To: <1443284532-8634-8-git-send-email-laurent@vivier.eu>
On 26/09/15 18:22, Laurent Vivier wrote:
> Uninorth is the mac99 PCI host controller, so add
> it to the bridge category.
>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
> hw/pci-host/uninorth.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/hw/pci-host/uninorth.c b/hw/pci-host/uninorth.c
> index f0144eb..215b64f 100644
> --- a/hw/pci-host/uninorth.c
> +++ b/hw/pci-host/uninorth.c
> @@ -446,8 +446,10 @@ static const TypeInfo unin_internal_pci_host_info = {
> static void pci_unin_main_class_init(ObjectClass *klass, void *data)
> {
> SysBusDeviceClass *sbc = SYS_BUS_DEVICE_CLASS(klass);
> + DeviceClass *dc = DEVICE_CLASS(klass);
>
> sbc->init = pci_unin_main_init_device;
> + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
> }
>
> static const TypeInfo pci_unin_main_info = {
> @@ -460,8 +462,10 @@ static const TypeInfo pci_unin_main_info = {
> static void pci_u3_agp_class_init(ObjectClass *klass, void *data)
> {
> SysBusDeviceClass *sbc = SYS_BUS_DEVICE_CLASS(klass);
> + DeviceClass *dc = DEVICE_CLASS(klass);
>
> sbc->init = pci_u3_agp_init_device;
> + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
> }
>
> static const TypeInfo pci_u3_agp_info = {
> @@ -474,8 +478,10 @@ static const TypeInfo pci_u3_agp_info = {
> static void pci_unin_agp_class_init(ObjectClass *klass, void *data)
> {
> SysBusDeviceClass *sbc = SYS_BUS_DEVICE_CLASS(klass);
> + DeviceClass *dc = DEVICE_CLASS(klass);
>
> sbc->init = pci_unin_agp_init_device;
> + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
> }
>
> static const TypeInfo pci_unin_agp_info = {
> @@ -488,8 +494,10 @@ static const TypeInfo pci_unin_agp_info = {
> static void pci_unin_internal_class_init(ObjectClass *klass, void *data)
> {
> SysBusDeviceClass *sbc = SYS_BUS_DEVICE_CLASS(klass);
> + DeviceClass *dc = DEVICE_CLASS(klass);
>
> sbc->init = pci_unin_internal_init_device;
> + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
> }
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2015-09-28 11:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-26 16:22 [Qemu-devel] [PATCH 00/10][TRIVIAL] Define categories for some PPC devices Laurent Vivier
2015-09-26 16:22 ` [Qemu-devel] [PATCH 01/10][TRIVIAL] adb: add to input category Laurent Vivier
2015-09-28 10:44 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 02/10][TRIVIAL] cmd646: add to storage category Laurent Vivier
2015-09-28 10:46 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 03/10][TRIVIAL] escc: add to input category Laurent Vivier
2015-09-28 10:47 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 04/10][TRIVIAL] grackle: add to bridge category Laurent Vivier
2015-09-28 10:57 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 05/10][TRIVIAL] cuda: " Laurent Vivier
2015-09-26 16:22 ` [Qemu-devel] [PATCH 06/10][TRIVIAL] macio-ide: add to storage category Laurent Vivier
2015-09-28 10:48 ` Thomas Huth
2015-09-28 14:29 ` John Snow
2015-09-26 16:22 ` [Qemu-devel] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category Laurent Vivier
2015-09-28 11:04 ` Thomas Huth [this message]
2015-09-26 16:22 ` [Qemu-devel] [PATCH 08/10][TRIVIAL] macio: " Laurent Vivier
2015-09-28 11:05 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 09/10][TRIVIAL] macio-nvram: add to misc category Laurent Vivier
2015-09-28 11:05 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 10/10][TRIVIAL] openpic: " Laurent Vivier
2015-09-28 11:06 ` Thomas Huth
2015-09-30 5:58 ` [Qemu-devel] [Qemu-ppc] [PATCH 00/10][TRIVIAL] Define categories for some PPC devices David Gibson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56091EC3.9010007@redhat.com \
--to=thuth@redhat.com \
--cc=agraf@suse.de \
--cc=jsnow@redhat.com \
--cc=laurent@vivier.eu \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).