summaryrefslogtreecommitdiffstats
path: root/hw/misc
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2015-09-26 18:22:07 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2015-10-23 12:35:18 +1100
commit599d7326c35d323c0a2cf18ebf65c613979e7f65 (patch)
tree9f943aaca1153312c2d8a9e62af6045e8e262c79 /hw/misc
parente16244355f8d5efc94df965b1f6a5a0b6c50a2f2 (diff)
downloadhqemu-599d7326c35d323c0a2cf18ebf65c613979e7f65.zip
hqemu-599d7326c35d323c0a2cf18ebf65c613979e7f65.tar.gz
cuda: add to bridge category
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>
Diffstat (limited to 'hw/misc')
-rw-r--r--hw/misc/macio/cuda.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c
index 5d7043e..0fd75b3 100644
--- a/hw/misc/macio/cuda.c
+++ b/hw/misc/macio/cuda.c
@@ -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 = {
OpenPOWER on IntegriCloud