[PATCH 0/7] NCR5380 drivers: fixes and improvements

From: Finn Thain
Date: Sat Jun 01 2019 - 21:33:21 EST

Among other improvements, this patch series fixes a data corruption bug
in the mac_scsi driver and a bug in the EH abort routine in the core
5380 driver.

For consistency I have ignored certain checkpatch.pl complaints about
the indentation in mac_scsi.c. The remaining complaints seem to be
false positives.

Some of these patches are not trivial to backport. Those patches have
been nominated for recent -stable branches only.

Finn Thain (7):
Revert "scsi: ncr5380: Increase register polling limit"
scsi: NCR5380: Always re-enable reselection interrupt
scsi: NCR5380: Handle PDMA failure reliably
scsi: mac_scsi: Increase PIO/PDMA transfer length threshold
scsi: mac_scsi: Fix pseudo DMA implementation, take 2
scsi: mac_scsi: Enable PDMA on Mac IIfx
scsi: mac_scsi: Treat Last Byte Sent time-out as failure

arch/m68k/include/asm/mac_pdma.h | 179 ++++++++++++++++++++++
arch/m68k/mac/config.c | 10 +-
drivers/scsi/NCR5380.c | 18 +--
drivers/scsi/NCR5380.h | 2 +-
drivers/scsi/mac_scsi.c | 249 +++++++++++--------------------
5 files changed, 280 insertions(+), 178 deletions(-)
create mode 100644 arch/m68k/include/asm/mac_pdma.h