ncr5380: Disable the DMA errata workaround flag by default
authorFinn Thain <fthain@telegraphics.com.au>
Wed, 23 Mar 2016 10:10:14 +0000 (21:10 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 11 Apr 2016 20:57:09 +0000 (16:57 -0400)
commit1bb4600245d4d40245dd505ca17528e0b9a9ba8c
tree17e5a40c2e3e9a3ded8c5d33883ec4cacbac3af9
parente63449c43a58fc185ff35ace6a842817f57ec6c8
ncr5380: Disable the DMA errata workaround flag by default

The only chip that needs the workarounds enabled is an early NMOS
device. That means that the common case is to disable them.

Unfortunately the sense of the flag is such that it has to be set
for the common case.

Rename the flag so that zero can be used to mean "no errata workarounds
needed". This simplifies the code.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c
drivers/scsi/NCR5380.h
drivers/scsi/arm/cumana_1.c
drivers/scsi/arm/oak.c
drivers/scsi/dtc.c
drivers/scsi/g_NCR5380.c
drivers/scsi/pas16.c
drivers/scsi/t128.c