qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Roy Tam <roytam@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] mips64el: fix: Tried to create isa device mc146818rtc with no isa bus present
Date: Wed, 14 Oct 2009 14:48:21 +0800	[thread overview]
Message-ID: <473191350910132348y7e9b9738wdf591b0589a9e86a@mail.gmail.com> (raw)

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);

             reply	other threads:[~2009-10-14  6:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-14  6:48 Roy Tam [this message]
2009-10-15  9:46 ` [Qemu-devel] [PATCH] mips64el: fix: Tried to create isa device mc146818rtc with no isa bus present Aurelien Jarno
2009-10-15 14:07   ` Roy Tam
2009-10-15 14:10   ` Roy Tam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=473191350910132348y7e9b9738wdf591b0589a9e86a@mail.gmail.com \
    --to=roytam@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).