diff options
author | Mark Cave-Ayland | 2021-03-04 23:10:50 +0100 |
---|---|---|
committer | Mark Cave-Ayland | 2021-03-07 11:39:05 +0100 |
commit | 43d02df31b8679dcc69c4ffcdb6cc658e1d348f7 (patch) | |
tree | 2627bd0463aee557a6bd83a418e072c69ced0dfc /include/hw | |
parent | esp: use FIFO for PDMA transfers between initiator and device (diff) | |
download | qemu-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.h | 6 |
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; |