[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 08/12] hw/mips/gt64xxx_pci: Mark as bridge device
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH v2 08/12] hw/mips/gt64xxx_pci: Mark as bridge device |
Date: |
Tue, 2 Oct 2018 23:25:17 +0200 |
The gt64120 is currently listed as uncategorized device.
Mark it as bridge device.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Cédric Le Goater <address@hidden>
---
hw/mips/gt64xxx_pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/mips/gt64xxx_pci.c b/hw/mips/gt64xxx_pci.c
index dcd1a66329..1cd8aac658 100644
--- a/hw/mips/gt64xxx_pci.c
+++ b/hw/mips/gt64xxx_pci.c
@@ -1232,6 +1232,7 @@ static void gt64120_class_init(ObjectClass *klass, void
*data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
+ set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
dc->reset = gt64120_reset;
dc->vmsd = &vmstate_gt64120;
}
--
2.19.0
- [Qemu-devel] [PATCH v2 00/12] another SysBusDevice::init to Device::realize cleanup, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 01/12] trace-events: Fix copy/paste typo, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 03/12] hw/timer/sun4v-rtc: Use DeviceState::realize rather than SysBusDevice::init, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 04/12] hw/ssi/xilinx_spi: Use DeviceState::realize rather than SysBusDevice::init, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 02/12] hw/timer/sun4v-rtc: Convert from DPRINTF() macro to trace events, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 06/12] hw/pci-host/bonito: Use DeviceState::realize rather than SysBusDevice::init, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 05/12] hw/sh4/sh_pci: Use DeviceState::realize rather than SysBusDevice::init, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 07/12] hw/mips/gt64xxx_pci: Convert gt64120_reset() function into Device reset method, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 08/12] hw/mips/gt64xxx_pci: Mark as bridge device,
Philippe Mathieu-Daudé <=
- [Qemu-devel] [PATCH v2 11/12] hw/hppa/dino: Remove unuseful code, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 12/12] hw/mips/malta: Remove unuseful code, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 09/12] hw/sparc64/niagara: Model the I/O Bridge with the 'unimplemented_device', Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 10/12] hw/alpha/typhoon: Remove unuseful code, Philippe Mathieu-Daudé, 2018/10/02
- Re: [Qemu-devel] [PATCH v2 00/12] another SysBusDevice::init to Device::realize cleanup, Philippe Mathieu-Daudé, 2018/10/09