From: Laurent Vivier Date: Sat, 26 Sep 2015 16:22:07 +0000 (+0200) Subject: cuda: add to bridge category X-Git-Tag: v2.5.0-rc0~52^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=599d7326c35d323c0a2cf18ebf65c613979e7f65;p=thirdparty%2Fqemu.git 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 Signed-off-by: David Gibson --- diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c index 5d7043e99c2..0fd75b376f5 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 = {