lsi: ignore write accesses to CTEST0 registers
commit0903c35ddeebde56772b39cf08e7a0bae2eb39eb
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 14 Sep 2013 15:51:07 +0000 (14 17:51 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Sep 2013 10:42:25 +0000 (16 12:42 +0200)
tree5ec39b2a05a29f39f4062fea915547b01d5f8896
parentc7ac9f403af37439da0ce650b68bbcb13439768e
lsi: ignore write accesses to CTEST0 registers

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 <hpoussin@reactos.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/lsi53c895a.c