Re: [PATCH v3 72/77] ncr5380: Fix pseudo DMA transfers on 53C400

Hannes Reinecke
2015-12-22T08:06:39Z

On 12/22/2015 02:18 AM, Finn Thain wrote:
> From: Ondrej Zary <linux@rainbow-software.org>
>
> Pseudo-DMA (PDMA) has been broken for ages, resulting in hangs on
> 53C400-based cards.
>
> According to 53C400 datasheet, PDMA transfer length must be a multiple
> of 128. Check if that's true and use PIO if it's not.
>
> This makes PDMA work on 53C400 (Canon FG2-5202).
>
> Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
> Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
>
Reviewed-by: Hannes Reinecke <hare@suse.com>

Cheers,

Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)