From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOtGk-00026s-Ni for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOtGf-00025C-PY for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:34 -0400 Received: from [199.232.76.173] (port=42378 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOtGf-000257-3b for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:29 -0400 Received: from mx2.redhat.com ([66.187.237.31]:54491) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOtGe-0002Ah-Hg for qemu-devel@nongnu.org; Thu, 09 Jul 2009 09:02:28 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n69D2SGD016193 for ; Thu, 9 Jul 2009 09:02:28 -0400 From: Gerd Hoffmann Date: Thu, 9 Jul 2009 15:02:21 +0200 Message-Id: <1247144544-8885-3-git-send-email-kraxel@redhat.com> In-Reply-To: <1247144544-8885-1-git-send-email-kraxel@redhat.com> References: <1247144544-8885-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/5] qdev/class: tag sound List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- hw/ac97.c | 1 + hw/es1370.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/ac97.c b/hw/ac97.c index 873469d..7f4ab23 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -1367,6 +1367,7 @@ int ac97_init (PCIBus *bus) static PCIDeviceInfo ac97_info = { .qdev.name = "AC97", .qdev.size = sizeof (PCIAC97LinkState), + .qdev.class = DEV_CLASS_SOUND, .init = ac97_initfn, }; diff --git a/hw/es1370.c b/hw/es1370.c index 0cfdb76..d882d66 100644 --- a/hw/es1370.c +++ b/hw/es1370.c @@ -1056,6 +1056,7 @@ static PCIDeviceInfo es1370_info = { .qdev.name = "ES1370", .qdev.desc = "Ensoniq AudioPCI Sound Card", .qdev.size = sizeof (PCIES1370State), + .qdev.class = DEV_CLASS_SOUND, .init = es1370_initfn, }; -- 1.6.2.5