esp.c: don't clear RFLAGS register when DMA is complete
The internal state of the ESP sequencer is not affected when raising an interrupt to indicate the end of a DMA transfer. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: Helge Deller <deller@gmx.de> Tested-by: Thomas Huth <thuth@redhat.com> Message-Id: <20240112125420.514425-19-mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
e7a661d117
commit
942ee6c83f
@ -546,7 +546,6 @@ static void write_response(ESPState *s)
|
||||
static void esp_dma_done(ESPState *s)
|
||||
{
|
||||
s->rregs[ESP_RINTR] |= INTR_BS;
|
||||
s->rregs[ESP_RFLAGS] = 0;
|
||||
esp_raise_irq(s);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user