mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
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>
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user