Re: [PATCH v3 0/4] g_NCR5380: PDMA fixes and cleanup

From: Finn Thain
Date: Tue Jun 27 2017 - 08:54:26 EST



On Tue, 27 Jun 2017, Michael Schmitz wrote:

> Ondrej,
>
> could this be a partial write (target did not transfer the last byte)?
>

We do wait for TCR_LAST_BYTE_SENT, but only when there is no residual.

Perhaps we should wait for TCR_LAST_BYTE_SENT whenever the 53c400 asserts
/EOP. That is, whenever BASR_END_DMA_TRANSFER is set.

--

> One would suppose the chip posts a phase mismatch in that case ...
>
> Cheers,
>
> Michael
>