summaryrefslogtreecommitdiffstats
path: root/include/hw/scsi
diff options
context:
space:
mode:
authorMark Cave-Ayland2021-03-04 23:10:44 +0100
committerMark Cave-Ayland2021-03-07 11:39:05 +0100
commitad7f468c4252ee83f6e150c11ae02f71f6d467ef (patch)
treebb1d758a198f19c8eaec1ebb8680657c427f06a4 /include/hw/scsi
parentesp: move PDMA length adjustments into esp_pdma_read()/esp_pdma_write() (diff)
downloadqemu-ad7f468c4252ee83f6e150c11ae02f71f6d467ef.tar.gz
qemu-ad7f468c4252ee83f6e150c11ae02f71f6d467ef.tar.xz
qemu-ad7f468c4252ee83f6e150c11ae02f71f6d467ef.zip
esp: use ti_wptr/ti_rptr to manage the current FIFO position for PDMA
This eliminates the last user of the PDMA-specific pdma_cur variable which can now be removed. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210304221103.6369-24-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include/hw/scsi')
-rw-r--r--include/hw/scsi/esp.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/scsi/esp.h b/include/hw/scsi/esp.h
index 55b0aee762..26bd015cf4 100644
--- a/include/hw/scsi/esp.h
+++ b/include/hw/scsi/esp.h
@@ -58,7 +58,6 @@ struct ESPState {
void (*dma_cb)(ESPState *s);
int pdma_origin;
uint32_t pdma_len;
- uint32_t pdma_cur;
void (*pdma_cb)(ESPState *s);
uint8_t mig_version_id;