From patchwork Mon Apr 30 14:47:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 155884 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E71BEB6FA1 for ; Tue, 1 May 2012 00:48:40 +1000 (EST) Received: from localhost ([::1]:42850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOru2-0004CY-S6 for incoming@patchwork.ozlabs.org; Mon, 30 Apr 2012 10:48:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOrt9-0001P6-PO for qemu-devel@nongnu.org; Mon, 30 Apr 2012 10:47:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOrt8-0003cB-7f for qemu-devel@nongnu.org; Mon, 30 Apr 2012 10:47:43 -0400 Received: from mout.web.de ([212.227.15.3]:51311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOrt5-0003bi-07; Mon, 30 Apr 2012 10:47:39 -0400 Received: from localhost.localdomain ([195.135.221.2]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LpfFO-1RjUuw2Zs6-00fNyv; Mon, 30 Apr 2012 16:47:24 +0200 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Mon, 30 Apr 2012 16:47:18 +0200 Message-Id: <1335797240-14255-5-git-send-email-andreas.faerber@web.de> X-Mailer: git-send-email 1.7.7 In-Reply-To: <1335797240-14255-1-git-send-email-andreas.faerber@web.de> References: <1335797240-14255-1-git-send-email-andreas.faerber@web.de> MIME-Version: 1.0 X-Provags-ID: V02:K0:r8S+08tDTS1DPcWHYD0T0FWDPuHn8Byp2O59dEFYEF3 +/DmdKj3dfIZkTR33NvBtRaPiuYdfPyZ3RwbjoTzXeveX0cFt4 DqwnuziP/LcnSvrdcbvnymasG2l51x8bu6c8ADcfgxwpG+6Mw6 63ARlBwNizWzqRz9/gUDo8MU6EDciuVTL9HrC56NrFdBvqO4d3 CMGqttCywIUMRaKTXzFfQ== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.15.3 Cc: blauwirbel@gmail.com, "open list:PReP" , =?UTF-8?q?Andreas=20F=C3=A4rber?= , =?UTF-8?q?Herv=C3=A9=20Poussineau?= Subject: [Qemu-devel] [PATCH 4/5] prep: Initialize PC speaker 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 From: Hervé Poussineau Speaker init has been added in 506b7ddf889312659b36c667f7ae17bc9e909418, but audio subsystem init was missing. Signed-off-by: Hervé Poussineau Signed-off-by: Andreas Färber --- hw/ppc_prep.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/ppc_prep.c b/hw/ppc_prep.c index 9d8e659..61c655c 100644 --- a/hw/ppc_prep.c +++ b/hw/ppc_prep.c @@ -37,6 +37,7 @@ #include "loader.h" #include "mc146818rtc.h" #include "blockdev.h" +#include "arch_init.h" #include "exec-memory.h" //#define HARD_DEBUG_PPC_IO @@ -716,6 +717,9 @@ static void ppc_prep_init (ram_addr_t ram_size, /* Special port to get debug messages from Open-Firmware */ register_ioport_write(0x0F00, 4, 1, &PPC_debug_write, NULL); + + /* Initialize audio subsystem */ + audio_init(isa_bus, pci_bus); } static QEMUMachine prep_machine = {