scsi: g_NCR5380: Two DTC436 PDMA workarounds
authorOndrej Zary <linux@rainbow-software.org>
Mon, 3 Jul 2017 07:59:06 +0000 (03:59 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 7 Aug 2017 18:04:00 +0000 (14:04 -0400)
commitfacfc963ae92f8f47f79905927da024ae779a2c1
tree3ab67da1df7ecba2fdd6e8ca2f1a9ce69f10c824
parent99a974e6b8b0734fd2f5d8185e640aba0d6da06f
scsi: g_NCR5380: Two DTC436 PDMA workarounds

Limit PDMA send to 512 B to avoid data corruption on DTC3181E. The
corruption is always the same: one byte missing at the beginning of a
128 B block. It happens only with slow Quantum LPS 240 drive, not with
faster IBM DORS-32160. It's not clear what causes this. Documentation
for the DTC436 chip has not been made available.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/g_NCR5380.c