From patchwork Mon Jan 4 07:32:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 42047 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C39D0B7BBE for ; Mon, 4 Jan 2010 18:38:05 +1100 (EST) Received: from localhost ([127.0.0.1]:50837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRhVq-0003Wq-Vd for incoming@patchwork.ozlabs.org; Mon, 04 Jan 2010 02:38:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRhR2-00021c-1n for qemu-devel@nongnu.org; Mon, 04 Jan 2010 02:33:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRhQx-0001w4-8P for qemu-devel@nongnu.org; Mon, 04 Jan 2010 02:33:03 -0500 Received: from [199.232.76.173] (port=50914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRhQx-0001vp-1b for qemu-devel@nongnu.org; Mon, 04 Jan 2010 02:32:59 -0500 Received: from cantor.suse.de ([195.135.220.2]:33221 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRhQw-0007YE-N9 for qemu-devel@nongnu.org; Mon, 04 Jan 2010 02:32:58 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 95FE89428F; Mon, 4 Jan 2010 08:32:56 +0100 (CET) From: Alexander Graf To: QEMU Developers Date: Mon, 4 Jan 2010 08:32:55 +0100 Message-Id: <1262590375-11431-7-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 In-Reply-To: <1262590375-11431-1-git-send-email-agraf@suse.de> References: <1262590375-11431-1-git-send-email-agraf@suse.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 Cc: Blue Swirl , Aurelien Jarno Subject: [Qemu-devel] [PATCH 6/6] Enable secondary cmd64x X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org We're not using any macio IDE devices, so let's enable the secondary cmd64x IDE device, so we get all four possible IDE devices exposed to the guest. Later we definitely need to enable macio or any other device that Linux understands in default configurations. Signed-off-by: Alexander Graf --- hw/ppc_newworld.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c index 308e102..d66860b 100644 --- a/hw/ppc_newworld.c +++ b/hw/ppc_newworld.c @@ -343,7 +343,7 @@ static void ppc_core99_init (ram_addr_t ram_size, hd[i] = drive_get(IF_IDE, i / MAX_IDE_DEVS, i % MAX_IDE_DEVS); } dbdma = DBDMA_init(&dbdma_mem_index); - pci_cmd646_ide_init(pci_bus, hd, 0); + pci_cmd646_ide_init(pci_bus, hd, 1); /* cuda also initialize ADB */ cuda_init(&cuda_mem_index, pic[0x19]);