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>
This commit is contained in:
Laurent Vivier 2015-09-26 18:22:07 +02:00 committed by David Gibson
parent e16244355f
commit 599d7326c3

View File

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