[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-devel] [PATCH 07/10][TRIVIAL] uninorth: add to
From: |
Thomas Huth |
Subject: |
Re: [Qemu-trivial] [Qemu-devel] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category |
Date: |
Mon, 28 Sep 2015 13:04:35 +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:
> Uninorth is the mac99 PCI host controller, so add
> it to the bridge category.
>
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> 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 <address@hidden>
- [Qemu-trivial] [PATCH 00/10][TRIVIAL] Define categories for some PPC devices, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 06/10][TRIVIAL] macio-ide: add to storage category, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 04/10][TRIVIAL] grackle: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 01/10][TRIVIAL] adb: add to input category, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category, Laurent Vivier, 2015/09/26
- Re: [Qemu-trivial] [Qemu-devel] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category,
Thomas Huth <=
- [Qemu-trivial] [PATCH 08/10][TRIVIAL] macio: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 05/10][TRIVIAL] cuda: add to bridge category, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 02/10][TRIVIAL] cmd646: add to storage category, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 10/10][TRIVIAL] openpic: add to misc category, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 03/10][TRIVIAL] escc: add to input category, Laurent Vivier, 2015/09/26
- [Qemu-trivial] [PATCH 09/10][TRIVIAL] macio-nvram: add to misc category, Laurent Vivier, 2015/09/26