Skip to content

Commit

Permalink
macio: add to bridge category
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vivier authored and dgibson committed Oct 23, 2015
1 parent 1d16f86 commit f9f2a9f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/misc/macio/macio.c
Expand Up @@ -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 = {
Expand Down

0 comments on commit f9f2a9f

Please sign in to comment.