From patchwork Wed Oct 14 06:48:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roy Tam X-Patchwork-Id: 35924 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 62478B7B81 for ; Wed, 14 Oct 2009 17:49:13 +1100 (EST) Received: from localhost ([127.0.0.1]:43005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxxfZ-00008G-D7 for incoming@patchwork.ozlabs.org; Wed, 14 Oct 2009 02:49:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxxey-00005J-VG for qemu-devel@nongnu.org; Wed, 14 Oct 2009 02:48:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxxes-0008QS-0a for qemu-devel@nongnu.org; Wed, 14 Oct 2009 02:48:30 -0400 Received: from [199.232.76.173] (port=50019 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxxer-0008QH-T3 for qemu-devel@nongnu.org; Wed, 14 Oct 2009 02:48:25 -0400 Received: from mx20.gnu.org ([199.232.41.8]:3343) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mxxer-0004PJ-9R for qemu-devel@nongnu.org; Wed, 14 Oct 2009 02:48:25 -0400 Received: from mail-pz0-f188.google.com ([209.85.222.188]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mxxeq-0006YV-2Z for qemu-devel@nongnu.org; Wed, 14 Oct 2009 02:48:24 -0400 Received: by pzk26 with SMTP id 26so9711749pzk.4 for ; Tue, 13 Oct 2009 23:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=30c5as19uQXutEiuGehPYOyjJUpgKfYMVS/3Hm3J1+4=; b=aF6D8n+EObDwTRXhAHZUloqkcyZBtJ5rvXN84ATUBPHSPVC1oES+jcSnuOLHbOw2nJ pfzm7MKWD5jONBHvdz96T5RvuktyVU3efkDi7TbbzvcUPhjKAKIADRzl2cYpFEnOy7Gp 54gdhXM+QRHAVW22LSvvZ8NwgIUR4rOPqtUUI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NyQiPg1ZPuWucx0GbWDAIEtFURl1XX/C5rhacpfHqOl3fsk81hf2Y7g0McymnlkrtN ly2ziNQddnkVzwtS3MK1tKFe+r4bmgCKrrD1bwPjctucg2oANlGD1g2ngXll070WTld4 rJ9sxSu7R9XmJ16By8NAgaConiOhMy6+nFRZA= MIME-Version: 1.0 Received: by 10.114.86.13 with SMTP id j13mr14473007wab.165.1255502901954; Tue, 13 Oct 2009 23:48:21 -0700 (PDT) Date: Wed, 14 Oct 2009 14:48:21 +0800 Message-ID: <473191350910132348y7e9b9738wdf591b0589a9e86a@mail.gmail.com> From: Roy Tam To: qemu-devel@nongnu.org X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: [Qemu-devel] [PATCH] mips64el: fix: Tried to create isa device mc146818rtc with no isa bus present 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. 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);