[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 04/10][TRIVIAL] grackle: add to bridg
From: |
Thomas Huth |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 04/10][TRIVIAL] grackle: add to bridge category |
Date: |
Mon, 28 Sep 2015 12:57:24 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
On 26/09/15 18:22, Laurent Vivier wrote:
> Grackle is the PCI host controller of oldworld powermac,
> so add it to the bridge category.
>
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> hw/pci-host/grackle.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/pci-host/grackle.c b/hw/pci-host/grackle.c
> index bfe707a..ea31b72 100644
> --- a/hw/pci-host/grackle.c
> +++ b/hw/pci-host/grackle.c
> @@ -146,8 +146,10 @@ static const TypeInfo grackle_pci_info = {
> static void pci_grackle_class_init(ObjectClass *klass, void *data)
> {
> SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
> + DeviceClass *dc = DEVICE_CLASS(klass);
>
> k->init = pci_grackle_init_device;
> + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
> }
Reviewed-by: Thomas Huth <address@hidden>
- [Qemu-ppc] [PATCH 00/10][TRIVIAL] Define categories for some PPC devices, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 04/10][TRIVIAL] grackle: add to bridge category, Laurent Vivier, 2015/09/26
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 04/10][TRIVIAL] grackle: add to bridge category,
Thomas Huth <=
- [Qemu-ppc] [PATCH 05/10][TRIVIAL] cuda: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 02/10][TRIVIAL] cmd646: add to storage category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 08/10][TRIVIAL] macio: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 06/10][TRIVIAL] macio-ide: add to storage category, Laurent Vivier, 2015/09/26
- [Qemu-ppc] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category, Laurent Vivier, 2015/09/26