summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorMark Cave-Ayland2021-03-04 23:10:50 +0100
committerMark Cave-Ayland2021-03-07 11:39:05 +0100
commit43d02df31b8679dcc69c4ffcdb6cc658e1d348f7 (patch)
tree2627bd0463aee557a6bd83a418e072c69ced0dfc /include/hw
parentesp: use FIFO for PDMA transfers between initiator and device (diff)
downloadqemu-43d02df31b8679dcc69c4ffcdb6cc658e1d348f7.tar.gz
qemu-43d02df31b8679dcc69c4ffcdb6cc658e1d348f7.tar.xz
qemu-43d02df31b8679dcc69c4ffcdb6cc658e1d348f7.zip
esp: remove pdma_origin from ESPState
Now that all data is transferred via the FIFO (ti_buf) there is no need to track the source buffer being used for the data transfer. This also eliminates the need for a separate subsection for PDMA state migration. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210304221103.6369-30-mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/scsi/esp.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/hw/scsi/esp.h b/include/hw/scsi/esp.h
index dbbbb3fc52..91f8ffd6c8 100644
--- a/include/hw/scsi/esp.h
+++ b/include/hw/scsi/esp.h
@@ -15,11 +15,6 @@ typedef void (*ESPDMAMemoryReadWriteFunc)(void *opaque, uint8_t *buf, int len);
typedef struct ESPState ESPState;
-enum pdma_origin_id {
- TI,
- ASYNC,
-};
-
#define TYPE_ESP "esp"
OBJECT_DECLARE_SIMPLE_TYPE(ESPState, ESP)
@@ -55,7 +50,6 @@ struct ESPState {
ESPDMAMemoryReadWriteFunc dma_memory_write;
void *dma_opaque;
void (*dma_cb)(ESPState *s);
- int pdma_origin;
void (*pdma_cb)(ESPState *s);
uint8_t mig_version_id;