diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2016-02-03 11:28:57 -0500 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2016-02-03 11:28:57 -0500 |
commit | dd446051b797f72d6293c26bde2db16fddc42d0b (patch) | |
tree | f7e671a36dfe3d14d834e681b0225517b4323c85 /hw/block | |
parent | 020e29869924ede58ef6d8723cad4df9af307af6 (diff) | |
download | qemu-dd446051b797f72d6293c26bde2db16fddc42d0b.zip qemu-dd446051b797f72d6293c26bde2db16fddc42d0b.tar.gz qemu-dd446051b797f72d6293c26bde2db16fddc42d0b.tar.bz2 |
sparc: disable floppy DMA
All functions relative to DMA (DMA_*() functions) are stubs on sparc platform.
Disable the DMA in the floppy controller, instead of calling these stubs.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Message-id: 1453843944-26833-14-git-send-email-hpoussin@reactos.org
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/block')
-rw-r--r-- | hw/block/fdc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/block/fdc.c b/hw/block/fdc.c index 9ef899d..40abeef 100644 --- a/hw/block/fdc.c +++ b/hw/block/fdc.c @@ -2492,6 +2492,8 @@ static void sun4m_fdc_initfn(Object *obj) FDCtrlSysBus *sys = SYSBUS_FDC(obj); FDCtrl *fdctrl = &sys->state; + fdctrl->dma_chann = -1; + memory_region_init_io(&fdctrl->iomem, obj, &fdctrl_mem_strict_ops, fdctrl, "fdctrl", 0x08); sysbus_init_mmio(sbd, &fdctrl->iomem); |