cmd646: synchronise DMA interrupt status with UDMA interrupt status
commit5bbc0a703d8241a866f51856336aeb2a2d54b79f
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 8 Aug 2014 16:23:33 +0000 (8 17:23 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 15 Aug 2014 17:03:13 +0000 (15 18:03 +0100)
tree4c9e2e309f7d6d9174b5a15dc9095538b888764f
parent58f16a7b47e0e8418b1222b6adc08d2b7079a4c0
cmd646: synchronise DMA interrupt status with UDMA interrupt status

Make sure that the standard DMA interrupt status bits reflect any changes made
to the UDMA interrupt status bits. The CMD646U2 datasheet claims that these
bits are equivalent, and they must be synchronised for guests that manipulate
both registers.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/ide/cmd646.c