aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-01-12 12:52:56 +0000
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2024-02-13 19:37:04 +0000
commit6fcae98b2c3923888c238e1ba49b10f4f681ae32 (patch)
treea986a9856ec91ecbcf730897892706411c77349f /hw/scsi
parent49c60d1617d4870a5e7c4f9c2dc24fb3759b9679 (diff)
downloadqemu-6fcae98b2c3923888c238e1ba49b10f4f681ae32.zip
qemu-6fcae98b2c3923888c238e1ba49b10f4f681ae32.tar.gz
qemu-6fcae98b2c3923888c238e1ba49b10f4f681ae32.tar.bz2
esp.c: remove FIFO clear from esp_select()
The FIFO contents should not be affected by performing SCSI target selection. 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-5-mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'hw/scsi')
-rw-r--r--hw/scsi/esp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c
index 8d8f6a8..89fce05 100644
--- a/hw/scsi/esp.c
+++ b/hw/scsi/esp.c
@@ -220,7 +220,6 @@ static int esp_select(ESPState *s)
target = s->wregs[ESP_WBUSID] & BUSID_DID;
s->ti_size = 0;
- fifo8_reset(&s->fifo);
if (s->current_req) {
/* Started a new command before the old one finished. Cancel it. */