summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/block/fdc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/block/fdc.c b/hw/block/fdc.c
index 9ef899d91f..40abeef615 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);