]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
cuda: add to bridge category
authorLaurent Vivier <laurent@vivier.eu>
Sat, 26 Sep 2015 16:22:07 +0000 (18:22 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Oct 2015 01:35:18 +0000 (12:35 +1100)
Cuda is a bridge between PowerMac system bus and the ADB controller,
real-time clock, pram and the power management unit.

So add it to the bridge category.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/cuda.c

index 5d7043e99c2e99b92dd3865d72f35e5188c6f819..0fd75b376f5a0681611c3f6a2b4646995edb1715 100644 (file)
@@ -738,6 +738,7 @@ static void cuda_class_init(ObjectClass *oc, void *data)
     dc->reset = cuda_reset;
     dc->vmsd = &vmstate_cuda;
     dc->props = cuda_properties;
+    set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
 }
 
 static const TypeInfo cuda_type_info = {