]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fa338496453af9783582634f98ffd1230bfbcb1
tree3ab67da1df7ecba2fdd6e8ca2f1a9ce69f10c824
parentad3f7658a7ddda5c77d3ce8c6d77ab657cd6aa55
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