[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 17/21] uninorth: add to bridge category
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 17/21] uninorth: add to bridge category |
Date: |
Fri, 23 Oct 2015 20:43:29 +1100 |
From: Laurent Vivier <address@hidden>
Uninorth is the mac99 PCI host controller, so add
it to the bridge category.
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: David Gibson <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);
}
static const TypeInfo pci_unin_internal_info = {
--
2.4.3
- [Qemu-devel] [PULL 08/21] hw/scsi/spapr_vscsi: Remove superfluous memset, (continued)
- [Qemu-devel] [PULL 08/21] hw/scsi/spapr_vscsi: Remove superfluous memset, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 04/21] spapr_pci: Allow PCI host bridge DMA window to be configured, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 07/21] spapr_pci: Allow VFIO devices to work on the normal PCI host bridge, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 01/21] spapr: Allocate HTAB from machine init, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 02/21] spapr: Abort when HTAB of requested size isn't allocated, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 06/21] spapr_iommu: Provide a function to switch a TCE table to allowing VFIO, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 16/21] macio-ide: add to storage category, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 19/21] macio-nvram: add to misc category, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 18/21] macio: add to bridge category, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 15/21] cuda: add to bridge category, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 17/21] uninorth: add to bridge category,
David Gibson <=
- [Qemu-devel] [PULL 10/21] ppc/spapr: Add "ibm, pa-features" property to the device-tree, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 20/21] openpic: add to misc category, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 21/21] prep: do not use CPU_LOG_IOPORT, convert to tracepoints, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 09/21] ppc: Add mmu_model defines for arch 2.03 and 2.07, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 05/21] spapr_iommu: Rename vfio_accel parameter, David Gibson, 2015/10/23
- Re: [Qemu-devel] [PULL 00/21] ppc-next-20151023 queue 20151023, Michael Roth, 2015/10/23