sparc32 protect read-only bits in DMA CSR registers
commit65899fe34b09ab4af4b045977460b531ec5c1f73
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Sat, 22 May 2010 08:38:56 +0000 (22 10:38 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 22 May 2010 09:07:46 +0000 (22 09:07 +0000)
tree8443a4b3fdb801a2d4d437baef401e910384daa7
parentae6b2c4ed956c17456e70efefe13ad0ab7db31de
sparc32 protect read-only bits in DMA CSR registers

On a real hardware changing read-only bits has no effect
Use a mask common for SCSI and Ethernet registers. The crucial
bit is DMA_INTR, because setting or clearing it may produce
spurious interrupts.

This patch allows booting Solaris 2.3

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/sparc32_dma.c