From patchwork Sat Sep 26 16:22:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 523100 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 1A5FD1402A2 for ; Sun, 27 Sep 2015 02:24:44 +1000 (AEST) Received: from localhost ([::1]:54447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfsHB-0003dL-TU for incoming@patchwork.ozlabs.org; Sat, 26 Sep 2015 12:24:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfsEy-0007yZ-3N for qemu-devel@nongnu.org; Sat, 26 Sep 2015 12:22:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfsEw-0006PE-SV for qemu-devel@nongnu.org; Sat, 26 Sep 2015 12:22:23 -0400 Received: from smtp4-g21.free.fr ([212.27.42.4]:28740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfsEt-0006MQ-G8; Sat, 26 Sep 2015 12:22:19 -0400 Received: from Quad.localdomain (unknown [78.238.229.36]) by smtp4-g21.free.fr (Postfix) with ESMTPS id 8A3AA4C8044; Sat, 26 Sep 2015 18:22:18 +0200 (CEST) From: Laurent Vivier To: qemu-trivial@nongnu.org Date: Sat, 26 Sep 2015 18:22:07 +0200 Message-Id: <1443284532-8634-6-git-send-email-laurent@vivier.eu> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1443284532-8634-1-git-send-email-laurent@vivier.eu> References: <1443284532-8634-1-git-send-email-laurent@vivier.eu> X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-Received-From: 212.27.42.4 Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Alexander Graf , qemu-ppc@nongnu.org, Paolo Bonzini , John Snow , Laurent Vivier Subject: [Qemu-devel] [PATCH 05/10][TRIVIAL] cuda: add to bridge category X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- hw/misc/macio/cuda.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/misc/macio/cuda.c b/hw/misc/macio/cuda.c index f3984e3..4648458 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 = {