|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v2 24/42] esp: use in-built TC to determine PDMA transfer length |
Date: | Tue, 23 Feb 2021 19:32:58 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/9/21 8:30 PM, Mark Cave-Ayland wrote: > Real hardware simply counts down using the in-built TC to determine when the > the PDMA request is complete. Use the TC to determine the PDMA transfer length > which then enables us to remove the redundant pdma_len variable. > > Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> > --- > hw/scsi/esp.c | 28 +++++++++++++--------------- > include/hw/scsi/esp.h | 1 - > 2 files changed, 13 insertions(+), 16 deletions(-) Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[Prev in Thread] | Current Thread | [Next in Thread] |