aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/esp.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/scsi/esp.c')
-rw-r--r--hw/scsi/esp.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c
index d714657..4c1ca63 100644
--- a/hw/scsi/esp.c
+++ b/hw/scsi/esp.c
@@ -1067,17 +1067,6 @@ uint64_t esp_reg_read(ESPState *s, uint32_t saddr)
qemu_log_mask(LOG_UNIMP, "esp: PIO data read not implemented\n");
s->rregs[ESP_FIFO] = 0;
} else {
- if (esp_get_phase(s) == STAT_DI) {
- if (s->ti_size) {
- esp_do_nodma(s);
- } else {
- /*
- * The last byte of a non-DMA transfer has been read out
- * of the FIFO so switch to status phase
- */
- esp_set_phase(s, STAT_ST);
- }
- }
s->rregs[ESP_FIFO] = esp_fifo_pop(&s->fifo);
}
val = s->rregs[ESP_FIFO];