aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/macio
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2015-09-26 18:22:10 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2015-10-23 12:35:18 +1100
commitf9f2a9f26f74b4572c51e74be7fd97fa34c920d3 (patch)
tree36e4957eee4fc7893a3ca4f304f000969e2bc6a1 /hw/misc/macio
parent1d16f86a433a323691dcfd0f71acdc7592c114fc (diff)
macio: add to bridge category
macio is a bridge between the PCI bus and the Mac nvram, IDE controller and PIC, so add it to the bridge category. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/misc/macio')
-rw-r--r--hw/misc/macio/macio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c
index c661f86c21..adb990e565 100644
--- a/hw/misc/macio/macio.c
+++ b/hw/misc/macio/macio.c
@@ -393,6 +393,7 @@ static void macio_class_init(ObjectClass *klass, void *data)
k->vendor_id = PCI_VENDOR_ID_APPLE;
k->class_id = PCI_CLASS_OTHERS << 8;
dc->props = macio_properties;
+ set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
}
static const TypeInfo macio_oldworld_type_info = {