]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commitdiff
Don't clear DMA status register when loading address.
authorpbrook <pbrook>
Sun, 21 May 2006 22:20:03 +0000 (22:20 +0000)
committerpbrook <pbrook>
Sun, 21 May 2006 22:20:03 +0000 (22:20 +0000)
hw/esp.c

index 5c8400d9664ab5167bf467d4537cb211458f0c6b..30708a1a0d783bb9e96958dc698c1d12b5f6e849 100644 (file)
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -690,7 +690,7 @@ static void espdma_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t va
         val |= DMA_VER;
        break;
     case 1:
-        s->espdmaregs[0] = DMA_LOADED;
+        s->espdmaregs[0] |= DMA_LOADED;
         break;
     default:
        break;