]> git.proxmox.com Git - qemu.git/blobdiff - hw/tc6393xb.c
report serial devices created with -device in the PIIX4 config space
[qemu.git] / hw / tc6393xb.c
index c3fbe4e205a6e9377fc88ea2787575c05bf4ad41..ed49e944df9743353561104970405784a972dab9 100644 (file)
@@ -8,7 +8,6 @@
  * This code is licensed under the GNU GPL v2.
  */
 #include "hw.h"
-#include "pxa.h"
 #include "devices.h"
 #include "flash.h"
 #include "console.h"
@@ -381,7 +380,7 @@ static void tc6393xb_nand_writeb(TC6393xbState *s, target_phys_addr_t addr, uint
         case NAND_DATA + 2:
         case NAND_DATA + 3:
             nand_setio(s->flash, value);
-            s->nand.isr &= 1;
+            s->nand.isr |= 1;
             tc6393xb_nand_irq(s);
             return;
         case NAND_MODE: