[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 14/21] grackle: add to bridge category
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 14/21] grackle: add to bridge category |
Date: |
Fri, 23 Oct 2015 20:43:26 +1100 |
From: Laurent Vivier <address@hidden>
Grackle is the PCI host controller of oldworld powermac,
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/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);
}
static const TypeInfo grackle_pci_host_info = {
--
2.4.3
- [Qemu-devel] [PULL 00/21] ppc-next-20151023 queue 20151023, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 00/21] ppc-next-20151023 queue 20151023, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 03/21] spapr: Add "slb-size" property to CPU device tree nodes, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 13/21] escc: add to input category, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 12/21] cmd646: add to storage category, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 11/21] adb: add to input category, David Gibson, 2015/10/23
- [Qemu-devel] [PULL 14/21] grackle: add to bridge category,
David Gibson <=
- [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