]> Git Repo - qemu.git/commitdiff
lsi: ignore write accesses to CTEST0 registers
authorHervé Poussineau <[email protected]>
Sat, 14 Sep 2013 15:51:07 +0000 (17:51 +0200)
committerPaolo Bonzini <[email protected]>
Mon, 16 Sep 2013 10:42:25 +0000 (12:42 +0200)
53C895A datasheet says that this register is read/write, and that the value
returned on read access is dependant of DMA FIFO state. However, nothing is
said for written value.

53C810A datasheet gives more insight about this register:
"This was a general purpose read/write register in previous SYM53C8XX
family chips. Although it is still a read/write register, Symbios reserves
the right to use these bits for future 53C8XX family enhancements."

This prevents going to the default case, which prints an error message.

Signed-off-by: Hervé Poussineau <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/scsi/lsi53c895a.c

index 4314efe9f033b7a2e01308a35efc0d7344a2ab6a..89d934b4be4012d25544a5cc7c7a1abd0d8be09b 100644 (file)
@@ -1743,6 +1743,9 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val)
     case 0x17: /* MBOX1 */
         s->mbox1 = val;
         break;
+    case 0x18: /* CTEST0 */
+        /* nothing to do */
+        break;
     case 0x1a: /* CTEST2 */
        s->ctest2 = val & LSI_CTEST2_PCICIE;
        break;
This page took 0.028763 seconds and 4 git commands to generate.