diff options
author | Artyom Tarasenko <atar4qemu@googlemail.com> | 2010-02-15 18:39:50 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-15 17:49:15 +0000 |
commit | 6f57bbf48cc42056a53495990f6770c3de1f4480 (patch) | |
tree | 9e819b7e55581d0036da775896095b6340e54d53 /hw/pflash_cfi01.c | |
parent | 47de922d9c46c8ae42ab38a5e1fa8b68d41865d9 (diff) |
sparc32 fix spurious dma interrupts v2
Don't raise irq when not enabled.
Raise irq on enabling if DMA_INTR is set
Don't clear irq unless it was raised by DMA, as there are other irq sources
Don't set DMA_INTR bit spuriously.
v1->v2:
- Don't clear irq unless it was raised by DMA
- Raise irq on enabling if DMA_INTR is set
- Assume revertion of 787cfbc432bf1d353a77cbdb613754f3963371a3
Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pflash_cfi01.c')
0 files changed, 0 insertions, 0 deletions