From patchwork Thu Oct 15 14:07:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Tam X-Patchwork-Id: 36112 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 A6BE7B7B76 for ; Fri, 16 Oct 2009 01:11:16 +1100 (EST) Received: from localhost ([127.0.0.1]:38297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyR2u-0006wO-I0 for incoming@patchwork.ozlabs.org; Thu, 15 Oct 2009 10:11:12 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyR2N-0006vh-QG for qemu-devel@nongnu.org; Thu, 15 Oct 2009 10:10:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyR2L-0006vN-Rw for qemu-devel@nongnu.org; Thu, 15 Oct 2009 10:10:39 -0400 Received: from [199.232.76.173] (port=49584 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyR2L-0006vK-Oi for qemu-devel@nongnu.org; Thu, 15 Oct 2009 10:10:37 -0400 Received: from hall.aurel32.net ([88.191.82.174]:44770) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyR2L-00020v-BH for qemu-devel@nongnu.org; Thu, 15 Oct 2009 10:10:37 -0400 Received: from [2002:52e8:2fb:1:21e:8cff:feb0:693b] (helo=volta.aurel32.net) by hall.aurel32.net with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1MyR2J-0006J8-IC for qemu-devel@nongnu.org; Thu, 15 Oct 2009 16:10:35 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1MyR2H-0002rw-0j for qemu-devel@nongnu.org; Thu, 15 Oct 2009 16:10:33 +0200 Resent-From: Aurelien Jarno Resent-Date: Thu, 15 Oct 2009 16:10:33 +0200 Resent-Message-ID: <20091015141033.GA7071@volta.aurel32.net> Resent-To: qemu-devel@nongnu.org Received: from mail-px0-f196.google.com ([209.85.216.196]) by hall.aurel32.net with esmtp (Exim 4.69) (envelope-from ) id 1MyQzE-0006BB-7j for aurelien@aurel32.net; Thu, 15 Oct 2009 16:07:24 +0200 Received: by pxi34 with SMTP id 34so755526pxi.8 for ; Thu, 15 Oct 2009 07:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Nw+IAthzCHawrNAWGOgBPiPbJwWeGVPx0xEyQDITeK4=; b=Cq9AhcVyiiX49XH7tLZohEKmOlkgZ1j80kt4mwhxGKE/NRuf8EJwZKdjbzfIF7PH56 qZgO1RivPFHdfPsYY/tnmW5u8mOPzse+YVCDJ6ZFLKsUYHobqDdnN6gJitfvsj7TsLBx 0IDtxNcK2OHeuyCW7es4BbO8ena8Bmo0IM6FA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=LuaW5TNw6JvWouWi02JHUpctzDBnH0quiKuteGz3pAEZ8czpcONn77HoRdOvctvlk0 8meQfm/Wb/ObGzv6gQ6YS165bjfbEDQkQHso0QNuz9bqaCWVFrS5GnV8X7xdXzN0KcxZ wnoWpD2djnqaUmvW/I8BCDrmeFTAeMzcGkW88= MIME-Version: 1.0 Received: by 10.115.134.17 with SMTP id l17mr79004wan.44.1255615632285; Thu, 15 Oct 2009 07:07:12 -0700 (PDT) In-Reply-To: <20091015094622.GA18638@volta.aurel32.net> References: <473191350910132348y7e9b9738wdf591b0589a9e86a@mail.gmail.com> <20091015094622.GA18638@volta.aurel32.net> Date: Thu, 15 Oct 2009 22:07:12 +0800 Message-ID: <473191350910150707n26e52fcbi8c25b1c80374dbf@mail.gmail.com> Subject: Re: [Qemu-devel] [PATCH] mips64el: fix: Tried to create isa device mc146818rtc with no isa bus present From: Roy Tam To: Aurelien Jarno Resent-Date: Thu, 15 Oct 2009 16:10:33 +0200 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: 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 As i8259 in mips_jazz.c is not connect to isa bus correctly, this patch fix that. Signed-off-by: Roy Tam 2009/10/15 Aurelien Jarno : > On Wed, Oct 14, 2009 at 02:48:21PM +0800, Roy Tam wrote: >> As i8259 in mips_jazz.c is not connect to isa bus correctly, this >> patch fix that. > > It looks fine. Could you please resend the patch with a Signed-off-by: > >> diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c >> index 3ff367d..281713c 100644 >> --- a/hw/mips_jazz.c >> +++ b/hw/mips_jazz.c >> @@ -185,6 +185,8 @@ void mips_jazz_init (ram_addr_t ram_size, >> >> /* ISA devices */ >> i8259 = i8259_init(env->irq[4]); >> + isa_bus_new(NULL); >> + isa_bus_irqs(i8259); >> DMA_init(0); >> pit = pit_init(0x40, i8259[0]); >> pcspk_init(pit); >> >> >> > > -- > Aurelien Jarno GPG: 1024D/F1BCDB73 > aurelien@aurel32.net http://www.aurel32.net > diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index 3ff367d..281713c 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -185,6 +185,8 @@ void mips_jazz_init (ram_addr_t ram_size, /* ISA devices */ i8259 = i8259_init(env->irq[4]); + isa_bus_new(NULL); + isa_bus_irqs(i8259); DMA_init(0); pit = pit_init(0x40, i8259[0]); pcspk_init(pit);