esp: move pdma_len and TC logic into esp_pdma_read()/esp_pdma_write()
commit8da90e819452e77eefeedc38d1e00a03f2735ab2
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 4 Mar 2021 22:10:38 +0000 (4 22:10 +0000)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 7 Mar 2021 10:39:05 +0000 (7 10:39 +0000)
tree9726a04ce6baf84aa96605d6e3036cccc01b3977
parent6e3fafa8bb0c22b57db1f7e2c7edf41545ba5294
esp: move pdma_len and TC logic into esp_pdma_read()/esp_pdma_write()

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-18-mark.cave-ayland@ilande.co.uk>
hw/scsi/esp.c