]> git.ipfire.org Git - thirdparty/qemu.git/commit
esp.c: move CMD_TI end of message phase detection to esp_do_dma() and do_dma_pdma_cb()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 12 Jan 2024 12:53:42 +0000 (12:53 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 13 Feb 2024 19:37:28 +0000 (19:37 +0000)
commit3fd325a2de38655f8cc2139d428311f3bdd140ee
tree3706474600e9ffe5483686ad0857647cbb27474f
parent3ee9a475a51eb7687cfb58ad68ef820238c1c6e1
esp.c: move CMD_TI end of message phase detection to esp_do_dma() and do_dma_pdma_cb()

The existing check for TC == 0 is only valid during a TI command.

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-51-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
hw/scsi/esp.c