]> git.ipfire.org Git - thirdparty/qemu.git/commit
esp.c: start removal of manual STAT_TC setting when transfer counter reaches zero
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 12 Jan 2024 12:52:59 +0000 (12:52 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 13 Feb 2024 19:37:11 +0000 (19:37 +0000)
commit0c5ae734c2942e1b71eaffab95ea9b7ce974d8db
tree6a94a38fc7e7a84a655d0fa9bfb38d990e775386
parentc5d7df28ea9f83b73608afb0ed6fb75773ebe7ca
esp.c: start removal of manual STAT_TC setting when transfer counter reaches zero

This should be exclusively managed by esp_set_tc() rather than being manually
set in multiple places. Start by removing the occurrences exclusive to PDMA
and command completion which are those that can be currently removed without
affecting any test images.

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