From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOBE8-0003sC-97 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 16:32:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOBE6-0006fr-V2 for qemu-devel@nongnu.org; Tue, 26 Jan 2016 16:32:40 -0500 Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]:8518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOBE6-0006fe-Oy for qemu-devel@nongnu.org; Tue, 26 Jan 2016 16:32:38 -0500 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Tue, 26 Jan 2016 22:32:17 +0100 Message-Id: <1453843944-26833-13-git-send-email-hpoussin@reactos.org> In-Reply-To: <1453843944-26833-1-git-send-email-hpoussin@reactos.org> References: <1453843944-26833-1-git-send-email-hpoussin@reactos.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v3 12/19] magnum: disable floppy DMA for now List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Leon Alrae , John Snow , Aurelien Jarno Floppy uses the DMA controller in rc4030 chipset, and not the i8259 from = the ISA bus. It's better to disable DMA than to call the wrong DMA controller. Signed-off-by: Herv=C3=A9 Poussineau --- hw/mips/mips_jazz.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/mips/mips_jazz.c b/hw/mips/mips_jazz.c index a199b9d..d6d8058 100644 --- a/hw/mips/mips_jazz.c +++ b/hw/mips/mips_jazz.c @@ -297,7 +297,8 @@ static void mips_jazz_init(MachineState *machine, for (n =3D 0; n < MAX_FD; n++) { fds[n] =3D drive_get(IF_FLOPPY, 0, n); } - fdctrl_init_sysbus(qdev_get_gpio_in(rc4030, 1), 0, 0x80003000, fds); + /* FIXME: we should enable DMA with a custom IsaDma device */ + fdctrl_init_sysbus(qdev_get_gpio_in(rc4030, 1), -1, 0x80003000, fds)= ; =20 /* Real time clock */ rtc_init(isa_bus, 1980, NULL); --=20 2.1.4