From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfsEy-0007yx-9t 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 1ZfsEx-0006Pr-BB for qemu-devel@nongnu.org; Sat, 26 Sep 2015 12:22:24 -0400 From: Laurent Vivier Date: Sat, 26 Sep 2015 18:22:10 +0200 Message-Id: <1443284532-8634-9-git-send-email-laurent@vivier.eu> In-Reply-To: <1443284532-8634-1-git-send-email-laurent@vivier.eu> References: <1443284532-8634-1-git-send-email-laurent@vivier.eu> Subject: [Qemu-devel] [PATCH 08/10][TRIVIAL] macio: add to bridge category List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial@nongnu.org Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org, Alexander Graf , qemu-ppc@nongnu.org, Paolo Bonzini , John Snow , Laurent Vivier macio is a bridge between the PCI bus and the Mac nvram, IDE controller and PIC, so add it to the bridge category. Signed-off-by: Laurent Vivier --- hw/misc/macio/macio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/misc/macio/macio.c b/hw/misc/macio/macio.c index e3c0242..c0989a0 100644 --- a/hw/misc/macio/macio.c +++ b/hw/misc/macio/macio.c @@ -393,6 +393,7 @@ static void macio_class_init(ObjectClass *klass, void *data) k->vendor_id = PCI_VENDOR_ID_APPLE; k->class_id = PCI_CLASS_OTHERS << 8; dc->props = macio_properties; + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories); } static const TypeInfo macio_oldworld_type_info = { -- 2.4.3