qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] mips malta: Use qdev for i8042 setup
Date: Fri, 28 Aug 2009 13:56:37 +0200	[thread overview]
Message-ID: <1251460597-11518-1-git-send-email-weil@mail.berlios.de> (raw)
In-Reply-To: <4A97C3B4.8030006@mail.berlios.de>

This is just a copy of similar changes which were applied to pc.c.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 hw/mips_malta.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index a70d79e..23c257a 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -765,6 +765,7 @@ void mips_malta_init (ram_addr_t ram_size,
     target_long bios_size;
     int64_t kernel_entry;
     PCIBus *pci_bus;
+    ISADevice *isa_dev;
     CPUState *env;
     RTCState *rtc_state;
     fdctrl_t *floppy_controller;
@@ -920,7 +921,8 @@ void mips_malta_init (ram_addr_t ram_size,
     DMA_init(0);
 
     /* Super I/O */
-    i8042_init(i8259[1], i8259[12], 0x60);
+    isa_dev = isa_create_simple("i8042", 0x60, 0x64, 1, 12);
+ 
     rtc_state = rtc_init(0x70, i8259[8], 2000);
     serial_init(0x3f8, i8259[4], 115200, serial_hds[0]);
     serial_init(0x2f8, i8259[3], 115200, serial_hds[1]);
-- 
1.5.6.5

  parent reply	other threads:[~2009-08-28 11:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27  5:41 [Qemu-devel] [BUG] Regression for machine using fdc Stefan Weil
2009-08-27  6:17 ` [Qemu-devel] [PATCH] mips malta: Fix fdc regression Stefan Weil
2009-08-28 11:47   ` [Qemu-devel] " Stefan Weil
2009-08-28 11:48     ` [Qemu-devel] " Stefan Weil
2009-08-28 17:37       ` [Qemu-devel] [PATCH] mips malta: Fix fdc regression and use qdev for i8042 setup Stefan Weil
2009-08-31  6:33         ` [Qemu-devel] " Gerd Hoffmann
2009-08-28 18:47       ` [Qemu-devel] Re: [PATCH] mips malta: Fix fdc regression Stefan Weil
2009-08-28 11:56     ` Stefan Weil [this message]
2009-08-28 12:13       ` [Qemu-devel] Re: [PATCH] mips malta: Use qdev for i8042 setup Stefan Weil
2009-08-27  6:26 ` [Qemu-devel] [BUG] Regression for machine using fdc Stefan Weil
2009-08-27  8:06   ` Gerd Hoffmann
2009-08-27 19:46   ` Hervé Poussineau

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=1251460597-11518-1-git-send-email-weil@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --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).